Hide Forgot
Description of problem: lldpad init scripts improvement Version-Release number of selected component (if applicable): lldpad-0.9.43-7.el6 How reproducible: deterministic Steps to Reproduce: A. Insufficient rights, stopping service under nonprivileged user must fail (Expected 4, got 0) 0. petr is nonroot 1. [petr@dell-pe-sc1435-02 ~]$ /etc/init.d/lldpad stop [petr@dell-pe-sc1435-02 ~]$ echo $? 0 [petr@dell-pe-sc1435-02 ~]$ /etc/init.d/cups stop [petr@dell-pe-sc1435-02 ~]$ echo $? 4 Actual results: 0 Expected results: 4 Additional info:
Created attachment 521493 [details] Check for root privileges before any action is taken
Patch is ready; requesting devel_ack...
*** Bug 735976 has been marked as a duplicate of this bug. ***
Fixed in CVS, lldpad-0_9_43-8_el6.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1604.html