[Bug 190665] New: fixes for asterisk output in /usr/sbin/service scripts when rc.d is empty
bz-noreply at freebsd.org
bz-noreply at freebsd.org
Thu Jun 5 19:34:41 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190665
Bug ID: 190665
Summary: fixes for asterisk output in /usr/sbin/service scripts
when rc.d is empty
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: olevole at olevole.ru
Created attachment 143413
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=143413&action=edit
patch for /usr/src/usr.sbin/service/service.sh script
Fixes for two micro issue:
1) Check for rc.d directory existence.
2) Fix for output * when rc.d is empty
Demo of current behavior:
----
% mv /usr/local/etc/rc.d /usr/local/etc/rc.d-temp
% service -l
cd: /usr/local/etc/rc.d: No such file or directory
% mkdir /usr/local/etc/rc.d
% service -l
zfs
zvol
* << extra symbols
% rmdir /usr/local/etc/rc.d
% mv /usr/local/etc/rc.d-temp /usr/local/etc/rc.d
----
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list