[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#134774: slapd: fails to install



Wichert Akkerman wrote:
> I can think of a possible different approaches:
> 
> 1. change nothing and abort like we do now
> 2. do not create the database and use a debconf note to inform the
>    administrator his slapd was installed but can't be used currently.
>    I really don't want to do that though, since this basically
>    means falsely telling the packaging system slapd was installed
>    properly
> 3. generate a random password ourselves and use a debconf note to
>    inform the administrator that that password was used
> 
> Does anyone have any opinions on what to do? I'm tempted to implement
> the third option.

I'd suggest doing 2. but after dropping the note, hae the postinst fail,
so the package install fails and the admin has a note in his inbox about
why (if noninteractive).

By the way, this is making me think that debconf noninteractive mode
should perhaps display notes to the console besides mailing them.

-- 
see shy jo



Reply to: