Santiago Vila writes ("Re: /etc/adjtime, /etc/timezone, etc."):
...
> Of course it is possible. But the reason policy says some files should not
> be conffiles is the following: "Doing this will lead to dpkg giving the
> user confusing and possibly dangerous options for conffile update when the
> package is upgraded.", which is completely false for conffiles that never
> change (I mean: conffiles for which the package provided version is always
> the same). Therefore, if we want to encourage the creation of certain
> files in the postinst (as opposed to being them conffiles), we need a
> better rationale (see my bug report, #26402).

Firstly, in situations where a conffile file is created by a script
before dpkg gets to it, dpkg will still prompt.

Secondly, you can't guarantee that the file in the package will never
change.

Why can't you just handle this in the postinst, without involving dpkg
?

Ian.

Reply via email to