remove sysV conffile OR re-instate it if fixed by compat lvl 12

Bug #1829700 reported by Christian Ehrhardt 
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chrony (Ubuntu)
Fix Released
Low
Christian Ehrhardt 

Bug Description

For now in Eoan we removed the sysV script to avoid an issue on install/remove/install where invoke rc.d is trying to start the still masked service and fails - so after install no time-service is running.

Some of our service related Delta is currently brought to Debian.
=> https://salsa.debian.org/debian/chrony/merge_requests/1

Once that is merged we will take another look at this i/r/i issue as it was stated to be resolved in debhelper 12. It wasn't for us in the last tests, but it could be if more is synced to Eoan.

If it is successful, then stop dropping the sysV script.
If it is still failing, then rm_conffile the sysV scripts.

Related branches

Changed in chrony (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in chrony (Ubuntu):
assignee: nobody → Christian Ehrhardt  (paelzer)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I found the reason for my confusion.

The version we tested first and discovered all that was the one we had copied from Disco.
That did not yet have dh-compat = 12 set.
So it makes sense to be affected.

Then later on this was made part of the merge for Ubuntu Eoan where - now being dh compat level 12 - it would no more be needed.

I retested a revert of the sysV script drop, built with dh=12 and the 12.1.1ubuntu1 that is in Eoan. Now things work as intended.

Just as I have found in my tests the default template in dh compat 12 now has the sections for dh_installsystemd/12.1.1ubuntu1 and dh_installsystemd/12.1.1ubuntu1 now in reverse order than before. And we already know from my experiments that this fixes the issue.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

MP re-adding the sysV is up for review

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chrony - 3.4-4ubuntu2

---------------
chrony (3.4-4ubuntu2) eoan; urgency=medium

  * Dropped sysV change added in 3.4-4ubuntu1 (LP: #1829700):
    - removed d/init to avoid weird interactions between sysV and systemd
    [With debhelper compat level 12 this isn't an issue anymore]

 -- Christian Ehrhardt <email address hidden> Wed, 22 May 2019 09:10:41 +0200

Changed in chrony (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.