ClearFoundation Tracker - ClearOS
View Issue Details
0009801ClearOSapp-print-server - CUPS Print Serverpublic2016-07-31 15:072016-11-30 10:27
bchambers 
bchambers 
normalminorhave not tried
closedfixed 
7.2.0 
7.3.0 Beta 17.3.0 Beta 1 
0009801: Cups admin not available on LAN interfaces after reboot
After reboot, cups admin interface on 631 only listening on localhost:

[root@localhost ~]# netstat -lnp --tcp | grep 631
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 891/cupsd

[root@localhost ~]# service cups restart
Redirecting to /bin/systemctl restart cups.service
[root@localhost ~]# netstat -lnp --tcp | grep 631
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5555/cupsd
tcp 0 0 192.168.71.119:631 0.0.0.0:* LISTEN 5555/cupsd
No tags attached.
Issue History
2016-07-31 15:07bchambersNew Issue
2016-07-31 18:25bchambersCategorycups => app-print-server - CUPS Print Server
2016-07-31 18:25bchambersDescription Updatedbug_revision_view_page.php?rev_id=1111#r1111
2016-07-31 18:27bchambersNote Added: 0003661
2016-07-31 18:47bchambersAssigned To => bchambers
2016-07-31 18:47bchambersStatusnew => assigned
2016-07-31 18:47bchambersStatusassigned => acknowledged
2016-07-31 18:47bchambersStatusacknowledged => confirmed
2016-07-31 18:47bchambersStatusconfirmed => resolved
2016-07-31 18:47bchambersFixed in Version => 7.2.0 Updates
2016-07-31 18:47bchambersResolutionopen => fixed
2016-07-31 18:47bchambersStatusresolved => acknowledged
2016-07-31 18:47bchambersStatusacknowledged => confirmed
2016-07-31 18:48bchambersStatusconfirmed => resolved
2016-08-06 20:58user2Note Added: 0003671
2016-09-15 09:54user2Note Added: 0003951
2016-09-15 09:54user2Resolutionfixed => open
2016-09-15 09:54user2Fixed in Version7.2.0 Updates =>
2016-09-15 09:54user2Target Version => 7.3.1 Updates
2016-09-20 15:01user2Fixed in Version => 7.3.0 Beta 1
2016-09-20 15:01user2Target Version7.3.1 Updates => 7.3.0 Beta 1
2016-11-16 09:12user2Target Version7.3.0 Beta 1 => 7.3.0 Beta 1
2016-11-16 09:12user2Fixed in Version7.3.0 Beta 1 => 7.3.0 Beta 1
2016-11-30 10:27user2Statusresolved => closed
2016-11-30 10:27user2Resolutionopen => fixed

Notes
(0003661)
bchambers   
2016-07-31 18:27   
Rather than messing around with upstream cups package, probably better to add an network event so that cups will pick up on changed networks and restart to pick up those changes.

Eg:

/var/clearos/events/network_connected/cups

#!/bin/sh

/usr/bin/systemctl condrestart cups.service
(0003671)
user2   
2016-08-06 20:58   
The package already has a "network configuration change" event. Will investigate further.
(0003951)
user2   
2016-09-15 09:54   
Re-implement with the new "onboot" event - 0010581