On Mon, Sep 25, 2006 at 08:04:18PM -0400, Kristine Daniels wrote: > Some of us still run with /usr as a separate filesystem. > These scripts fail under that circumstance. > There are tests like > if [ "$STATEFILE" != "`find $STATEFILE -type f -and -user root -and -group > root -and -not -perm +0022`" ]; then > Which cannot be run and give confusing error messages during shutdown > due to /usr being unmounted.
I don't have these messages on my systems, and I have separate /usr as well. Additionally, I think that the error message is quite on the point, as a non-existing file is not a plain file. I would be willing to give a different error message like "$STATEFILE not found" if $STATEFILE does not exist. Is that an acceptable fix for you? I am not happy with the fix you suggested, though. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]