Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 107263 - konsole gives false error messages
konsole gives false error messages
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-10-16 05:32 EDT by Hans de Goede
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-21 16:31:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hans de Goede 2003-10-16 05:32:25 EDT
Starting konsole from a terminalemulator, gives amongst other output:
konsole: cannot chown /dev/pts/1.
Reason: Operation not permitted
konsole_grantpty not installed root-suid
konsole: chownpty failed for device /dev/pts/1::/dev/pts/1.
       : This means the session can be eavesdroped.
       : Make sure konsole_grantpty is installed in
       : /usr/bin/ and setuid root.
konsole_grantpty not installed root-suid

This is ofcourse a bogus messages, since this isn't needed with devpts, but for
some reason konsole doesn't detect this and screams. I'm afraid this could
confuse users and lead to false bugreports.

Quick fix: don't include konsole_grantpty in the RPM, instead just make a
symlink named konsole_grantpty to /bin/true.
IOW put this in the install part of the spec:

rm -f /usr/bin/konsole_grantpty
ln -s /bin/true /usr/bin/konsole_grantpty

But you need to adjust this for the install root ofcourse.
Let me know if you want this bug to be reported upstream.
Comment 1 Hans de Goede 2004-07-21 16:31:07 EDT
No longer there in FC3-test1, maybe gone in earlier releases too.

Note You need to log in before you can comment on or make changes to this bug.