[Bug 1206500] After update: when ssh'ing to other 15.4: Invalid environment assignments
http://bugzilla.opensuse.org/show_bug.cgi?id=1206500 http://bugzilla.opensuse.org/show_bug.cgi?id=1206500#c15 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |comes@naic.edu --- Comment #15 from Giacomo Comes <comes@naic.edu> --- I was investigating this problem and here is what I found. you can reproduce the bug with three shell commands: In a bash shell define a function: dummy() { : ; } export the function: export -f dummy at this point bash has defined an environment variable called: BASH_FUNC_dummy%% Now run: dbus-update-activation-environment --systemd --all you will get the error message: dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.InvalidArgs: Invalid environment assignments I think the error is due to the fact that BASH_FUNC_dummy%% is an illegal enviromnet variable name. bash creates them internally with such strange name probably to differentiate exported functions name from normal exported variables. The fix should be for dbus-update-activation-environment to discard environment variable with forbidden characters in their name (or, to put it in another way, ignore exported functions names) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com