On Wed, Nov 21, 2012 at 11:58:44PM +0100, Marco d'Itri wrote:
> On Nov 21, Ron <[email protected]> wrote:
> 
> > Do the package directives actually cause udev any harm?  Just moving
>
> Probably not.
> 
> > Would it be better to delete it if unchanged, but otherwise leave it
> > alone if it is modified?  How will that burn us later?
>
> An orphaned file will be kept around forever.

If a user modified it, it's not really orphaned though.  Even under
normal circumstances doing that would make them wholly responsible
for maintaining the conffile from then on.  The only real difference
here is that the package is now never going to make further changes
of its own, and the file belongs entirely to the user but they will
still want to keep (their changes to) it "forever".

I agree it should be deleted if unmodified.

This does seem not entirely unlike the situation from #565126, where
a file in /etc/udev/rules.d became orphaned by the package, but users
who had modified it were still correct to put their own rules in
that place, and would expect and want their rules to be preserved.

In the end we resolved that by deleting it if unmodified,
but otherwise just leaving it alone.

Feel free to crib this patch, which does just that, if you don't
see any major problem with taking that approach here too:

http://anonscm.debian.org/gitweb/?p=users/ron/xf86-input-wacom.git;a=commitdiff;h=25db4704334d835b88bc170d0045a62b04805e24

I guess another option might be to move it to user-blacklist.conf
or so if modified, but that has a (small?) risk of breaking for
people who might maintain it with something like puppet or so.


  Cheers,
  Ron


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to