[Pkg-aide-maintainers] Bug#361550: bashism in /etc/aide/aide.conf.d/10_aide_hostname

Michael Gurski debianbugs at gurski.org
Sat Apr 8 23:47:17 UTC 2006

Package: aide
Version: 0.11a-2
Severity: normal

When running aide after the upgrade to 0.11a-2, with /bin/sh linked to
/bin/dash, the following error is printed:

/etc/aide/aide.conf.d/10_aide_hostname: 3: Syntax error: "(" unexpected

Examining the file, there's a bash-optional "function " on line 3,
which dash doesn't recognize as valid for a function definition.  2
possible fixes:

1 - remove "function " from line 3

2 - change the #! line to explicitly use bash instead of /bin/sh

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages aide depends on:
ii  debconf [debconf 1.4.72                  Debian configuration management sy
ii  liblockfile1     1.06.1                  NFS-safe locking library, includes
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  ucf              2.007                   Update Configuration File: preserv

Versions of packages aide recommends:
ii  cron                          3.0pl1-94  management of regular background p

-- debconf information:
* aide/aideinit: false
  aideinit/overwritenew: true
* aide/mustaideinit:
  aideinit/copynew: true
  aide/newlibdir: false
* aide/setmailaddress:

More information about the Pkg-aide-maintainers mailing list