Opened 20 years ago

Closed 19 years ago

Last modified 16 years ago

#786 closed defect (invalid)

Proftpd uses /var/run/proftpd

Reported by: nathan@… Owned by: bdubbs@…
Priority: high Milestone:
Component: BOOK Version: SVN
Severity: normal 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 tushar@…, 19 years ago

To use /var/run instead of /var/run/proftpd, after running ./configure, config.h has to be modifed so that the line

#define RUN_DIR "/var/run/proftpd"

is replaced by

#define RUN_DIR "/var/run"

This can be achived by a simple sed.

comment:2 by bdubbs@…, 19 years ago

Milestone: future6.1

comment:3 by bdubbs@…, 19 years ago

Version: ~CVSSVN

comment:4 by bdubbs@…, 19 years ago

Owner: changed from blfs-book@… to bdubbs@…

comment:5 by bdubbs@…, 19 years ago

Status: newassigned

comment:6 by bdubbs@…, 19 years ago

Resolution: invalid
Status: assignedclosed

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.

comment:7 by (none), 16 years ago

Milestone: 6.1

Milestone 6.1 deleted

Note: See TracTickets for help on using tickets.