Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2005 01:09:22 -0900
From:      Beech Rintoul <akbeech@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        olgeni@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: Bug[?] In new local_startup and webmin3
Message-ID:  <200512260109.38128.akbeech@gmail.com>
In-Reply-To: <43AFB338.7010904@FreeBSD.org>
References:  <d8a4930a0512211550u76655f3by@mail.gmail.com> <200512221149.08293.akbeech@gmail.com> <43AFB338.7010904@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1295433.KbiSFPWidY
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 26 December 2005 12:09 am, Doug Barton wrote:
> Beecher Rintoul wrote:
>   worked fine.
>
> > I'm positive that rc.conf is correct.
>
> Ok, do this for me. First upgrade to the latest version of the port
> (webmin-1.250_2), then add the following to either /etc/rc.conf or
> /etc/rc.conf.local:
>
> rc_debug=3D"yes"
> rc_info=3D"yes"
>
> Then type: /usr/local/etc/rc.d/webmin.sh rcvar
>
> and send the results to the list. While you're at it, can you please do
> this as well, and send the results to the list: ls -la /usr/local/etc/rc.d
>
> > On a side note cups.sh has the
> > same problem, and I have already removed the "PROVIDE" line.
>
> If you've removed the provide line from /usr/local/etc/rc.d/cups.sh, then
> it's not being treated as an rc.d script, and you have other problems.
>
> And FYI, your suggested fix for the webmin script doesn't actually fix
> anything. As I mentioned above, removing the PROVIDE line causes it to be
> treated as an old style script and be run out of localpkg. We need to find
> out why rc.d is not starting this script for you.

Ok, I deleted both the webmin and cups scripts and rebuilt both. Now all th=
e=20
scripts in /local/rc.d are stock.

stargate#  /usr/local/etc/rc.d/webmin.sh rcvar
# webmin
/usr/local/etc/rc.d/webmin.sh: DEBUG: checkyesno: webmin_enable is set to Y=
ES.
$webmin_enable=3DYES

stargate# /usr/local/etc/rc.d/cups.sh rcvar
Usage: cups {reload|restart|start|status|stop}
#
#
stargate# ls -la /usr/local/etc/rc.d
total 72
drwxr-xr-x   2 root  wheel   1024 Dec 26 01:01 .
drwxr-xr-x  16 root  wheel   1536 Dec 21 15:46 ..
=2Dr-xr-xr-x   1 root  wheel    183 Dec 12 19:58 000.apache2libs.sh
=2Drwxr-x---   1 root  wheel    181 Dec 22 14:15 000.mysql-client.sh
=2Dr-xr-xr-x   1 root  wheel    413 Dec  4 04:05 000.pkgtools.sh
=2Dr-xr-xr-x   1 root  wheel    308 Nov 25 15:56 000.pth.sh
=2Dr-xr-xr-x   1 root  wheel    471 Aug 21 10:39 001slpd.sh
=2Dr-xr-xr-x   1 root  wheel   3542 Dec 12 19:58 apache2.sh
=2Dr-xr-xr-x   1 root  wheel    406 Dec 21 19:03 compat5x.sh
=2Drwxr-xr-x   1 root  wheel   3941 Dec 26 00:59 cups.sh
=2Drwxr-xr-x   1 root  wheel    730 Dec 21 15:46 cyrus_pwcheck.sh
=2Drwxr-xr-x   1 root  wheel    391 Dec 21 15:46 cyrus_sasl1
=2Dr-xr-xr-x   1 root  wheel    460 Dec  7 00:55 ffserver.sh
=2Drwxr-x--x   1 root  wheel    797 Dec 12 22:55 frox.sh
=2Dr-xr-xr-x   1 root  wheel    544 Dec  2 16:05 genkdmconf.sh
=2Dr-xr-xr-x   1 root  wheel  16157 Dec 14 13:21 isc-dhcpd.sh
=2Dr-xr-xr-x   1 root  wheel     57 Nov  5 21:53 kdelibs.sh
=2Dr-xr-xr-x   1 root  wheel    337 Aug 20 10:03 mdnsd.sh
=2Dr-xr-xr-x   1 root  wheel    785 Dec 15 18:32 mdnsresponder.sh
=2Dr-xr-xr-x   1 root  wheel   1689 Dec 22 17:57 mysql-server.sh
lrwxr-xr-x   1 root  wheel     23 Dec 12 14:07 postfix.sh=20
=2D> /usr/local/sbin/postfix
=2Dr-xr-xr-x   1 root  wheel   2738 Oct 16 23:29 samba.sh
=2Drwxr-xr-x   1 root  wheel    646 Dec 21 15:46 saslauthd1.sh
=2Dr-xr-xr-x   1 root  wheel    879 Nov 18 19:43 smartd.sh
=2Dr-xr-xr-x   1 root  wheel    777 Dec  1 20:47 snmpd.sh
=2Dr-xr-xr-x   1 root  wheel    838 Dec  1 20:47 snmptrapd.sh
=2Dr-xr-xr-x   1 root  wheel    517 Dec 22 12:59 webmin.sh

Hope this helps,

Beech

=2D-=20

=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - System Administrator - akbeech@gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart1295433.KbiSFPWidY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDr8FhVq19LUoGB+MRAm4LAJ9K6aSN2wNUdmQHwoX7/XLZu8UYbgCfWLjo
hV/TQHIa0kPNPRPYJRZThVY=
=dYoB
-----END PGP SIGNATURE-----

--nextPart1295433.KbiSFPWidY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512260109.38128.akbeech>