Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42785 Details for
Bug 69288
init script does not create ntpd.pid with correct selinux context
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ntpd
ntpd (text/plain), 741 bytes, created by
petre rodan (RETIRED)
on 2004-10-28 10:46:48 UTC
(
hide
)
Description:
ntpd
Filename:
MIME Type:
Creator:
petre rodan (RETIRED)
Created:
2004-10-28 10:46:48 UTC
Size:
741 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.20 2004/08/25 14:32:59 vapier Exp $ > >depend() { > need net > use dns logger > after ntp-client >} > >checkconfig() { > if [ ! -f /etc/ntp.conf ] ; then > eerror "Please create /etc/ntp.conf" > eerror "Sample conf: /usr/share/ntp/ntp.conf" > return 1 > fi > return 0 >} > >start() { > checkconfig || return $? > > ebegin "Starting ntpd" > /usr/bin/ntpd -p /var/run/ntpd.pid ${NTPD_OPTS} > eend $? "Failed to start ntpd" >} > >stop() { > ebegin "Stopping ntpd" > start-stop-daemon --stop --pidfile /var/run/ntpd.pid > eend $? "Failed to stop ntpd" > rm -f /var/run/ntpd.pid >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69288
: 42785