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

Re: base-config/debian README.Debian,1.4,1.5 TODO,1.18,1.19 changelog,1.222,1.223 control,1.58,1.59 copyright,1.5,1.6 logrotate,1.2,1.3 postinst,1.41,1.42 postrm,1.2,1.3 rules,1.42,1.43 templates,1.47,1.48



Denis Barbier wrote:
> On Mon, Dec 08, 2003 at 11:17:16PM +0000, Joey Hess wrote:
> [...]
> > +  * Make tzsetup exit 30 if backed up past its start.
> > +  * Similar changes to finish, hostname, intro, pkgsel, pon.
> > +  * Bugs filed on console-data, passwd, exim4-config, to get them to exit
> > +    30 appropriatly as well. This leaves only apt-get that in general you
> > +    cannot back up from.
> > +  * Turn on capb backup for all of base-config.
> > +  * Make base-config itself exit 30 if you back up from the main menu.
> [...]
> 
> Hmmm I thought that config scripts did exit 10 in such cases, and
> this is indeed the expected value in main-menu.c (l. 548):
>   if (ret == 10)
>     di_log(DI_LOG_LEVEL_INFO, "Menu item '%s' succeeded but requested to be left unconfigured.", p->p.package);
>   else
>     di_log(DI_LOG_LEVEL_WARNING, "Menu item '%s' failed.", p->p.package);
> 

I guess you're right. I wonder why 10 was chosen instead of 30, 30 seems
more natural. I'll try to make base-config more consistent.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: