https://bugzilla.novell.com/show_bug.cgi?id=397106
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397106#c2
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |werner@novell.com
--- Comment #2 from Johannes Meixner 2008-06-04 09:25:22 MDT ---
Werner,
your test regarding /usr/bin/lpoptions in
/sbin/conf.d/SuSEconfig.texlive
could be insufficient under bad circumstances.
I suggest the following:
-----------------------------------------------------------------------
if /usr/bin/lpstat -h localhost -r &>/dev/null
then if test -x /usr/bin/lpoptions
then ...
lpopt=($(/usr/bin/lpoptions -h localhost -l 2>/dev/null))
-----------------------------------------------------------------------
Reasoning:
Assume the environment variable CUPS_SERVER is set to
a remote CUPS server but a firewall drops packages
then whatever hangup or very long timeout may occur.
Assume the local cupsd does not respond, then whatever hangup
or very long timeout may occur.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.