When devfsd starts it looks for a file in /usr (/usr/lib/devfsd-so.se) but can't locate it because the /usr partition isn't currently available. Reproducible: Always Steps to Reproduce: 1. Create a new partition 2. Copy the contents of current /usr to the new partition 3. Edit fstab to mount this partition ... 4. Reboot system Actual Results: starting devfsd .......... [!!] Expected Results: starting devfsd .......... [ok] Somewhere in the ebuild process the dest dir of lib file for devfs as bee changed from /lib to /usr/lib.
Hm, I have my /usr-directory on a different partition and everythink works fine... Can you tell more about your system?
Err, please supply a ldd /sbin/devfsd: ---------------------------------------------------------------- # ldd /sbin/devfsd libdl.so.2 => /lib/libdl.so.2 (0x43ff5000) libc.so.6 => /lib/libc.so.6 (0x43ecc000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x43eb5000)
Sorry for the delay ... Currently using devfsd version 1.3.25 Result of ldd /sbin/devfsd libdl.so.2 => /lib/libdl.so.2 (0x4001b000) libc.so.6 => /lib/libc.so.6 (0x4001f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0x40000000) I found a file "selinux-small" in /etc/devfs.d included in devfsd.conf by a statement. When i remove the file, everything goes ok. Contents of selinux-small : REGISTER ^nb[^/]+$ CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:fixed_disk_device_t REGISTER [0-9]/cd$ CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:removable_device_t REGISTER ^initctl CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:initctl_t REGISTER ^gpmctl CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:gpmctl_t REGISTER ^dri CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:dri_device_t REGISTER ^sound/.* CFUNCTION /usr/lib/devfsd-se.so set_sid $devname system_u:object_r:sound_device_t REGISTER ^pts/.* IGNORE I'm quite new to gentoo ... so I don't know where it comme from.
Selinux stuff. Method, you guys will have to move that lib to /lib ...
did you enable selinux use var?
I think that is fairly a non issue. Issue is that having devfsd-se.so in /usr/lib borks with /usr on a diff partition. Just get it to install to /lib (and remember to fix the devfs.d file), and all should be well.
Yeah, this is a problem with where I put the selinux-small devfsd module (devfsd-se.so). I'll take this one off your hands Az.
I just added selinux-small-2003011510-r4 to cvs as KEYWORDS="~x86 ~ppc ~alpha ~sparc", and it should hit rsync soon. Please test and report your results.
selinux-small-2003011510-r4 is marked stable. the devfsd module is now in /lib/devfsd, which is on the root partition.