From: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
To: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 2/6] opensm: Make it possible to enable opensm with chkconfig
Date: Sun, 16 Sep 2012 11:55:16 +0200 [thread overview]
Message-ID: <5055A204.2030607@acm.org> (raw)
In-Reply-To: <20120916091008.GA8243@calypso>
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
next prev parent reply other threads:[~2012-09-16 9:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-12 11:49 Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5055A204.2030607@acm.org \
--to=bvanassche-hinycgiudog@public.gmane.org \
--cc=alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.