[Bug 1862483] Re: Setting PATH with environment.d/*.conf does not work
Dan Streetman
ddstreet at canonical.com
Sun Feb 9 17:58:33 UTC 2020
*** This bug is a duplicate of bug 1861363 ***
https://bugs.launchpad.net/bugs/1861363
** This bug has been marked a duplicate of bug 1861363
/etc/environment.d cannot be used to add to PATH
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1862483
Title:
Setting PATH with environment.d/*.conf does not work
Status in systemd package in Ubuntu:
New
Bug description:
~> cat ~/.config/environment.d/10-mongo.conf
PATH=$PATH:~/Soft/mongodb42/bin
TESTENVVAR=foobar
~> env
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=gnome
DISPLAY=:0
GDMSESSION=gnome
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/8f01f21a_f9a2_44ae_97d3_db8ff212779e
GNOME_TERMINAL_SERVICE=:1.89
GTK_MODULES=gail:atk-bridge
HOME=/home/simon
INVOCATION_ID=73f5572789da4b98ac504e7dce4269e1
JOURNAL_STREAM=9:45969
LANG=en_US.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LOGNAME=simon
MANAGERPID=2164
PAPERSIZE=a4
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/simon
QT_IM_MODULE=ibus
SESSION_MANAGER=local/T450:@/tmp/.ICE-unix/2232,unix/T450:/tmp/.ICE-unix/2232
SHELL=/usr/bin/fish
SHLVL=2
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=xterm-256color
TESTENVVAR=foobar <- pay attention
USER=simon
USERNAME=simon
VTE_VERSION=5802
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.DY6MF0
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: systemd 242-7ubuntu3.6
ProcVersionSignature: Ubuntu 5.3.0-29.31-generic 5.3.13
Uname: Linux 5.3.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Feb 9 00:57:13 2020
InstallationDate: Installed on 2019-10-20 (111 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: LENOVO 20BUS04A04
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic root=UUID=7af429cf-e7fe-41af-868c-955fbda6f55f ro
SourcePackage: systemd
SystemdDelta:
[EXTENDED] /usr/lib/systemd/system/rc-local.service → /usr/lib/systemd/system/rc-local.service.d/debian.conf
[EXTENDED] /usr/lib/systemd/system/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
[EXTENDED] /usr/lib/systemd/system/user at .service → /usr/lib/systemd/system/user at .service.d/timeout.conf
3 overridden configuration files found.
UpgradeStatus: Upgraded to eoan on 2019-12-26 (44 days ago)
dmi.bios.date: 08/14/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: JBET73WW (1.37 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20BUS04A04
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrJBET73WW(1.37):bd08/14/2019:svnLENOVO:pn20BUS04A04:pvrThinkPadT450:rvnLENOVO:rn20BUS04A04:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T450
dmi.product.name: 20BUS04A04
dmi.product.sku: LENOVO_MT_20BU_BU_Think_FM_ThinkPad T450
dmi.product.version: ThinkPad T450
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1862483/+subscriptions
More information about the foundations-bugs
mailing list