Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 563624

Summary: >=sys-apps/openrc-0.18 - incorrect localmount behaviour
Product: Gentoo Linux Reporter: RedEyedMan <kegalym2>
Component: [OLD] Core systemAssignee: OpenRC Team <openrc>
Status: RESOLVED TEST-REQUEST    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rc.log

Description RedEyedMan 2015-10-20 23:34:13 UTC
After update openrc to 0.18 version localmount script fails to mount some file system(s) and due to that xdm and others won't start. 

Reproducible: Always

Steps to Reproduce:
1. Upgrade openrc to 0.18
2. Reboot
3. Look at that nice bug
Actual Results:  
1. Mounting /sys and /dev may be incorrect
2. Due to that, X session crashing when network connection has been re-established

Expected Results:  
Mentioned issues shouldn't be happened
Comment 1 RedEyedMan 2015-10-20 23:36:32 UTC
Created attachment 415052 [details]
rc.log

Indicates two boot states: After update openrc and after downgrade it.
Comment 2 RedEyedMan 2015-10-20 23:57:55 UTC
18.3 may be affected too. I'll check it late.
Comment 3 William Hubbs gentoo-dev 2015-10-24 16:36:56 UTC
localmount is failing because of something to do with cgroups.
OpenRC handles mounting the cgroup file system itself, so can you please
remove any entry from fstab that has to do with cgroups?


Thanks,

William
Comment 4 William Hubbs gentoo-dev 2015-10-29 15:48:56 UTC
rereading this bug, your comment about framebuffer support being a
module got my attention, and I noticed that there may be a dependency
missing. Please add the following line to /etc/conf.d/consolefont and
let me know if this fixes things, again with udev-settle not being in
any runlevel:

rc_after="modules"

If that fixes things, I need to add this dependency.
Comment 5 William Hubbs gentoo-dev 2015-10-29 16:03:44 UTC
Obviously my previous comment was put on the wrong bug. Sorry about the
noise.
Comment 6 RedEyedMan 2015-10-30 05:29:11 UTC
(In reply to William Hubbs from comment #3)
> localmount is failing because of something to do with cgroups.
> OpenRC handles mounting the cgroup file system itself, so can you please
> remove any entry from fstab that has to do with cgroups?
> 
> 
> Thanks,
> 
> William

I removed cgroups entry from fstab when I used affected openrc, but as I mentioned above, there are some issues, e.g. "X session crashing when network connection has been re-established" and when I stop NetworkManager, localmounts trying to unmount /sys (!)

Sorry for that I didn't answer long time, I have no time to test openrc-0.18.3 and I need working system :) Anyway I'll check it on this weekend.
Comment 7 William Hubbs gentoo-dev 2015-11-13 16:18:26 UTC
I am moving this to the test-request  status.
Please test this when you can and report back; it should be resolved in
OpenRC-0.18.3.

Thanks,

William