Bug 15898 - umount /usr failed, because /usr is busy on boot time
Summary: umount /usr failed, because /usr is busy on boot time
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-10 01:32 CEST by Thomas Spuhler
Modified: 2022-06-26 16:02 CEST (History)
2 users (show)

See Also:
Source RPM: systemd-217-8.mga5
CVE:
Status comment:


Attachments
fstab (580 bytes, text/plain)
2015-05-11 17:24 CEST, Thomas Spuhler
Details
journal -b (295.18 KB, text/plain)
2015-05-11 17:24 CEST, Thomas Spuhler
Details
dmesg (74.56 KB, text/plain)
2015-05-11 17:25 CEST, Thomas Spuhler
Details
journal -b on vbox (70.67 KB, text/plain)
2015-05-11 19:49 CEST, Thomas Spuhler
Details
fstab from vbox (566 bytes, text/plain)
2015-05-11 19:50 CEST, Thomas Spuhler
Details

Description Thomas Spuhler 2015-05-10 01:32:58 CEST
Description of problem:
after update systemd, a lot of error about umount /usr failed, because /usr is busy on boot time


Version-Release number of selected component (if applicable):

systemd-217-8.mga5

How reproducible:
100%

Steps to Reproduce:
1. Boot system
2. Look on console

This looks to be the same problem as reported here:

https://bugzilla.redhat.com/show_bug.cgi?id=1159648

Reproducible: 

Steps to Reproduce:
Comment 1 Thomas Spuhler 2015-05-10 01:34:06 CEST
I am going to rate it as a release blocker. Feel free to change this.

Priority: Normal => release_blocker
Assignee: bugsquad => mageia

Comment 2 Rémi Verschelde 2015-05-10 09:26:56 CEST
Please give more details if you want this rated as a release blocker, because it's not really clear what the issue is. What are the log messages?

I'm not experiencing this on an up-to-date cauldron.
Comment 3 Rémi Verschelde 2015-05-10 09:33:15 CEST
Ah nevermind, it supposes that one has a /usr partition, and I don't.
Comment 4 Chris Denice 2015-05-10 15:27:13 CEST
I have one, please give more details Thomas as I don't see this behaviour with systemd-217-8.mga5

CC: (none) => dirteat

Comment 5 Thomas Spuhler 2015-05-11 17:24:03 CEST
Created attachment 6509 [details]
fstab
Comment 6 Thomas Spuhler 2015-05-11 17:24:42 CEST
Created attachment 6510 [details]
journal -b
Comment 7 Thomas Spuhler 2015-05-11 17:25:48 CEST
Created attachment 6511 [details]
dmesg
Comment 8 Thomas Spuhler 2015-05-11 17:26:44 CEST
(In reply to Chris Denice from comment #4)
> I have one, please give more details Thomas as I don't see this behaviour
> with systemd-217-8.mga5

See the three attachments
Comment 9 Chris Denice 2015-05-11 18:43:00 CEST
In my journalctl -b, I can only see one line:

May 11 03:57:01 brenva systemd[1]: Unit usr.mount is bound to inactive service. Stopping, too.

and that's all. It is on ext4, with acl:

# Entry for /dev/sda7 :
UUID=dfa4ec1e-5ee3-11dc-bbb5-21406f0e3933 /usr ext4 acl,relatime 1 2
Comment 10 Thomas Spuhler 2015-05-11 19:47:37 CEST
I just installed mga5RC on a vbox. I made / usr var opt and home partitions, all btrfs

I experienced the same problem with /usr, but the other partitions are fine. opt was mounted not like the bug reported on Fedora (see link in the report description.)
I am going to attach the relevant part of journal -b of the vbox and an fstab copy
Comment 11 Thomas Spuhler 2015-05-11 19:49:23 CEST
Created attachment 6513 [details]
journal -b on vbox
Comment 12 Thomas Spuhler 2015-05-11 19:50:34 CEST
Created attachment 6515 [details]
fstab from vbox
Marja Van Waes 2015-05-11 22:27:13 CEST

Attachment 6515 mime type: application/octet-stream => text/plain
CC: (none) => marja11

Comment 13 Rémi Verschelde 2015-05-14 22:14:17 CEST
Since nobody could confirm the bug yet and it does not seem to break too much stuff, decreasing the priority. We really need to get Mageia 5 out now.

Priority: release_blocker => Normal

Samuel Verschelde 2015-06-06 15:57:46 CEST

Whiteboard: (none) => MGA5TOO

Comment 14 Thomas Spuhler 2015-07-09 18:09:36 CEST
Any news on this?
Comment 15 Thomas Spuhler 2015-09-12 02:25:02 CEST
Again, any update? Bug is still there.
Comment 16 Thomas Spuhler 2015-10-17 00:12:38 CEST
Any news?
Comment 17 Thomas Spuhler 2016-01-02 00:32:34 CET
Will this ever be fixed?
Comment 18 Colin Guthrie 2016-01-05 11:14:14 CET
I'm sorry, but I'm super busy just now so not able to look into it. In all the times I've tried this kind of setup it works for me, but not looked overly recently. I suspect some kind of btrfs thing, but cannot be certain. I'm afraid that I'm unlikely to dedicate any of my limited time to looking at this directly. So if you can dig into the initramfs and debug it some more that would be good.

Ultimately, you need to ensure that the system re-enters the initramfs again at shutdown and properly tries to stop applications and ensures the filesystem isn't busy. You should be able to use rd.break= kernel command line arguments to drop you to a debug shell in the initramfs during shutdown (see man dracut.cmdline) and generally fiddle around, try manual umounts etc, find out what is keeping the fs busy. You may need to make a custom initramfs to include various debugging binaries (e.g. fuser, ps etc).
Comment 19 Chris Denice 2016-01-05 17:09:13 CET
Sorry too Thomas, but although I have /usr separate partition too, I am unable to reproduce it, it is ext4 though!
Comment 20 Thomas Spuhler 2016-01-05 19:22:09 CET
(In reply to Chris Denice from comment #19)
> Sorry too Thomas, but although I have /usr separate partition too, I am
> unable to reproduce it, it is ext4 though!

As reported on comment 10, I have two boxes that show this problem. they are all btrfs.
I will try to new vbox cauldron install if it is still present.
The procedure Colin described goes over my head.
Comment 21 Thomas Spuhler 2016-01-11 01:11:16 CET
I just did a freshinstall of mga5 using these 3 partitions, all btrfs
/
/usr
/home

The problem is still present

I also did a cauldron install and the problem is NOT present.
Comment 22 sturmvogel 2022-06-26 16:02:15 CEST
According comment 21 this problem was present in MGA5 with systemd-217.x but not anymore in MGA6 cauldron. MGA6 had systemd-230.x

As MGA5 is EOL since end of 2017...closing as FIXED.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.