ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002991ClearOSapp-print-server - CUPS Print Serverpublic2015-05-29 09:042015-07-07 19:36
Reporterbchambers 
Assigned Touser2 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.6.0 
Target Version6.6.0 UpdatesFixed in Version 
Summary0002991: Cups init script can corrupt ClearOS API
DescriptionWhatever 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
TagsNo tags attached.
Attached Files

- Relationships
related to 0003171closeduser2 Re-enable error reporting suppression 

-  Notes
(0001601)
user2
2015-05-29 09:24

On it. I can see from the backtrace that this box did not have the latest app-network package installed. That subsystem_vendor issue was resolved days after the 6.6.0 release. Regardless, CUPS needs a fixin'

- Issue History
Date Modified Username Field Change
2015-05-29 09:04 bchambers New Issue
2015-05-29 09:04 bchambers Status new => assigned
2015-05-29 09:04 bchambers Assigned To => user2
2015-05-29 09:24 user2 Note Added: 0001601
2015-05-29 09:24 user2 Issue cloned: 0003001
2015-06-15 14:28 user2 Status assigned => resolved
2015-06-15 14:28 user2 Resolution open => fixed
2015-06-15 14:31 user2 Issue cloned: 0003171
2015-06-15 14:31 user2 Relationship added related to 0003171
2015-07-07 19:36 user2 Status resolved => closed