Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2014 19:34:41 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190665] New: fixes for asterisk output in /usr/sbin/service scripts when rc.d is empty
Message-ID:  <bug-190665-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: olevole@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190665-8>