Bug 527987

Summary: ntp initscripts lsb compliance
Product: [Fedora] Fedora Reporter: Yulia Kopkova <ykopkova>
Component: ntpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mlichvar, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-21 15:11:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 521669    

Description Yulia Kopkova 2009-10-08 14:25:57 UTC
Description of problem:

According to https://fedoraproject.org/wiki/Packaging/SysVInitScript dnsmasq
component init script have few lsb compliance issues:

Init scripts should return code "4" if restarting service under
nonprivileged user:

# su testuserqa -c "service ntpd restart"; echo $?
Shutting down ntpd:                                        [FAILED]
Starting ntpd:                                             [FAILED]
1
now: 1
expected: 4

# su testuserqa -c "service ntpdate restart"; echo $?
ntpdate: Synchronizing with time server:                   [FAILED]
1
now: 1
expected: 4

Comment 1 Miroslav Lichvar 2009-10-21 15:11:15 UTC
Fixed in ntp-4.2.4p7-7.fc12.