mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
bullseye->bookworm: boring tweak to remove chattr +i from /etc/resolv.conf otherwise resolvconf will later explode and complain about it
This commit is contained in:
parent
d766f7cdda
commit
65ea34d7cb
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ class MyMigration(Migration):
|
|||
"echo 'libc6 libraries/restart-without-asking boolean true' | debconf-set-selections"
|
||||
)
|
||||
|
||||
# Stupid stuff because resolvconf later wants to edit /etc/resolv.conf and will miserably crash if it's immutable
|
||||
os.system("chattr -i /etc/resolv.conf")
|
||||
|
||||
# Do not restart nginx during the upgrade of nginx-common and nginx-extras ...
|
||||
# c.f. https://manpages.debian.org/bullseye/init-system-helpers/deb-systemd-invoke.1p.en.html
|
||||
# and zcat /usr/share/doc/init-system-helpers/README.policy-rc.d.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue