Bug 106860

Summary: sbin (killproc and startproc) not in PATH for user root
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ivan Rancati <ivan>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: 64bit   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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 ***