All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] Proposed filesystem layout for print ppd and driver files
@ 2006-07-27  0:43 Wendy Phillips
  2006-07-27  4:29 ` Christopher Yeoh
  0 siblings, 1 reply; 9+ messages in thread
From: Wendy Phillips @ 2006-07-27  0:43 UTC (permalink / raw)
  To: printing-architecture; +Cc: cyeoh, mats.d.wichmann, wendyp

As a result of the past weeks discussion and the fsg architecture 
meeting today, the following proposal is on the table. It defines 
directories for ppd files and print drivers; placement of files is based 
on category of provider: distribution, third party vendor, and system 
administrator.

I have added Chris and Mats as you have been contributing to the 
discussion. If you want to add yourself to the fsg architecture alias, 
it's not high volumne and it would be good to have you.

Regards.

-Wendy


1. Distro supplied files

         The filesystem layout as utilized by the distibutions when the
         ppd files and print drivers are initially installed on the 		 
system. It is presumed that this will also be used for patches 			and 
updates created and delivered by the distro.

         a. Installation path for ppd files
                 /usr/share/ppd/<supplier>/<manufacturer>/

         b. Installation path for print drivers
                 /usr/lib/printdriver/<supplier>

2. Third Party Vendor supplied files

         The filesystem layout to be utilized by third party vendors
         for delivery of ppd files, print drivers and other vendor
         supplied files.

         a. Installation path for PPD files
                 /opt/print/ppd/<supplier>/<manufacturer>

         b. Installation path for print drivers
                 /opt/print/driver/<supplier>

3. Files created, downloaded, or modified by a system administrator.

         a. Installation path for PPD files
                 /usr/local/print/ppd/<supplier>/<manufacturer>

         b. Installation path for print drivers
                 /usr/local/print/driver/<supplier>

4. Common features
         These features apply to each of the three supplier categories,
         distro, third party vendor, and administrator.

         a. PPD file naming convention
                 <MFGString>-<MDLString>-<driver>-<language>.ppd

         b. The contents of the driver directories are entirely
         determined by the supplier.  The path to a driver is found
         by using an absolute path in the ppd file.

         c. Install scripts must be  written in Bourne Shell without
         any extensions.

5. Precedence Rules
         Highest precedence is given to the system administrator which
         allows for system by system modfications as determined by
         support personel.

         PPD files
         Admin :                 /usr/local/print/ppd    Highest
         Third Party Vendor :    /opt/print/ppd
         Distro :                /usr/share/ppd          Lowest

         Drivers
         Admin :                 /usr/local/print/driver Highest
         Third Party Vendor :    /opt/print/driver
         Distro :                /usr/lib/printdriver    Lowest


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
  2006-07-27  0:43 [Printing-architecture] Proposed filesystem layout for print ppd and driver files Wendy Phillips
@ 2006-07-27  4:29 ` Christopher Yeoh
  2006-08-02 16:05   ` Till Kamppeter
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Yeoh @ 2006-07-27  4:29 UTC (permalink / raw)
  To: Wendy Phillips; +Cc: rusty, mats.d.wichmann, wendyp, printing-architecture

Hi Wendy,

(Added Rusty to the CC list since he is also an FHS editor)

At 2006/7/26 17:43-0700  Wendy Phillips writes:
> As a result of the past weeks discussion and the fsg architecture 
> meeting today, the following proposal is on the table. It defines 
> directories for ppd files and print drivers; placement of files is based 
> on category of provider: distribution, third party vendor, and system 
> administrator.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
  2006-07-27  4:29 ` Christopher Yeoh
@ 2006-08-02 16:05   ` Till Kamppeter
  0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-02 16:05 UTC (permalink / raw)
  To: Christopher Yeoh
  Cc: rusty, mats.d.wichmann, wendyp, printing-architecture,
	Wendy Phillips

I would like to agree on a directory layout for printing this week. What
do you think about Chris' suggestions

Distro-supplied:
  /usr/share/ppd/<supplier>/<manufacturer>/
  /usr/lib/printdriver/<supplier>/

Vendor-supplied:
  /opt/share/ppd/<supplier>/<manufacturer>/ be a symlink to
    /opt/<vendor>/<undefined_place_in_hierarchy>
  /opt/lib/printdriver/<supplier>/ be a symlink
    /opt/<vendor>/<undefined_place_in_hierarchy>

Local admin:
  /usr/local/share/ppd/<supplier>/<manufacturer>/
  /usr/local/lib/printdriver/<supplier>/

to be completely FHS compliant?

Is it really not possible to get the stuff in /opt somewhat simpler and
stay FHS compliant?

All the rest (file names, scripts, ...) should stay as we already agreed on.

   Till


Christopher Yeoh wrote:
> Hi Wendy,
> 
> (Added Rusty to the CC list since he is also an FHS editor)
> 
> At 2006/7/26 17:43-0700  Wendy Phillips writes:
> 
>>As a result of the past weeks discussion and the fsg architecture 
>>meeting today, the following proposal is on the table. It defines 
>>directories for ppd files and print drivers; placement of files is based 
>>on category of provider: distribution, third party vendor, and system 
>>administrator.
> 
> 
>>From an FHS point of view I think the proposal is inconsistent.
> Currently there is symmetry between /usr, /usr/local and /opt.
> 
> Eg if something would normally go in /usr/lib if shipped as part of
> the distribution, then it would go into /usr/local/lib if compiled
> locally or /opt/lib (via a symlink) if through a 3rd party package.
> 
> We'd need a pretty good reason to break that convention.
> 
> Also, I'd reiterate that I don't believe a print subdirectory is
> needed for the /usr/local and /opt hierarchies.
> 
> 
>>1. Distro supplied files
>>
>>         The filesystem layout as utilized by the distibutions when the
>>         ppd files and print drivers are initially installed on the 		 
>>system. It is presumed that this will also be used for patches 			and 
>>updates created and delivered by the distro.
>>
>>         a. Installation path for ppd files
>>                 /usr/share/ppd/<supplier>/<manufacturer>/
>>
>>         b. Installation path for print drivers
>>                 /usr/lib/printdriver/<supplier>
>>
> 
> This looks fine.
> 
> 
>>2. Third Party Vendor supplied files
>>
>>         The filesystem layout to be utilized by third party vendors
>>         for delivery of ppd files, print drivers and other vendor
>>         supplied files.
>>
>>         a. Installation path for PPD files
>>                 /opt/print/ppd/<supplier>/<manufacturer>
>>
>>         b. Installation path for print drivers
>>                 /opt/print/driver/<supplier>
>>
> 
> I'd suggest instead
> 
> /opt/share/ppd/<supplier>/<manufacturer>/<ppd_file> be a symlink to /opt/<vendor>/<undefined_place_in_hierarchy>
> 
> and 
> 
> /opt/lib/printdriver/<supplier>/<print_driver_filename> be a symlink to /opt/vendor/<undefined_place_in_hierarchy>
> 
> 
> Currently *nothing* installs directly under /opt, outside of
> /opt/<vendor> (except for symlinks) and we'd need a good reason to
> change that.
> 
> 
>>3. Files created, downloaded, or modified by a system administrator.
>>
>>         a. Installation path for PPD files
>>                 /usr/local/print/ppd/<supplier>/<manufacturer>
>>
>>         b. Installation path for print drivers
>>                 /usr/local/print/driver/<supplier>
>>
> 
> and here:
> 
> /usr/local/share/ppd/<supplier>/manufacturer/
> 
> and
> 
> /usr/local/lib/printdriver/<supplier>
> 
>>4. Common features
>>         These features apply to each of the three supplier categories,
>>         distro, third party vendor, and administrator.
>>
>>         a. PPD file naming convention
>>                 <MFGString>-<MDLString>-<driver>-<language>.ppd
> 
> 
> are the mfgstring and mdl strings always going to be unique between
> suppliers and manufacturers? If so the supplier and manufacturer
> subdirectories can be dropped for the ppd files - which would simply
> things somewhat for applications.
> 
> 
>>         b. The contents of the driver directories are entirely
>>         determined by the supplier.  The path to a driver is found
>>         by using an absolute path in the ppd file.
> 
> 
> If the path to the driver directory is always determined by the
> contents of the ppd file, and applications should never be capable of
> finding them through other means, then for /opt we don't need to
> specify a path for where they are installed. They can simply live
> somewhere under /opt/<vendor> (exactly where up to the vendor's
> discretion)
> 
> 
>>         c. Install scripts must be  written in Bourne Shell without
>>         any extensions.
> 
> 
> I would suggest restricting to the commands and utilities to usage as
> specified in the LSB specification (the LSB requires a POSIX shell, so
> maybe do not allow bash extensions).
> 
> 
>>5. Precedence Rules
>>         Highest precedence is given to the system administrator which
>>         allows for system by system modfications as determined by
>>         support personel.
>>
>>         PPD files
>>         Admin :                 /usr/local/print/ppd    Highest
>>         Third Party Vendor :    /opt/print/ppd
>>         Distro :                /usr/share/ppd          Lowest
>>
>>         Drivers
>>         Admin :                 /usr/local/print/driver Highest
>>         Third Party Vendor :    /opt/print/driver
>>         Distro :                /usr/lib/printdriver    Lowest
> 
> 
> Precendence rules look good. Though if drivers are always discovered
> through ppd files do you need to specify precedence rules for them? Or
> if only a driver and not a ppd file is installed under /usr/local do
> you expect the application to find it even though the ppd file
> specifies one in /usr/lib/printdriver ?
> 
> btw are there distribution representatives on the
> printing-architecture mailing list? Because we really do need
> agreement from them on whatever gets settled upon.
> 
> (am on planes for the next couple of days so may be slow in replying)
> 
> Regards,
> 
> Chris


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
@ 2006-08-02 16:18 McDonald, Ira
  2006-08-02 16:25 ` Till Kamppeter
  0 siblings, 1 reply; 9+ messages in thread
From: McDonald, Ira @ 2006-08-02 16:18 UTC (permalink / raw)
  To: 'Till Kamppeter', Christopher Yeoh
  Cc: rusty, mats.d.wichmann, wendyp, printing-architecture,
	Wendy Phillips

Hi Till,

I mostly agree with this set of directory paths - thanks for
writing up the summary.

I think that full FHS compliance is important - partly because
it's a requirement for inclusion in LSB - and partly because
I dislike "reinventing the wheel".

Except that I do NOT agree that the symlinks should be
mandatory - if a print software vendor wants to store
directly and ONLY in '/opt/share/ppd/<supplier>/<mfg>',
that is sufficient and _preferable_ to the creation of
more '/opt/<supplier>' directories for a useless level
of indirection.

Cheers,
- Ira

Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221  Grand Marais, MI  49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com

> -----Original Message-----
> From: printing-architecture-bounces@lists.freestandards.org
> [mailto:printing-architecture-bounces@lists.freestandards.org]
> On Behalf
> Of Till Kamppeter
> Sent: Wednesday, August 02, 2006 12:05 PM
> To: Christopher Yeoh
> Cc: rusty@samba.org; mats.d.wichmann@intel.com;
> wendyp@jurassic.eng.sun.com; printing-architecture; Wendy Phillips
> Subject: Re: [Printing-architecture] Proposed filesystem layout for
> print ppd and driver files
> 
> 
> I would like to agree on a directory layout for printing this 
> week. What
> do you think about Chris' suggestions
> 
> Distro-supplied:
>   /usr/share/ppd/<supplier>/<manufacturer>/
>   /usr/lib/printdriver/<supplier>/
> 
> Vendor-supplied:
>   /opt/share/ppd/<supplier>/<manufacturer>/ be a symlink to
>     /opt/<vendor>/<undefined_place_in_hierarchy>
>   /opt/lib/printdriver/<supplier>/ be a symlink
>     /opt/<vendor>/<undefined_place_in_hierarchy>
> 
> Local admin:
>   /usr/local/share/ppd/<supplier>/<manufacturer>/
>   /usr/local/lib/printdriver/<supplier>/
> 
> to be completely FHS compliant?
> 
> Is it really not possible to get the stuff in /opt somewhat 
> simpler and
> stay FHS compliant?
> 
> All the rest (file names, scripts, ...) should stay as we 
> already agreed on.
> 
>    Till
> 
> 
> Christopher Yeoh wrote:
> > Hi Wendy,
> > 
> > (Added Rusty to the CC list since he is also an FHS editor)
> > 
> > At 2006/7/26 17:43-0700  Wendy Phillips writes:
> > 
> >>As a result of the past weeks discussion and the fsg architecture 
> >>meeting today, the following proposal is on the table. It defines 
> >>directories for ppd files and print drivers; placement of 
> files is based 
> >>on category of provider: distribution, third party vendor, 
> and system 
> >>administrator.
> > 
> > 
> >>From an FHS point of view I think the proposal is inconsistent.
> > Currently there is symmetry between /usr, /usr/local and /opt.
> > 
> > Eg if something would normally go in /usr/lib if shipped as part of
> > the distribution, then it would go into /usr/local/lib if compiled
> > locally or /opt/lib (via a symlink) if through a 3rd party package.
> > 
> > We'd need a pretty good reason to break that convention.
> > 
> > Also, I'd reiterate that I don't believe a print subdirectory is
> > needed for the /usr/local and /opt hierarchies.
> > 
> > 
> >>1. Distro supplied files
> >>
> >>         The filesystem layout as utilized by the 
> distibutions when the
> >>         ppd files and print drivers are initially 
> installed on the 		 
> >>system. It is presumed that this will also be used for 
> patches 			and 
> >>updates created and delivered by the distro.
> >>
> >>         a. Installation path for ppd files
> >>                 /usr/share/ppd/<supplier>/<manufacturer>/
> >>
> >>         b. Installation path for print drivers
> >>                 /usr/lib/printdriver/<supplier>
> >>
> > 
> > This looks fine.
> > 
> > 
> >>2. Third Party Vendor supplied files
> >>
> >>         The filesystem layout to be utilized by third party vendors
> >>         for delivery of ppd files, print drivers and other vendor
> >>         supplied files.
> >>
> >>         a. Installation path for PPD files
> >>                 /opt/print/ppd/<supplier>/<manufacturer>
> >>
> >>         b. Installation path for print drivers
> >>                 /opt/print/driver/<supplier>
> >>
> > 
> > I'd suggest instead
> > 
> > /opt/share/ppd/<supplier>/<manufacturer>/<ppd_file> be a 
> symlink to /opt/<vendor>/<undefined_place_in_hierarchy>
> > 
> > and 
> > 
> > /opt/lib/printdriver/<supplier>/<print_driver_filename> be 
> a symlink to /opt/vendor/<undefined_place_in_hierarchy>
> > 
> > 
> > Currently *nothing* installs directly under /opt, outside of
> > /opt/<vendor> (except for symlinks) and we'd need a good reason to
> > change that.
> > 
> > 
> >>3. Files created, downloaded, or modified by a system administrator.
> >>
> >>         a. Installation path for PPD files
> >>                 /usr/local/print/ppd/<supplier>/<manufacturer>
> >>
> >>         b. Installation path for print drivers
> >>                 /usr/local/print/driver/<supplier>
> >>
> > 
> > and here:
> > 
> > /usr/local/share/ppd/<supplier>/manufacturer/
> > 
> > and
> > 
> > /usr/local/lib/printdriver/<supplier>
> > 
> >>4. Common features
> >>         These features apply to each of the three supplier 
> categories,
> >>         distro, third party vendor, and administrator.
> >>
> >>         a. PPD file naming convention
> >>                 <MFGString>-<MDLString>-<driver>-<language>.ppd
> > 
> > 
> > are the mfgstring and mdl strings always going to be unique between
> > suppliers and manufacturers? If so the supplier and manufacturer
> > subdirectories can be dropped for the ppd files - which would simply
> > things somewhat for applications.
> > 
> > 
> >>         b. The contents of the driver directories are entirely
> >>         determined by the supplier.  The path to a driver is found
> >>         by using an absolute path in the ppd file.
> > 
> > 
> > If the path to the driver directory is always determined by the
> > contents of the ppd file, and applications should never be 
> capable of
> > finding them through other means, then for /opt we don't need to
> > specify a path for where they are installed. They can simply live
> > somewhere under /opt/<vendor> (exactly where up to the vendor's
> > discretion)
> > 
> > 
> >>         c. Install scripts must be  written in Bourne Shell without
> >>         any extensions.
> > 
> > 
> > I would suggest restricting to the commands and utilities 
> to usage as
> > specified in the LSB specification (the LSB requires a 
> POSIX shell, so
> > maybe do not allow bash extensions).
> > 
> > 
> >>5. Precedence Rules
> >>         Highest precedence is given to the system 
> administrator which
> >>         allows for system by system modfications as determined by
> >>         support personel.
> >>
> >>         PPD files
> >>         Admin :                 /usr/local/print/ppd    Highest
> >>         Third Party Vendor :    /opt/print/ppd
> >>         Distro :                /usr/share/ppd          Lowest
> >>
> >>         Drivers
> >>         Admin :                 /usr/local/print/driver Highest
> >>         Third Party Vendor :    /opt/print/driver
> >>         Distro :                /usr/lib/printdriver    Lowest
> > 
> > 
> > Precendence rules look good. Though if drivers are always discovered
> > through ppd files do you need to specify precedence rules 
> for them? Or
> > if only a driver and not a ppd file is installed under /usr/local do
> > you expect the application to find it even though the ppd file
> > specifies one in /usr/lib/printdriver ?
> > 
> > btw are there distribution representatives on the
> > printing-architecture mailing list? Because we really do need
> > agreement from them on whatever gets settled upon.
> > 
> > (am on planes for the next couple of days so may be slow in 
> replying)
> > 
> > Regards,
> > 
> > Chris
> 
> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture@lists.freestandards.org
> http://lists.freestandards.org/mailman/listinfo/printing-architecture
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 8/1/2006
 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
  2006-08-02 16:18 McDonald, Ira
@ 2006-08-02 16:25 ` Till Kamppeter
  0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-02 16:25 UTC (permalink / raw)
  To: McDonald, Ira
  Cc: mats.d.wichmann, wendyp, rusty, printing-architecture,
	Wendy Phillips

McDonald, Ira wrote:
> Hi Till,
> 
> I mostly agree with this set of directory paths - thanks for
> writing up the summary.
> 
> I think that full FHS compliance is important - partly because
> it's a requirement for inclusion in LSB - and partly because
> I dislike "reinventing the wheel".
> 
> Except that I do NOT agree that the symlinks should be
> mandatory - if a print software vendor wants to store
> directly and ONLY in '/opt/share/ppd/<supplier>/<mfg>',
> that is sufficient and _preferable_ to the creation of
> more '/opt/<supplier>' directories for a useless level
> of indirection.

Does the FHS allow files other than symlinks in subdirectories of
/opt/share/ and /opt/lib?

   Till


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
       [not found] <3F62CBEE02D6404E98C65934617EB58254DED6@fmsmsx414.amr.corp.intel.com>
@ 2006-08-02 16:41 ` Till Kamppeter
  2006-08-03  1:28   ` Christopher Yeoh
  0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2006-08-02 16:41 UTC (permalink / raw)
  To: Wichmann, Mats D
  Cc: wendyp, rusty, printing-architecture, McDonald, Ira,
	Wendy Phillips

Wichmann, Mats D wrote:
>>>Except that I do NOT agree that the symlinks should be
>>>mandatory - if a print software vendor wants to store
>>>directly and ONLY in '/opt/share/ppd/<supplier>/<mfg>',
>>>that is sufficient and _preferable_ to the creation of
>>>more '/opt/<supplier>' directories for a useless level
>>>of indirection.
>>
>>Does the FHS allow files other than symlinks in subdirectories of
>>/opt/share/ and /opt/lib?
> 
> 
> Yes, but it does not allow a software packager to
> put them there.
> 
> "The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib,
> and /opt/man are reserved for local system administrator use. Packages
> may provide "front-end" files intended to be placed in (by linking or
> copying) these reserved directories by the local system administrator,
> but must function normally in the absence of these reserved
> directories."
> 
> (so it doesn't mention /opt/share explicitly but it seems
> like the intent is clear)
> 

Does this mean that for third-party vendors only

/opt/<supplier>/

is allowed and nothing outside of this?

Then I see the only solution in

/opt/<supplier>/ppd/<file>.ppd

for the PPD files of this supplier and requiring absolute paths in the
PPD to the driver, which can be at an arbitrary place in /opt/<supplier>/.

WDYT?

   Till


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
  2006-08-02 16:41 ` Till Kamppeter
@ 2006-08-03  1:28   ` Christopher Yeoh
  2006-08-03 13:52     ` Till Kamppeter
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Yeoh @ 2006-08-03  1:28 UTC (permalink / raw)
  To: Till Kamppeter
  Cc: Wichmann, Mats D, wendyp, rusty, printing-architecture,
	McDonald, Ira, Wendy Phillips

> > "The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib,
> > and /opt/man are reserved for local system administrator use. Packages
> > may provide "front-end" files intended to be placed in (by linking or
> > copying) these reserved directories by the local system administrator,
> > but must function normally in the absence of these reserved
> > directories."
> > 
> > (so it doesn't mention /opt/share explicitly but it seems
> > like the intent is clear)
> > 
> 
> Does this mean that for third-party vendors only
> 
> /opt/<supplier>/
> 
> is allowed and nothing outside of this?
> 

No, symlinks are fine, but probably should be installed as part of a
post-install script with permission from the sysadmin.

Just to add a bit of background, /opt/<vendor|package> was created to
avoid namespace clashes. The ability to copy/symlink to say /opt/bin
(and it really probably should be only symlinking) was added so user's
paths didn't need to be modified for every package that was installed.

So I'd like to keep the current practice of only installing into
/opt/<vendor>, and creating symlinks from /opt/lib or /opt/share to
make things easier for applications that need find the ppd or driver
files.

This, I think is the solution that best matches the current design of
the /opt in the FHS, even though it is a bit more complex than just
installing direct into /opt/lib or /opt/share.

In practice, the "permission from the sysadmin" is perhaps not needed
for the symlinking pppd files *if* something like LANANA can guarantee
no namespace clashes. But packages should be very careful never to
overwrite existing links.

Chris
-- 
cyeoh@au.ibm.com
IBM OzLabs Linux Development Group
Canberra, Australia


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
  2006-08-03  1:28   ` Christopher Yeoh
@ 2006-08-03 13:52     ` Till Kamppeter
  0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-03 13:52 UTC (permalink / raw)
  To: Christopher Yeoh
  Cc: Wichmann, Mats D, wendyp, rusty, printing-architecture,
	McDonald, Ira, Wendy Phillips

So then I would say we go with my last suggestion:

Distro-supplied:
  /usr/share/ppd/<supplier>/<manufacturer>/
  /usr/lib/printdriver/<supplier>/

Vendor-supplied:
  /opt/share/ppd/<supplier>/<manufacturer>/ be a symlink to
    /opt/<vendor>/<undefined_place_in_hierarchy>
  /opt/lib/printdriver/<supplier>/ be a symlink
    /opt/<vendor>/<undefined_place_in_hierarchy>

Local admin:
  /usr/local/share/ppd/<supplier>/<manufacturer>/
  /usr/local/lib/printdriver/<supplier>/

and the install scripts should by default (asking could be supressed by
a command line option) not overwrite files without asking the user.

Using /opt/share/ppd/<supplier>/<manufacturer>/ and
/opt/lib/printdriver/<supplier>/ for the symlinks should make file
clashes usually not happening. Perhaps we should reserve these with LANANA.

   Till


Christopher Yeoh wrote:
>>>"The directories /opt/bin, /opt/doc, /opt/include, /opt/info, /opt/lib,
>>>and /opt/man are reserved for local system administrator use. Packages
>>>may provide "front-end" files intended to be placed in (by linking or
>>>copying) these reserved directories by the local system administrator,
>>>but must function normally in the absence of these reserved
>>>directories."
>>>
>>>(so it doesn't mention /opt/share explicitly but it seems
>>>like the intent is clear)
>>>
>>
>>Does this mean that for third-party vendors only
>>
>>/opt/<supplier>/
>>
>>is allowed and nothing outside of this?
>>
> 
> 
> No, symlinks are fine, but probably should be installed as part of a
> post-install script with permission from the sysadmin.
> 
> Just to add a bit of background, /opt/<vendor|package> was created to
> avoid namespace clashes. The ability to copy/symlink to say /opt/bin
> (and it really probably should be only symlinking) was added so user's
> paths didn't need to be modified for every package that was installed.
> 
> So I'd like to keep the current practice of only installing into
> /opt/<vendor>, and creating symlinks from /opt/lib or /opt/share to
> make things easier for applications that need find the ppd or driver
> files.
> 
> This, I think is the solution that best matches the current design of
> the /opt in the FHS, even though it is a bit more complex than just
> installing direct into /opt/lib or /opt/share.
> 
> In practice, the "permission from the sysadmin" is perhaps not needed
> for the symlinking pppd files *if* something like LANANA can guarantee
> no namespace clashes. But packages should be very careful never to
> overwrite existing links.
> 
> Chris


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Printing-architecture] Proposed filesystem layout for print ppd and driver files
       [not found] <3F62CBEE02D6404E98C65934617EB582586CB7@fmsmsx414.amr.corp.intel.com>
@ 2006-08-03 14:39 ` Till Kamppeter
  0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-03 14:39 UTC (permalink / raw)
  To: Wichmann, Mats D
  Cc: wendyp, rusty, printing-architecture, McDonald, Ira,
	Wendy Phillips

Wichmann, Mats D wrote:
>>and the install scripts should by default (asking could be supressed by
>>a command line option) not overwrite files without asking the user.
> 
> 
> If you mean install scripts run by a package postinstall,
> "asking" is not allowed for rpm packages - they *must*
> be able to run non-interactively.  
> 

Therefore the command line option to supress asking. Then we should
require such an option, too, to facilitate packaging.

   Till


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-08-03 14:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-27  0:43 [Printing-architecture] Proposed filesystem layout for print ppd and driver files Wendy Phillips
2006-07-27  4:29 ` Christopher Yeoh
2006-08-02 16:05   ` Till Kamppeter
  -- strict thread matches above, loose matches on Subject: below --
2006-08-02 16:18 McDonald, Ira
2006-08-02 16:25 ` Till Kamppeter
     [not found] <3F62CBEE02D6404E98C65934617EB58254DED6@fmsmsx414.amr.corp.intel.com>
2006-08-02 16:41 ` Till Kamppeter
2006-08-03  1:28   ` Christopher Yeoh
2006-08-03 13:52     ` Till Kamppeter
     [not found] <3F62CBEE02D6404E98C65934617EB582586CB7@fmsmsx414.amr.corp.intel.com>
2006-08-03 14:39 ` Till Kamppeter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.