Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10848

Summary: apsfilter, /etc/ and /etc/printcap issue.
Product: Gentoo Linux Reporter: Wilbert Berendsen <wbsoft>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: VERIFIED TEST-REQUEST    
Severity: enhancement    
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?p=129240#129240
Whiteboard:
Package list:
Runtime testing required: ---

Description Wilbert Berendsen 2002-11-16 17:16:22 UTC
Hi, i have some problems which i'll be able to solve but which are I think  
annoying for new users.  
  
- apsfilter installs its basedir in /usr/etc/apsfilter not in /etc. KDE lprng  
wizard expects it in /etc which results in errors when trying to use the KDE  
LPRNG wizard with Gentoo's LPRNG installation.  
- Gentoo's apsfilter ebuild puts a printcap in /etc/lprng/ when using lprng,  
/etc/cups/ when using cups, /etc/lpr/ when using lpr. KDE's wizard expects  
printcap to be just in /etc/.  
- USE "lprng" is NOT listed in use.desc, so installing lprng and apsfilter  
without 'USE'ing "lprng" will result in apsfilter putting printcap in  
/etc/printcap and lprng trying to read /etc/lprng/printcap.  
  
So I would suggest always put any /etc/printcap just in /etc. It's such an  
often used place. Of course I can symlink (and this is how I will solve it,  
but it's not elegant)
Comment 1 SpanKY gentoo-dev 2002-11-16 22:54:29 UTC
nothing should be installed into /usr/etc 
packages that do should be reported as bugs 
Comment 2 Sascha Wuestemann 2003-01-14 11:47:29 UTC
apsfilter _does_ install at /usr/etc so I announce this as bug :)

on the other hand, it seems to work, but I still can't print, though. lprng's
checkpc, lp* are satisfied, at least. But the apsfilter is working until the end
of days....

drop a line, if you are interested in debugging apsfilter and lprng for my case.
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-01-14 12:16:06 UTC
please give to 'the printing dude'
Comment 4 Sascha Wuestemann 2003-01-14 12:45:59 UTC
me, happily, again.

First:

There is not really a problem with apsfilter having at /usr/etc.

But:

Apsfilter uses /etc/printcap, indeed, for configuration, while lprng expects
printcap at /etc/lprng/.

-> I had to cp /etc/printcap to /etc/lprng/. to get printing work.

Second:

Why the hell do I have to use /dev/lp1 aka /dev/printers/1 if I only have one
parallel printer device???
Does it depend on the parallel zip drive, I use?

Comment 5 Thomas Raschbacher gentoo-dev 2003-03-07 12:21:33 UTC
fixed bugs in the ebuild & adding symlink now ..
Comment 6 Thomas Raschbacher gentoo-dev 2003-03-07 12:36:42 UTC
in 7.2.5
Comment 7 Thomas Raschbacher gentoo-dev 2003-10-01 23:54:35 UTC
does that work now?
Comment 8 Thomas Raschbacher gentoo-dev 2004-12-06 10:43:03 UTC
noone reopened it so i close the bug