summaryrefslogtreecommitdiff
path: root/src/core/hostname-setup.c
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2014-10-21 18:38:42 +0200
committerMichal Sekletar <msekleta@redhat.com>2014-10-27 12:20:15 +0100
commitd89b5fed9ea5d9ec293585cb85bb27b56ea6ac9c (patch)
treedb953a318245c62f878dac5c7cf942ab8d85446c /src/core/hostname-setup.c
parent281a92f80c215d6e07526d33563adb6d37c531c6 (diff)
shutdown: do final unmounting only if not running inside the container
If we run in the container then we run in a mount namespace. If namespace dies then kernel should do unmounting for us, hence we skip unmounting in containers. Also, it may be the case that we no longer have capability to do umount, because we are running in the unprivileged container. See: http://lists.freedesktop.org/archives/systemd-devel/2014-October/023536.html
Diffstat (limited to 'src/core/hostname-setup.c')
0 files changed, 0 insertions, 0 deletions