2017-02-15 16:24:49 |
Dariusz Gadomski |
bug |
|
|
added bug |
2017-02-15 16:25:07 |
Dariusz Gadomski |
cups (Ubuntu): importance |
Undecided |
Medium |
|
2017-02-15 16:25:09 |
Dariusz Gadomski |
cups (Ubuntu): assignee |
|
Dariusz Gadomski (dgadomski) |
|
2017-02-15 16:28:37 |
Dariusz Gadomski |
tags |
|
sts |
|
2017-02-15 16:28:43 |
Dariusz Gadomski |
description |
Some commandline tools (e.g. lp, lpstat) ignore -h option if no port number is given.
This version affects Trusty with cups-client 1.7.2-0ubuntu1.7. Xenial works fine.
Test to reproduce:
1. Setup 2 cups servers with a shared printer set as default destination: server1, server2.
2. On a trusty client try:
export CUPS_SERVER=server1
lpstat -h server2 -H
3. Expected result:
server2:631
4. Actual result:
server1:631
(server given by CUPS_SERVER is used instead of the one given by -h option).
If a port number is given (e.g. server2:631) the commands work as expected. |
[Impact]
Prevents user from overriding default print server on cmdline if he's not aware of the fact that this bug may be overriden by giving a port number.
[Test Case]
1. Setup 2 cups servers with a shared printer set as default destination: server1, server2.
2. On a trusty client try:
export CUPS_SERVER=server1
lpstat -h server2 -H
3. Expected result:
server2:631
4. Actual result:
server1:631
(server given by CUPS_SERVER is used instead of the one given by -h option).
[Regression Potential]
Minimal. ipp_port is initialized to default value if not given explicitly. Fix is a backport from Xenial version and already present in upstream release.
[Other Info]
* Original bug description:
Some commandline tools (e.g. lp, lpstat) ignore -h option if no port number is given.
This version affects Trusty with cups-client 1.7.2-0ubuntu1.7. Xenial works fine.
Test to reproduce:
1. Setup 2 cups servers with a shared printer set as default destination: server1, server2.
2. On a trusty client try:
export CUPS_SERVER=server1
lpstat -h server2 -H
3. Expected result:
server2:631
4. Actual result:
server1:631
(server given by CUPS_SERVER is used instead of the one given by -h option).
If a port number is given (e.g. server2:631) the commands work as expected. |
|
2017-02-16 08:04:11 |
Dariusz Gadomski |
nominated for series |
|
Ubuntu Trusty |
|
2017-02-16 08:15:44 |
Dariusz Gadomski |
attachment added |
|
trusty_cups_1.7.2-0ubuntu1.8.debdiff https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1665018/+attachment/4819939/+files/trusty_cups_1.7.2-0ubuntu1.8.debdiff |
|
2017-02-16 08:15:55 |
Dariusz Gadomski |
tags |
sts |
sts sts-sponsor |
|
2017-02-16 08:16:26 |
Dariusz Gadomski |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-02-16 08:16:43 |
Dariusz Gadomski |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2017-02-16 08:46:32 |
Louis Bouchard |
bug task added |
|
cups (Ubuntu Trusty) |
|
2017-02-16 08:47:14 |
Louis Bouchard |
tags |
sts sts-sponsor |
sts sts-sponsor sts-sru |
|
2017-02-16 10:45:01 |
Michael Cunningham |
bug |
|
|
added subscriber Michael Cunningham |
2017-02-17 03:49:29 |
Mathew Hodson |
cups (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2017-02-17 18:55:43 |
Brian Murray |
cups (Ubuntu Trusty): status |
New |
Fix Committed |
|
2017-02-17 18:55:47 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-02-17 18:55:52 |
Brian Murray |
tags |
sts sts-sponsor sts-sru |
sts sts-sponsor sts-sru verification-needed |
|
2017-02-17 18:56:29 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2017-02-21 13:18:21 |
Dariusz Gadomski |
tags |
sts sts-sponsor sts-sru verification-needed |
sts sts-sru verification-needed |
|
2017-02-24 08:49:03 |
Dariusz Gadomski |
tags |
sts sts-sru verification-needed |
sts sts-sru verification-done |
|
2017-02-27 23:31:29 |
Brian Murray |
cups (Ubuntu): status |
New |
Fix Released |
|
2017-02-27 23:32:21 |
Launchpad Janitor |
cups (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2017-02-27 23:32:30 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-03-22 15:44:01 |
Louis Bouchard |
tags |
sts sts-sru verification-done |
sts sts-sru-done verification-done |
|