Native Multistrap oneiric chroots have an error configuring base-files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Confirmed
|
Undecided
|
Wookey |
Bug Description
Setting up an Oneiric cross-build chroot on a natty machine with the natty version of multistrap dies during base-files due to /var/run issue:
Setting up base-files (6.4ubuntu5) ...
rmdir: failed to remove `/var/run': Directory not empty
dpkg: error processing base-files (--configure):
subprocess installed post-installation script returned error exit status 1
thjis goes on to prevent installation of:
base-files
bash
dpkg-dev
devscripts
libdebian-
xdeb
build-essential
dpkg-cross
Inside the schroot we have:
/var/run on /run type none (rw,bind)
/var/lock on /run/lock type none (rw,bind)
umounting these does not allow /var/run migration because now some files have already been created in there:
sudo dpkg --configure -a
Setting up base-files (6.4ubuntu5) ...
rmdir: failed to remove `/var/run': Directory not empty
affects: | ubuntu → multistrap (Ubuntu) |
Changed in multistrap (Ubuntu): | |
assignee: | nobody → Wookey (wookey) |
status: | New → Confirmed |
Duplicated problem.
Additional Info:
dpkg --configure -a origins/ default ] from_default /usr/share/ base-files/ nsswitch. conf /etc/nsswitch.conf from_default /usr/share/ base-files/ dot.profile /root/.profile from_default /usr/share/ base-files/ dot.bashrc /root/.bashrc from_default /usr/share/ base-files/ profile /etc/profile from_default /usr/share/ base-files/ networks /etc/networks
Setting up base-files (6.4ubuntu5) ...
+ [ ! -e /etc/dpkg/
+ [ configure = configure ]
+ [ = ]
+ install_
+ [ ! -f /etc/nsswitch.conf ]
+ install_
+ [ ! -f /root/.profile ]
+ install_
+ [ ! -f /root/.bashrc ]
+ install_
+ [ ! -f /etc/profile ]
+ install_
+ [ ! -f /etc/networks ]
+ install_directory srv 755 root
+ [ ! -d /srv ]
+ install_directory opt 755 root
+ [ ! -d /opt ]
+ install_directory etc/opt 755 root
+ [ ! -d /etc/opt ]
+ install_directory var/opt 755 root
+ [ ! -d /var/opt ]
+ install_directory media 755 root
+ [ ! -d /media ]
+ install_directory var/mail 2775 mail
+ [ ! -d /var/mail ]
+ [ ! -L /var/spool/mail ]
+ install_directory run/lock 1777 root
+ [ ! -d /run/lock ]
+ migrate_directory /var/run /run
+ [ ! -L /var/run ]
+ rmdir /var/run
rmdir: failed to remove `/var/run': Directory not empty
dpkg: error processing base-files (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
base-files