Re: How to get away with small /var partition

2003-12-01 Thread Bob Proulx
Karsten M. Self wrote: > Your kernel, in general, isn't upgraded unless you specifically request > it, though stock kernels updated for security reasons may be > updated (or recommended). I'm still a little foggy on this, corrections > welcomed. The installer bootstraps the system with a bootstra

Re: How to get away with small /var partition

2003-11-30 Thread Miernik
On 2003-12-01, Karsten M. Self <[EMAIL PROTECTED]> wrote: >> Show me a good reason to separete /boot to a separate partition at=20 >> all. What's the extra security we get out of this?=20 > > The kernel file itself isn't available to be mucked with, until _after_ > the cracker gains shell, gains ro

Re: How to get away with small /var partition

2003-11-30 Thread Karsten M. Self
on Sun, Nov 30, 2003 at 06:14:26PM -0500, Paul Morgan ([EMAIL PROTECTED]) wrote: > Elementary System Administration and Security > - > > Lesson #1: Don't mount things not needed for the operation of the system > > Lesson #2: Mount things with the min

Re: How to get away with small /var partition

2003-11-30 Thread Karsten M. Self
on Sun, Nov 30, 2003 at 11:21:24PM +0100, Miernik ([EMAIL PROTECTED]) wrote: > On 2003-11-30, Karsten M. Self <[EMAIL PROTECTED]> wrote: > >> I recommend making it far larger than in the Debian security doc > >> though. On my servers I have /boot and /usr read-only, and I've been > > > > You can l

Re: How to get away with small /var partition

2003-11-30 Thread Paul Morgan
On Sun, 30 Nov 2003 23:21:24 +0100, Miernik wrote: > On 2003-11-30, Karsten M. Self <[EMAIL PROTECTED]> wrote: >>> I recommend making it far larger than in the Debian security doc >>> though. On my servers I have /boot and /usr read-only, and I've been >> >> You can leave /boot unmounted altogeth

Re: How to get away with small /var partition

2003-11-30 Thread Miernik
On 2003-11-30, Karsten M. Self <[EMAIL PROTECTED]> wrote: >> I recommend making it far larger than in the Debian security doc >> though. On my servers I have /boot and /usr read-only, and I've been > > You can leave /boot unmounted altogether. The only times it needs to be > accessed are: > > -

Re: How to get away with small /var partition

2003-11-30 Thread Karsten M. Self
on Sat, Nov 29, 2003 at 03:16:56PM -0500, Malcolm Ferguson ([EMAIL PROTECTED]) wrote: > Walter Dnes wrote: > > >On Fri, Nov 28, 2003 at 12:13:46AM -0800, Karsten M. Self wrote > > > >>Or you could just give yourself One Big Partition and deal with the > >>attendant problems. > > > > I'm trying to

Re: How to get away with small /var partition

2003-11-29 Thread Malcolm Ferguson
Walter Dnes wrote: On Fri, Nov 28, 2003 at 12:13:46AM -0800, Karsten M. Self wrote Or you could just give yourself One Big Partition and deal with the attendant problems. I'm trying to get as close as possible to One Big Partition, without the problems. The minimal needs seem to be... /

Re: How to get away with small /var partition

2003-11-29 Thread Malcolm Ferguson
Walter Dnes wrote: On Sat, Nov 29, 2003 at 02:17:08AM -0800, Karsten M. Self wrote You clearly haven't grasped the philosophy of Debian. The above paragraph betrays a gross misunderstanding on your part. You *don't* "wipe and reinstall" to do a Debian upgrade. You run: # apt-get update;

Re: How to get away with small /var partition

2003-11-29 Thread Paul Morgan
On Sat, 29 Nov 2003 09:54:55 -0500, Walter Dnes wrote: > On Sat, Nov 29, 2003 at 07:01:20AM -0500, Paul Morgan wrote > >> Incidentally, I don't know why you'd "blow away" your system just >> to do an upgrade. Obviously, if you do that, you're going to be >> reinstalling everything anyway. > >

Re: How to get away with small /var partition

2003-11-29 Thread Karsten M. Self
on Sat, Nov 29, 2003 at 10:07:47AM -0500, Walter Dnes ([EMAIL PROTECTED]) wrote: > On Sat, Nov 29, 2003 at 02:17:08AM -0800, Karsten M. Self wrote > > > You clearly haven't grasped the philosophy of Debian. The above > > paragraph betrays a gross misunderstanding on your part. > > > > You *don't

Re: How to get away with small /var partition

2003-11-29 Thread Walter Dnes
On Sat, Nov 29, 2003 at 02:17:08AM -0800, Karsten M. Self wrote > You clearly haven't grasped the philosophy of Debian. The above > paragraph betrays a gross misunderstanding on your part. > > You *don't* "wipe and reinstall" to do a Debian upgrade. You run: > > # apt-get update; apt-get -

Re: How to get away with small /var partition

2003-11-29 Thread Walter Dnes
On Sat, Nov 29, 2003 at 07:01:20AM -0500, Paul Morgan wrote > Incidentally, I don't know why you'd "blow away" your system just > to do an upgrade. Obviously, if you do that, you're going to be > reinstalling everything anyway. I use separate partitions for the OS and my data. That way, I can

Re: How to get away with small /var partition

2003-11-29 Thread Paul Morgan
On Fri, 28 Nov 2003 23:39:17 -0500, Walter Dnes wrote: > On Fri, Nov 28, 2003 at 03:48:57PM -0500, Paul Morgan wrote > >> I use LVM myself, as I'm often changing stuff and moving things around. >> >> I love LVM. No symlink workarounds, able to keep within the FHS >> and use disk space efficien

Re: How to get away with small /var partition

2003-11-29 Thread Karsten M. Self
on Fri, Nov 28, 2003 at 11:33:08PM -0500, Walter Dnes ([EMAIL PROTECTED]) wrote: > On Fri, Nov 28, 2003 at 12:13:46AM -0800, Karsten M. Self wrote > > > The one thing you *don't* say is how much space you've got on the disk. > > Sorry, approx 40 gigs. My "A" machine is 433mhz, 128 megs RAM, an

Re: How to get away with small /var partition

2003-11-28 Thread Tom
On Fri, Nov 28, 2003 at 11:33:08PM -0500, Walter Dnes wrote: > On Fri, Nov 28, 2003 at 12:13:46AM -0800, Karsten M. Self wrote > > Or you could just give yourself One Big Partition and deal with the > > attendant problems. > > I'm trying to get as close as possible to One Big Partition, without

Re: How to get away with small /var partition

2003-11-28 Thread Tom
On Sat, Nov 29, 2003 at 11:44:00AM +0900, Akira Kitada wrote: > > On Fri, Nov 28, 2003 at 04:40:17AM -0800, Karsten M. Self wrote: > > > > I use this scripts to move all my downloaded .debs into directories > > arranged by date they were obsoleted: > > > > > "x": > > > > dt=`date +"%y%m%d_%H%M

Re: How to get away with small /var partition

2003-11-28 Thread Walter Dnes
On Fri, Nov 28, 2003 at 03:48:57PM -0500, Paul Morgan wrote > I use LVM myself, as I'm often changing stuff and moving things around. > > I love LVM. No symlink workarounds, able to keep within the FHS > and use disk space efficiently. Questions about LVM... 1) Does it work with ReiserFS

Re: How to get away with small /var partition

2003-11-28 Thread Walter Dnes
On Fri, Nov 28, 2003 at 12:13:46AM -0800, Karsten M. Self wrote > The one thing you *don't* say is how much space you've got on the disk. Sorry, approx 40 gigs. My "A" machine is 433mhz, 128 megs RAM, and 17gigs disk. > I'd dump /misc and make it /home. For a workstation. Question... alon

Re: How to get away with small /var partition

2003-11-28 Thread Akira Kitada
> On Fri, Nov 28, 2003 at 04:40:17AM -0800, Karsten M. Self wrote: > > I use this scripts to move all my downloaded .debs into directories > arranged by date they were obsoleted: > > "x": > > dt=`date +"%y%m%d_%H%M%S"` > sub=dists/latest/binary-i386 > cd /mnt/apt I've heard that moving aroun

Re: How to get away with small /var partition

2003-11-28 Thread Paul Morgan
On Fri, 28 Nov 2003 00:13:46 -0800, Karsten M. Self wrote: > > You *can* get by with a smaller cache, most of the time, if you use the > "--no-download" option after you run out of space in /var, then flush > cache with "apt-get clean". You can also use a remote archive mounted > via NFS, or an

Re: How to get away with small /var partition

2003-11-28 Thread Tom
On Fri, Nov 28, 2003 at 04:40:17AM -0800, Karsten M. Self wrote: > Why not? 'apt-get autoclean' will remove just _older_ versions of > archives. Not sure if there's a way to explicitly keep, say, no more > than tree prior versions of a package, but I could see that being > useful... I use this s

Re: How to get away with small /var partition

2003-11-28 Thread Karsten M. Self
on Fri, Nov 28, 2003 at 03:56:44AM -0500, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > On Fri, Nov 28, 2003 at 02:43:10AM -0500, Walter Dnes wrote: > > > 2 => extended partition (the rest of the harddrive) > > 5 => swap (256 megs) > > 6 => /var (256 megs) > > 7 => /misc (the rest of the har

Re: How to get away with small /var partition

2003-11-28 Thread kmark+debian-user
On Fri, Nov 28, 2003 at 02:43:10AM -0500, Walter Dnes wrote: > 2 => extended partition (the rest of the harddrive) > 5 => swap (256 megs) > 6 => /var (256 megs) > 7 => /misc (the rest of the harddrive) > > After a virgin install, I log on as root and... > > mv /home /misc/home > ln -s /mi

Re: How to get away with small /var partition

2003-11-28 Thread Karsten M. Self
on Fri, Nov 28, 2003 at 02:43:10AM -0500, Walter Dnes ([EMAIL PROTECTED]) wrote: > I've been lurking for a couple of weeks here. I started switching > over to Debian in September because Redhat was dropping RH7.3 (their > best distro ever, and it was damn good) and replacing it with > bloatware an

Re: How to get away with small /var partition

2003-11-28 Thread H. S.
Walter Dnes wrote: I've been lurking for a couple of weeks here. I started switching over to Debian in September because Redhat was dropping RH7.3 (their best distro ever, and it was damn good) and replacing it with bloatware and coming up with "version-du-jour" on a pace to beat Microsoft. I w

How to get away with small /var partition

2003-11-28 Thread Walter Dnes
I've been lurking for a couple of weeks here. I started switching over to Debian in September because Redhat was dropping RH7.3 (their best distro ever, and it was damn good) and replacing it with bloatware and coming up with "version-du-jour" on a pace to beat Microsoft. I want to *USE* my com