Wladimir Mutel | 4 May 2007 16:29
Picon

Bug#422257: initscripts: RAMRUN=yes is unusable with some packages

Package: initscripts
Version: 2.86.ds1-38
Severity: normal

Hi,

some packages create subdirectories in /var/run , then expect them to
remain after next reboot. bootclean script does not remove these
directories from real FS. But with RAMRUN, we get an empty directory
without any structure in it. Startup scripts of some packages could
dislike this situation. My testcase :

1. set RAMRUN=yes in /etc/default/tmpfs
2. Reboot the system
3. install courier-imap
4. Reboot the system
5. See courier-imap not starting, unable to create its .pid-file 
	in /var/run/courier/ .

To fix the problem, we have either recreate necessary directories in
/var/run on each startup, or turn off RAMRUN at all before installing
and using such packages. I think this should be either fixed by whoever,
or documented as undesirable side-effect of using RAMRUN.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

(Continue reading)


Gmane