Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-29 | sync synopsis and usage, sort commands, fix their spacing | Klemens Nanni | |
OK input lucas | |||
2024-07-08 | Use install -F instead of cat(1); no clue what I was thinking. | Antoine Jacoutot | |
ok robert@ | |||
2024-07-08 | Prevent rewriting /etc/rc.conf.local unconditionnally. Compare the new and old | Antoine Jacoutot | |
ones and do nothing is they match. This mean that "rcctl enable foobar" will not touch anything is foobar is already enabled. spotted by robert@ using Saltstack (that runs "rcctl enable ..." on a regular basis). ok robert@ | |||
2024-05-05 | Document "ls rogue" exit status. | Antoine Jacoutot | |
2023-07-13 | Check input before trying to disable a non-existing daemon to prevent parsing | Antoine Jacoutot | |
bogus characters and outputing hell on the console. based on an initial submission from Anthony Coulter, thanks! | |||
2023-04-24 | "ls rogue" needs root; OK aja | Klemens Nanni | |
2023-03-01 | Bogus full stop. | Antoine Jacoutot | |
2022-12-22 | Denote multiple arguments with 'arg ...' not 'args' | Klemens Nanni | |
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation. mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour. Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place. For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words. Feedback millert jmc schwarze deraadt OK jmc | |||
2022-09-13 | document "configtest" in SYNOPSIS; from andrei | Jason McIntyre | |
while here, sort SYNOPSIS at the behest of ajacoutot; ok ajacoutot | |||
2022-09-01 | Add a new action: "configtest", to check configuration syntax of the daemon. | Antoine Jacoutot | |
A few adjustments will be done in the next days (like disabling this action if there's no specific rc_configtest function defined). e.g. /etc/rc.d/sshd configtest rcctl configtest sshd idea from naddy@ | |||
2022-07-13 | Fix apmd_flags example. | Antoine Jacoutot | |
2022-05-26 | Introduce a new daemon_execdir variable for changing to a specified directory | Antoine Jacoutot | |
before running rc_rcexec. Based on an proposal from openbsd.tech at aisha.cc ok robert@ abieber@ | |||
2022-04-01 | Add missing command in description. | Antoine Jacoutot | |
from Matthew Martin | |||
2022-02-10 | look for the login class in both login.conf and login.conf.d/${class} | Robert Nagy | |
ok aja@ | |||
2021-10-23 | add "rcctl ls rogue", to show daemons which are running but not set as | Stuart Henderson | |
"enabled" in rc.conf.local. naming suggesting from schwarze@, ok kn@ ajacoutot@ | |||
2021-06-26 | make SYNOPSIS match usage; ok ajacoutot | Jason McIntyre | |
2021-02-27 | Add logger(1) support for daemons that are logging to stdout/stderr (mostly from | Antoine Jacoutot | |
the go ecosystem). Properly handle failing daemon startup now that we have pipefail. To take advantage of this new feature, just add foo_logger=facility to the daemon rc.d(8) script or in rc.conf.local(8) or use rcctl: rcctl set foo logger daemon.info tweak for checking flags in rcctl(8) from martijn@ "this looks pretty good" deraadt@ ok sthen@ | |||
2021-02-18 | Only pick up files matching alphanumeric and underscore characters under | Antoine Jacoutot | |
/etc/rc.d. This prevents issues with editor backup files (foo~) or other bogus files. ok sthen@ | |||
2020-03-31 | Missing semi-colons. | Antoine Jacoutot | |
2018-10-21 | explicitely -> explicitly | Antoine Jacoutot | |
from Hiltjo Posthuma | |||
2018-09-20 | add missing explanation about daemon_variables removed when disabling a pkg | solene | |
script ok aja@ jca@ | |||
2017-05-30 | Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the | Theo Buehler | |
reordering of libraries by rc(8). This way machines with very slow disk I/O have a chance of booting within reasonable time now that libcrypto is also randomized. Discussed with various; input & ok from deraadt ajacoutot | |||
2016-10-10 | improve .Bl -tag -width for -Tps mode; | Ingo Schwarze | |
patch from Jan Stary <hans at stare dot cz>; "go ahead" jmc@ | |||
2016-09-07 | Validate service names with _rc_check_name() from rc.subr. | Antoine Jacoutot | |
ok sthen@ robert@ | |||
2016-07-30 | This is effectively a ksh(1) script. | Antoine Jacoutot | |
2016-07-19 | In rcctl ls, skip all files with a '.' in the name, not just rc.subr; | Stuart Henderson | |
pkg_add renames files in this way when the checksums don't match at update or removal time. [[ ]] suggestion from guenther@ to avoid the messy "case" that I had in my first diff. Other feedback/suggestions from halex aja millert, ok halex@ aja@. | |||
2016-06-19 | Replace some expensive evals. | Antoine Jacoutot | |
2016-06-19 | Do caching differently. | Antoine Jacoutot | |
2016-06-19 | Temporarily turn caching off; there's a small regression when enabling | Antoine Jacoutot | |
multiple daemons at once; being worked on. | |||
2016-06-19 | Implement rcctl get|getdef all. | Antoine Jacoutot | |
With this and the previous 2 commits, we can move from constructs like: $ for i in $(rcctl ls all); do rcctl get $i; done to just: $ rcctl get all Shrinking the run by a factor of more than 3.5. prodded by and discussed with reyk@ at BSDcan2016 ok robert@ | |||
2016-06-19 | Cache result of often used functions (svc_is_{base,meta,special}). | Antoine Jacoutot | |
Large speedup when iterating over all rc.d scripts. with and ok robert@ | |||
2016-06-19 | grep(1) /etc/rc.conf instead of /etc/rc to detect whether a particular | Antoine Jacoutot | |
rc.d script comes from base of not; it's much faster. ok robert@ | |||
2016-06-17 | No need to hardcode return code. | Antoine Jacoutot | |
2016-04-26 | It's ok to disable a non-existing daemon. | Antoine Jacoutot | |
Think "pkg_delete foobar && rcctl disable foobar". | |||
2016-04-26 | Implement daemon_rtable support. | Antoine Jacoutot | |
From Jiri B <jirib ! devio ! us>, thanks! | |||
2016-04-09 | Use builtin. | Antoine Jacoutot | |
2016-04-01 | Rename the 'faulty' list action to 'failed'; it clearer. | Antoine Jacoutot | |
prodded by matthieu@ ok millert@ jung@ sthen@ | |||
2016-03-28 | Remove left-over debug line. | Antoine Jacoutot | |
2016-03-27 | Compute "action" from the _rc_actions variable. | Antoine Jacoutot | |
2016-03-27 | Make usage() a bit more user friendly wrt "action" and "lsarg". | Antoine Jacoutot | |
prodded by espie@ | |||
2016-01-30 | Actually order matters; I missed it when reviewing previous. | Antoine Jacoutot | |
2016-01-30 | Explain how to run multiple copies of the same daemon; | Ingo Schwarze | |
triggered by a frequently asked question by Paolo Aglialoro on misc@; using snmpd(8) on inet6(4) as an example suggested by sthen@; tweaks and OK ajacoutot@. | |||
2016-01-29 | whitespace fixes; ok ajacoutot | Jason McIntyre | |
2016-01-29 | Use apmd instead of ntpd in the example since the later is on by default. | Antoine Jacoutot | |
2016-01-24 | Check all daemons in "faulty", not just the base ones. | Antoine Jacoutot | |
reported by landry@ | |||
2015-12-06 | multicast_{host,router} -> multicast. | Martin Pieuchot | |
ok ajacoutot@ | |||
2015-11-29 | Better cope with meta rc.d scripts; these are ugly but well... | Antoine Jacoutot | |
2015-11-01 | Tweak wording. | Antoine Jacoutot | |
Make sure the rc.d script exist in svc_is_meta(). | |||
2015-10-31 | Only handle meta scripts for rc.d actions and enable/disable only. | Antoine Jacoutot | |
ok sthen@ | |||
2015-10-24 | some minor tweaks; ok ajacoutot | Jason McIntyre | |