Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446206 - sys-cluster/util-vserver-0.30.216_pre3025: init scripts unreliable with /run migration
Summary: sys-cluster/util-vserver-0.30.216_pre3025: init scripts unreliable with /run ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2012-12-06 02:45 UTC by Patrick Lauer
Modified: 2013-02-10 19:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-12-06 02:45:38 UTC
# /etc/init.d/vservers.default restart
vservers.default  | * Stopping vservers of type 'default' ...                                                                                                                                                                          [ ok ]
vservers.default  | * Starting vservers of type 'default' ...                                                                                                                                                                          [ ok ]
vservers.default  |touch: cannot touch '/var/lock/vservers/vservers-default': No such file or directory

# file /var/lock
/var/lock: symbolic link to `/run/lock'


So of course things like "keepdir" are a no-op on /run tmpfs - the scripts *need* to check-and-create the directories when they are called. Sigh.
Comment 1 Alexander Weber 2013-02-07 20:32:48 UTC
I think it is the same bug:
 vserver mailserver start
fakerunlevel: open("/var/run/utmp"): No such file or directory


Failed to start vserver 'mailserver'


/var/run/utmp is moved to /run/utmp so please fix the vserver.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2013-02-10 19:49:10 UTC
(In reply to comment #0)
> So of course things like "keepdir" are a no-op on /run tmpfs - the scripts
> *need* to check-and-create the directories when they are called. Sigh.

this is fixed in util-vserver-0.30.216_pre3038, sorry for the delay ...

(In reply to comment #1)
> /var/run/utmp is moved to /run/utmp so please fix the vserver.

/var/run should be a symlink to /run