#13 Enforce stable LC_ALL=C.UTF-8 in jobs environment
Merged 4 years ago by abbra. Opened 4 years ago by abbra.
abbra/oddjob master  into  master

@@ -5,6 +5,7 @@ 

  [Service]

  Type=simple

  PIDFile=/run/oddjobd.pid

+ Environment=LC_ALL=C.UTF-8

  ExecStart=@sbindir@/oddjobd -n -p /run/oddjobd.pid -t 300

  

  [Install]

FreeIPA uses oddjobd to run Python scripts. It also expects that the
execution environment uses UTF-8 encoding. On RHEL 8.4 default
configuration changed to provide LC_ALL=en_US which uses ISO-8859-1
encoding instead of UTF-8.

Enforce C.UTF-8 to not depend on the system defaults.

Resolves: rhbz#1907481

Signed-off-by: Alexander Bokovoy abokovoy@redhat.com

pretty please pagure-ci rebuild

4 years ago

Pull-Request has been merged by abbra

4 years ago
Metadata