I've uploaded a patch to precise-proposed to fix this.  Thanks!

** Description changed:

+ [Impact]
+ Users that upgrade to 12.04 LTS will have a leftover config file 
/etc/lightdm/unity-greeter.conf.  This will be confusing, since the file is no 
longer used by unity-greeter.  In addition, it is sloppy, since such files are 
supposed to be cleaned up by packaging.
+ 
+ Leaving such files also causes the automatic upgrade tests to fail.  See
+ https://jenkins.qa.ubuntu.com/job/precise-upgrade-oneiric-desktop/263/
+ for example.
+ 
+ [Test Case]
+ In a 12.04 chroot with precise-proposed enabled, you could download the 11.10 
version of unity-greeter, and do the following:
+ $ sudo dpkg -i --force-all unity-greeter_0.1.1-0ubuntu1_i386.deb
+ $ ls /etc/lightdm/unity-greeter.conf
+ $ sudo apt-get install unity-greeter
+ $ ls /etc/lightdm/unity-greeter.conf
+ 
+ The first check should show the conffile present.  It should be deleted
+ by installing unity-greeter from -proposed.
+ 
+ [Regression Potential]
+ Can't think of any.  The patch I'm using uses the dpkg-maintscript-helper 
support, so all the usual corner cases (user modified conffile) are 
automatically taken care of.
+ 
+ [Original Report]
  oneiric to precise upgrade : desktop | main | universe
  
  arch: i386 | amd64
  
  obsolete config file:
  unity-greeter
    /etc/lightdm/unity-greeter.conf
  
  Link to an example failed test run:
  https://jenkins.qa.ubuntu.com/job/precise-upgrade-oneiric-desktop/263/

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

Title:
  obsolete config files of unity-greeter left after the oneiric 2
  precise upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1050769/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to