Bug 3083 - ldd shows SysVinit's /usr/bin/shutdown need libgdk, libgtk
Summary: ldd shows SysVinit's /usr/bin/shutdown need libgdk, libgtk
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: SysVinit
Version: 6.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-27 03:53 UTC by manishv
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-05-27 16:39:56 UTC
Embargoed:


Attachments (Terms of Use)

Description manishv 1999-05-27 03:53:41 UTC
doing an rpm -qf /usr/bin/shutdown reveals that
/usr/bin/shutdown is owned by the SysVinit package.

ldd reveals that /usr/bin/shutdown is linked against libgdk
and libgtk.  /sbin/shutdown, fortunately, does not suffer
from this.  Furthermore, SysVinit does not depend on any
package that contains gtk+.  This seems broken to me.
Certainly the dependencies are broken, and most likely so is
the fact that /usr/bin/shutdown is linked against libgtk and
libgdk.

Comment 1 Jay Turner 1999-05-27 14:27:59 UTC
This issue has been forwarded to a developer for further review.

Comment 2 Jeff Johnson 1999-05-27 16:39:59 UTC
The short answer is that /sbin/shutdown is the beast you
want, not /usr/bin/shutdown.

Here's my best guess at the longer answer:
The file /usr/bin/shutdown is a symlink to consolehelper
which does not only shutdowns but other PAM console functions.
Some of these functions require changing the controlling
tty and updating utmp entries. These operations are implemented
using the gnome-terminal abstraction which needs gtk.


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