|
|
|
| |
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod -1/3)
by Anonymous Coward (91.65.157.11) on Wed Aug 20 11:42:07 2014 (GMT)
|
| |
So basicaly this will replace the manual edition of rc.conf.local?
I install a new system, tell rcctl what services should run and it creates me such a file wich I then could copy to other mashines?
So the advantage is that I don't need to lookup if some stuff has NAME_flags="" or NAME=yes/no ?
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod 3/3)
by Antoine Jacoutot (ajacoutot) on Wed Aug 20 15:22:08 2014 (GMT) http://www.bsdfrog.org/
|
| |
> So basicaly this will replace the manual edition of rc.conf.local?
No. You can use whichever you prefer.
Keep editing rc.conf.local manually, use rcctl or use both. We do not enforce anything.
> I install a new system, tell rcctl what services should run and it creates me such a file wich I then could copy to other mashines?
>
> So the advantage is that I don't need to lookup if some stuff has NAME_flags="" or NAME=yes/no ?
Something like that.
To know if a service is enabled or not, you don't need to go read the defaults in rc.conf and the overrides in rc.conf.local.
You can just do:
rcctl status foobar
Let's say you want to enable ntpd on your box and set the time immediately at startup. You have now 2 options:
- edit /etc/rc.conf.local manually and add:
ntpd_flags=-s
- use rcctl:
rcctl enable ntpd flags -s
The presence of an existing rc.conf.local file does not matter, it will be created if it's not there.
The tool is especially interesting for config management systems which need to maintain service states (enabled, started, ...).
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod 1/1)
by Anonymous Coward (2601:6:51c0:e1:e834:aa3e:863d:9884) on Wed Aug 20 19:59:52 2014 (GMT)
|
| |
> > So basicaly this will replace the manual edition of rc.conf.local?
>
> No. You can use whichever you prefer.
> Keep editing rc.conf.local manually, use rcctl or use both. We do not enforce anything.
> [snip]
> The tool is especially interesting for config management systems which need to maintain service states (enabled, started, ...).
Good stuff. Many thanks for doing this!
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
| |
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod 2/2)
by thomasw_ (108.172.49.178) (thomas.wildeman@gmail.com) on Wed Aug 20 16:10:10 2014 (GMT)
|
| |
assuming that rcctl will require root/sudo to run and that I can still manaually edit rc.conf.local, I can foresee more efficient setups with this utility. so, thanks heaps for the work on this devs!
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod 2/2)
by rjc (rjc) on Wed Aug 20 20:31:22 2014 (GMT)
|
| |
> assuming that rcctl will require root/sudo to run and that I can still manaually edit rc.conf.local, I can foresee more efficient setups with this utility. so, thanks heaps for the work on this devs!
Well, 'enable/disable' obviously do but I doubt the same will apply to 'status'.
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
|
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod -1/1)
by Anonymous Coward (thomasw_) on Thu Aug 21 23:21:18 2014 (GMT) http://www.flickr.com/photos/thomasw_/
|
| |
> > assuming that rcctl will require root/sudo to run and that I can still manaually edit rc.conf.local, I can foresee more efficient setups with this utility. so, thanks heaps for the work on this devs!
>
> how would rcctl require root to run, but editing rc.conf.local not?
sorry for the noise.
i used poor phrasing; instead of "... and that I can ...," I would've been more clear to write "... just as I can do while still being able to manually edit ..."
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
Re: Heads up: rcctl(8) the rc.conf.local management tool landing in base soon (mod 1/1)
by phessler (phessler) on Fri Aug 22 13:36:28 2014 (GMT) http://www.openbsdfoundation.org/donations.html
|
| |
> > > assuming that rcctl will require root/sudo to run and that I can still manaually edit rc.conf.local, I can foresee more efficient setups with this utility. so, thanks heaps for the work on this devs!
> >
> > how would rcctl require root to run, but editing rc.conf.local not?
>
> sorry for the noise.
>
> i used poor phrasing; instead of "... and that I can ...," I would've been more clear to write "... just as I can do while still being able to manually edit ..."
yes you can.
|
| |
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
|
|
|
|