Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252493 - sys-apps/openrc-0.4.*: issue with udev ("the udev init script is written for baselayout 2, please do not use this script with baselayout 1")
Summary: sys-apps/openrc-0.4.*: issue with udev ("the udev init script is written for ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-25 17:26 UTC by lamusic
Modified: 2013-03-13 22:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This is my emerge --info (emerge.info,3.79 KB, text/plain)
2008-12-25 17:29 UTC, lamusic
Details
This is my emerge --info (emerge.info,3.79 KB, text/plain)
2008-12-25 17:38 UTC, lamusic
Details
my screenshot with rxvt-unicode and zsh here. (openrc.png,261.90 KB, text/plain)
2008-12-26 10:24 UTC, lamusic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lamusic 2008-12-25 17:26:43 UTC
When i boot, the rc init script say 
"please do not use this script with baselayout 1"
"the udev init script is written for baselayout 2"
so, i have baselayout 2 installed on my system for long time ago, and he's here.
lamusic ~ % eix -ceI baselayout
[I] sys-apps/baselayout (2.0.0@25/12/2008): Filesystem baselayout and init scripts

This bug is reproductible on kernel 2.6.28 and 2.6.26, probably on all.
On my hardened mixed system ~x86 on kvm run correctly, and on my work with an
~amd64 multilib system on kernel 2.6.27 run correctly.

It's impossible for me give a screenshot or a log file, all services crashes because udev not start. For time on this machine i downgrade on openrc 0.3*
. 

Reproducible: Always
Comment 1 lamusic 2008-12-25 17:29:37 UTC
Created attachment 176366 [details]
This is my emerge --info
Comment 2 lamusic 2008-12-25 17:38:08 UTC
Created attachment 176367 [details]
This is my emerge --info
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-25 18:13:09 UTC
Did you run etc-update after your last upgrade? Also, please paste your "emerge -pv openrc udev sysvinit" output. It's weird, cause I have a same box(same profile, 2.6.28 kernel, openrc-0.4.1, udev-135-r2 and sysvinit-2.86-r12) and I don't experience any problems like yours. I will leave the bug just ASSIGNED (which means accepted), until we are sure whether it's something of your side, or ours. 
Comment 4 lamusic 2008-12-25 18:41:19 UTC
Yes i have etc-update, and my output is here :

lamusic ~ % sudo emerge -pv openrc udev sysvinit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/sysvinit-2.86-r12  USE="(-ibm) (-selinux) -static" 101 kB
[ebuild   R   ] sys-fs/udev-135-r2  USE="(-selinux)" 437 kB
[ebuild     U ] sys-apps/openrc-0.4.1 [0.3.0-r1] USE="ncurses pam unicode -debug" 0 kB

Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 537 kB

I have for time on openrc-0.3.0-r1. And this run correctly.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-25 20:40:58 UTC
Since I _might_ be the cause for this, do you mind trying with openrc 0.4 and pam USE flag disabled?
Comment 6 lamusic 2008-12-25 21:36:14 UTC
I'm test for time with =openrc-0.4.0 and =openrc-0.4.1 with USE flag pam disable, udev crash with the same errors :

"the udev init script is written for baselayout 2"
"please do not use this script with baselayout 1"
Comment 7 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-25 21:44:49 UTC
I assign the bug to the proper maintainers for deeper investigation. 
Comment 8 lamusic 2008-12-26 10:10:51 UTC
Sorry but i think, i say the cause of problem, it's not a bug for openrc, i'm in nomultilib profile for no long time ago and one symlink is broken
my /lib64 not link with /lib and of course this udev script :
""
if [ ! -e /lib/librc.so -a -f /etc/init.d/sysfs ]; then
""

don't like my broken symlink, i'm recreate symlinks and i test this.
Comment 9 lamusic 2008-12-26 10:23:23 UTC
Yes openrc-0.4.1 run correctly, but i'm a tiny visual problem, this time is very openrc the cause; i'm sure; i'm test this, with zsh, bash, and other shell.

I put a screenshot, but with copy it's not visible.
Comment 10 lamusic 2008-12-26 10:24:55 UTC
Created attachment 176424 [details]
my screenshot with rxvt-unicode and zsh here.
Comment 11 lamusic 2008-12-26 10:26:38 UTC
(In reply to comment #10)
> Created an attachment (id=176424) [edit]
> my screenshot with rxvt-unicode and zsh here.
> 

i think this attachnement isn't visible, so my screenshot : http://omploader.org/vMTF4dQ
Comment 12 Matthias Schwarzott gentoo-dev 2008-12-27 10:40:04 UTC
If udev should be fixed to work with broken /lib -> /lib64 symlink, someone who is on a multilib system can please check if any files udev installs access /lib instead of /lib64 and should be changed at emerge time.
Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2008-12-27 16:03:32 UTC
I know there was an issue with hardened amd64 stages a long time with regard to /lib not pointing to /lib64. It was up to the user to manually fix these issues when using that stage. The issue you're having is exactly that. You need to get a list of packages that install stuff in /lib and remove /lib and symlink it over then re-emerge all those packages.
Comment 14 Matthias Schwarzott gentoo-dev 2009-01-19 17:24:52 UTC
udev-135-r3 no longer relies on checking /lib/librc.so to get info about openrc installed or not, but just uses /etc/init.d/sysfs existance.
Comment 15 Matthias Schwarzott gentoo-dev 2009-02-25 13:48:38 UTC
As already written, it should work fine with for example udev-135-r4 (that should go stable soon).