On Mon, Dec 27, 2021 at 6:21 PM Marc Haber <mh+debian-packa...@zugschlus.de> wrote:
> Hi, > > On Mon, Dec 27, 2021 at 10:57:45AM +0800, 李菲 wrote: > > On Fri, Dec 24, 2021 at 7:18 PM Marc Haber < > mh+debian-packa...@zugschlus.de> > > wrote: > > > I surely do hope that this also applies to systemctl transactions. > > > atop's maintainer scripts group all unit starts into a single > > > transaction, leaving the order of execution to systemd. That's done by > > > debhelper, and as a package maintainer I am not going to interfere with > > > that. The best I can do is to help upstream to properly design their > > > systemd units and probably make code changes to make startup more > > > robust. > > > > Sure. > > I have engaged in discussion with upstream and this issue might be > addressed sooner or later. At the moment, do we agree that the proposed > patch, exchanging the two calls to dh_installinit will not help on > systemd systems? > We made another several attempts, and finally find the diff: ByteDance's debian/compat is 10, which is too low to behave normally. E.g. can not use the "deb-systemd-invoke" feature, thus the line: "deb-systemd-invoke $_dh_action 'atop-rotate.service' 'atop-rotate.timer' 'atop.service' 'atopacct.service' >/dev/null || true". does not occur. PS: although we manually add "deb-systemd-invoke $_dh_action atop-rotate.timer" to make atop-rotate.timer restart automatically, we do not do that for atop.service and atopacct (as they do not need). After changing debian/compat to 13 (others files under debian/ remain the same with https://salsa.debian.org/debian/atop/-/tree/debian/2.6.0-1), everything works well! Sorry to disturb, and thanks for your kindly help. We can close this issue. :) Have a nice day, thanks Fei > Greetings > Marc > > -- > > ----------------------------------------------------------------------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 >