Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-20 Thread Gerrit Pape
Hi, I reassigned #455694 to the gdm package, please see below and the
buglog
 http://bugs.debian.org/455694

Regards, Gerrit.


On Sat, Dec 15, 2007 at 12:47:00AM +0100, Andreas Kroschel wrote:
 * Gerrit Pape:
  Hi Andreas, I can't see how dash can cause this failure.  The error from
  gtk+ is because the real uid does not match the effective uid, but I
  have no idea how dash should have changed either of them.  Please check
  again whether it's really the change of /bin/sh, and also post the
  output of `ls -l /bin/dash`.
 
 Sorry, I sent an incomplete mail by mistake. As I said, I can
 reconstruct the behavior anytime, but I forgot to give some additional
 information: The error only occurs when using GDM for login. If I call
 startxfce4 from a VT, everything works. So maybe GDM is to blame.
 
 Here's the output from ls -l:
 
 [EMAIL PROTECTED]:~$ sudo /usr/sbin/dpkg-reconfigure dash
 Adding `diversion of /bin/sh to /bin/sh.distrib by dash???
 Adding `diversion of /usr/share/man/man1/sh.1.gz to
 /usr/share/man/man1/sh.distrib.1.gz by dash???
 [EMAIL PROTECTED]:~$ ls -l /bin/sh
 lrwxrwxrwx 1 root root 4 2007-12-15 00:43 /bin/sh - dash
 [EMAIL PROTECTED]:~$ sudo /usr/sbin/dpkg-reconfigure dash
 Removing `diversion of /bin/sh to /bin/sh.distrib by dash???
 Removing `diversion of /usr/share/man/man1/sh.1.gz to
 /usr/share/man/man1/sh.distrib.1.gz by dash???
 [EMAIL PROTECTED]:~$ ls -l /bin/sh
 lrwxrwxrwx 1 root root 4 2007-12-15 00:43 /bin/sh - bash
 
 Regards,
 Andreas
 -- 
 Don't worry.  Life's too long.
   -- Vincent Sardi, Jr.
 
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-14 Thread Gerrit Pape
On Tue, Dec 11, 2007 at 08:53:08AM +0100, Andreas Kroschel wrote:
 Package: dash
 Version: 0.5.4-3
 Severity: critical
 Justification: breaks unrelated software
 
 When installing dash as /bin/sh, GTK+ dies at Xfce4 and Gnome startup.
 
 ~/.xsession-errors says:
 
 (process:30924): Gtk-WARNING **: This process is currently running
 setuid or setgid.
 This is not a supported use of GTK+. You must create a helper
 program instead. For further details, see:
 
 http://www.gtk.org/setuid.html
 
 Refusing to initialize GTK+.

 Reverting dash/sh to false in debconf works around the problem.

Hi Andreas, I can't see how dash can cause this failure.  The error from
gtk+ is because the real uid does not match the effective uid, but I
have no idea how dash should have changed either of them.  Please check
again whether it's really the change of /bin/sh, and also post the
output of `ls -l /bin/dash`.

Thanks, Gerrit.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-14 Thread Andreas Kroschel
* Gerrit Pape:

 Hi Andreas, I can't see how dash can cause this failure.  The error from
 gtk+ is because the real uid does not match the effective uid, but I
 have no idea how dash should have changed either of them.  Please check
 again whether it's really the change of /bin/sh, and also post the
 output of `ls -l /bin/dash`.

Hi Gerrit,

it is a mystery to me, too, but I can reconstruct the behavior anytime. 


Andreas
-- 
You will be successful in love.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-14 Thread Andreas Kroschel
* Gerrit Pape:

 Hi Andreas, I can't see how dash can cause this failure.  The error from
 gtk+ is because the real uid does not match the effective uid, but I
 have no idea how dash should have changed either of them.  Please check
 again whether it's really the change of /bin/sh, and also post the
 output of `ls -l /bin/dash`.

Sorry, I sent an incomplete mail by mistake. As I said, I can
reconstruct the behavior anytime, but I forgot to give some additional
information: The error only occurs when using GDM for login. If I call
startxfce4 from a VT, everything works. So maybe GDM is to blame.

Here's the output from ls -l:

[EMAIL PROTECTED]:~$ sudo /usr/sbin/dpkg-reconfigure dash
Adding `diversion of /bin/sh to /bin/sh.distrib by dash‘
Adding `diversion of /usr/share/man/man1/sh.1.gz to
/usr/share/man/man1/sh.distrib.1.gz by dash‘
[EMAIL PROTECTED]:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2007-12-15 00:43 /bin/sh - dash
[EMAIL PROTECTED]:~$ sudo /usr/sbin/dpkg-reconfigure dash
Removing `diversion of /bin/sh to /bin/sh.distrib by dash‘
Removing `diversion of /usr/share/man/man1/sh.1.gz to
/usr/share/man/man1/sh.distrib.1.gz by dash‘
[EMAIL PROTECTED]:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2007-12-15 00:43 /bin/sh - bash

Regards,
Andreas
-- 
Don't worry.  Life's too long.
-- Vincent Sardi, Jr.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-14 Thread Andreas Kroschel
More information:

GTK+ startup works with KDM and XDM, so the problem exists only between
dash and GDM.

Andreas
-- 
You will wish you hadn't.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Bug#455694: dash: crashes GTK+ when run as /bin/sh

2007-12-11 Thread Andreas Kroschel
Package: dash
Version: 0.5.4-3
Severity: critical
Justification: breaks unrelated software

When installing dash as /bin/sh, GTK+ dies at Xfce4 and Gnome startup.

~/.xsession-errors says:

(process:30924): Gtk-WARNING **: This process is currently running
setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:30928): Gtk-WARNING **: This process is currently running
setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

Reverting dash/sh to false in debconf works around the problem.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'proposed-updates'), (500, 'oldstable'), 
(200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.9
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6 2.7-4  GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information:
* dash/sh: false

-- 
You are fighting for survival in your own sweet and gentle way.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]