Why do we get: "NOTICE: Env value ignored ..." during shell login?
When logging in via ssh or fingerterm, I am getting various warnings about: "NOTICE: Env value ignored ...". Right now, I am getting warnings for:
NOTICE: Env value ignored LC_NUMERIC=sv_SE.utf8
NOTICE: Env value ignored LC_MEASUREMENT=sv_SE.utf8
NOTICE: Env value ignored QT_GSTREAMER_CAMERABIN_FLAGS=15
NOTICE: Env value ignored QT_WAYLAND_RESIZE_AFTER_SWAP=1
NOTICE: Env value ignored LC_TIME=sv_SE.utf8
I could of course set those variables again in my login-scripts, but I don't like doing things like that, a bit too much cargo-culting for my taste. Why does this happen, and how do you prevent it from happening?
(The LC_* entries are probably because I have tweaked my locale according to: http://www.jollatides.com/2013/12/16/how-to-tweak-jolla-system-locale/ but they still shouldn't be ignored!)
EDIT: OK, so the accepted answer explains how to get rid of the warning message, however, I still don't understand why this functionality exists? Which environment variables should I white-list and which ones should I black-list? What are my selection criteria?
+1 - Ditto - I get 2 warnings but only when using SSH, not in fingerterm though.
NOTICE: Env value ignored QT_GSTREAMER_CAMERABIN_FLAGS=15
NOTICE: Env value ignored QT_WAYLAND_RESIZE_AFTER_SWAP=1
Regards,
Spam Hunter ( 2014-03-21 02:38:14 +0200 )editIt's interesting that you don't get it in fingerterm... Have you applied the fix to make fingerterm execute login-scripts and place you in home directory rather than root directory? The fix is here: https://together.jolla.com/question/1537/fingerterm-terminal-defaults-to-as-current-working-directory/
00prometheus ( 2014-03-21 18:00:05 +0200 )editNo changes or fixes/scripts applied to fingerterm. I'm quite happy with the way it works and I'm no expert with CLI (still learning). Before updating to 1.0.4.2 I was only getting the QT_STREAMER... message, then after the update (full reset) i got the QT_WAYLAND.... message. I'm not too fussed, it doesn't seem to affect anything, but ultimately yes, It'd be nice to not see ERROR:!! :)
Spam Hunter ( 2014-03-21 18:14:00 +0200 )editSame here. Got two warnings. Very annoying. I would appreciate if someone can give me a hint. Did make already a grep for that string. But didn't find it.
fblm ( 2014-03-24 09:49:22 +0200 )edit