mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
upgrades: Don't allow needs-restart to restart privileged daemon
Fixes: #2534. - Otherwise, if python standard library is updated, needs-restart will determine that the freedombox-privileged.service needs to be restarted. The service may have triggered the 'apt-get install' operation that triggered needs-restart in the first place. That causes the install operation to fail. Tests: - Installing Calibre app which also brings in python standard library update succeeds and freedombox-privileged.service is not restarted during 'apt-get install' operation. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
d5f22a8755
commit
52cde4c0b6
@ -4,3 +4,4 @@ $nrconf{restart} = 'a';
|
||||
# Don't restart freedombox upgrade services.
|
||||
$nrconf{override_rc}->{qr(^freedombox-manual-upgrade\.service$)} = 0;
|
||||
$nrconf{override_rc}->{qr(^freedombox-dist-upgrade\.service$)} = 0;
|
||||
$nrconf{override_rc}->{qr(^freedombox-privileged\.service$)} = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user