Bogus config control file included in .deb

Bug #1156294 reported by Max Bowsher
68
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
High
Stephen M. Webb
compiz (Ubuntu)
Fix Released
High
Stephen M. Webb

Bug Description

root@zenbook:~# dpkg-reconfigure compiz
/var/lib/dpkg/info/compiz.config: 1: /var/lib/dpkg/info/compiz.config: [general]: not found
/var/lib/dpkg/info/compiz.config: 2: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 3: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 5: /var/lib/dpkg/info/compiz.config: [gnome_session]: not found
/var/lib/dpkg/info/compiz.config: 6: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 7: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 8: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 9: /var/lib/dpkg/info/compiz.config: profile: not found
/var/lib/dpkg/info/compiz.config: 11: /var/lib/dpkg/info/compiz.config: [general_ubuntu]: not found
/var/lib/dpkg/info/compiz.config: 12: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 13: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 14: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 15: /var/lib/dpkg/info/compiz.config: profile: not found

It would appear that the compiz package has included a file named config within the debian/ directory without realizing that this filename is picked up by dh_installdebconf. The file in the source package should be renamed to something which does not collide with this convention.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
dino99 (9d9)
tags: added: i386 raring
Revision history for this message
dino99 (9d9) wrote :

With Raring i386, logged as ubuntu (unity), i get the same compiz issues:

- empty blank screen, missing dash and all the icons
- logged: gnome-session[3211]: WARNING: Could not parse desktop file /home/oem/.local/share/applications/compiz.desktop or it references a not found TryExec binary
- logged: gnome-session[3211]: WARNING: could not read /home/oem/.local/share/applications/compiz.desktop

Revision history for this message
Gerson Abdon Caldeira (gersonagc) wrote :

If you remove exec permission of compiz.config the problem disappears.

Revision history for this message
dino99 (9d9) wrote :

That issue still exist with the final Saucy release on a fresh installation via netinstall iso.

tags: added: saucy
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

This bug needs to be forwarded upstream (https://wiki.ubuntu.com/Bugs/HowToTriage#Forwarding_upstream).

Changed in compiz (Ubuntu):
importance: Undecided → High
Changed in compiz:
status: New → Confirmed
Stephen M. Webb (bregma)
Changed in compiz:
status: Confirmed → Triaged
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Changed in compiz:
importance: Undecided → Medium
milestone: none → 0.9.11.0
assignee: nobody → Stephen M. Webb (bregma)
Changed in compiz (Ubuntu):
assignee: nobody → Stephen M. Webb (bregma)
dino99 (9d9)
tags: added: trusty
Revision history for this message
Jostein Elvaker Haande (tolecnal) wrote :

This is starting to become an old issue, but I can confirm that by removing the exec permission on /var/lib/dpkg/info/compiz.config, the issue has been resolved.

I've experienced this problem on two separate machines, both upgraded from 12.04 LTS.

Revision history for this message
dino99 (9d9) wrote :

Well, Trusty will be out very soon now, and that issue is still there:

oem@dev32:~$ sudo dpkg-reconfigure compiz
[sudo] password for oem:
/var/lib/dpkg/info/compiz.config: 1: /var/lib/dpkg/info/compiz.config: [general]: not found
/var/lib/dpkg/info/compiz.config: 2: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 3: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 5: /var/lib/dpkg/info/compiz.config: [gnome_session]: not found
/var/lib/dpkg/info/compiz.config: 6: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 7: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 8: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 9: /var/lib/dpkg/info/compiz.config: profile: not found
/var/lib/dpkg/info/compiz.config: 11: /var/lib/dpkg/info/compiz.config: [general_ubuntu]: not found
/var/lib/dpkg/info/compiz.config: 12: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 13: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 14: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 15: /var/lib/dpkg/info/compiz.config: profile: not found
oem@dev32:~$

compiz: 0.9.11+14.04.20140409

Hopes to get a clean LTS distro

Revision history for this message
Janno (janno-t) wrote :

After release upgrade to Trusty I still get:

/var/lib/dpkg/info/compiz.config: 1: /var/lib/dpkg/info/compiz.config: [general]: not found
/var/lib/dpkg/info/compiz.config: 2: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 3: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 5: /var/lib/dpkg/info/compiz.config: [gnome_session]: not found
/var/lib/dpkg/info/compiz.config: 6: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 7: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 8: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 9: /var/lib/dpkg/info/compiz.config: profile: not found
/var/lib/dpkg/info/compiz.config: 11: /var/lib/dpkg/info/compiz.config: [general_ubuntu]: not found
/var/lib/dpkg/info/compiz.config: 12: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 13: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 14: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 15: /var/lib/dpkg/info/compiz.config: profile: not found

Changing permissions of "/var/lib/dpkg/info/compiz.config" does work but It seams a bit hackish.

Stephen M. Webb (bregma)
no longer affects: compiz/0.9.10
Changed in compiz:
milestone: 0.9.11.0 → 0.9.12.0
importance: Medium → High
Stephen M. Webb (bregma)
Changed in compiz (Ubuntu):
status: Triaged → In Progress
Changed in compiz:
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.12+15.04.20141031-0ubuntu1

---------------
compiz (1:0.9.12+15.04.20141031-0ubuntu1) vivid; urgency=low

  [ Stephen M. Webb ]
  * filter debian/ from upstream dist tarball (LP: #1075995)
  * removed distro-patch for #873384 because it's now upstream (LP:
    #873384)
  * removed inappropriate executable permissions from some source and
    data files (LP: #1086165)
  * window_decorator: renamed a local to unhide a parameter (LP:
    #957600)
  * opengl plugin: free shaders and uniforms (LP: #1227449)
  * debian/compizconfig: renamed from debian/config to avoid debconf
    clashes (LP: #1156294)
  * animation plugin: initialize mPrevAnimSelectionRow (LP: #1101630)

  [ Klaus Knopper ]
  * Forces non-opaque pointer in the ezoom plugin. (LP: #1362005)

  [ Henry Hu ]
  * place plugin: correct min and default placement modes in
    configuration

  [ Matija Skala ]
  * remove 'extern "C"' hack (LP: #1286562)

  [ Dariusz Gadomski ]
  * CompScreen: Save focused window id before changing viewport.
 -- Ubuntu daily release <email address hidden> Fri, 31 Oct 2014 17:03:50 +0000

Changed in compiz (Ubuntu):
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → 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.