Have you defined RUN_AS_USER in the karaf-service file to something other than `root`?
This should be very simple to reproduce. I can see the problem on a stock RHEL 7 system after having updated to the 7.7 release packages which were made available in August.
I would expect centOS 7.7 to behave the same.
systemd appears to be checking the ownership of the PIDFile as listed in the unit file karaf.service and is reporting the unit as failing.
Use `systemctl (start|stop) karaf.service` when testing.
I do not know for certain if adding the `User=` directive into the unit file is the best solution, but it works in out environment.
From: Jean-Baptiste Onofré <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2019 11:32:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Karaf generated systemd unit file failure with RHEL 7.7
I think I don't get it as it works fine for me on VM.
What change are you proposing ? Remove RUN_AS_USER from bin/karaf-service ?
On 15/10/2019 23:52, Charles A Slivkoff wrote:
Talend - http://www.talend.com