Package: logcheck Severity: important Tags: patch /usr/sbin/logcheck depends on bash to work due to a single bashism in line 25: if [ $UID == 0 ]; then change it to: if [ `id -u` = 0 ]; then and substitute the shebang to /bin/sh please.
Gerfried Fuchs
2008-Dec-12 16:27 UTC
[Logcheck-devel] Bug#508546: Bug#508546: unecessary bashism
tags 508546 - patch tags 508546 + moreinfo severity 508546 wishlist Am Freitag, den 12.12.2008, 11:25 +0100 schrieb Yuri D'Elia:> Package: logcheck > Severity: important > Tags: patch > > /usr/sbin/logcheck depends on bash to work due to a single bashism > in line 25: > > if [ $UID == 0 ]; then > > change it to: > > if [ `id -u` = 0 ]; then > > and substitute the shebang to /bin/sh please.What would be the real gain of it? Because actually, I don't really see it. Especially, what's the deal with calling this severity important? If anything it is wishlist, not? Can you please explain what does upset you so much about this? It's not if bash would be any totally obscure and not available shell, it's the default shell in most linux distributions out there and I wouldn't know a single system that doesn't include it, and that includes cygwin for windows. Thanks, Rhonda -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20081212/390a06e8/attachment.pgp
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#508546: marked as done (unecessary bashism)
Your message dated Thu, 10 Dec 2009 19:19:22 +0000 with message-id <E1NIoXq-0000MU-Qn at ries.debian.org> and subject line Bug#508546: fixed in logcheck 1.3.4 has caused the Debian Bug report #508546, regarding unecessary bashism to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 508546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508546 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Yuri D'Elia <wavexx at users.sf.net> Subject: unecessary bashism Date: Fri, 12 Dec 2008 11:25:21 +0100 Size: 1966 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/a3a633a3/attachment-0002.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#508546: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:22 +0000 Size: 8646 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/a3a633a3/attachment-0003.eml>