Bug 46524 - univention-kde: Invalid $HOME/.univention-environment spams /var/log/auth.log with every cron job
univention-kde: Invalid $HOME/.univention-environment spams /var/log/auth.log...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: General
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-07 10:30 CET by Philipp Hahn
Modified: 2020-07-10 11:10 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Fix univention-set-kdedirs (2.24 KB, patch)
2018-03-07 10:30 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2018-03-07 10:30:08 CET
Created attachment 9440 [details]
Fix univention-set-kdedirs

journalctl --this-boot:
Mär 02 07:56:03 dc31 CRON[26795]: pam_env(cron:session): Unrecognized Option: XDG_DATA_DIRS=/usr/share:/usr/share/univention-kde-profiles/default/.local/share
                                    - ignoring line
Mär 02 07:56:03 dc31 CRON[26795]: pam_env(cron:session): Unrecognized Option: XDG_CONFIG_DIRS=:/usr/share/univention-kde-profiles/default/.config:/etc/xdg/
                                    - ignoring line
Mär 02 07:56:03 dc31 CRON[26795]: pam_env(cron:session): Unrecognized Option: KDEDIRS=/usr/share/univention-kde-profiles/default/.kde
                                    - ignoring line

man 8 pam_env
> This module can also parse a file with simple KEY=VAL pairs on separate lines

# cat /root/.univention-environment 
export XDG_DATA_DIRS=/usr/share:/usr/share/univention-kde-profiles/default/.local/share
export XDG_CONFIG_DIRS=:/usr/share/univention-kde-profiles/default/.config:/etc/xdg/
export KDEDIRS=/usr/share/univention-kde-profiles/default/.kde
export XDG_DATA_DIRS=/usr/share:/usr/share/univention-kde-profiles/default/.local/share
export XDG_CONFIG_DIRS=:/usr/share/univention-kde-profiles/default/.config:/etc/xdg/
export KDEDIRS=/usr/share/univention-kde-profiles/default/.kde

# grep .univention-env desktop/univention-kde/univention-set-kdedirs
Comment 2 Ingo Steuwer univentionstaff 2020-07-10 11:10:53 CEST
KDE Desktop will be discontinued with UCS 5.0. We won't fix cosmetic issues in UCS 4.