ghosting files with variable names

Nicolas Mailhot nicolas.mailhot at laposte.net
Mon Jan 16 12:02:52 UTC 2006


On Lun 16 janvier 2006 09:26, Michael A. Peters wrote:
> On Mon, 2006-01-16 at 08:18 +0100, Nicolas Mailhot wrote:
>> Michael A. Peters wrote:
>> >
>> > That actually belongs in a packages man page (or other documentation).
>>
>> That's exactly why it's nicer to have it in rpm -ql
>>
>> file location is something chosen by the packager at spec time, man
>> pages often reflect other defaults (when they are up to date -> cf
>> localized pages), and there is no canonical other place to search for
>> it.
>
> find /var/log -name file.log

assuming you have a pretty good idea of the logfile name

Which is why rpm -ql is better - you don't have to guess the naming/location
(and remember if you don't find the file it does not prove it does not
exist - all it shows is you probably didn't look in the right place)

(is the logfile named like the package name ? a random package binary ? a
random binary function ? something else for historical/compat reasons ? is
it in the LSB-blessed dir or a subdir or somewhere else entirely ? Does it
use strange casing ? etc)

-- 
Nicolas Mailhot




More information about the fedora-extras-list mailing list