[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-12-09 Thread Maciej Borzecki
Valentin has 2 PRs up to address this on the snapd/core20 side:
https://github.com/snapcore/snapd/pull/9 and
https://github.com/snapcore/core20/pull/124

** Changed in: snapd
 Assignee: (unassigned) => Valentin David (valentin.david)

** Changed in: snapd
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-11-20 Thread Steve Langasek
> IMO it is out of scope for finalrd to unmount mounts
> which can't be cleanly unmounted.

Er, this is nonsense. The entire point of finalrd is to ensure we pivot
to an initramfs after all other processes have been terminated, so that
it is possible to cleanly unmount the root filesystem with no errors.
For the root filesystem to be busy and failing to unmount is clearly a
bug in either systemd or finalrd.

** Changed in: finalrd (Ubuntu)
   Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-07-06 Thread Ian Johnson
I continue to see these messages on all UC20 VM's I use, including the
most recently released stable image on cdimage when booted in a VM

** Changed in: snapd
   Status: Expired => Confirmed

** Changed in: snapd
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-07-05 Thread Launchpad Bug Tracker
[Expired for snapd because there has been no activity for 60 days.]

** Changed in: snapd
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-05-06 Thread Balint Reczey
IMO it is out of scope for finalrd to unmount mounts which can't be
cleanly unmounted.

** Changed in: finalrd (Ubuntu)
   Status: Incomplete => Opinion

** Changed in: finalrd (Ubuntu)
   Status: Opinion => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-05-06 Thread Brian Murray
** Tags removed: rls-ff-incoming
** Tags added: rls-ff-notfixing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-04-19 Thread Woodrow Shen
** Description changed:

  We were seeing the same sequence of errors heppened on KVM and ARM
  device running UC20:
  
  """
  [12450.684692] sd-umoun[5922]: Failed to unmount /oldroot: Device or resource 
busy
  [12450.693515] sd-remou[5923]: Failed to remount '/oldroot/run/mnt/data' 
read-only: Device or resource busy
  [12450.704374] sd-umoun[5924]: Failed to unmount /oldroot/run/mnt/data: 
Device or resource busy
  [12450.714225] sd-umoun[5925]: Failed to unmount /oldroot/run: Device or 
resource busy
  [12450.726073] shutdown[1]: Could not detach loopback /dev/loop0: Device or 
resource busy
  [12450.735481] shutdown[1]: Failed to finalize file systems, loop devices, 
ignoring
  [12451.129165] reboot: Power down
  """
  
  [Steps to reproduce]
  
  $ sudo poweroff or $ sudo reboot
- 
- There are few issues may be relevant but the PR listed on below was not
- useful for this case.
- 
- https://github.com/systemd/systemd/issues/14298
- https://github.com/systemd/systemd/issues/14981
- https://github.com/systemd/systemd/pull/15566

** Description changed:

  We were seeing the same sequence of errors heppened on KVM and ARM
  device running UC20:
  
  """
  [12450.684692] sd-umoun[5922]: Failed to unmount /oldroot: Device or resource 
busy
  [12450.693515] sd-remou[5923]: Failed to remount '/oldroot/run/mnt/data' 
read-only: Device or resource busy
  [12450.704374] sd-umoun[5924]: Failed to unmount /oldroot/run/mnt/data: 
Device or resource busy
  [12450.714225] sd-umoun[5925]: Failed to unmount /oldroot/run: Device or 
resource busy
  [12450.726073] shutdown[1]: Could not detach loopback /dev/loop0: Device or 
resource busy
  [12450.735481] shutdown[1]: Failed to finalize file systems, loop devices, 
ignoring
  [12451.129165] reboot: Power down
  """
  
  [Steps to reproduce]
  
  $ sudo poweroff or $ sudo reboot
+ 
+ [Additional info]
+ 
+ http://cdimage.ubuntu.com/ubuntu-core/20/stable/current/ubuntu-
+ core-20-amd64.img.xz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-04-19 Thread hugh chao
I also can reproduce this issue in my amd64 machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-04-19 Thread Woodrow Shen
@Dimitri,

The issue can be reproduced by http://cdimage.ubuntu.com/ubuntu-
core/20/stable/current/ubuntu-core-20-amd64.img.xz while I previously
fetched the image there to test, so if you think it's snap relevant, I
can check with snapd team.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-04-15 Thread Dimitri John Ledkov
The way uc20 is booted, and how bind mounts are setup means that we do
force unmount eventually.

It matters which snaps are installed, and which processes have memory
mapped which files.

Many things should probably be marked for lazyunmount.

Please provide details why is held up /oldroot/run/mnt/data

For example output from fuser.

I do not believe any of the linked issues are of relevance here. It
matters how snaps have been mounted, as they do get mounted circularly.

** Changed in: finalrd (Ubuntu)
   Status: New => Incomplete

** Changed in: snapd
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1920107] Re: Failed messages of sd-umount shown with reboot/shutdown

2021-04-15 Thread Brian Murray
** Summary changed:

- Failed messages of sd-umoun show with reboot/shutdown
+ Failed messages of sd-umount shown with reboot/shutdown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920107

Title:
  Failed messages of sd-umount shown with reboot/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1920107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs