Activity log for bug #1226094

Date Who What changed Old value New value Message
2013-09-16 15:31:45 Laércio de Sousa bug added bug
2013-09-16 15:32:42 Laércio de Sousa summary epotes-client relies in /lib/lsb/init-functions, which may not provide the desired functionality in non-Debian-based distros epotes-client relies on /lib/lsb/init-functions, which may not provide the desired functionality in non-Debian-based distros
2013-09-16 15:34:18 Laércio de Sousa description Current epoptes-client main script sources /lib/lsb/init-functions, which provide logging functions "log_begin_msg()" and "log_end_msg()" on Debian-based distros. However, openSUSE 12.3's /lib/lsb/init-functions doesn't provide these functions. Instead, it provides "log_success_msg()", "log_warning_msg()" and "log_failure_msg()". Moreover, it sources another openSUSE-specific config file named "/etc/rc.status", which exports LC_ALL=POSIX. This will set LC_ALL=POSIX in the environment of any command executed by Epoptes' execute dialog, which can lead to applications being opened in english, instead of user's default locale. So, before sourcing /lib/lsb/init-functions, epoptes-client should check if distro is Debian-based (check for /etc/debian_version?). If sourcing /lib/lsb/init-functions is still desirable in openSUSE, please notice that - the logging functions are different (see above), - you should explicitly source file /etc/profile.d/lang.sh to get rid of LC_ALL, if its value is different of $LANG. Current epoptes-client main script sources /lib/lsb/init-functions, which provide logging functions "log_begin_msg()" and "log_end_msg()" on Debian-based distros. However, openSUSE 12.3's /lib/lsb/init-functions doesn't provide these functions. Instead, it provides "log_success_msg()", "log_warning_msg()" and "log_failure_msg()". Moreover, it sources another openSUSE-specific config file named "/etc/rc.status", which exports LC_ALL=POSIX. This will set LC_ALL=POSIX in the environment of any command executed by Epoptes' execute dialog, which can lead to applications being opened in english, instead of user's default locale. So, before sourcing /lib/lsb/init-functions, epoptes-client should check if distro is Debian-based (check for /etc/debian_version?). If sourcing /lib/lsb/init-functions is still desirable in openSUSE, please notice that - the logging functions are different (see above), - you should explicitly source file /etc/profile.d/lang.sh to get rid of LC_ALL, if its value is other than $LANG.
2013-11-02 17:03:04 Fotis Tsamis epoptes: assignee Alkis Georgopoulos (alkisg)
2015-11-20 07:44:06 Alkis Georgopoulos epoptes: importance Undecided Medium
2015-11-20 07:44:06 Alkis Georgopoulos epoptes: status New Fix Committed
2016-02-23 08:09:21 Alkis Georgopoulos epoptes: status Fix Committed Fix Released