ClearFoundation Tracker - ClearOS
View Issue Details
0003001ClearOSapp-print-server - CUPS Print Serverpublic2015-05-29 09:242015-07-30 08:59
user2 
user2 
normalmajorsometimes
closedfixed 
 
7.1.0 Beta 37.1.0 Beta 3 
0003001: Cups init script can corrupt ClearOS API
Whatever part of the init script that is used in the CUPS start script to determine what interfaces to listen on (eg. generates cupsd.listen.conf) can corrupt the ClearOS API (/network/library/Iface.php becomes a socket!).

Looks like an exception is being thrown, and instead of handling the exception, the script is looping through the content/backtrace and adding to the cupsd.listen.conf file. Eg:

# Automatically generated by init script
Listen PHP:631
Listen warning::631
Listen fopen(/sys/class/net/eth10/device/subsystem_vendor)::631
Listen failed:631
Listen to:631
Listen open:631
Listen stream::631
Listen No:631
Listen such:631
Listen file:631
Listen or:631
Listen directory:631
Listen -:631
Listen /usr/clearos/apps/network/libraries/Iface.php:631
Listen (1116):631
Listen PHP:631
Listen warning::631
Listen fopen(/sys/class/net/eth10/device/subsystem_device)::631
Listen failed:631
Listen to:631
Listen open:631
Listen stream::631
Listen No:631
Listen such:631
Listen file:631
Listen or:631
Listen directory:631
Listen -:631
Listen /usr/clearos/apps/network/libraries/Iface.php:631
Listen (1125):631
Listen PHP:631
Listen warning::631
Listen fopen(/sys/class/net/eth11/device/subsystem_vendor)::631
Listen failed:631
Listen to:631
Listen open:631
Listen stream::631
Listen No:631
Listen such:631
Listen file:631
No tags attached.
Issue History
2015-05-29 09:24user2New Issue
2015-05-29 09:24user2Statusnew => assigned
2015-05-29 09:24user2Assigned To => user2
2015-05-29 09:24user2Issue generated from: 0002991
2015-05-29 09:24user2Target Version7.1.0 Beta 2 => 7.1.0 Beta 3
2015-05-29 10:12bchambersNote Added: 0001611
2015-06-15 19:41user2Statusassigned => resolved
2015-06-15 19:41user2Resolutionopen => fixed
2015-07-28 10:16user2Statusresolved => closed
2015-07-30 08:59user2Fixed in Version => 7.1.0 Beta 3

Notes
(0001611)
bchambers   
2015-05-29 10:12   
No upgrades found:

[root@- cups]# rpm -qv app-network
app-network-1.6.10-1.v6.noarch


This server was a Community -> Pro upgrade earlier, if that makes any difference.