#
1.10 |
|
17-Jul-2022 |
deraadt |
/var/run/ypbind.lock doesn't need to be forcefully removed ok aja
|
Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.9 |
|
11-Jan-2018 |
rpe |
- change [] tests to [[]] - change -a, -o to &&, || inside [[]] - remove unecessary quoting inside [[]] - remove X"" constructs inside [[]] - remove \ (line continuation) in case of &&, || and pipes - replace backticks with $()
discussed with and OK aja@ OK tb
|
#
1.8 |
|
11-Jan-2018 |
rpe |
Change the shebang line from /bin/sh to /bin/ksh in all base rc.d daemon scripts.
discussed with and OK aja@ OK tb
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.7 |
|
27-May-2017 |
ajacoutot |
Ok turns out we still want to keep the rc_bg variable around but we need to know which daemon cannot background themselves (actually we want to know the opposite, but there are much more). However, it's only needed in _rc_wait and rc.subr still does its magic without the need to add `&'.
|
#
1.6 |
|
27-May-2017 |
ajacoutot |
Add an ALRM timer to cope with 2 annoying issues in rc.d(8): - prevent a daemon from hanging the boot (typo in your flagsm e.g. httpd_flags=-d) - make sure we can get the status of a backgrounded daemon instead of always returning success
Side effect of this is that we can kill a knob! rip rc_bg :-) Ports will need love, and a second commit is coming for that.
The diff is small yet not trivial so I am committing early in the release process in one shot so it can easily be reverted if needed. I started working on this during g2k16 in Cambridge then finished it in Brisbane for a2k17 where robert@, beck@ and sthen@ agreed it was the correct way to go and I should move ahead with it post 6.1.
If you see any regression, please talk to me!
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.5 |
|
18-Oct-2015 |
deraadt |
Forcibly delete /var/run/ypbind.lock to prepare for the worst cases. ok aja
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.4 |
|
07-Oct-2011 |
ajacoutot |
Fix a small regression reported by nicm@: when domainname is set but /var/yp/binding does not exist, do _not_ try to start ypbind.
Make it possible to start ypbind the same way as the other daemons (using ypbind_flags) while preserving the historical startup behavior.
tested by deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.3 |
|
08-Jul-2011 |
robert |
Switch amd and spamlogd to rc scripts and make sure that the rc_pre() functions are returning correctly. This change also simplyfies the changes because false || return 1 can be replaced with false if that's the last call. thanks halex@!
|
#
1.2 |
|
07-Jul-2011 |
robert |
make the check more readable
|
#
1.1 |
|
07-Jul-2011 |
robert |
add scripts for portmap and the yp daemons
|
#
1.9 |
|
11-Jan-2018 |
rpe |
- change [] tests to [[]] - change -a, -o to &&, || inside [[]] - remove unecessary quoting inside [[]] - remove X"" constructs inside [[]] - remove \ (line continuation) in case of &&, || and pipes - replace backticks with $()
discussed with and OK aja@ OK tb
|
#
1.8 |
|
11-Jan-2018 |
rpe |
Change the shebang line from /bin/sh to /bin/ksh in all base rc.d daemon scripts.
discussed with and OK aja@ OK tb
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.7 |
|
27-May-2017 |
ajacoutot |
Ok turns out we still want to keep the rc_bg variable around but we need to know which daemon cannot background themselves (actually we want to know the opposite, but there are much more). However, it's only needed in _rc_wait and rc.subr still does its magic without the need to add `&'.
|
#
1.6 |
|
27-May-2017 |
ajacoutot |
Add an ALRM timer to cope with 2 annoying issues in rc.d(8): - prevent a daemon from hanging the boot (typo in your flagsm e.g. httpd_flags=-d) - make sure we can get the status of a backgrounded daemon instead of always returning success
Side effect of this is that we can kill a knob! rip rc_bg :-) Ports will need love, and a second commit is coming for that.
The diff is small yet not trivial so I am committing early in the release process in one shot so it can easily be reverted if needed. I started working on this during g2k16 in Cambridge then finished it in Brisbane for a2k17 where robert@, beck@ and sthen@ agreed it was the correct way to go and I should move ahead with it post 6.1.
If you see any regression, please talk to me!
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.5 |
|
18-Oct-2015 |
deraadt |
Forcibly delete /var/run/ypbind.lock to prepare for the worst cases. ok aja
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.4 |
|
07-Oct-2011 |
ajacoutot |
Fix a small regression reported by nicm@: when domainname is set but /var/yp/binding does not exist, do _not_ try to start ypbind.
Make it possible to start ypbind the same way as the other daemons (using ypbind_flags) while preserving the historical startup behavior.
tested by deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.3 |
|
08-Jul-2011 |
robert |
Switch amd and spamlogd to rc scripts and make sure that the rc_pre() functions are returning correctly. This change also simplyfies the changes because false || return 1 can be replaced with false if that's the last call. thanks halex@!
|
#
1.2 |
|
07-Jul-2011 |
robert |
make the check more readable
|
#
1.1 |
|
07-Jul-2011 |
robert |
add scripts for portmap and the yp daemons
|