[Pkg-sysvinit-devel] Bug#422257: initscripts: RAMRUN=yes is unusable with some packages

Wladimir Mutel mwg at mwg.dp.ua
Fri May 4 14:29:00 UTC 2007


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)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianut 2.18                            Miscellaneous utilities specific t
ii  e2fsprog 1.39+1.40-WIP-2006.11.14+dfsg-2 ext2 file system utilities and lib
ii  libc6    2.5-5                           GNU C Library: Shared libraries
ii  lsb-base 3.1-23.1                        Linux Standard Base 3.1 init scrip
ii  mount    2.12r-19                        Tools for mounting and manipulatin
ii  sysvinit 2.86.ds1-38                     System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.5-1     Utilities that use the proc filesy

-- debconf-show failed




More information about the Pkg-sysvinit-devel mailing list