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

Top Page

Reply to this message
Author: Andy Smith
Date:  
Subject: Re: [bitfolk] The perils of opening tcp/22 to the Internet
3d0a48622e725fefcbec13.squirrel@???>
    <20110601224603.GD4363@???>
In-Reply-To: <20110601224603.GD4363@???>
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 19:53:19 +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
    spamd0.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)
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 19:53:20 -0000


On 01/06/11 23:46, Andy Smith wrote:
> Hi Mathew,
>
> On Wed, Jun 01, 2011 at 11:36:19PM +0100, Mathew Newton wrote:
>> /dev/xvda on / type ext3 (rw,relatime)
> That's fine. It would say /dev/xvda1 if there were a problem.
>
> Cheers,
> Andy
>


I'm just embarking on the lenny to squeeze update and have the same
output to the mount command as Matthew.

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 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"

Which UUID do I use in fstab - just LABEL="root"
UUID=814d97eb-aee6-4af0-bc94-eb56188b65b5 in place of LABEL=root or the
UUID's for /dev/xvda1 and /dev/xvda2 in place of LABEL=root and
/var/lib/swapfile

Guidance appreciated.

Regards, Martin




From andy@??? Sun Aug 07 19:59:16 2011
Received: from andy by bitfolk.com with local (Exim 4.72)
    (envelope-from <andy@???>) id 1Qq9VE-0001QE-P4
    for users@???; Sun, 07 Aug 2011 19:59:16 +0000
Date: Sun, 7 Aug 2011 19:59:16 +0000
From: Andy Smith <andy@???>
To: users@???
Message-ID: <20110807195916.GD5935@???>
References: <d3c22445e1bb07782ca248fc46ee444f.squirrel@???>
    <20110601215755.GH4759@???>
    <1325e162995a482b4515eaa5978c11ab.squirrel@???>
    <20110601222858.GC4363@???>
    <cd0afa03743d0a48622e725fefcbec13.squirrel@???>
    <20110601224603.GD4363@???> <4E3EED07.40408@???>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4E3EED07.40408@???>
OpenPGP: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
X-URL: http://strugglers.net/wiki/User:Andy
User-Agent: Mutt/1.5.18 (2008-05-17)
X-Virus-Scanner: Scanned by ClamAV on bitfolk.com at Sun,
    07 Aug 2011 19:59:16 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: andy@???
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
    spamd1.lon.bitfolk.com
X-Spam-Level: 
X-Spam-ASN: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS shortcircuit=no
    autolearn=disabled version=3.3.1
X-Spam-Report: * -0.0 NO_RELAYS Informational: message was not relayed 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)
Subject: Re: [bitfolk] Lenny-to-Squeeze Upgrade Plan - 2nd opinions sought!
X-BeenThere: users@???
X-Mailman-Version: 2.1.11
Precedence: list
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 19:59:16 -0000


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 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"