[Bug 271198] New: /etc/init.d/java.binfmt_misc too chatty
https://bugzilla.novell.com/show_bug.cgi?id=271198 Summary: /etc/init.d/java.binfmt_misc too chatty Product: openSUSE 10.3 Version: Alpha 3plus Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de Just seen when updating factory rpms: 34:jpackage-utils ########################################### [ 44%] Starting java.binfmt_misc none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) done /etc/init.d/java.binfmt_misc should use 'grep -q' or just retest the presence of /proc/sys/fs/binfmt_misc/register. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271198 ------- Comment #1 from mmarek@novell.com 2007-05-04 02:22 MST ------- Also, the 'status', 'reload' and 'force-reload' options don't seem to work. While (force-)reload probably makes no sense here, status could check the presence of /proc/sys/fs/binfmt_misc/Java. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271198#c2 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-java@forge.provo.novell.com |dbornkessel@novell.com --- Comment #2 from Lars Müller <lmuelle@novell.com> 2007-11-24 06:45:42 MST --- In addition to Michal's suggestion please consider to activate this service with each initial install. That's possible if you check the first argument to the post install script. if test ${1:-0} -eq 1; then /sbin/chkconfig -a java.binfmt_misc service java.binfmt_misc restart >/dev/null fi Following this approach makes the current one superfuous. -- 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=271198 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lmuelle@novell.com Found By|Other |Development Component|Java |Java OS/Version|Other |openSUSE 11.0 Product|openSUSE 10.3 |openSUSE 11.0 Version|Alpha 3plus |unspecified -- 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=271198#c3 --- Comment #3 from Lars Müller <lmuelle@novell.com> 2007-11-24 06:50:50 MST --- The output of /sbin/chkconfig also needs redirection to /dev/null as the call to service. -- 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=271198 User dbornkessel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c4 daniel bornkessel <dbornkessel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dbornkessel@novell.com |bnc-team-java@forge.provo.novell.com --- Comment #4 from daniel bornkessel <dbornkessel@novell.com> 2007-12-10 05:57:08 MST --- @lars: please don't assign Java bugs away from the Java Team and to me. Re-assigning to Java Team -- 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=271198 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c5 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvyskocil@novell.com Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Michal Vyskocil <mvyskocil@novell.com> 2007-12-11 10:06:26 MST --- The updated jpackage-utils package is now in stable #1: the status command now checks the presence of a /proc/sys/fs/binfmt_misc/status, if its enabled and the status of Java, ExecutableJAR, JavaWebStart in /proc/sys/fs/binfmt_misc/ I've removed the probe option which not work too. #2: 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=271198 User lmuelle@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c6 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #6 from Lars Müller <lmuelle@novell.com> 2008-01-07 13:06:13 MST --- @Daniel: Sorry for the reassign. I have no longer a clue regarding the motivation. @Michal: Why are you redirecting stderr while stdout is displayed? With this you keep the initial issue. -- 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=271198 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c7 --- Comment #7 from Michal Marek <mmarek@novell.com> 2008-01-08 01:47:14 MST --- (In reply to comment #6 from Lars Mueller)
@Michal: Why are you redirecting stderr while stdout is displayed? With this you keep the initial issue.
I don't think it's a problem if an rpm %post script prints something to stdout/stderr. A lot of other packages do it at least ;-) What I didn't like was the "Starting java.binfmt_misc done" line interleaved with the grep output. -- 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=271198 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c8 --- Comment #8 from Michal Vyskocil <mvyskocil@novell.com> 2008-01-08 02:18:28 MST --- The output of a %post scriplet is currently look like this: $ rpm -i /tmp/buildsystem..../jpackage-utils-1.7.3-1.x86_64.rpm java.binfmt_misc 0:off 1:off 2:off 3:on 4:off 5:on 6:off Shutting down java.binfmt_misc done Starting java.binfmt_misc done $ Daniel, do you think, that this output is too chatty? The Packaging Conventions don't require to redirect of the stdout/stderr in scriplets. And from my point of view, a users would like to see a starting/stopping of a init script(s), or changes in chkconfig. However, the redirecting of the stderr only is not the best state, I agree :). -- 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=271198 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-java@forge.provo.novell.com |mvyskocil@novell.com Status|REOPENED |ASSIGNED -- 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=271198 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c9 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lmuelle@novell.com --- Comment #9 from Michal Vyskocil <mvyskocil@novell.com> 2008-01-08 06:19:23 MST --- Sorry, my last question was not related to Daniel, but to Lars Mueller. So Lars, do you think, that this output is too chatty? The Packaging Conventions don't require to redirect of the stdout/stderr in scriplets. And from my point of view, a users would like to see a starting/stopping of a init script(s), or changes in chkconfig. However, the redirecting of the stderr only is not the best state, I agree :). -- 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=271198 User lmuelle@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c10 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lmuelle@novell.com | --- Comment #10 from Lars Müller <lmuelle@novell.com> 2008-01-08 07:42:03 MST --- For Samba daemons we redirect stdout to /dev/null. Redirecting stderr is worng from my point of view. If I update a package I like to see if something fails. Imagine you upgrade a system by using rpm, smart, or yum. Instead of one line progress with your approach you get several per package with an init script. But you mis the errors. That's strange. -- 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=271198 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=271198#c11 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Michal Vyskocil <mvyskocil@novell.com> 2008-01-10 05:44:59 MST --- Lars, you're rigth. 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.
participants (1)
-
bugzilla_noreply@novell.com