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

Bug#872815: apt: Using RootDir setting causes warnings because of how empty Dir::Log::Solver setting is handled



Hi,

On Mon, Aug 21, 2017 at 03:21:39PM +0100, Matt Hoskins wrote:
> I would guess this is a bug in the behaviour of Configuration::FindFile -
> I've never delved into the workings of apt before, but from a quick glance
> at the code in question it doesn't seem sensible to return the value of
> RootDir for empty configuration values (as when RootDir isn't set it just
> returns an empty string value in such circumstances I think).

Thanks for the report & yes, from your description it seems wrong, but
I haven't investigated it yet – note that "RootDir" isn't really used
much due to it behaviour of being a prefix for all pathnames – even for
absolute paths. You might want to try setting "Dir" instead.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: