package suggests editing an installed non-conffile for normal operation

Bug #610103 reported by Jamin W. Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server papercuts
Fix Released
Medium
Thierry Carrez
migrationtools (Ubuntu)
Fix Released
Medium
Thierry Carrez

Bug Description

Binary package hint: migrationtools

The package's README file indicates that one should edit "migrate_common.ph" and change at least two lines:

$DEFAULT_MAIL_DOMAIN
$DEFAULT_BASE

However, "migrate_common.ph" is installed at /usr/share/perl5/migrate_common.ph and is not (AFAICT) a conffile. As such, any changes made to file will be lost on subsequent installations and upgrades.

As these two lines are intended to be edited/configured on a per-installation basis, perhaps they should be moved out to a configuration file that resides somewhere under /etc.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: migrationtools 47-8ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.38-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Mon Jul 26 08:48:51 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: migrationtools

Revision history for this message
Jamin W. Collins (jcollins) wrote :
Revision history for this message
Jamin W. Collins (jcollins) wrote :

Some further investigation shows that there is a symlink created in the /etc/migrationtools directory:

$ ls -l /etc/migrationtools/migrate_common.ph
lrwxrwxrwx 1 root root 43 2010-07-26 06:53 /etc/migrationtools/migrate_common.ph -> /usr/share/migrationtools/migrate_common.ph

However, the symlink is to a non-existent file:

$ ls -l /usr/share/migrationtools/migrate_common.ph
ls: cannot access /usr/share/migrationtools/migrate_common.ph: No such file or directory

because the file is actually installed at /usr/share/perl5/migrate_common.ph

Thierry Carrez (ttx)
Changed in migrationtools (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
Changed in server-papercuts:
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
Changed in server-papercuts:
milestone: none → maverick-beta
Thierry Carrez (ttx)
Changed in server-papercuts:
assignee: nobody → Thierry Carrez (ttx)
Thierry Carrez (ttx)
Changed in server-papercuts:
status: Confirmed → In Progress
Changed in migrationtools (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
status: Confirmed → In Progress
Thierry Carrez (ttx)
Changed in server-papercuts:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package migrationtools - 47-8ubuntu2

---------------
migrationtools (47-8ubuntu2) maverick; urgency=low

  * Install migrate_common.ph in /etc (like in Debian) and link
    /usr/share/perl5/migrate_common.ph to it so that changes made to
    that file are not lost on upgrades (LP: #610103)
  * Remove dead link before upgrade to ensure its replacement
 -- Thierry Carrez (ttx) <email address hidden> Thu, 12 Aug 2010 16:42:15 +0200

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

Other bug subscribers

Remote bug watches

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