mirror of
https://github.com/systemd/systemd.git
synced 2025-03-03 16:58:37 +03:00
mount-setup: don't consider it reason to fail if we can't relabel cgroupfs
We usually don't care much about relabel failures, let's not do that here either.
This commit is contained in:
parent
c4217b43d1
commit
70a74ec645
@ -525,9 +525,7 @@ int mount_setup(bool loaded_policy) {
|
||||
FOREACH_STRING(i, "/dev", "/dev/shm", "/run")
|
||||
(void) nftw(i, nftw_cb, 64, FTW_MOUNT|FTW_PHYS|FTW_ACTIONRETVAL);
|
||||
|
||||
r = relabel_cgroup_filesystems();
|
||||
if (r < 0)
|
||||
return r;
|
||||
(void) relabel_cgroup_filesystems();
|
||||
|
||||
n_extra = relabel_extra();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user