Permissions problem for sane

Roland Smith rsmith at xs4all.nl
Sat Aug 8 09:39:40 UTC 2015


On Fri, Aug 07, 2015 at 06:38:41PM -0400, kpneal at pobox.com wrote:
> On Fri, Aug 07, 2015 at 10:36:13PM +0200, Roland Smith wrote:
> > On Fri, Aug 07, 2015 at 01:20:59PM -0600, Warren Block wrote:
> > > devfs can be restarted with 'service devfs restart'.
> > 
> > When I was writing my answer, I ran `service -e` to see if devfs was listed as a
> > service. And it *doesn't* show up on my machine (10-STABLE amd64):
> > 
> >     # service -e
> 
> I've noticed that before as well.
> 
> Without checking the source, I suspect that service is looking for "rcvar="
> and not listing services as being enabled if it can't find an enabling
> variable for a script.

Looking at the manpage you're probably right.

Since the system needs devices to work, it would not make sense to have a
possibility to disable devfs, hence no “devfs_enable” in rc.conf, so no rcvar
and no listing in “service -e”.

Having thought about it, I guess we should read the “-e” option for services
as “List *optional* services that are enabled”, with devfs being mandatory.


Roland
-- 
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150808/b787fd3b/attachment.bin>


More information about the freebsd-questions mailing list