FS#40760 - [filesystem] Handle the case of ro /sys
Attached to Project:
Arch Linux
Opened by Leonid Isaev (lisaev) - Sunday, 08 June 2014, 20:08 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 June 2014, 00:59 GMT
Opened by Leonid Isaev (lisaev) - Sunday, 08 June 2014, 20:08 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 June 2014, 00:59 GMT
|
Details
The filesystem package contains /sys directory. On update,
pacman will skip it, but err out if /sys is a mountpoint
which contains a ro filesystem. This is the case in LXC
containers (sourceforge lxc) and also systemd-nspawn.
Is it possible to move creation of /sys (and possibly /proc) to the install file? I'm attaching the pacman debug log and a patch against current SVN. Thanks. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 15 June 2014, 00:59 GMT
Reason for closing: Deferred
Additional comments about closing: Will be fixed in pacman
Sunday, 15 June 2014, 00:59 GMT
Reason for closing: Deferred
Additional comments about closing: Will be fixed in pacman
Yes, I understand the concern.
> Furthermore, this seems more like something worth dealing with in pacman.
You likely know about this pacman bug already: https://bugs.archlinux.org/task/38615?project=3 . Probably the only solution to that is for pacman to quit because removal of the old package is impossible (so it shouldn't touch the package database). But in this case the update can't succeed...