Bug[?] In new local_startup and webmin3

Beech Rintoul akbeech at gmail.com
Mon Dec 26 02:09:54 PST 2005


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="yes"
> rc_info="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 the 
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 YES.
$webmin_enable=YES

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 ..
-r-xr-xr-x   1 root  wheel    183 Dec 12 19:58 000.apache2libs.sh
-rwxr-x---   1 root  wheel    181 Dec 22 14:15 000.mysql-client.sh
-r-xr-xr-x   1 root  wheel    413 Dec  4 04:05 000.pkgtools.sh
-r-xr-xr-x   1 root  wheel    308 Nov 25 15:56 000.pth.sh
-r-xr-xr-x   1 root  wheel    471 Aug 21 10:39 001slpd.sh
-r-xr-xr-x   1 root  wheel   3542 Dec 12 19:58 apache2.sh
-r-xr-xr-x   1 root  wheel    406 Dec 21 19:03 compat5x.sh
-rwxr-xr-x   1 root  wheel   3941 Dec 26 00:59 cups.sh
-rwxr-xr-x   1 root  wheel    730 Dec 21 15:46 cyrus_pwcheck.sh
-rwxr-xr-x   1 root  wheel    391 Dec 21 15:46 cyrus_sasl1
-r-xr-xr-x   1 root  wheel    460 Dec  7 00:55 ffserver.sh
-rwxr-x--x   1 root  wheel    797 Dec 12 22:55 frox.sh
-r-xr-xr-x   1 root  wheel    544 Dec  2 16:05 genkdmconf.sh
-r-xr-xr-x   1 root  wheel  16157 Dec 14 13:21 isc-dhcpd.sh
-r-xr-xr-x   1 root  wheel     57 Nov  5 21:53 kdelibs.sh
-r-xr-xr-x   1 root  wheel    337 Aug 20 10:03 mdnsd.sh
-r-xr-xr-x   1 root  wheel    785 Dec 15 18:32 mdnsresponder.sh
-r-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 
-> /usr/local/sbin/postfix
-r-xr-xr-x   1 root  wheel   2738 Oct 16 23:29 samba.sh
-rwxr-xr-x   1 root  wheel    646 Dec 21 15:46 saslauthd1.sh
-r-xr-xr-x   1 root  wheel    879 Nov 18 19:43 smartd.sh
-r-xr-xr-x   1 root  wheel    777 Dec  1 20:47 snmpd.sh
-r-xr-xr-x   1 root  wheel    838 Dec  1 20:47 snmptrapd.sh
-r-xr-xr-x   1 root  wheel    517 Dec 22 12:59 webmin.sh

Hope this helps,

Beech

-- 

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at 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
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051226/daca09ba/attachment.bin


More information about the freebsd-ports mailing list