modified apache2.service overwritten on package update without notification

Asked by sven on 2019-04-05

Hi,

On my system I modified the apache2.service from:
 PrivateTmp=true
to:
 PrivateTmp=false

Yesterday I updated my apache2 and the apache2.service was modified to:
  PrivateTmp=true

without notification.

Is this supposed to happen and is it possible to prevent this behavior in the future?

Thank you and kind Regards,

Sven

-------------------------

Linux/Ubuntu:
Ubuntu 18.04.2 LTS
Linux XXXX 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Apache Version:
apache2/bionic-updates,bionic-security,now 2.4.29-1ubuntu4.6

File changed:
/lib/systemd/system/apache2.service

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Solved by:
sven
Solved:
2019-04-08
Last query:
2019-04-08
Last reply:
2019-04-05

All I can suggest is that you report a bug. If this is a production box then you could add a check to make sure this is set correctly and update as required as part of the process. Ideally it shouldn't happen but this workaround can help until the bug is resolved

sven (svengehl) said : #2

OK, thanks for the advice. I filed a bug and close this FAQ.