Client should remove /var/lib/landscape if --purge is used

Bug #121182 reported by Gustavo Niemeyer
4
Affects Status Importance Assigned to Milestone
Landscape Client
Invalid
Undecided
Unassigned
Landscape Server
Invalid
Medium
Unassigned
landscape-client (Ubuntu)
Fix Released
Undecided
Christopher Armstrong

Bug Description

As Torsten reported, our client package currently doesn't remove the
setup in /var/lib/landscape/* when the user says "dpkg --purge".

Changed in landscape:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in landscape:
status: Confirmed → Unconfirmed
Revision history for this message
Michel Pelletier (pelletier-michel) wrote :

--purge should also remove /etc/default/landscape-client

Changed in landscape:
status: New → Confirmed
Changed in landscape:
importance: Medium → Low
Changed in landscape:
importance: Low → Medium
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Here is the output of an apt-get purge landscape-client command:

(...)
Do you want to continue [Y/n]?
(Reading database ... 115420 files and directories currently installed.)
Removing landscape-client ...
Landscape client is not configured, please run landscape-config.
Purging configuration files for landscape-client ...
Removing user `landscape' ...
Done.
dpkg - warning: while removing landscape-client, directory `/var/log/landscape' not empty so not removed.
dpkg - warning: while removing landscape-client, directory `/var/lib/landscape' not empty so not removed.
dpkg - warning: while removing landscape-client, directory `/etc/landscape' not empty so not removed.

Changed in landscape:
milestone: later → mthood+1
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is being worked on on bug #277658

Changed in landscape-client:
assignee: nobody → radix
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package landscape-client - 1.0.23-0ubuntu0.8.10

---------------
landscape-client (1.0.23-0ubuntu0.8.10) intrepid; urgency=low

  * New upstream release. (LP: #277658):
    Changes since 1.0.21.1:
    - Don't print duplicate warnings when / is nearing capacity in sysinfo
      (LP: #260230).
    - Slight change to link text in landscape-sysinfo.
    - Don't crash badly when programs are run as the incorrect user
      (LP: #268879).
  * debian/changelog: New debian-version scheme including Ubuntu version. The
    same upstream version is available for all supported releases.
    (LP: #277682).
  * debian/landscape-client.postrm: Delete log and data files upon purge
    (LP: #121182).
  * debian/landscape-common.postrm: Delete the sysinfo logs upon purge.

 -- Christopher Armstrong <email address hidden> Thu, 09 Oct 2008 11:40:51 -0400

Changed in landscape-client:
status: In Progress → Fix Released
Changed in landscape:
milestone: thames → thames+1
Changed in landscape:
milestone: thames+1 → thames+2
Changed in landscape:
milestone: mountainview-pre-1 → mountainview-pre-2
Changed in landscape:
milestone: mountainview-pre-2 → mountainview-pre-3
Changed in landscape:
milestone: mountainview-pre-3 → mountainview
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Decoupling server bugs from client ones.

Changed in landscape:
status: Confirmed → Invalid
Changed in landscape-client:
milestone: none → 1.0.x
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It's a packaging bug, not a source code one.

Changed in landscape-client:
status: New → Invalid
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.