<4F6F332A.30408@arcor.de>
Hi, This is to prevent dhcpd to crash during boot, when the pid file is to be created in a missing folder, eg. on a volatile disk space like a tmpfs after boot. Please, consider updating the dhcpd init file. Kind Regards, Tiger --- /etc/init.d/dhcpd.orig +++ /etc/init.d/dhcpd @@ -73,0 +74,3 @@ + mkdir -p "$(echo $pidfile | sed 's|/[^/]*$||')" + chown dhcp "$(echo $pidfile | sed 's|/[^/]*$||')" + chgrp dhcp "$(echo $pidfile | sed 's|/[^/]*$||')" --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---
<20120326204907.4a2261ff@alpinelinux.org>
<4F6F332A.30408@arcor.de>
(view parent)
On Sun, 25 Mar 2012 17:00:58 +0200 Der Tiger <der.tiger.alpine@arcor.de> wrote: > Hi, > > This is to prevent dhcpd to crash during boot, when the pid file is to > be created in a missing folder, eg. on a volatile disk space like a > tmpfs after boot. > > Please, consider updating the dhcpd init file. Hi, Thanks for feedback. Please see comments on mini_httpd. We should use checkpath for this. > > Kind Regards, Tiger > > --- /etc/init.d/dhcpd.orig > +++ /etc/init.d/dhcpd > @@ -73,0 +74,3 @@ > + mkdir -p "$(echo $pidfile | sed 's|/[^/]*$||')" > + chown dhcp "$(echo $pidfile | sed 's|/[^/]*$||')" > + chgrp dhcp "$(echo $pidfile | sed 's|/[^/]*$||')" > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---