← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1806036] [NEW] kubernetes loaded inactive dead transient mount points grows (systemd fix)

 

*** This bug is a duplicate of bug 1795764 ***
    https://bugs.launchpad.net/bugs/1795764

Public bug reported:

[Description]

The following has been brought to my attention :

" Currently, if there are two /proc/self/mountinfo entries with the same 
mount point path, the mount setup flags computed for the second of 
these two entries will overwrite the mount setup flags computed for 
the first of these two entries. This is the root cause of issue #7798. 
This patch changes mount_setup_existing_unit to prevent the 
just_mounted mount setup flag from being overwritten if it is set to 
true. This will allow all mount units created from /proc/self/mountinfo 
entries to be initialized properly. 

One line fix in https://github.com/systemd/systemd/pull/7811/files

Referenced issue: https://github.com/systemd/systemd/issues/7798

Related kubernetes issue:
https://github.com/kubernetes/kubernetes/issues/57345

systemd v237 has this fix, but we'd like to have it fixed in 16.04."

[Reproducer]

root@xenialsystemd:~# mkdir -p bind-test/abc 
root@xenialsystemd:~# mount --bind bind-test bind-test 
root@xenialsystemd:~# mount -t tmpfs tmpfs bind-test/abc 
root@xenialsystemd:~# umount bind-test/abc 
root@xenialsystemd:~# systemctl list-units --all | grep bind-test 
root-bind\x2dtest-abc.mount loaded inactive dead /root/bind-test/abc 
root-bind\x2dtest.mount loaded active mounted /root/bind-test

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Ubuntu Xenial)
     Importance: Medium
         Status: Confirmed

** Affects: systemd (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Ubuntu Cosmic)
     Importance: Undecided
         Status: Fix Released


** Tags: sts ua

** Also affects: systemd (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Xenial)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Bionic)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Cosmic)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Xenial)
       Status: Fix Released => Confirmed

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Xenial)
   Importance: Undecided => Medium

** Tags added: sts

** Tags added: ua

** This bug has been marked a duplicate of bug 1795764
   systemd: core: Fix edge case when processing /proc/self/mountinfo

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1806036

Title:
  kubernetes loaded inactive dead transient mount points grows (systemd
  fix)

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Xenial:
  Confirmed
Status in systemd source package in Bionic:
  Fix Released
Status in systemd source package in Cosmic:
  Fix Released

Bug description:
  [Description]

  The following has been brought to my attention :

  " Currently, if there are two /proc/self/mountinfo entries with the same 
  mount point path, the mount setup flags computed for the second of 
  these two entries will overwrite the mount setup flags computed for 
  the first of these two entries. This is the root cause of issue #7798. 
  This patch changes mount_setup_existing_unit to prevent the 
  just_mounted mount setup flag from being overwritten if it is set to 
  true. This will allow all mount units created from /proc/self/mountinfo 
  entries to be initialized properly. 

  One line fix in https://github.com/systemd/systemd/pull/7811/files

  Referenced issue: https://github.com/systemd/systemd/issues/7798

  Related kubernetes issue:
  https://github.com/kubernetes/kubernetes/issues/57345

  systemd v237 has this fix, but we'd like to have it fixed in 16.04."

  [Reproducer]

  root@xenialsystemd:~# mkdir -p bind-test/abc 
  root@xenialsystemd:~# mount --bind bind-test bind-test 
  root@xenialsystemd:~# mount -t tmpfs tmpfs bind-test/abc 
  root@xenialsystemd:~# umount bind-test/abc 
  root@xenialsystemd:~# systemctl list-units --all | grep bind-test 
  root-bind\x2dtest-abc.mount loaded inactive dead /root/bind-test/abc 
  root-bind\x2dtest.mount loaded active mounted /root/bind-test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1806036/+subscriptions