[systemd-devel] container /proc/filesystems owned by nobody:can't upgrade
Mike Gilbert
floppym at gentoo.org
Thu Oct 5 15:13:32 UTC 2017
On Tue, Oct 3, 2017 at 11:38 AM, arnaud gaboury
<arnaud.gaboury at gmail.com> wrote:
> On 10/03/2017 05:19 PM, Mike Gilbert wrote:
>
> On Tue, Oct 3, 2017 at 4:01 AM, arnaud gaboury <arnaud.gaboury at gmail.com>
> wrote:
>
> My host is Archlinux, nspawn container is Fedora 26. Kernel is 4.13.3
>
> I can't fully upgrade my container as some files are owned by
> nobody:nobody and can't change to root. An example is filesystems. When
> upgrading, it returns error:
> < error: unpacking of archive failed on file /proc: cpio: chown >
> $ ls -a /proc:
> /proc/filesystems -r--r--r-- 1 nobody nobody 0
> Oct 3 09:53 filesystems
>
> # chown root:root /proc/filesystems
> chown: changing ownership of '/proc/filesystems': Operation not permitted
>
> Same kind of error with a few other packages.
>
> Can someone please help me to find a solution? Thank you
>
> I find it strange that a package upgrade would be trying to install
> the /proc directory on a running system. That's a directory that
> should only really be touched when performing an initial install; any
> other time, /proc will be mounted already and packages should not
> touch it.
>
> I would report this as a bug to Arch.
>
> If it is a bug, it shall be reported on Fedora, which is the OS running in
> the container, and not Arch which is the host.
Ah, I misread that. Yes, this would be a Fedora bug.
More information about the systemd-devel
mailing list