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

Bug#1020505: debuginfod is configured by an environment variable instead of /etc



Package: libdebuginfod-common
Version: 0.187-2
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi,

libdebuginfod-common sets DEBUGINFOD_URLS to a reasonable default (after
prompting appropriately because it's a privacy leak otherwise).

But Debian Policy 9.9 says: "Programs installed on the system PATH
(/bin, /usr/bin, /sbin, /usr/sbin, or similar directories) must not
depend on custom environment variable settings to get reasonable
defaults."

Ideally upstream would support using a file in /etc instead, or failing
that, policy suggests using wrappers.

Technically then this seems like a policy violation.

I also don't like it because it imposes an environment variable on every
user - for example in Ubuntu libdebuginfod-common ends up on every
system because of the built in crash handling. It wouldn't scale and
seems quite ugly to carry this configuration around in environment
variables, and debuginfod doesn't seem like it should have a special
exception.

Thanks,

Robie

Attachment: signature.asc
Description: PGP signature


Reply to: