<BA64A468-D45C-4A01-9D63-B76BA6AC9C8E@gmail.com>
Hi! I have noticed samba does not startup properly if /var/run is on tmpfs. The problem is that the init script does not find the dir /var/run/samba to put the pidfile into. A fix is attached. Greetings, -uros
<9E4C0664-F862-4A62-8DDC-C2AA66D60EBD@gmail.com>
<BA64A468-D45C-4A01-9D63-B76BA6AC9C8E@gmail.com>
(view parent)
hm, i guess it's better to move the install line out of for loop …
<20130429151222.1b755ee2@ncopa-desktop.alpinelinux.org>
<9E4C0664-F862-4A62-8DDC-C2AA66D60EBD@gmail.com>
(view parent)
On Sun, 28 Apr 2013 19:19:24 +0200 Uroš Kolar <host.uros@gmail.com> wrote: > start() { > + install -o root -g root -m 755 -d ${PIDDIR} > for i in $daemon_list; do > ebegin "Starting $i" > start_$i could you please try if this works instead: start() { + checkpath --directory --owner root:root \ + --mode 755 "$PIDDIR" for i in $daemon_list; do ebegin "Starting $i" start_$i --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---