initscripts: bootclean.sh warns because of the wrong placement of the find option -maxdepth

Chuck Vose vosechu at gmail.com
Thu Feb 3 18:58:29 UTC 2005


Steffen, I believe you'll get a much better response sending this to
the ubuntu-devel list. The users list is mainly a 'getting newbies
acquanted' list. If I recall it's at ubuntu-devel at lists.ubuntu.com.

-Chuck

On Wed, 26 Jan 2005 12:07:35 +0100, Steffen Röcker
<steffenroecker at gmx.de> wrote:
> 
> Package: initscripts
> Version: 2.86.ds1-1
> Severity: normal
> Tags: patch
> 
> bootclean.sh warns because of the wrong placement of the find option
> -maxdepth, that might confuse users because it does so on the boot screen.
> 
> a trivial patch is attached.
> 
> -- System Information:
> Debian Release: 3.1
> Architecture: i386 (i686)
> Kernel: Linux 2.6.10
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> 
> Versions of packages initscripts depends on:
> ii  coreutils            5.2.1-2             The GNU core utilities
> ii  dpkg                 1.13.0              Package maintenance system
> for Deb
> ii  e2fsprogs            1.36rc3-2           ext2 file system utilities
> and lib
> ii  libc6                2.3.2.ds1-20ubuntu3 GNU C Library: Shared
> libraries an
> ii  mount                2.12p-2ubuntu1      Tools for mounting and
> manipulatin
> ii  util-linux           2.12p-2ubuntu1      Miscellaneous system utilities
> 
> -- no debconf information
> 
> 
> --- bootclean.sh        2005-01-26 11:58:59.700827216 +0100
> +++ bootclean.sh-fixed  2005-01-26 11:58:40.084809304 +0100
> @@ -53,7 +53,7 @@
>                 ! ( -path ./.clean -uid 0 )
>                 ! ( -path './...security*' -uid 0 )'
> 
> -       ( if cd /tmp && [ "`find . -perm -002 -maxdepth 0`" = "." ]
> +       ( if cd /tmp && [ "`find . -maxdepth 0 -perm -002`" = "." ]
>           then
>                 # First remove all old files.
>                 find . -xdev $TEXPR $EXCEPT \
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 
>




More information about the ubuntu-users mailing list