File /etc/advligorts/env replaced by a blank file after every upgrade
We see in all Birmingham cymac setups that the contents of /etc/advligorts/env
are erased after every upgrade of advligorts-* packages. I couldn't find the source of the problem quickly, but suspect that it might have something to do with postinst
instructions for the advligorts-common
package. On our machines, /etc/advligorts/systemd_env
is a symlink for /etc/advligorts/env
-- not sure if it might affect the installation scripts.
For reference, typical contents of /etc/advligorts/env
on our machines:
$ cat /etc/advligorts/env
SITE=BHAM
IFO=B1
OPTRTCDS=/opt/rtcds/bham/b1
RCG_LIB_PATH=/home/controls/test_models/:/home/controls/models
local_dc_args='--systab=/etc/advligorts/rtsystab -b local_dc -m 100 -d /opt/rtcds/bham/b1/target/gds/param'