jiapei100
January 3rd, 2020, 08:48 PM
Normally, I predefine my environmental macros in /etc/environment , such as PATH and LD_LIBRARY_PATH, etc.
I happen to put /usr/bin etc. at the very end of PATH, which leads to system crash, which finally reminds me of macro PATH shouldn't be TOOOOOOOOOOO long, right?
Anyway, after trivial modification, the problem solved.
Isn't it possible to have a long enough string (say: 65536 characters) for those 2 VERY important environmental macros (PATH and LD_LIBRARY_PATH) ?
Cheers
Pei
I happen to put /usr/bin etc. at the very end of PATH, which leads to system crash, which finally reminds me of macro PATH shouldn't be TOOOOOOOOOOO long, right?
Anyway, after trivial modification, the problem solved.
Isn't it possible to have a long enough string (say: 65536 characters) for those 2 VERY important environmental macros (PATH and LD_LIBRARY_PATH) ?
Cheers
Pei