Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33979 - sys-apps/daemontools: svscan init script generates warnings if /service is empty
Summary: sys-apps/daemontools: svscan init script generates warnings if /service is empty
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-20 17:59 UTC by Michael Grigoriev
Modified: 2004-01-31 07:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.