Bug 527987 - ntp initscripts lsb compliance
Summary: ntp initscripts lsb compliance
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitScriptsProject
TreeView+ depends on / blocked
 
Reported: 2009-10-08 14:25 UTC by Yulia Kopkova
Modified: 2009-10-21 15:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-21 15:11:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.