Postinst fails to migrate /var/run and /var/lock directories on upgrade from natty.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
base-files.postinst contains the function migrate_directory, which should replace /var/{run,lock} with symlinks to /run and /run/lock doing a "rmdir; ln -s". This fails, as both directories are tmpfs mounts on Natty and can't be simply rmdir'ed without umounting their tmpfs in advance.
On next boot several services fail, because they write their data to /run but look for the data in /var/run (dbus, rpcbind).
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: base-files 6.4ubuntu4
ProcVersionSign
Uname: Linux 2.6.38.2-jmg i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Mon Sep 19 18:41:07 2011
Dependencies:
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: base-files
UpgradeStatus: Upgraded to oneiric on 2011-09-11 (8 days ago)
modified.
modified.
mtime.conffile.
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.