Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 16:01:26 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Scott Bennett <bennett@cs.niu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /bin/csh script in GELI partition crashes 6.3-STABLE
Message-ID:  <20080212150126.GA96034@slackbox.xs4all.nl>
In-Reply-To: <200802121402.m1CE2noD017598@mp.cs.niu.edu>
References:  <200802121402.m1CE2noD017598@mp.cs.niu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 12, 2008 at 08:02:49AM -0600, Scott Bennett wrote:
>      I just set up a GELI partition for the first time a while ago (not
> counting the swap partition).  After initializing the GELI device file,
> filling it from /dev/random, running newfs, and copying over a couple of
> directory trees from another file system, I tried running a C-shell script
> in one of the bottom-level directories.  The script works fine in its
> original location, but after cd'ing to the new location and running it,
> the system immediately reboots.  Because this leaves most/all of the file
> systems marked dirty, fsck has to run on startup.  (I ran fsck by hand on
> the GELI partition.)
>      It does it every time, so it is certainly repeatable.  Is this a
> known problem?  Or is there some feature of GELI-encrypted file systems
> that is expected to have problems running scripts?=20

My /home is a GELI encrypted partition. I've never had problems running
scripts from it, although my scripts are usually sh, not csh.=20

What does the script do? Are you running it as root?

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--/9DWx/yDrRhgMJTb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHsbTGEnfvsMMhpyURAsnHAJ9aMn6xgHkeBa55gaXgTIHuKFJeBQCfSX3S
wYqj2wgdCeaN5Uhzz4WD+Z8=
=2R+Y
-----END PGP SIGNATURE-----

--/9DWx/yDrRhgMJTb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080212150126.GA96034>