--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Old Bug renewed: rights of the tty are wrong
- From: Klaus Ethgen <Klaus@Ethgen.de>
- Date: Sun, 25 Nov 2007 11:15:54 +0100
- Message-id: <20071125101554.GA31200@ikki>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: xterm
Version: 222-1etch2
Severity: normal
I have no clue why this happens again since xterm isn't updated for long
time.
When I start xterm I get:
mesg: error: tty device is not owned by group `tty'
~> ls -l `tty`
crw--w---- 1 klaus utmp 136, 10 2007-11-25 11:11 /dev/pts/10
If I chgrp of /usr/bin/xterm to tty it works well.
Is there any reason the xterm binary is group utmp? And then why is this
long fixed bug opened again?
~> md5sum /usr/bin/xterm
3ebc5ce7ac8c87d64a17cf086987ce25 /usr/bin/xterm
~> sha1sum /usr/bin/xterm
c328e8f61000c326e05e230164c27cd944c8c97f /usr/bin/xterm
~> ls -l /usr/bin/xterm
- -rwxr-sr-x 1 root utmp 298020 2007-01-10 17:35 /usr/bin/xterm
- -- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'oldstable'), (60, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.4.35.3
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Versions of packages xterm depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxaw7 1:1.0.2-4 X11 Athena Widget library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii xbitmaps 1.0.1-2 Base X bitmaps
Versions of packages xterm recommends:
ii xutils 1:7.1.ds.3-1 X Window System utility programs
- -- no debconf information
- --
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR0lLWp+OKpjRpO3lAQK4DQf8C/21IEbwMPcXQtvU4/NrGQ8J3L7OT5cp
mL2eUuQ2c/mRYDD37FZLymv/F8f1ykgz/FYXe1dN93a7GF2yqNUtHhU5aex46NNB
71UahlwRX6KJYHnn3Wcr3Ya1kRsH4lrdDK3lSlFNvX43+v9crssVSlP40lkgKRBu
t4by3GnJqkXYNpxWoeyIAtGRJP2d32Fr6vcghkYmpnuNJTdLMCzURgHiJ1EzxSm4
YjTXOyM39ruVmx5KRYqrucCsinEYrEdDjN0QqdXY2V/hRDGiROadxUYCPqOBI3y4
KTVa7KPvOfGbCZ4b57cJLff8g6y2SmDGlp89NbhpSmmz+YCLlz8hcg==
=sfUQ
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
- To: 452800-close@bugs.debian.org
- Subject: Re: Old Bug renewed: rights of the tty are wrong NOT a bug
- From: Klaus Ethgen <Klaus@Ethgen.de>
- Date: Sat, 1 Dec 2007 20:29:47 +0100
- Message-id: <20071201192947.GA20535@ikki>
- In-reply-to: <handler.452800.B.11959857632466.ack@bugs.debian.org>
- References: <20071125101554.GA31200@ikki> <handler.452800.B.11959857632466.ack@bugs.debian.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I just did several debugging as the problem reappears randomly. And
finally I found the problem. First, it is not a bug of xterm than more
of pbuilder or even the kernel.
The problem appears if using pbuilder with the option (default)
USEDEVPTS=yes. The reason is that pbuilder do NOT specify the group of
the filesystem and so it defaults to 5(tty).
Well, this is the source of the problem. But the real problem is that
the kernel only provides ONE shared devpts! So after using pbuilder
every time the devpts is using the default group.
So, many thanks for the fast reaction. The bug is completely closed (It
was even not a bug (this time) of xterm.)
Regards
Klaus Ethgen
- --
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR1G2K5+OKpjRpO3lAQJhsQf+NK4bMBKQaZwK8kYkJzgGqMP0ZN3RaeYG
AZ8KUFcZS+aHEeZsFhJehrNop5H5m+hNgYTrVxWU3229DQoaBnjj6Rvdg9+R1+H8
K/GpiIl4ION/CddWB3ifJuDWWgOp6+GuiniZP7CbgFRVz/Fm6mRay87d65wbkwHx
VgeZm8nNnGeOfdp2xU2YxTZf7DnN5Ams5ExRWRS/DS+zb6rKmN4qbnk8jQJNjWIf
zpEtDcd/VBeZBVzHiOY7FxSIW5b4h05yldYsR2Z+TEtA3plqoIbppNeRT5X+DYGX
YLeBepaS7QpjCLTGk2E3J3zZa83Xy2LaFv/DYoofWW20zsz4ufDhhQ==
=YiCK
-----END PGP SIGNATURE-----
--- End Message ---