broken conffile symlink left behind on upgrade

Bug #1757939 reported by Steve Langasek on 2018-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Medium
Colin Ian King

Bug Description

The information attached to this report will claim that /etc/zfs/zed.d/zed-functions.sh is a modified conffile because it has been "deleted". What it actually is, is a dangling symlink.

lrwxrwxrwx 1 root root 45 Feb 17 2017 /etc/zfs/zed.d/zed-functions.sh -> /usr/lib/zfs-linux/zfs/zed.d/zed-functions.sh

I also have /etc/zfs/zed.d/zed-functions.sh.dpkg-new which is a real file but has not been installed.

zfs-zed needs to correctly handle this transition on upgrade.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: zfs-zed 0.7.5-1ubuntu7
ProcVersionSignature: Ubuntu 4.13.0-38.43-generic 4.13.16
Uname: Linux 4.13.0-38-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 21 21:54:39 2018
InstallationDate: Installed on 2010-09-24 (2735 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
SourcePackage: zfs-linux
UpgradeStatus: Upgraded to bionic on 2018-03-21 (0 days ago)
modified.conffile..etc.zfs.zed.d.zed-functions.sh: [deleted]

Steve Langasek (vorlon) wrote :
Changed in zfs-linux (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Changed in zfs-linux (Ubuntu):
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 0.7.5-1ubuntu14

---------------
zfs-linux (0.7.5-1ubuntu14) bionic; urgency=medium

  * Clean up symlink'd /etc/zfs/zed.d/zed-functions.sh (LP: #1757939)
    If an existing zed-functions is a symlink then this needs removing
    as the script in newer ZFS releases is no longer symlink'd and we
    always want to upgrade to the newer updated script.

 -- Colin Ian King <email address hidden> Mon, 9 Apr 2018 13:20:37 +0100

Changed in zfs-linux (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers