console param in kernel boot string causes deadlock
Hello!
I have faced problem with kernel boot log redirect. I tried to add 'console=/dev/tty8 selinux=1 enforcing=1' and got immediate kernel hung up. It looks like deadlock or endless loop. There is no difference what value is in parameter ( /dev/tty0, /dev/console, /dev/null or whatever else). There is no output besides of grub boot message. I have tried with FC3 kernel and FC4 kernel. There is no difference. But in permissive mode system boots up. And output goes to tty8. There is no corresponding avc messages in logs. make enableaudit does not show anything useful.
Have anybody either faced with it? Is this anything known?
Signature · 7 lines
Kind regards, Yevheniy Yevtushenko -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 12 lines · Yevheniy Yevtushenko
Hello!
I have faced problem with kernel boot log redirect. I tried to add 'console=/dev/tty8 selinux=1 enforcing=1' and got immediate kernel hung up. It looks like deadlock or endless loop. There is no difference what value is in parameter (
/dev/tty0,/dev/console,/dev/nullor whatever else). There is no output besides of grub boot message.
I have tried with FC3 kernel and FC4 kernel. There is no difference. But in permissive mode system boots up. And output goes to tty8. There is no corresponding avc messages in logs. make enableaudit does not show anything useful.
Have anybody either faced with it? Is this anything known?
No, I haven't seen this problem, and I have successfully booted with a serial console (e.g. console=ttyS0) without difficulty.
Can you enable NMI watchdog and reproduce?
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 14 lines · Stephen Smalley
Quoted 12 lines · Yevheniy Yevtushenko
Hello!
I have faced problem with kernel boot log redirect. I tried to add 'console=/dev/tty8 selinux=1 enforcing=1' and got immediate kernel hung up. It looks like deadlock or endless loop. There is no difference what value is in parameter (
/dev/tty0,/dev/console,/dev/nullor whatever else). There is no output besides of grub boot message.
I have tried with FC3 kernel and FC4 kernel. There is no difference. But in permissive mode system boots up. And output goes to tty8. There is no corresponding avc messages in logs. make enableaudit does not show anything useful.
Have anybody either faced with it? Is this anything known?
Quoted 4 lines
No, I haven't seen this problem, and I have successfully booted with a serial console (e.g. console=ttyS0) without difficulty.
Can you enable NMI watchdog and reproduce?
The other odd aspect here is that even with enforcing=1, the kernel is effectively permissive until a policy is loaded (in Fedora, by /sbin/init). BTW, I assume you dropped the 'quiet' option from the console parameters.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.