We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-03-21 02:22:20 +0300

How do I get rid of: "NOTICE: Env value ignored ..."?

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?

How do I get rid of: "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?

How do I get rid of: "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!)

How do I get rid of: "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!)

OK, so the answer below 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?

How do I get rid of: "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!)

OK, so the accepted answer below 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?

How do I get rid of: "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?

How Why do I get rid of: 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?