Bug 106860 - sbin (killproc and startproc) not in PATH for user root
Summary: sbin (killproc and startproc) not in PATH for user root
Status: RESOLVED DUPLICATE of bug 105681
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 2
Hardware: 64bit SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 20:47 UTC by Ivan Rancati
Modified: 2005-08-24 08:58 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rancati 2005-08-23 20:47:18 UTC
I just installed Beta 2 64 bit and wanted to setup the HP printer/scanner  
drivers, so after issuing  
/etc/init.d/hplip restart  
as root I issued  
skiantos:~ # /etc/init.d/cups restart 
Shutting down cupsd/etc/init.d/cups: line 92: killproc: command not found 
                                                                      failed 
Starting cupsd/etc/init.d/cups: line 82: startproc: command not found 
                                                                      failed 
 
  
Should /sbin be in the default path for root?  
this is the default 
skiantos:~ # echo $PATH 
/home/ivan/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
Comment 1 Felix Möller 2005-08-23 22:38:00 UTC
Hi,
> Should /sbin be in the default path for root?  

I guess it is a feature and not a bug, because it is mentioned in the release
notes.  You have to use "su -" to invoke a shell with the whole environment.

But you are right: a lot of users will get confused by this.  The init.d scripts
maybe should work arround this issue, for the users convinience.
Comment 2 Dr. Werner Fink 2005-08-24 08:58:16 UTC

*** This bug has been marked as a duplicate of 105681 ***