[cups-devel] [UNKN] STR #4561: Option -h for lp does not override CUPS_SERVER definition

Louis Bouchard noreply at cups.org
Mon Jan 12 02:51:47 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

If the variable CUPS_SERVER is defined, it is not possible to override its
definition by using lp -h {printserver}.

This is caused by a call to _cupsSetDefaults() in the cupsUser() function
after the definition of the cups_server by -h. _cupsSetDefaults reset
cups_server to the value of CUPS_SERVER without verification of the current
value of cups_user.

I will try to propose a potential fix.

The issue is tracked for Ubuntu in the following bug :

http://bugs.launchpad.net/bugs/1352809

Link: https://www.cups.org/str.php?L4561
Version: 2.0.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUs6dDAAoJENujp6sI12Ij3xUP/RENb+H5qcK3GfLa5Qd7oXH1
QPLVmoMD4przTLUSMAMeW1eY2OsS5euXg5niC04owIHcjeDW/9HPXb4V5XAwJC/i
81VFf384rXo7sJfdri8et+pIlFYVo3eS9gHtkIPhqFtxBBQ5Hwp9ylwbbwCKZ2RK
Wv8NS92Ppy8He56aOUUaCow1tCPoKiuPJSj07zUBMNzGgfTs1rDg5fC4ZPSMw8CI
NUPMHO44A//8xTnpKZVFI5PWe3HPP/SmOnUdH5Ktq0puUhCmEd93hUgTeBTEO75a
bKnFcDpl/Z4qmNyNKVqjEKoLz0R9vr959KhOMUeEs5MzLy7S+cYysOEGCxpIS7YG
XFbD8QgbD3ASjsTgiaqESt2QHEi3AdpMRSF04gwDL8pRJrDqBm+9k2UW+DIHfdSu
ssjleZA8cGw9Nq948a79KYM0YovnFVEnhnhhn52LLajXCDmpg9Qab+590Zt29tQm
7ogffQLDYFAygpNzXOXaM4vDZ/8m+dbBvhmz6qchMtq0Pq4SCllc9sBObppwf1QB
7P9cKmCO4B3pnNxAAHFQVBhOKF/Y3OZfzR2l9gWdobltJIzlApLdK0ZCGArj5OYG
TvEXBYND2a0PYsKgemuizwoWfUHGKgUeiGeaSIpSVwkDp+Q18onK77EUu91OVDrV
mt1tbjcRf010427V4iL7
=+HU6
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list