* [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig
@ 2012-09-12 11:54 Bart Van Assche
[not found] ` <505077FF.6060408-HInyCGIudOg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Bart Van Assche @ 2012-09-12 11:54 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; +Cc: Alex Netes
The command "chkconfig $service on" enables a service in the "Default-Start"
runlevels.
Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
---
scripts/opensm.init.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/opensm.init.in b/scripts/opensm.init.in
index 0c84bd3..9ec08a2 100644
--- a/scripts/opensm.init.in
+++ b/scripts/opensm.init.in
@@ -9,8 +9,8 @@
# Provides: opensm
# Required-Start: $syslog
# Required-Stop:
-# Default-Start: none
-# Default-Stop: 0 1 6
+# Default-Start: 2 3 5
+# Default-Stop: 0 1 4 6
# Description: Manage OpenSM
### END INIT INFO
#
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <505077FF.6060408-HInyCGIudOg@public.gmane.org>]
* Re: [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig [not found] ` <505077FF.6060408-HInyCGIudOg@public.gmane.org> @ 2012-09-16 9:10 ` Alex Netes 2012-09-16 9:55 ` Bart Van Assche 0 siblings, 1 reply; 4+ messages in thread From: Alex Netes @ 2012-09-16 9:10 UTC (permalink / raw) To: Bart Van Assche; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Hi Bart, On 13:54 Wed 12 Sep , Bart Van Assche wrote: > The command "chkconfig $service on" enables a service in the "Default-Start" > runlevels. > > Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org> > --- > scripts/opensm.init.in | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/opensm.init.in b/scripts/opensm.init.in > index 0c84bd3..9ec08a2 100644 > --- a/scripts/opensm.init.in > +++ b/scripts/opensm.init.in > @@ -9,8 +9,8 @@ > # Provides: opensm > # Required-Start: $syslog > # Required-Stop: > -# Default-Start: none > -# Default-Stop: 0 1 6 > +# Default-Start: 2 3 5 > +# Default-Stop: 0 1 4 6 Why it's needed also to stop on runlevel 4? -- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig 2012-09-16 9:10 ` Alex Netes @ 2012-09-16 9:55 ` Bart Van Assche 0 siblings, 0 replies; 4+ messages in thread From: Bart Van Assche @ 2012-09-16 9:55 UTC (permalink / raw) To: Alex Netes; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 09/16/12 11:10, Alex Netes wrote: > Hi Bart, > > On 13:54 Wed 12 Sep , Bart Van Assche wrote: >> The command "chkconfig $service on" enables a service in the "Default-Start" >> runlevels. >> >> Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org> >> --- >> scripts/opensm.init.in | 4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/scripts/opensm.init.in b/scripts/opensm.init.in >> index 0c84bd3..9ec08a2 100644 >> --- a/scripts/opensm.init.in >> +++ b/scripts/opensm.init.in >> @@ -9,8 +9,8 @@ >> # Provides: opensm >> # Required-Start: $syslog >> # Required-Stop: >> -# Default-Start: none >> -# Default-Stop: 0 1 6 >> +# Default-Start: 2 3 5 >> +# Default-Stop: 0 1 4 6 > > Why it's needed also to stop on runlevel 4? Good question. As far as I know runlevel 4 is not used. I've noticed though that some Linux distributions (RHEL) enable services in runlevel 4 that are also enabled in runlevel 3. The LSB isn't very clear about this subject though. A quote from http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/runlevels.html: 0 halt 1 single user mode 2 multiuser with no network services exported 3 normal/full multiuser 4 reserved for local use, default is normal/full multiuser 5 multiuser with a display manager or equivalent 6 reboot If I interpret the above correctly, enabling opensm in runlevel 4 should be fine on all Linux distributions ? Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig @ 2012-09-12 11:49 Bart Van Assche 0 siblings, 0 replies; 4+ messages in thread From: Bart Van Assche @ 2012-09-12 11:49 UTC (permalink / raw) To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; +Cc: Alex Netes The command "chkconfig $service on" enables a service in the "Default-Start" runlevels. Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org> --- scripts/opensm.init.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/opensm.init.in b/scripts/opensm.init.in index 0c84bd3..9ec08a2 100644 --- a/scripts/opensm.init.in +++ b/scripts/opensm.init.in @@ -9,8 +9,8 @@ # Provides: opensm # Required-Start: $syslog # Required-Stop: -# Default-Start: none -# Default-Stop: 0 1 6 +# Default-Start: 2 3 5 +# Default-Stop: 0 1 4 6 # Description: Manage OpenSM ### END INIT INFO # -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-16 9:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12 11:54 [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig Bart Van Assche
[not found] ` <505077FF.6060408-HInyCGIudOg@public.gmane.org>
2012-09-16 9:10 ` Alex Netes
2012-09-16 9:55 ` Bart Van Assche
-- strict thread matches above, loose matches on Subject: below --
2012-09-12 11:49 Bart Van Assche
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).