After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641598 - Add Debian support to NTP service activation
Add Debian support to NTP service activation
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-05 12:37 UTC by Milan Bouchet-Valat
Modified: 2011-02-07 19:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add Debian support to NTP service activation (4.88 KB, patch)
2011-02-05 12:37 UTC, Milan Bouchet-Valat
committed Details | Review

Description Milan Bouchet-Valat 2011-02-05 12:37:00 UTC
See patch. This is going to be a little messy, but there's no other solution,
and I think the patch leaves things open for other distributions to add
their own suport in a relatively clean way.
Comment 1 Milan Bouchet-Valat 2011-02-05 12:37:03 UTC
Created attachment 180166 [details] [review]
Add Debian support to NTP service activation

Debian uses update-rc.d instead of checkconfig (Fedora), and the
'service' command is at /usr/sbin/service. Moreover, the NTP init script
is called ntp, not ntpd. Thus, check where programs are located, and
what the name of the script is.
Comment 2 Bastien Nocera 2011-02-07 19:33:18 UTC
Attachment 180166 [details] pushed as 92ef5f8 - Add Debian support to NTP service activation