|
Bugzilla – Full Text Bug Listing |
| Summary: | useless cupsd restarts in YaST | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Johannes Meixner <jsmeix> |
| Component: | YaST2 | Assignee: | Michal Zugec <mzugec> |
| Status: | RESOLVED FIXED | QA Contact: | Johannes Meixner <jsmeix> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | jsmeix |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | printer | ||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Johannes Meixner
2005-09-12 09:50:50 UTC
fixed first part - reduced cups restarts Reopening because of second part and: A special note regarding HPLIP: The initial comment reads: ------------------------------------------------------------ cupsd must be re-started * when backends are changed in /usr/lib[64]/cups/backend/ ------------------------------------------------------------ In case of HPLIP it is a bit more special: It wouldn't help to re-start cupsd after the hplip RPM was installed because the HP backends "hp" and "hpfax" don't work unless the "hplip" service is up and running. Therefore for HPLIP it would be as follows: cupsd must be re-started after the "hplip" service is up and running if it was not yet up and running before. (This condition implies that the hplip RPM is already installed.) The final goal is to have the HP backends "hp" and "hpfax" ready to operate in CUPS. Therefore the best test is to check for those backends dierctly. In bash I would do it like: ----------------------------------------------------------------------------- if lpinfo -v | grep -q '^direct hp:' && lpinfo -v | grep -q '^direct hpfax:' then echo ok else rccups restart fi ----------------------------------------------------------------------------- move to later reopen fixed It still re-starts the cupsd much too often. Eeach time when it finishes! There is no re-start of the cupsd needed to add, modify, or delete print queues. Only a config change of the cupsd requires it to be re-started. An update regarding comment #2: Since hplip version 2.8.4 (i.e. since openSUSE 11.0) there are no longer any daemons. The hp backend is just a normal backend. Therefore the special stuff in comment #2 can be ignored since openSUSE 11.0 so that bug #184798 does no longer depend on this one. *** Bug 203207 has been marked as a duplicate of this bug. *** There is new yast2-printer module which fixes most of the bugs. If this problem occurs in this version, please reopen bugreport. http://mzugec.blogspot.com/2008/08/new-yast2-printer-configuration-module.html |