Bug 33979 - sys-apps/daemontools: svscan init script generates warnings if /service is empty
Bug#: 33979 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: mag@luminal.org
Component: Applications
URL: 
Summary: sys-apps/daemontools: svscan init script generates warnings if /service is empty
Keywords:  
Status Whiteboard: 
Opened: 2003-11-20 17:59 0000
Description:   Opened: 2003-11-20 17:59 0000
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 From Michael Grigoriev 2003-11-20 19:17:15 0000 -------
It's really warnings, not errors.
And it happens with sys-apps/daemontools-0.76-r3

------- Comment #2 From Nick Hadaway 2004-01-29 23:08:38 0000 -------
mr. robbat :)

since you have been heavily active in the qmail camp, you might want to take a look at this.

------- Comment #3 From Robin Johnson 2004-01-29 23:56:08 0000 -------
fixed now, in -r4.