Hi Mattias,

On Tue, Jul 20, 2010 at 12:11:45PM +0200, Mattias Ellert wrote:
> sön 2010-07-18 klockan 18:43 +0200 skrev Helmut Grohne:
> > Package: fetch-crl
> > Version: 2.8.5-1
> Are you sure about the version. I know this bug was present in the
> 2.8.4-1 package, but as far as I know it is fixed in 2.8.5-1.

I am.

> This is the post install script in 2.8.5-1. Note the period at the end
> of the update-rc.d command:

Same for me.

Offending line is this one:
>       update-rc.d fetch-crl-boot start 20 . stop 20 0 1 2 3 4 5 6 . >/dev/null

Notice that *no* runlevels are given for start. It looks like
update-rc.d cannot handle this situation.

# touch /etc/init.d/foo
# update-rc.d foo start 99 .
update-rc.d: warning: /etc/init.d/foo missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?)
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
                -n: not really
                -f: force

The disable|enable API is not stable and might change in the future.
#

The error from the fetch-crl postinst looks very similar.

Helmut



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to