Summary: | Devfsd won't start if using a separate /usr partition | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sleepy <sleepy> |
Component: | [OLD] Core system | Assignee: | Chris PeBenito (RETIRED) <pebenito> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | georgmueller, method |
Priority: | High | ||
Version: | 1.4_rc4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
sleepy
2003-05-02 08:30:06 UTC
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. |