After some more digging it looks like /etc/init.d/proftpd actually
checks for the existence of /var/run/proftpd and creates it is it
doesn't exist.

Near the top it has:

[code]
# /var/run could be on a tmpfs
[ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd
[/code]

I am absolutely cack at shell scripting but that looked wrong to me so I
tried these variants:

[code]
[ ! test -d /var/run/proftpd ] && mkdir /var/run/proftpd
[/code]

and

[code]
if ! test -d /var/run/proftpd; then
  mkdir /var/run/proftpd
fi
[/code]

And still the directory is not there following a reboot!

Any ideas welcome!

Thanks :D

-- 
proftpd will not start with kernel 2.6.32-22-generic
https://bugs.launchpad.net/bugs/591865
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to