Edit Package filesystem

Basic Directory Layout

This package installs the basic directory structure. It also includes
the home directories of system users.

Refresh
Refresh
Source Files
Filename Size Changed
LICENSE.txt 0000001023 1023 Bytes about 9 years
directory.list 0000004097 4 KB 26 days
directory.list64 0000000104 104 Bytes over 1 year
filesystem.changes 0000068438 66.8 KB 26 days
filesystem.spec 0000009293 9.08 KB 7 months
ghost.list 0000000857 857 Bytes about 1 year
ghost.list64 0000000032 32 Bytes over 1 year
languages 0000000563 563 Bytes about 2 years
languages.man 0000000087 87 Bytes 4 months
Comments 1

Stefan Kluth's avatar

skluth wrote 9 months ago

Dear filesystem,

I have a somewhat tricky problem with this package: when building a singularity container image with singularity build --fakeroot <name>.sif <name>.def an error

error: unpacking of archive failed on file /dev: cpio: chown

is thrown. Everything else installs fine.

Looking at the "directory.list" there is an entry

0755 root root /dev

which could possibly be the source of the error.

In a container, /dev is by default bind-mounted from the host and thus trying to create /dev during the install causes the error. Other bind-mounted directories exist (/tmp, /proc, /sys), with different permissions from /dev in your .list files, and these don't cause problems.

Do you think filesystem could be made to test if a /dev already exists (because it installs in a container with /dev bind-mounted from the host) and then don't install, or use different permissions, or do something else graceful?

Regards, Stefan

openSUSE Build Service is sponsored by