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

Bug 363343

Summary: sys-apps/openrc-0.8.1: Missing "[ ok ]" for "Stopping local"
Product: Gentoo Linux Reporter: Jarry <mr.jarry>
Component: [OLD] baselayoutAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: trivial CC: mr.jarry
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jarry 2011-04-12 18:38:51 UTC
I'm not sure if this is a bug or not, but I noticed with openrc-0.8.1 (and 0.8.0) I do not get "[ ok ]" message for "Stopping local" when doing shutdown:

openrc-0.8.1 (the same for openrc-0.8.0):
 * Caching service dependencies ...                 [ ok ]
 * Stopping local
 * Saving random seed ...                           [ ok ]

openrc-0.7.0:
 * Caching service dependencies ...                 [ ok ]
 * Stopping local ...                               [ ok ]
 * Saving random seed ...                           [ ok ]

Actually, I see "..." is missing too. Maybe some typo in "/etc/init.d/local"? When I used /etc/init.d/local from openrc-0.7.0 (everything else updated to 0.8.1) I got "[ ok ]" even for "Stopping local" during shutdown. Otherwise all seems to be working normally, so I do not consider this as serious bug. BTW, I get this "missing [ ok ]" message only during shutdown. When powering up, everything is normal...

Reproducible: Always

Steps to Reproduce:
1. update to openrc-0.8.1 (or 0.8.0)
2. shutdown -h

Actual Results:  
 * Caching service dependencies ...                 [ ok ]
 * Stopping local
 * Saving random seed ...                           [ ok ]


Expected Results:  
 * Caching service dependencies ...                 [ ok ]
 * Stopping local ...                               [ ok ]
 * Saving random seed ...                           [ ok ]
Comment 1 William Hubbs gentoo-dev 2011-04-21 18:10:02 UTC
I added back the command that prints [ok] at the end of stop and start
in the local service.

I am putting this on a line of its own, because I am considering adding
more verbose output as an option to the local service so that you could
see when each custom program has been run.
Comment 2 William Hubbs gentoo-dev 2011-04-21 18:26:29 UTC
This was done in commit 8202e7d and will be part of openrc-0.8.3.