Bug#1020312: usrmerge: systemd file disappearing

2022-09-20 Thread Vincent Danjean
Le 20/09/2022 à 11:41, Luca Boccassi a écrit : Most of the issues would crop up when actually attempting to move things, Interrupting a running upgrade is always problematic. Lots of packages are then in broken state (half installed). Apt has difficulties to recover from such a situation. Somet

Bug#1020312: usrmerge: systemd file disappearing

2022-09-20 Thread Luca Boccassi
Control: retitle -1 usrmerge: files in a nested symlinked directory in /lib/foo/ are not moved to /usr/lib/foo/ On Tue, 2022-09-20 at 10:04 +0200, Vincent Danjean wrote: >    Hi, > > Le 20/09/2022 à 04:22, Marco d'Itri a écrit : > > Indeed, this should be handled. Let's have a look at the code:

Bug#1020312: usrmerge: systemd file disappearing

2022-09-20 Thread Vincent Danjean
Hi, Le 20/09/2022 à 04:22, Marco d'Itri a écrit : Indeed, this should be handled. Let's have a look at the code: [...] In your case the expected outcome should have been a failure instead, because /lib/systemd/system/ was a link which did not point to /usr/lib/systemd/system/ : fat

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Marco d'Itri
On Sep 20, Vincent Danjean wrote: > Now that you point out this, it recalls me that years ago, > I moved /lib/systemd/system/ to /etc/conffiles-out-etc/lib/systemd/system > (so that the systemd configuration files are correctly tracked by etckeeper) > and I put a /lib/systemd/system -> /etc/conff

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Vincent Danjean
Le 20/09/2022 à 01:39, Luca Boccassi a écrit : Thanks for the logs, it looks like it's only file under /lib/systemd/system/ that went missing - can you find them anywhere else on the system? Now that you point out this, it recalls me that years ago, I moved /lib/systemd/system/ to /etc/conffile

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Luca Boccassi
On Tue, 20 Sep 2022 01:11:43 +0200 Vincent Danjean wrote: >    Hi, > > Le 19/09/2022 à 23:49, Luca Boccassi a écrit : > > On Mon, 2022-09-19 at 22:29 +0100, Luca Boccassi wrote: > >> On Mon, 19 Sep 2022 22:08:48 +0200 Vincent Danjean > >> wrote: > >>> Package: usrmerge > >>> Version: 30+nmu2 > >

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Vincent Danjean
Le 20/09/2022 à 01:11, Vincent Danjean a écrit :   Hi, Le 19/09/2022 à 23:49, Luca Boccassi a écrit : Are you sure the problem was not there beforehand? Yes. Due to the numerous missing files, I'm sure the problem comes from the apt upgrade. The FS is in a good state (no corruption) with nea

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Luca Boccassi
Control: tags -1 moreinfo On Mon, 2022-09-19 at 22:29 +0100, Luca Boccassi wrote: > On Mon, 19 Sep 2022 22:08:48 +0200 Vincent Danjean > wrote: > > Package: usrmerge > > Version: 30+nmu2 > > Severity: serious > > Justification: break other packages upgrades > > > > When I upgraded my system to c

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Luca Boccassi
On Mon, 2022-09-19 at 22:29 +0100, Luca Boccassi wrote: > On Mon, 19 Sep 2022 22:08:48 +0200 Vincent Danjean > wrote: > > Package: usrmerge > > Version: 30+nmu2 > > Severity: serious > > Justification: break other packages upgrades > > > > When I upgraded my system to current unstable, usrmerge h

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Luca Boccassi
On Mon, 19 Sep 2022 22:08:48 +0200 Vincent Danjean wrote: > Package: usrmerge > Version: 30+nmu2 > Severity: serious > Justification: break other packages upgrades > > When I upgraded my system to current unstable, usrmerge has > been pulled-in due to the init-system-helpers dependency. > But one

Bug#1020312: usrmerge: systemd file disappearing

2022-09-19 Thread Vincent Danjean
Package: usrmerge Version: 30+nmu2 Severity: serious Justification: break other packages upgrades When I upgraded my system to current unstable, usrmerge has been pulled-in due to the init-system-helpers dependency. But one package fails to upgrade (fetchmail) due to /lib/systemd/system/sysinit.ta