All of lore.kernel.org
 help / color / mirror / Atom feed
* run_init: Fork:: No such file or directory
@ 2005-10-22 12:59 Antoine Martin
  2005-10-22 13:13 ` Antoine Martin
  2005-10-22 14:55 ` Chris PeBenito
  0 siblings, 2 replies; 5+ messages in thread
From: Antoine Martin @ 2005-10-22 12:59 UTC (permalink / raw)
  To: SELinux; +Cc: wsalamon, dwalsh

Hi,

I've been running a system with SELinux enforcing mode for some time
(Gentoo x86), but since yesterday I can't seem to use run_init to start
daemons, it fails with:
Fork:: No such file or directory

When I straced it, I found that it is failing to open /dev/ptmx|pty?? :
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/ptyef", O_RDWR)              = -1 ENXIO (No such device or
address)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
brk(0)                                  = 0x804b000
brk(0x806c000)                          = 0x806c000
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f17000
_llseek(3, 0, 0xbfc256e4, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "Fork:: No such file or directory"..., 33Fork:: No such file or
directory
) = 33
close(3)                                = 0
munmap(0xb7f17000, 4096)                = 0
exit_group(71)                          = ?

Obviously, the devices are there and I'm not using devfs (kernel
2.6.13.4) /dev is static on ext3 /.
I am really stumped. I've tried rebuilding it, rebuilding the libraries
it depends on, switched to non-enforcing mode, etc.. No luck
Any ideas would be much appreciated.

Thanks
Antoine



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-22 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-22 12:59 run_init: Fork:: No such file or directory Antoine Martin
2005-10-22 13:13 ` Antoine Martin
2005-10-22 14:46   ` Petre Rodan
2005-10-22 14:55 ` Chris PeBenito
2005-10-22 15:47   ` Antoine Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.