Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33979

Summary: sys-apps/daemontools: svscan init script generates warnings if /service is empty
Product: Gentoo Linux Reporter: Michael Grigoriev <mag>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: trivial CC: rajiv
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Grigoriev 2003-11-20 17:59:41 UTC
The init script for daemontools' svscan generates unnecessary errors when
stop'ing if you don't have anything in /service.

Reproducible: Always
Steps to Reproduce:
1. remove anything you might have in /service
2. /etc/init.d/svscan start
3. /etc/init.d/svscan stop

Actual Results:  
 * Stopping service scan...                                                    
                                                                               
                                              [ ok ]
 * Stopping services...
svc: warning: unable to chdir to /service/*: file does not exist               
                                                                               
                                              [ ok ]
 * Stopping service logging...
svc: warning: unable to chdir to /service/*/log: file does not exist           
                                                                               
                                              [ ok ]

Expected Results:  
No errors.
Comment 1 Michael Grigoriev 2003-11-20 19:17:15 UTC
It's really warnings, not errors.
And it happens with sys-apps/daemontools-0.76-r3
Comment 2 Nick Hadaway 2004-01-29 23:08:38 UTC
mr. robbat :)

since you have been heavily active in the qmail camp, you might want to take a look at this.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-29 23:56:08 UTC
fixed now, in -r4.