Simon McVittie schrob: > Before Ubuntu switched from Upstart to systemd, they had a > standalone implementation of XDG_RUNTIME_DIR as a PAM module, which as far > as I'm aware is entirely init-system-agnostic: > https://launchpad.net/pam-xdg-support
Heh, interesting. I wasn't aware of that, thanks.
> > > It also poses problems for tools like su/sudo.
>
> These tools should unset XDG_RUNTIME_DIR. By default, "su -" and sudo
> both do so.
Exactly. Which only reinforces my point that application software MUST
deal gracefully with XDG_RUNTIME_DIR being unset.
> Unsetting it would avoid most test failures, but some packages have
> non-essential features that require an XDG_RUNTIME_DIR;
Can you give some examples of such features please?
> those features
> will be active on typical Debian installations, so ideally we would enable
> those features to be tested by build-time tests, for best test coverage
> of the code paths that a typical Debian installation will be using.
Both generally and in this case, I prefer to test the less-common
codepaths.
cheers,
Jan
signature.asc
Description: PGP signature

