[From nobody Sat Mar 21 15:37:06 2026
Received: (at submit) by bugs.debian.org; 16 Mar 2009 14:48:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
 (2007-08-08) on rietz.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 151; neutral, 49; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 
 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--H*x:3.48
X-Spam-Status: No, score=-11.3 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 SPF_SOFTFAIL,XMAILER_REPORTBUG autolearn=ham
 version=3.2.3-bugs.debian.org_2005_01_02
Return-path: &lt;monnier@iro.umontreal.ca&gt;
Received: from ironport2-out.pppoe.ca ([206.248.154.182]
 helo=ironport2-out.teksavvy.com)
 by rietz.debian.org with esmtp (Exim 4.63)
 (envelope-from &lt;monnier@iro.umontreal.ca&gt;) id 1LjE7B-0000CH-Va
 for submit@bugs.debian.org; Mon, 16 Mar 2009 14:48:30 +0000
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkQFAIADvklFxIZP/2dsb2JhbACBToJlj0XCF4I7gUQGhEk
X-IronPort-AV: E=Sophos;i=&quot;4.38,373,1233550800&quot;; d=&quot;scan'208&quot;;a=&quot;35255402&quot;
Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home)
 ([69.196.134.79])
 by ironport2-out.teksavvy.com with ESMTP; 16 Mar 2009 10:48:23 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id 289B8806F; Mon, 16 Mar 2009 10:48:23 -0400 (EDT)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stefan Monnier &lt;monnier@iro.umontreal.ca&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libpam0g.postinst uses /bin/bash instead of /bin/sh
Message-ID: &lt;20090316144823.14070.17995.reportbug@localhost&gt;
X-Mailer: reportbug 3.48
Date: Mon, 16 Mar 2009 10:48:23 -0400
Delivered-To: submit@bugs.debian.org

Package: libpam0g
Version: 1.0.1-7
Severity: normal

The title says it all: the postinst script (for version 1.0.1-7) uses
#!/bin/bash&quot; without specifying a dependency on the `bash' package,
and apparently unnecessarily because replacing it with /bin/sh (which
in my case is dash) seemed to make it work just fine.  I think those
scripts should refrain from using bash(isms).


        Stefan


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpam0g depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libpam-runtime                1.0.1-7    Runtime support for the PAM librar

libpam0g recommends no packages.

Versions of packages libpam0g suggests:
pn  libpam-doc                    &lt;none&gt;     (no description available)

-- debconf information:
* libpam0g/restart-services: gdm cups cron
  libpam0g/xdm-needs-restart:
  libpam0g/restart-failed:


]