[Bug 1566333] [NEW] trusty → xenial upgrade fails to upgrade /etc/init.d/cron

Martin Pitt martin.pitt at ubuntu.com
Tue Apr 5 14:04:39 UTC 2016


Public bug reported:

Upgrading from trusty to xenial is meant to replace "/etc/init.d/cron ->
/lib/init/upstart-job" with a real file /etc/init.d/cron.

This works fine in a schroot, but in a container or a VM you end up with

lrwxrwxrwx 1 root root   21 Feb  9  2013 /etc/init.d/cron -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 3049 Feb 17 18:25 /etc/init.d/cron.dpkg-new

Reproducer:

 - start trusty container or VM
 - echo 'deb     http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' | sudo tee /etc/apt/sources.list
 - sudo apt update
 - sudo apt-get install -y cron

** Affects: cron (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress

** Affects: cron (Ubuntu Xenial)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress


** Tags: upgrade xenial

** Tags added: upgrade xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1566333

Title:
  trusty → xenial upgrade fails to upgrade /etc/init.d/cron

Status in cron package in Ubuntu:
  In Progress
Status in cron source package in Xenial:
  In Progress

Bug description:
  Upgrading from trusty to xenial is meant to replace "/etc/init.d/cron
  -> /lib/init/upstart-job" with a real file /etc/init.d/cron.

  This works fine in a schroot, but in a container or a VM you end up
  with

  lrwxrwxrwx 1 root root   21 Feb  9  2013 /etc/init.d/cron -> /lib/init/upstart-job
  -rwxr-xr-x 1 root root 3049 Feb 17 18:25 /etc/init.d/cron.dpkg-new

  Reproducer:

   - start trusty container or VM
   - echo 'deb     http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' | sudo tee /etc/apt/sources.list
   - sudo apt update
   - sudo apt-get install -y cron

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1566333/+subscriptions



More information about the foundations-bugs mailing list