machinejobfeatures issueshttps://gitlab.cern.ch/groups/machinejobfeatures/-/issues2023-01-13T13:57:45+01:00https://gitlab.cern.ch/machinejobfeatures/mjf-scripts/-/issues/1RPM scriptlets need to be made systemd aware2023-01-13T13:57:45+01:00Jan van EldikRPM scriptlets need to be made systemd awareLine below https://gitlab.cern.ch/machinejobfeatures/mjf-scripts/-/blob/master/mjf-htcondor.spec#L24 can cause install-time issues like
```
Running scriptlet: mjf-htcondor-00.20-1.noarch
/var/tmp/rpm-tmp.fCS8q5: line 1: chkconfig: co...Line below https://gitlab.cern.ch/machinejobfeatures/mjf-scripts/-/blob/master/mjf-htcondor.spec#L24 can cause install-time issues like
```
Running scriptlet: mjf-htcondor-00.20-1.noarch
/var/tmp/rpm-tmp.fCS8q5: line 1: chkconfig: command not found
Redirecting to /bin/systemctl start mjf.service
Failed to start mjf.service: Unit mjf.service not found.
warning: %post(mjf-htcondor-00.20-1.noarch) scriptlet failed, exit status 5
Error in POSTIN scriptlet in rpm package mjf-htcondor
```
Affects EL9