[Bug 731406] New: autofs init script complains that it's not LSB compliant when it is.
https://bugzilla.novell.com/show_bug.cgi?id=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c0 Summary: autofs init script complains that it's not LSB compliant when it is. Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ben.kevan@bio-rad.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.8 (KHTML, like Gecko) Chrome/17.0.922.0 Safari/535.8 SUSE/17.0.922.0 When I did a sudo /sbin/chkconfig --add autofs, I got the following output: bkevan@hcsuse05006060:~/work> sudo /sbin/chkconfig --add autofs insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script jexec is broken: incomplete LSB comment. insserv: missing `Required-Stop:' entry: please add even if empty. Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. autofs 0:off 1:off 2:off 3:on 4:off 5:on 6:off But I see:
grep Required-Stop /etc/init.d/autofs # Required-Stop: $network $syslog $remote_fs
Reproducible: Always Steps to Reproduce: 1.chkconfig --add autofs 2. 3. Actual Results: Starts, but I get output saying that it's not fully LSB compliant, although it is. Expected Results: For it to go without complaining. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |mszeredi@novell.com |ovo.novell.com | -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c1 Miklos Szeredi <mszeredi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mszeredi@novell.com AssignedTo|mszeredi@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #1 from Miklos Szeredi <mszeredi@novell.com> 2011-11-21 13:22:51 UTC --- Apparently not an autofs issue, so reassigning to default. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c2 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ben.kevan@bio-rad.com --- Comment #2 from Andreas Jaeger <aj@suse.com> 2011-11-22 20:10:48 UTC --- It's complaining about jexec. From where does this init script come from? -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c3 --- Comment #3 from Ben Kevan <ben.kevan@bio-rad.com> 2011-11-22 20:28:35 UTC --- Andreas, Actually I made a mistake. I should have looked at it more closely. The issue revolves around the non LSB compliant /etc/init.d/jexec which is provided by: rpm -qf /etc/init.d/jexec jdk-1.7.0_01-fcs.i586 Quick change like the following: --- jexec 2011-10-03 01:51:42.000000000 -0700 +++ jexec.new 2011-11-22 12:27:08.600660742 -0800 @@ -15,10 +15,12 @@ ### BEGIN INIT INFO # Provides: binfmt_misc # Required-Start: $local_fs +# Should-Start: +# Required-Stop: $local_fs +# Should-Stop: # Default-Start: 1 2 3 4 5 # Default-Start: 0 6 -# chkconfig: 12345 95 05 -# Description: Supports the direct execution of binary formats. +# Short-Description: Supports the direct execution of binary formats. ### END INIT INFO # Should get rid of the error and make jexec compliant. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c4 Ben Kevan <ben.kevan@bio-rad.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ben.kevan@bio-rad.com | --- Comment #4 from Ben Kevan <ben.kevan@bio-rad.com> 2011-11-22 20:28:54 UTC --- Andreas, Actually I made a mistake. I should have looked at it more closely. The issue revolves around the non LSB compliant /etc/init.d/jexec which is provided by: rpm -qf /etc/init.d/jexec jdk-1.7.0_01-fcs.i586 Quick change like the following: --- jexec 2011-10-03 01:51:42.000000000 -0700 +++ jexec.new 2011-11-22 12:27:08.600660742 -0800 @@ -15,10 +15,12 @@ ### BEGIN INIT INFO # Provides: binfmt_misc # Required-Start: $local_fs +# Should-Start: +# Required-Stop: $local_fs +# Should-Stop: # Default-Start: 1 2 3 4 5 # Default-Start: 0 6 -# chkconfig: 12345 95 05 -# Description: Supports the direct execution of binary formats. +# Short-Description: Supports the direct execution of binary formats. ### END INIT INFO # Should get rid of the error and make jexec compliant. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c5 --- Comment #5 from Ben Kevan <ben.kevan@bio-rad.com> 2011-11-22 20:49:18 UTC --- If you really care, here's the list of all init scripts without "Required-Stop": after.local before.local boot boot.local depend.boot depend.halt depend.start depend.stop halt halt.local jexec powerfail rc single -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c6 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Andreas Jaeger <aj@suse.com> 2011-12-06 14:55:07 UTC --- Ben, thanks for the list - but those do not need the REquired-Stop, so everything is fine. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c7 Ben Kevan <ben.kevan@bio-rad.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #7 from Ben Kevan <ben.kevan@bio-rad.com> 2011-12-07 19:35:56 UTC --- AJ, yes, the init script works, but the complaint is that it's not LSB compliant because it's missing the Required-Stop:. According to LSB standards, you need Required-Stop, if there's nothing that requires to be stop, it should be left blank, but you should STILL have the following entry: Required-Stop: I've also included Should-Start/Should-Stop as a best practice, although I'm not 100% certain that those are defined as required by the LSB standard. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c8 --- Comment #8 from Ben Kevan <ben.kevan@bio-rad.com> 2011-12-07 20:55:26 UTC --- I should note that I realize that all the boot style scripts don't need Required-Stop, but jexec should include it. -- 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=731406 https://bugzilla.novell.com/show_bug.cgi?id=731406#c9 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |aj@suse.com Resolution| |INVALID --- Comment #9 from Andreas Jaeger <aj@suse.com> 2012-01-03 09:08:41 UTC --- The jexec file you use is not part of openSUSE, please report it to where you downloaded it from: jdk-1.7.0_01-fcs.i586 Check with rpm -qi jdk for an URL to report bugs to. -- 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.
participants (1)
-
bugzilla_noreply@novell.com