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

Re: update-modules: error if /etc/modules.conf manually changed



Le sam 04/05/2002 à 13:17, Daniel Lutz a écrit :
> Hello
> 
> I've just got a bug report (#145768) about the autofs package.
> This user manually changed /etc/modules.conf. The postinst
> and postrm scripts call update-modules for recreating the file
> /etc/modules.conf. But if this file is manually changed,
> update-modules exits with an error, and the installation of
> the autofs package fails.
> 
> I could call update-modules with the option `force', but this
> would overwrite the manually changed /etc/modules.conf file.
> 
> Acually all package installing files into /etc/modutils/ have
> this problem.
> 
> What should I do? Should I `manually' close this bug? What would be a
> solution for this user?

A user should never change the /etc/modules.conf file, as warned at the
beginning of the file. He should create or modify files in
/etc/modutils/ and launch update-modules, which is the good(tm) way.

-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: PGP signature


Reply to: