calamares/src
Kevin Kofler 34083344a4 mount: copy the SELinux context of the host directory to the mountpoint
On systems with SELinux enabled, we have to create the directories on
top of which we mount another partition or virtual file system (e.g.,
/dev) with the correct SELinux context, BEFORE we mount the other
partition. Otherwise, SELinux will get really confused when systemd
tries to recreate the mount tree for a private file system namespace for
a service. And unfortunately, even an autorelabel does not fix it
because it runs when /dev etc. are already mounted.

Without this fix, on Fedora >= 30, the system installed with Calamares
would fail to start the dbus-broker system bus, leading to several
important pieces of functionality not working (e.g., shutdown as
non-root).

On systems without SELinux enabled, chcon (which is part of coreutils)
will just print a warning and do nothing, so this should always be safe.
2019-05-09 13:50:31 +02:00
..
branding Changes: document license module changes 2019-04-24 07:13:06 -04:00
calamares [libcalamares] Remove Typedefs.h 2019-05-07 09:51:23 -04:00
libcalamares [libcalamares] Add generic PartitionSize class 2019-05-08 19:30:33 +02:00
libcalamaresui [libcalamaresui] Fix sidebar label for setup mode 2019-05-08 12:29:01 +02:00
modules mount: copy the SELinux context of the host directory to the mountpoint 2019-05-09 13:50:31 +02:00
qml QML: apply translation to the slide counter 2018-03-09 07:21:16 -05:00
CMakeLists.txt [modules] The modules can include libcalamares and libcalamaresui 2019-05-07 07:48:40 -04:00