[opensuse-factory] kdesu broken and mc error on bash startup on TW 20191014
I've been directed here so I'll repost this from opensuse-support: After upgrading to Tumbleweed 20191014, I'm getting this message whenever I start a bash session:
bash: mc: line 1: syntax error: unexpected end of file bash: error importing function definition for `mc'
It seems to be a problem with the file /etc/profile.d/mc.sh mc is installed from the main OSS repo. I don't have any "weird" repos installed either, my activated ones are: Packman games network:vpn:wireguard repo-debug repo-non-oss repo-oss repo-update Also, kdesu doesn't function anymore, see https://bugzilla.opensuse.org/show_bug.cgi?id=1154342 Interestingly, both issues appeared together after an upgrade, just like for this user here https://forums.opensuse.org/showthread.php/537708-Weird-behaviour-after-zypp... and it affects other TW users too https://forums.opensuse.org/showthread.php/537708-Weird-behaviour-after-zypp...
Maximilian Trummer skreiv 17.10.2019 15:24:
After upgrading to Tumbleweed 20191014, I'm getting this message whenever I start a bash session:
bash: mc: line 1: syntax error: unexpected end of file bash: error importing function definition for `mc' It seems to be a problem with the file /etc/profile.d/mc.sh mc is installed from the main OSS repo.
I’m not sure it’s related to mc. After upgrading, I get similar error message for *all* my custom functions defined in ~/.bashrc. Example: function sayhello { echo 'Hello!' } export -f sayhello The error message is: bash: sayhello: line 1: syntax error: unexpected end of file bash: error importing function definition for `sayhello' (But for some reason I have to log out and in again for the error message to appear/disappear after I add/remove a function from ~/.bashrc. It’s not enougth to just relaunch bash or open a new terminal window.) -- Karl Ove Hufthammer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
It was a bug in Plasma's new startplasma-* executables (that replace the old startkde and startcompositor scripts). A fix is on the way to Tumbleweed: https://build.opensuse.org/request/show/740993 Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Karl Ove Hufthammer
-
Maximilian Trummer
-
Wolfgang Bauer