Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
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:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-21 15:11:15 UTC
Type: ---


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.