Consider using ‘become’, ‘become_method’, and ‘become_user’ rather than running sudo
I am getting the above message while installing Bahmni using bahmni-installer.
Consider using ‘become’, ‘become_method’, and ‘become_user’ rather than running sudo
I am getting the above message while installing Bahmni using bahmni-installer.
Did you figure this out for 0.92 install? There is incomplete information and the scripts have some errors in it.
I ended up manually editing a lot of init.d files to change the start up functions to use I changed every file that used
su -s /bin/bash
to
runuser -u
There was a forum post somewhere where someone posted a script to make the change, but I didn’t get that working.
I also needed to downgrade systemd
Below steps are tested on Centos Version - CentOS Linux release 7.7.1908 (Core)
Systemd on Centos 7.6/7 has version of 219-67.el7_7.2 or 219-67.el7_7.1. Downgrade it to 219-67.el7. You might have to run downgrade twice to get to the version 219-67.el7 (run this command twice)
yum downgrade systemd.x86_64 systemd-libs.x86_64 systemd-sysv.x86_64
Install yum version lock plugin
yum install yum-plugin-versionlock
Lock systemd and libgudev1 [ needed for odoo deployment]
yum versionlock systemd*
yum versionlock libgudev1-219-67.el7
yum versionlock list should show below output:
0:systemd-sysv-219-67.el7.*
0:systemd-219-67.el7.*
0:systemd-libs-219-67.el7.*
0:libgudev1-219-67.el7.*
Then run the installer - Everything should run properly.