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

Re: Find which package has installed some file under /etc



On Thu, Dec 22, 2011 at 4:23 AM, Vincent Lefevre <vincent@vinc17.net> wrote:
> On 2011-12-20 14:20:51 -0700, Bob Proulx wrote:
>>
>> But I think this discussion of /etc/default/ collisions is all rather
>> academic.  No one has yet to mention any real world case of a problem.
>> Just the potential that it might be a problem.  Unless it is a real
>> problem, and I haven't seen it yet, then I don't think there is much
>> benefit trying to prevent it, since it hasn't been happening.
>
> I thought about writing a script that would automatically clean up
> the /etc/default directory, but if some filenames are not based on
> package names, there would be real problems.

You can check whether a file in "/etc/default/" is sourced by a file
in "/etc/init.d/".


Reply to: