Bug 129990
Summary: | kernel-2.6.7-1.494.2.2 breaks SELinux | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Enrico Scholz <rh-bugzilla> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | mattdm, pfrields, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-17 07:58:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Enrico Scholz
2004-08-16 13:24:25 UTC
Strange thing is that the first ssh connection after reboot succeeds. Then I get | open("/var/log/lastlog", O_RDONLY|O_LARGEFILE) = 9 | _llseek(9, 0, [0], SEEK_SET) = 0 | read(9, "\317\251 Atty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 292) = 292 | close(9) = 0 | open("/dev/ptmx", O_RDWR) = -1 EIO (Input/output error) | open("/dev/ptyp0", O_RDWR) = -1 ENXIO (No such device or address) | open("/dev/ptyp1", O_RDWR) = -1 ENXIO (No such device or address) | open("/dev/ptyp2", O_RDWR) = -1 ENXIO (No such device or address) Still with kernel-2.6.8-1.521, and some more information about the tty issue: when the system comes into this state and I execute a program the first time, things are fine: | open("/dev/ptmx", O_RDWR) = 3 Subsequent executions of the program gives | open("/dev/ptmx", O_RDWR) = -1 EIO (Input/output error) After renaming the program, things are fine again. Btw, this solves my ssh-login problem also because the EIO error was given to the testprogram. The used testprogram was a small modification of the code in libc.info, sec 17.8.1 "Allocation Pseudo-Terminals" I guess, the bug is related to | # ls -Z /dev/pts | crw-------+ root tty system_u:object_r:initrc_devpts_t 0 There does not exist a process on this tty. I get this error on a newly installed and updated FC2 system. I got the latest SELinux packages from ftp://people.redhat.com/dwalsh/SELinux/Fedora. I created a new user and edited the /etc/security/selinux/src/policy/users file. I tried running "make -C /etc/security/selinux/src/policy load" and get the error listed in this bug report. I'm using kernel 2.6.8-1.521smp. I backed off to kernel 2.6.5-1.358smp and SELinux seems happier. # make -C /etc/security/selinux/ file_contexts policy.15 policy.16 policy.17 src [root@booboo root]# make -C /etc/security/selinux/src/policy/ make: Entering directory `/etc/security/selinux/src/policy' make: Nothing to be done for `install'. make: Leaving directory `/etc/security/selinux/src/policy' # cat /selinux/policyvers 17 # checkpolicy -V 17 (compatibility range 17-15) mass update for old bugs: Is this still a problem in the 2.6.9 based kernel update ? |