Basic Directory Layout

Edit Package filesystem

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
directory.list 0000004011 3.92 KB
directory.list64 0000000104 104 Bytes
directory.list64-x86_64 0000000147 147 Bytes
filesystem.changes 0000071018 69.4 KB
filesystem.spec 0000009337 9.12 KB
ghost.list 0000000857 857 Bytes
ghost.list64 0000000032 32 Bytes
languages 0000000644 644 Bytes
languages.man 0000000109 109 Bytes
Revision 170 (latest revision is 172)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1110634 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 170)
- remove complex dependency on rpmlib(X-CheckUnifiedSystemdir),
  there is nothing that ever provided it and it triggers
  a libsolv bug (in progress of being fixed)

- Added zh_Hans (simplified Chinese) and zh_Hant (traditional
  is fixed (bsc#1184786)
  unless they are already symlinks (bsc#1084119)
- drop /etc/xinetd.d (bsc#1084457)
- Exclude some directories from fs-var.conf which are already part
- Remove /var/adm/fillup-templates, already prohibited by rpmlint
  aaa_base-extras only.
- Create fs-var.conf for systemd-tmpfiles, which contains all
- add /usr/share/appdata (bnc#893441)
  actually replace directories with symlinks there (bnc#874748)
- add vscan user to ignore home list
- change /etc/cups to mode 0755 (bnc#871640) for new cups version
- change /sys to mode 0555 (bnc#871640)
- make /var/lock a symlink to /run/lock (bnc#867873)
- use lazy umount
  bnc#866964
- change pre to pretrans for directory/symlink conversion
- drop /var/lib/pam_devperm (bnc#866234)
- bnc#865893
- bump version to 13.2
- Drop /lib/systemd and /lib/systemd/system, everything is now in
- add /run directory (mode 0755,root,root)
- bump version to 11.5
- fix build whitelisting /lib/udev/devices
  they were done manually as ghosts in the specfile before
- minor change for sparc in specfile (bnc#558343)
Comments 1

Stefan Kluth's avatar

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