Starting with nov 20 updates su does not work from xterm:
[jan@hjemme ~]$ su -
stracing the operation terminates with:
getuid32() = 500
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd1fa48) = -1 ENOTTY (Inappropriate
ioctl for device)
write(2, "standard in must be a tty\n", 26) = 26
close(1) = 0
munmap(0xf3d000, 9680) = 0
exit_group(1) = ?
Process 6642 detached
(well, it's not a tty....)
Outside x it works as expected
How reproducible: allways
Steps to Reproduce:
1. open xterminal
2. type su -
Actual results: nothing
Expected results: prompted for password
Additional info: i386 platform (P4 CPU)
Maybe this is intended ?
Maybe there is something funny with the configuration of the machine ?
If you disable SELinux using 'setenforce 0', does the problem go away?
Yes. Then the problem goes away.
What does this say?:
rpm -q coreutils gnome-terminal selinux-policy-targeted selinux-policy-strict
I haven't been able to reproduce the problem here with Fedora Core 5test1.
$ rpm -q coreutils gnome-terminal selinux-policy-targeted
package selinux-policy-strict is not installed
Believe I have defaults for everything related to selinux, though there seem
to be 2 targeted policies. Had not noticed this before.
Strange thing: Rebooting after yesterdays (nov 23) update made the problem
Okay, I suspect this was a bug in selinux-policy-targeted. Please re-open if
you see this again.
*** Bug 173763 has been marked as a duplicate of this bug. ***