[Bug 539401] New: cups fails to start

http://bugzilla.novell.com/show_bug.cgi?id=539401 Summary: cups fails to start Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: estellnb@gmail.com QAContact: jsmeix@novell.com Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE Trying to configure my printer YaST says cups is not running - and it really isn`t: lpstat -h localhost -r lpstat: Verbindung zum Server nicht möglich localhost:631 - no response
cups status Checking for cupsd: unused cups start Starting cupsdcupsd: Child exited with status 13! startproc: exit status of parent of /usr/sbin/cupsd: 2
Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User estellnb@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c1 --- Comment #1 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-09-15 14:12:27 MDT --- Created an attachment (id=318399) --> (http://bugzilla.novell.com/attachment.cgi?id=318399) /var/log/cups/error_log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User estellnb@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c2 --- Comment #2 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-09-15 14:12:49 MDT --- Created an attachment (id=318400) --> (http://bugzilla.novell.com/attachment.cgi?id=318400) /var/log/cups/access_log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User estellnb@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c3 --- Comment #3 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-09-15 14:25:05 MDT --- switching the Apparmor status of Cups from enforce to complain the following result is given:
cups start Starting cupsdcupsd: Child exited on signal 11! startproc: exit status of parent of /usr/sbin/cupsd: 3
failed -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User estellnb@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c4 --- Comment #4 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-09-15 14:25:45 MDT --- Created an attachment (id=318402) --> (http://bugzilla.novell.com/attachment.cgi?id=318402) /var/log/cups/error_log apparmor complain mode -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User estellnb@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c5 --- Comment #5 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-09-15 14:33:25 MDT --- Seems to be a problem of the apparmor profile. Unfortunately the 'Update Profile Wizard' still does not work. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539401#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com Component|Printing |AppArmor AssignedTo|jsmeix@novell.com |jeffm@novell.com Summary|cups fails to start |AppArmor lets cupsd fail to | |start QAContact|jsmeix@novell.com |qa@suse.de --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2009-09-16 01:48:54 MDT --- When the cupsd works without AppArmor, this bug does not belong to the Bugzilla component "Printing" but to the Bugzilla component "AppArmor". To the AppArmor experts: In openSUSE 11.1 we had bug #474403: "AppArmor makes CUPS irresponsive". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c7 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #7 from Jeff Mahoney <jeffm@novell.com> 2009-12-01 14:59:12 UTC --- This is a duplicate of bnc#555653. Closing. *** This bug has been marked as a duplicate of bug 555653 *** http://bugzilla.novell.com/show_bug.cgi?id=555653 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c8 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #8 from Jeff Mahoney <jeffm@novell.com> 2009-12-01 15:02:03 UTC --- Or not at second glance. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c9 --- Comment #9 from Elmar Stellnberger <estellnb@gmail.com> 2009-12-01 17:16:24 UTC --- Created an attachment (id=330309) --> (http://bugzilla.novell.com/attachment.cgi?id=330309) updated usr.sbin.cupsd profile Use this profile for cups. It was created by the Apparmor profile generator and then carefully postedited by hand. It should serve all needs. We should distribute a new working usr.sbin.cupsd-profile as an update. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c10 --- Comment #10 from Jeff Mahoney <jeffm@novell.com> 2009-12-18 18:47:34 UTC --- Created an attachment (id=333479) --> (http://bugzilla.novell.com/attachment.cgi?id=333479) Committed usr.sbin.cupsd. This is the version of the profile I committed to the apparmor-profiles package. There were some things you added that were part of the nameservice abstraction, and some other minor tweaks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c11 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ast@novell.com --- Comment #11 from Jeff Mahoney <jeffm@novell.com> 2009-12-18 19:04:02 UTC --- .. and submitted to openSUSE:11.2:Update:Test. Anja, what do you think of an update? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |maintenance@opensuse.org -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c12 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #12 from Christian Dengler <cdengler@novell.com> 2009-12-21 11:48:29 UTC --- +1 (for an update) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c13 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |ASSIGNED Info Provider|maintenance@opensuse.org | --- Comment #13 from Jeff Mahoney <jeffm@novell.com> 2009-12-23 14:42:27 UTC --- Actually, hold off on the update. The profile isn't right quite yet. It started up ok for me but refused to actually print. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c14 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #14 from Jeff Mahoney <jeffm@novell.com> 2010-12-01 18:57:43 UTC --- I think I've worked out the kinks. An update won't be released for 11.2 but should be for 11.3. openSUSE 11.3 SR 54280 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c15 --- Comment #15 from Elmar Stellnberger <estellnb@gmail.com> 2010-12-03 13:29:58 UTC --- What is the problem (NEEDINFO)? If required, I could test the new cupsd-profile. However this will mean some work as I will have to use a generic printer driver instead of the Brother drivers which need some extra permissions. Also, I don`t see why we should not release an update for 11.2 as it is just a profile that has changed and nonethelesswithstanding that it has been cerated under and for 11.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c16 --- Comment #16 from Marcus Meissner <meissner@novell.com> 2010-12-03 14:22:22 UTC --- the NEEDINFO is for the maintenance team to get the update approved. Update general looks sensible. +1 why not 11.2? we can fix bugs for all living distros ,) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c17 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|maintenance@opensuse.org | --- Comment #17 from Christian Dengler <cdengler@novell.com> 2010-12-03 15:29:06 UTC --- I also think we can fix it also for 11.2 ... update started. Be so kind and submit also a fixed package for 11.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c18 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:37580:low --- Comment #18 from Swamp Workflow Management <swamp@suse.com> 2010-12-03 15:29:21 UTC --- The SWAMPID for this issue is 37580. This issue was rated as low. Please submit fixed packages until 2010-12-31. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/37580 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c19 --- Comment #19 from Elmar Stellnberger <estellnb@gmail.com> 2010-12-14 18:13:39 UTC --- There are many other apparmor-profiles which would need a revision. Most of them do not work but simply make the app they should protect crash like f.i. the dhcp-client or others. Would you like to work with me to provide a basic set of shielded apps shipped with the distribution? I can test and prepare something that works as me. You could revise and generalize them to be affiliated by the distro. Not only well known authors like Michael Kofler who has written a recommended standard book for Linux say that the main fallacy of Apparmor is the lacking availability of ready to use profiles. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c20 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:37580:low |maint:running:37580:low | |maint:released:11.3:37840 --- Comment #20 from Swamp Workflow Management <swamp@suse.com> 2010-12-22 10:56:37 UTC --- Update released for: apparmor-parser, apparmor-parser-debuginfo, apparmor-parser-debugsource, apparmor-profiles Products: openSUSE 11.3 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c21 --- Comment #21 from Christian Dengler <cdengler@novell.com> 2010-12-22 11:06:32 UTC --- (In reply to comment #19)
There are many other apparmor-profiles which would need a revision. Most of them do not work but simply make the app they should protect crash like f.i. the dhcp-client or others. Would you like to work with me to provide a basic set of shielded apps shipped with the distribution? I can test and prepare something that works as me. You could revise and generalize them to be affiliated by the distro. Not only well known authors like Michael Kofler who has written a recommended standard book for Linux say that the main fallacy of Apparmor is the lacking availability of ready to use profiles.
Update from comment #19 is now released. Feel free to prepare new profiles. If we have some updated one, we can trigger a new update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c22 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #22 from Jeff Mahoney <jeffm@novell.com> 2011-01-27 16:06:52 UTC --- (In reply to comment #19)
There are many other apparmor-profiles which would need a revision. Most of them do not work but simply make the app they should protect crash like f.i. the dhcp-client or others. Would you like to work with me to provide a basic set of shielded apps shipped with the distribution? I can test and prepare something that works as me. You could revise and generalize them to be affiliated by the distro. Not only well known authors like Michael Kofler who has written a recommended standard book for Linux say that the main fallacy of Apparmor is the lacking availability of ready to use profiles.
Sure. If you can generate/update working profiles for the applications you're using, I'd happily accept changes into the apparmor package. As for this report, I'm going to close it as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=539401 https://bugzilla.novell.com/show_bug.cgi?id=539401#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:37580:low |maint:released:11.3:37840 |maint:released:11.3:37840 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=539401 http://bugzilla.novell.com/show_bug.cgi?id=539401#c23 --- Comment #23 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (539401) was mentioned in https://build.opensuse.org/request/show/54280 11.3:Test / apparmor-profiles -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com