I'm currently running Gutsy IA32 on a machine that got a clean Ubuntu
7.04 Feisty install, then Kubuntu desktop installed on top, then
upgraded to Gutsy using Kubuntu's adept_manager (plus finished by hand
as the thing fails finishing the upgrade by itself).
My /var/run in such mounted :
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
...after boot, although it is not specifically mentioned in fstab, but
the result of /etc/init.d/mountkernfs.sh
Being tempfs in RAM, it's obviously empty once mounted after boot.
Package sympa-5.2.4-1.1ubuntu1 creates at install time a
"/var/run/sympa" directory that thus, will be removed (forgotten) at
next machine reboot.
The /etc/init.d/sympa script needs this "/var/run/sympa" directory to
exist (and doesn't create it) for putting sympa PIDfiles into it, if the
directory doesn't exist sympa dies.
The easy fix if just to add the line :
[ -d /var/run/sympa ] || { mkdir /var/run/sympa; chown sympa:
/var/run/sympa; }
In /etc/init.d/sympa . I personally put it just after the parameters and
functions declarations, and then it works.
I hope this bug report is now complete and clear enough not to be
"invalid"-ated again...
I would insist that several other daemons that need their /var/run/sympa
directory to exist suffer from the exact same problem (among which
dspam, bug report already submitted), so the issue is general and not
sympa-only, but I believe the easier fix is to fix every initscript that
needs such /var/run/somedaemon directories to exist, unless there is a
config file somewhere that would be supposed to create all the bunch of
dirs at each boot ?
Thanks for your help.
--
init script does not create requirred /var/run/sympa directory
https://bugs.launchpad.net/bugs/49508
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs