apt-get and /tmp

2002-09-30 Thread Robert James Kaes

Hello,
My /tmp directory is located on it's own partition and mounted as
rw,noexec,nosuid.  This is a problem for apt-get, which tries to run the
preconfigure scripts for a deb from /tmp/config.*.  Is there any way to
tell apt-get to place the configure scripts in a different location?
-- Robert

-- 
  --
Robert James Kaes---  Flarenet Inc.  ---(519) 426-3782
   http://www.flarenet.com/
  * Putting the Service Back in Internet Service Provider *
  --


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get and /tmp

2002-09-30 Thread Sean 'Shaleh' Perry

On Monday 30 September 2002 08:54, Robert James Kaes wrote:
 Hello,
 My /tmp directory is located on it's own partition and mounted as
 rw,noexec,nosuid.  This is a problem for apt-get, which tries to run the
 preconfigure scripts for a deb from /tmp/config.*.  Is there any way to
 tell apt-get to place the configure scripts in a different location?
   -- Robert

not that I am aware of.  The usual idiom is to simply remount the partition, 
run apt and then remount the partition again.  Same thing applies to people 
who like to have /usr mounted read only.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get and /tmp

2002-09-30 Thread Robert James Kaes

On Mon, 30 Sep 2002, Joey Hess wrote:
 Set APT::ExtractTemplates::TempDir in apt.conf
 
 Note that noexec filesystems provide little or no protextion against an
 attacker who knows how to execute non-executable binaries with
 ld.so.

Thanks for the information.  I didn't know about the ld.so trick.  I'll
just remove the noexec option from the /tmp directory.
-- Robert

-- 
  --
Robert James Kaes---  Flarenet Inc.  ---(519) 426-3782
   http://www.flarenet.com/
  * Putting the Service Back in Internet Service Provider *
  --



msg04455/pgp0.pgp
Description: PGP signature