[24419] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r24012 - in trunk/debathena/config/reactivate/debian:

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Sep 20 18:44:06 2009

Date: Sun, 20 Sep 2009 18:43:57 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Robert Basch <rbasch@mit.edu>
cc: source-commits@mit.edu, Michael Mekonnen <mikemeko@mit.edu>
In-Reply-To: <063FFBFD-647D-4AF1-8630-5D0F248906C2@mit.edu>
Message-ID: <alpine.DEB.2.00.0909201839440.11533@ozok-the-destroyer.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sun, 20 Sep 2009, Robert Basch wrote:

> On Sep 20, 2009, at 4:10 PM, Geoffrey Thomas wrote:
>
>> +### BEGIN INIT INFO
>> +# Provides:          rmnologin
>> +# Required-Start:    $remote_fs $all
>> +# Required-Stop:
>> +# Default-Start:     2 3 4 5
>> +# Default-Stop:
>> +# Short-Description: Remove /etc/nologin at boot
>> +# Description:       This script removes the /etc/nologin file as the
>> +#                    last step in the boot process, if DELAYLOGIN=yes.
>> +#                    If DELAYLOGIN=no, /etc/nologin was not created by
>> +#                    bootmisc earlier in the boot process.
>> +### END INIT INFO
>
> This init info block was apparently copied from rmnologin, so at least
> the Provides and descriptions need to be corrected.

Argh, good catch. Not sure how I missed this...

> Also, we want this to run before gdm, right?  Maybe try:
>
> # X-Start-Before:    gdm
>
> and nuke "$all" from the "Required-Start".

While it's worth fixing the metadata, that won't actually make it run 
before gdm (unless dh_installinit is entirely too clever for its own 
good), although we probably don't need to do anything because init scripts 
default to S20, and gdm is S30gdm.

-- 
Geoffrey Thomas
geofft@mit.edu

home help back first fref pref prev next nref lref last post