On Thu, May 02, 2024 at 01:55:42PM +0100, Jorge Almeida wrote:
> I have /var/lib/bin in my $PATH (both as root and as normal user)
> 
> [snip] What could be setting this?  (grep /var/lib/bin /etc/conf.d/*
> returns nothing)

Do you have app-admin/xstow installed? This seems to be the (only)
package which adds /var/lib/bin to the PATH, see [1]. At least, I was
able to grep -F var/lib/bin pattern only in this package in ::gentoo
overlay.

[1] 
https://github.com/gentoo/gentoo/blob/c2fb597e863fb296b5cdaf36e8b258b20c47d4a1/app-admin/xstow/xstow-1.1.0.ebuild#L51-L52

Petr

Reply via email to