#786 closed defect (invalid)
Proftpd uses /var/run/proftpd
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2004-June/006620.html
The /var/run directory is deleted on bootup, including files and directories. With a recent version of the LFS Bootscripts [from LFS 5.1 or later], you can create the directory on bootup using
echo "/var/run/proftpd dir 644 root root" >> /etc/sysconfig/createfiles
http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2004-June/006623.html
Otherwise, it should be modified to use /var/run, instead of a subdirectory.
Change History (7)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
| Milestone: | future → 6.1 |
|---|
comment:3 by , 21 years ago
| Version: | ~CVS → SVN |
|---|
comment:4 by , 21 years ago
| Owner: | changed from to |
|---|
comment:5 by , 21 years ago
| Status: | new → assigned |
|---|
comment:6 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | assigned → closed |
This has been overcome by events. The proftpd.pid file is created in /var/run when the app is started and removed when it is stopped when it is built with the current instructions.
The cleanfs script no longer deletes /var/run on bootup. There is a directory /var/run/proftpd for the scoreboard file that is not affected by cleanfs.

To use /var/run instead of /var/run/proftpd, after running ./configure, config.h has to be modifed so that the line
is replaced by
This can be achived by a simple sed.