Bug 3083

Summary: ldd shows SysVinit's /usr/bin/shutdown need libgdk, libgtk
Product: [Retired] Red Hat Linux Reporter: manishv
Component: SysVinitAssignee: Cristian Gafton <gafton>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-27 16:39:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.