Ilkka Tengvall
Ilkka Tengvall
I try with: ``` - name: gen eu_US locale locale_gen: name: en_US state: present - name: set as default locale command: localectl set-locale LANG=en_US LC_ALL=en_US ```
the locale_gen module doesn't seem to work on rhel
How should the locales be set in freeipa?
I try now with localectl set-locale LANG=C
The kickstart config for rhel is here https://github.com/ikke-t/ansible-packer/blob/master/templates/cfg-rhel_8.j2 And the ipa install adding to that is here: https://github.com/RedHatNordicsSA/cool-lab/blob/main/setup-idm.yml
Those fi things come from my laptop where I run the ansibles from. I've also tried with ```LC_ALL=C ansible-playbook -u root -e "subs_username=$subs_username subs_pw=$subs_pw" setup-idm.yml -vvv --skip-tags replica,subs``` to avoid...
Now I took another look at it. The warning comes from the fact this file has lines that produce warning into log: ``` [root@rh-idm-01 ~]# cat /etc/tmpfiles.d/dirsrv-COOL-LAB.conf d /var/run/dirsrv 0770...
So this package: 389-ds-base-1.4.3.23-12.module+el8.5.0+13329+4096c77a.x86_64 has a file: /usr/share/dirsrv/inf/defaults.inf which sets the run dir: ``` /usr/share/dirsrv/inf/defaults.inf:run_dir = /var/run/dirsrv /usr/share/dirsrv/inf/defaults.inf:pid_file = /var/run/dirsrv/slapd-{instance_name}.pid ``` at least that place. I don't know exactly where...
question is, who generates this file: /etc/tmpfiles.d/dirsrv-COOL-LAB.conf, and how can the path inside it be fixed? It should point to /run/, instead of /var/run