On Fri, Oct 15, 2004 at 11:56:16PM +0200, Farzad FARID wrote:
> On my freshly installed Debian unstable, /etc/init.d/discover fails to
> create the symlinks in /dev and /media. I trace this down with "sh -x
> /etc/init.d/discover start" and found out that the script stopped on
> an error while grepping /proc/mounts, therefore never finishing its
> job.
Message-ID: <email address hidden>
Date: Fri, 15 Oct 2004 23:00:13 -0700
From: <email address hidden> (Joshua Kwan)
To: Farzad FARID <email address hidden>, <email address hidden>
Subject: Re: Bug#276722: discover1: "set -e" prevents cdrom mountpoint creation
--z6Eq5LdranGa6ru8 Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Fri, Oct 15, 2004 at 11:56:16PM +0200, Farzad FARID wrote: d/discover fails to d/discover start" and found out that the script stopped on
> On my freshly installed Debian unstable, /etc/init.
> create the symlinks in /dev and /media. I trace this down with "sh -x
> /etc/init.
> an error while grepping /proc/mounts, therefore never finishing its
> job.
Add set -e back, and does changing this line:
to either
mountsent= 3D$(grep " $CDMOUNT " /proc/mounts)
or
mountsent= 3D$(grep " $CDMOUNT " /proc/mounts || true)
work as well?
Thanks for testing.
--=20
Joshua Kwan
--z6Eq5LdranGa6ru8 pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE----- triplehelix. org/~joshk/ pubkey_ gpg.asc
ILr94RG8mAQKsCR AA7H7aOtv6ixcHN yEzmcOMlJau3y3P AJ36 BsiPhe6lqHewnYm OQ26tMXsguLQV64 kPuFx61qepU/ XLzHh1z UZ2WP8McuCt9igK E2audQeGKpULfOG 1WQhWzdo7NTOPbT 5ikYMYoR8 wRL7tn2Zj4og+ SEwRqdorl9b+ ND+fAQKINNS2aSz nl29fLIvnv +iMzDyv2Tp1dTPB mqMvYaWrHBcBmlJ SLu4h57TVSPAFDq pCwD hkQA8Izg1r0aols GtiTpgRw9F5Iu/ ifyKTSOGYbgcwdx 7Mh0gl 4Jc1ClynuehFhzv FSkNu7Zosd9BcoT rzhPQvKljmNWBhE CVAM5dDZK lgjjkaP/ hWDZHUJHari0EY7 SVbSXpwQQ+ DfEqyaYDulWF2P9 n wD15ZgD2NvwWQUB dHUC+TE1Pphvxuk zvXdUhRPEUjpgc0 H1W/ 8FreVDePgQcOuc9 KkTWrWG5XYJEjXG RJy4ZZIeflVXlme 3xqnW0D1Cc XxTD2+4zvKCkrVM Ykznr02RiHUkzwh 0UyVBLTQm9oDyxW 0Mle
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://
iQIVAwUBQXC47KO
KyBCp2IkzFvERKX
2ULlY3Ma2/
0qVb/hPwM5NhG+
kEar86S3QpqngW+
KFbhV2i81Pmzd+
VrkrNbMod+
QZd3DLjnX409Vs4
qLsLhabC9xmBWdY
c8RZAqma/
NCll3zKKBHB6rdb
gzky//zGoCk=
=4iRh
-----END PGP SIGNATURE-----
--z6Eq5LdranGa6 ru8--