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

Re: Missing files in /etc



fredagen den 10 januari 2003 16.49 skrev Bob Hilliard:

>      Policy prohibits overriding conffiles that have been changed by
> the admin.  Deleting a file is considered changing it.  One must
> assume that the admin deleted the file for a reason.  Debian does not
> prevent users from shooting themselves in the foot.  However, I
> believe the new conffile will be installed as <filename>.dpkg-dist.

The problem is that those files sometimes tend to disappear by themselves in 
some instances when upgrading. I don't know what circumstances. Maybe due to 
bugs in the packages? Maybe aborted upgrades? It is a reoccuring thing on the 
debian-kde list that someone has one of the essential files missing.  And as 
the problem occur often enough, I was thinking about somehow safeguarding 
that it can't happen.

If there are no mechanism that can prohibit this behaviour, the only thing I 
can think about is a shell-script in a postinst file that checks for the 
essential files. Or in preinst, that checks for this file, and somehow tell 
dpkg to install it, if I could just figure out what that could be. 
Does that sound like a good idea?

Karolina



Reply to: