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

Re: Bug#223819: RFA: murasaki -- another HotPlug Agent



Henning Makholm <henning@makholm.net> schrieb:

> | The problem is that a Debian package has not the right to modify
> | automaticaly things under the /etc dir. That means that murasaki
> | itself is not allowed to write anything in /etc/murasaki/*.
[...]
> | -From the Debian policy :
> | "Note that a package should not modify a dpkg-handled conffile in its
> | maintainer scripts. Doing this will lead to dpkg giving the user
> | confusing and possibly dangerous options for conffile update when the
> | package is upgraded. "
>
> That has nothing to do with what the program *itself* does to files
> that are *not conffiles*.

But be aware that if you use dh_installdeb, all files installed in /etc
will be flagged as confiles:

,----dh_installdeb(1)
| In V3 compatibility mode and higher, all files in the etc/ directory
| in a package will auto­ matically be flagged as conffiles by this
| program, so there is no need to list them manually in
| package.conffiles.
`----

If there's no way to override this, one can instead copy them there in
postinst. 

Bye, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie



Reply to: