[Piuparts-devel] piuparts problems (leftover files) in LibreOffice packages and addons

Andreas Beckmann debian at abeckmann.de
Tue Apr 24 19:31:31 UTC 2012


Hi,

while analyzing piuparts failures (you can find the relevant logfiles 
here (look for fail/libreoffice-*.log):
http://piuparts.debian.org/sid/unowned_files_after_purge_error.html

I noticed the following two error schemes:

* files left behind after purge in /var/lib/libreoffice/share, primarly 
  in /var/lib/libreoffice/share/prereg/bundled/registry
* files created and left over in /root/libreoffice which is a serious 
  policy / FHS violation - packages don't have to touch /root when 
  being installed

See below for an example list of leftover files.

Both kinds happen for core packages (src:libreoffice) as well as addon
components.

As I don't know how libreoffice packaging works, I'd like to ask the LO
maintainers first for some input before filing bugs.
What needs to be fixed in these packages s.t. a) /root is not touched
at all and b) the registry is cleared properly on purge?

The testing scenario is as follows:
* create minimal chroot, disable installation of Recommends.
* install deps($PACKAGE)
* install $PACKAGE
* remove $PACKAGE deps($PACKAGE)
* purge deps($PACKAGE)
* purge $PACKAGE

Andreas


1m24.4s ERROR: FAIL: Package purging left files on system:
  /root/libreoffice/3	 not owned
  /root/libreoffice/3/user/extensions/bundled	 not owned
  /root/libreoffice/3/user/extensions/bundled/extensions.db	 not owned
  /root/libreoffice/3/user/extensions/bundled/lastsynchronized	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend/backenddb.xml	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_X86_64.rdb	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_X86_64rc	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/backenddb.xml	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend	 not owned
  /root/libreoffice/3/user/extensions/bundled/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend/backenddb.xml	 not owned
  /root/libreoffice/3/user/extensions/shared	 not owned
  /root/libreoffice/3/user/extensions/shared/lastsynchronized	 not owned
  /root/libreoffice/3/user/extensions/shared/log.txt	 not owned
  /root/libreoffice/3/user/uno_packages/cache	 not owned
  /root/libreoffice/3/user/uno_packages/cache/log.txt	 not owned
  /root/libreoffice/3/user/uno_packages/cache/uno_packages	 not owned
  /var/lib/libreoffice/share	 owned by: libreoffice-common
  /var/lib/libreoffice/share/prereg	 owned by: libreoffice-common
  /var/lib/libreoffice/share/prereg/bundled	 owned by: libreoffice-common
  /var/lib/libreoffice/share/prereg/bundled/extensions.db	 not owned
  /var/lib/libreoffice/share/prereg/bundled/lastsynchronized	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend/backenddb.xml	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_X86_64.rdb	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_X86_64rc	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/backenddb.xml	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend/backenddb.xml	 not owned
  /var/lib/libreoffice/share/prereg/bundled/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend	 not owned



More information about the Piuparts-devel mailing list