Re: [bitfolk] The perils of opening tcp/22 to the Internet

Top Page

Reply to this message
Author: Darren Davison
Date:  
Subject: Re: [bitfolk] The perils of opening tcp/22 to the Internet
>
> LABEL=root        /     ext3 defaults,relatime      0 1
> /var/lib/swapfile swap  swap defaults               0 0
> proc              /proc proc defaults,noexec,nosuid 0 0

>
> Output of blkid:
>
> /dev/xvda1: LABEL="/" UUID="09dd100a-4bfa-47c5-9c3e-559068bafb2c"
> TYPE="ext3"
> /dev/xvda2: UUID="195f7eaf-ec5e-4e3c-92d3-c0171200ff00" TYPE="swap"
> /dev/xvda: LABEL="root" UUID="814d97eb-aee6-4af0-bc94-eb56188b65b5"
> TYPE="ext3"


I'm a bit confused by the fact that blkid sees both xvda and xvda1,
and that it thinks there is swap on xvda2 and well as on a swap file.

What is the output of "cat /proc/mounts" please?

Cheers,
Andy


From martin@??? Sun Aug 07 20:15:06 2011
Received: from vs1.vconsult.co.uk ([212.13.195.236])
    by bitfolk.com with esmtp (Exim 4.72)
    (envelope-from <martin@???>) id 1Qq9kY-0001q6-Ez
    for users@???; Sun, 07 Aug 2011 20:15:06 +0000
Received: from localhost (localhost [127.0.0.1])
    by vs1.vconsult.co.uk (Postfix) with ESMTP id BFAA3E1B8;
    Sun,  7 Aug 2011 20:14:28 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at vs1.vconsult.co.uk
Received: from vs1.vconsult.co.uk ([127.0.0.1])
    by localhost (vs1.vconsult.co.uk [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id FvChAaw+GbFW; Sun,  7 Aug 2011 20:14:28 +0000 (UTC)
Received: from vconsultweb.halfpint.me.uk
    (cpc3-epso1-0-0-cust306.6-3.cable.virginmedia.com [86.0.209.51])
    by vs1.vconsult.co.uk (Postfix) with ESMTPSA id 56331E0B6;
    Sun,  7 Aug 2011 20:14:28 +0000 (UTC)
Message-ID: <4E3EF223.9070901@???>
Date: Sun, 07 Aug 2011 21:14:27 +0100
From: Martin Halford <martin@???>
Organization: Personal
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
    rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11
MIME-Version: 1.0
To: Andy Smith <andy@???>
References: <d3c22445e1bb07782ca248fc46ee444f.squirrel@???>    <20110601215755.GH4759@???>    <1325e162995a482b4515eaa5978c11ab.squirrel@???>    <20110601222858.GC4363@???>    <cd0afa03743d0a48622e725fefcbec13.squirrel@???>    <20110601224603.GD4363@???>
    <4E3EED07.40408@???> <20110807195916.GD5935@???>
In-Reply-To: <20110807195916.GD5935@???>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanner: Scanned by ClamAV on bitfolk.com at Sun,
    07 Aug 2011 20:15:06 +0000
X-SA-Exim-Connect-IP: 212.13.195.236
X-SA-Exim-Mail-From: martin@???
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
    spamd2.lon.bitfolk.com
X-Spam-Level: 
X-Spam-ASN: 
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT
    shortcircuit=ham autolearn=disabled version=3.3.1
X-Spam-Report: * -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule
    * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on bitfolk.com)
Cc: users@???
Subject: Re: [bitfolk] Lenny-to-Squeeze Upgrade Plan - 2nd opinions sought!
X-BeenThere: users@???
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: martin@???
List-Id: Users of BitFolk hosting <users.lists.bitfolk.com>
List-Unsubscribe: <https://lists.bitfolk.com/mailman/options/users>,
    <mailto:users-request@lists.bitfolk.com?subject=unsubscribe>
List-Archive: <http://lists.bitfolk.com/lurker/list/users.html>
List-Post: <mailto:users@lists.bitfolk.com>
List-Help: <mailto:users-request@lists.bitfolk.com?subject=help>
List-Subscribe: <https://lists.bitfolk.com/mailman/listinfo/users>,
    <mailto:users-request@lists.bitfolk.com?subject=subscribe>
X-List-Received-Date: Sun, 07 Aug 2011 20:15:07 -0000


On 07/08/11 20:59, Andy Smith wrote:
> Hi Martin,
>
> On Sun, Aug 07, 2011 at 08:52:39PM +0100, Martin Halford wrote:
>> My question is regarding replacing labels by UUID's. Output of cat
>> /etc/fstab:
>>
>> LABEL=root        /     ext3 defaults,relatime      0 1
>> /var/lib/swapfile swap  swap defaults               0 0
>> proc              /proc proc defa