Your message dated Tue, 25 Aug 2009 12:33:38 +0200
with message-id <[email protected]>
and subject line Re: Bug#543399: tmpreaper: shell script uses brace {x,y} 
expansion, not a posix feature
has caused the Debian Bug report #543399,
regarding tmpreaper: shell script uses brace {x,y} expansion, not a posix 
feature
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 [email protected]
immediately.)


-- 
543399: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543399
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tmpreaper
Version: 1.6.10
Severity: normal

Hi,

Brace expansion is not a posix shell feature.  It does not belong in
shell scripts such as /etc/cron.daily/tmpreaper, here is an example of
this incorrect usage,

    $ grep -i -e 'unix,' /etc/cron.daily/tmpreaper
      --protect '/tmp/.X*-{lock,unix,unix/*}' \
      --protect '/tmp/.ICE-{unix,unix/*}' \
      --protect '/tmp/.iroha_{unix,unix/*}' \
      --protect '/tmp/.ki2-{unix,unix/*}' \

Thanks,

Jeffrey Sheinberg


-- System Information:
Debian Release: 5.0.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.26-2-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages tmpreaper depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries

tmpreaper recommends no packages.

tmpreaper suggests no packages.

-- debconf information:
  tmpreaper/readsecurity:
* tmpreaper/TMPREAPER_TIME:
* tmpreaper/confignowexists:
* tmpreaper/readsecurity_upgrading:



--- End Message ---
--- Begin Message ---
On Mon 24 Aug 2009, Jeffrey Sheinberg wrote:
> 
> Brace expansion is not a posix shell feature.  It does not belong in

It's not done in a shell context.

> shell scripts such as /etc/cron.daily/tmpreaper, here is an example of
> this incorrect usage,
> 
>     $ grep -i -e 'unix,' /etc/cron.daily/tmpreaper
>       --protect '/tmp/.X*-{lock,unix,unix/*}' \
>       --protect '/tmp/.ICE-{unix,unix/*}' \
>       --protect '/tmp/.iroha_{unix,unix/*}' \
>       --protect '/tmp/.ki2-{unix,unix/*}' \

There are single quotes around the parts with the braces.
That means the shell NEVER SEES those braces. tmpreaper takes care of
them.

This has (erroneously) been reported before. Please also check archived
bug reports as well before deciding to report a bug.


Paul Slootman


--- End Message ---

Reply via email to