[feisty] Some packages include files in usr/local or opt

Bug #94353 reported by JanMinar
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
High
Till Kamppeter
gtk-qt-engine (Ubuntu)
Fix Released
High
Luka Renko

Bug Description

Binary package hint: cupsys

At least two packages in feisty include files to be written in:
/opt -- package cupsys
/usr/local -- package gtk-qt-engine

This is serious bug, as it is against general guideline of deb packages and many debian based servers are configured
and exports /usr/local and /opt over nfs.

Revision history for this message
Martin Pitt (pitti) wrote :

Indeed. Till, I confirmed that cupsys ships /opt/share/ppd. I guess this is due to one of your recent changes. Can you please revert this?

Changed in cupsys:
assignee: nobody → till-kamppeter
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Should this be done for the beta? Otherwise I would make a CUPS 1.2.10 to cover all the recent upstream fixes.

I have added the /opt and /usr/local stuff to fulfill the drafted new LSB 3.2 requirements for printing. As there were also comnplaints by Tim Waugh from Red Hat, I think I will change these requirenments as LSB is contradicting with FHS by them. I will require from the driver packages to symlink their PPDs/PPD directories into the /usr/share/ppd directory by the post-install script.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 94353] Re: [feisty] Some packages include files in usr/local or opt

Hi Till,

Till Kamppeter [2007-03-21 16:39 -0000]:
> Should this be done for the beta? Otherwise I would make a CUPS 1.2.10
> to cover all the recent upstream fixes.

No, right after beta is fine.

> I have added the /opt and /usr/local stuff to fulfill the drafted new
> LSB 3.2 requirements for printing. As there were also comnplaints by Tim
> Waugh from Red Hat, I think I will change these requirenments as LSB is
> contradicting with FHS by them. I will require from the driver packages
> to symlink their PPDs/PPD directories into the /usr/share/ppd directory
> by the post-install script.

Not sure about the details, but having cups *look* into /opt/ for PPDs
is fine. The package should just not create anything in /opt itself.

Luka Renko (lure)
Changed in gtk-qt-engine:
assignee: nobody → lure
status: Unconfirmed → Confirmed
Revision history for this message
Luka Renko (lure) wrote :

See attached debdiff for fix for gtk-qt-engine.debdiff. Waiting for some core-dev to sponsor the upload. ;-)

Changed in gtk-qt-engine:
importance: Undecided → High
Revision history for this message
Kees Cook (kees) wrote :

Thanks Luka!

 gtk-qt-engine (0.71~svn20070224-0ubuntu3) feisty; urgency=low
 .
   * Install files in /usr/share instead of /usr/local/share directory.
     Closes LP: #94353

Changed in gtk-qt-engine:
status: Confirmed → Fix Released
Luka Renko (lure)
Changed in gtk-qt-engine:
assignee: lure → imbrandon
Kees Cook (kees)
Changed in gtk-qt-engine:
assignee: imbrandon → lure
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I will change the printing requirements of LSB 3.2. PPD search directory will be only /usr/share/ppd. Driver packages installing to /opt or /usr/local should simply symlink their PPD directories to there.

Then I will remove the additional directories from the CUPS package.

At Red Hat they also did not like the idea of providing PPD directories in /opt and /usr/local.

Revision history for this message
Martin Pitt (pitti) wrote :

Till, I think it is a good idea to have cups search in /opt/ppd/. It should just not ship this directory. It is trivial to make the searching robust against nonexisting directories, if it isn't already.

Changed in cupsys:
status: Confirmed → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in cupsys:
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.