[Bug 854018] Re: Postinst fails to migrate /var/run and /var/lock directories on upgrade from natty.

Launchpad Bug Tracker 854018 at bugs.launchpad.net
Tue Aug 21 15:43:25 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: base-files (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/854018

Title:
  Postinst fails to migrate /var/run and /var/lock directories on
  upgrade from natty.

Status in “base-files” package in Ubuntu:
  Confirmed

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
  ProcVersionSignature:
   
  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=de_DE:de:en_GB:en
   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.conffile..etc.nsswitch.conf: [modified]
  modified.conffile..etc.profile: [modified]
  mtime.conffile..etc.nsswitch.conf: 2007-11-10T15:05:31
  mtime.conffile..etc.profile: 2011-09-11T14:06:19

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/854018/+subscriptions




More information about the foundations-bugs mailing list