Re: [Hampshire] Ubuntu 12.04 release party

2012-04-04 Thread Adrian Bridgett

Sounds fun.

According to google maps it's going to take 3mins to walk there from my 
new abode* :-)


(A relocated) Adrian

* Time taken to get home again is left as an exercise for the reader, 
however I hear that Brownian motion makes a good case study.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] LUG equipment

2011-11-18 Thread Adrian Bridgett
I need a willing (or not so willing, I'm not picky) volunteer to look
after a box of LUG equipment - mainly printer, firewall, cables.  It's
just the one box (it's compresssed over the years as things have
become obsolete).

I'm finally moving out of Hampshire to the big smoke as an opportunity
to enter the world of web scale and big data has arisen.  Sadly
it's also the world of small expensive places to rent so I won't be
able to look after it any more I'm afraid.

*Freecycle/Freegle is _great_ for disposing of things without
resorting to a skip.

Adrian

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] FOSDEM?

2010-12-11 Thread Adrian Bridgett
On Wed, Dec  8, 2010 at 00:30:06 + (+), Andy Smith wrote:
 Hello,
 
 Anyone planning to go to FOSDEM in February 2011?

Definitely looking at it yes, missed last year.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] Saturday Meeting

2010-11-30 Thread Adrian Bridgett
Great news, and a big thanks to Ashwin!

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] LVM Unmounting

2010-10-10 Thread Adrian Bridgett
On Mon, Oct  4, 2010 at 18:10:51 +0100 (+0100), Hugo Mills wrote:
 On Mon, Oct 04, 2010 at 06:01:36PM +0100, Samuel Penn wrote:
  
  Hi all,
  
  Quick LVM question - is it necessary to unmount an ext3 partition
  before growing it?
 
No. resize2fs will do online resizing for you.

FYI on redhat you need resize4fs if it's an ext4 volume, resize2fs for
ext2 or ext3.  Dunno why they needed a new binary - Debian works using
resize2fs for both.

lvresize -L +1G /dev/rootvg/varlv
resize2fs /dev/rootvg/varlv

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] HantsLUG equipment

2010-10-01 Thread Adrian Bridgett
Thanks Ashwin,  I'll be bringing the kit anyway, probably worth a
quick look. 

Thinking about it a bit more, IIRC the floor port has (finally) been
disabled so we are probably looking at trying to figure out a way to
plug the firewall into the wireless network instead of the wired one
for the kit in soton to be much use.

Thanks and see you tomorrow,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] HantsLUG equipment

2010-09-29 Thread Adrian Bridgett
Is someone able to help look after the LUG equipment as I'm finding it
hard to make the meetings sometimes and I'm looking at moving up the
M3 even further in a while.

We've looked at splitting the equipment in two before:
- network bits + printer
- more network bits (backup in case the first person can't make it)

The main stuff fits into one plastic box - if someone could be
caretaker of that it would be a huge help.  It's really just
Southampton meetings where it's required.

Rather short notice I'm afraid - this Saturday is a case in point - I
can only stay until early afternoon.  Ashwin - I don't suppose there
is a bit of room at the university where we could stash some of these
bits?

Many thanks,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] What would you do, faced with the following advice re Ubuntu

2010-09-27 Thread Adrian Bridgett
On Sat, Sep 25, 2010 at 17:42:57 +0100 (+0100), Lisi wrote:
[snip]
 Incidentally, so far, the course is a little disappointing.  The first week's 
 work is actually wrong in some of its facts.  E.g., Ubuntu shadows Debian 
 Stable's six monthly release, and is released about a month after it.  I kid 
 you not.  They really said that. :-(   And one page is clearly quoting some 
 of Microsoft's more inaccurate FUD. :-(  

I suspect someone got their facts a little wrong here - Ubuntu shadows
Debian unstable or testing not stable.  But they do resync from it
every six months.  More details here:

https://wiki.ubuntu.com/LTS

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Website down

2010-09-24 Thread Adrian Bridgett
On Wed, Sep 22, 2010 at 09:47:35 +0100 (+0100), Tony Whitmore wrote:
 Hi all,
 
 Sorry for the general mail, not sure who the hostmaster is these days. The
 website seems to have been down since yesterday and isn't responding to
 SSH either.

That'll be me (once again).  It had OOMed (out of memory),  I've
restarted it, I'll add it to my monitoring list and dig a bit deeper
later.

Thanks,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] HP servers and Debian

2010-08-17 Thread Adrian Bridgett
On Mon, Aug 16, 2010 at 12:17:10 +0100 (+0100), Hugo Mills wrote:
[snip]
If that's the case, then you're *far* better off ditching the
 Onboard RAID and using Linux's software RAID implementation, which
 is rather better tested.

Yes, I can second that from personal experience.  Namely when it
breaks badly and you end up doing really _evil_ things to get it
working again (not least since at the time Linux couldn't rebuild a
broken BIOS raid array).  Background reading for the interested:

http://www.smop.co.uk/blog/index.php/2007/04/01/fakeraid-avoid/

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Open source network backup with de-dupe.

2010-07-17 Thread Adrian Bridgett
On Thu, Jul 15, 2010 at 09:15:23 +0100 (+0100), James Courtier-Dutton wrote:
  I've come to the conclusion that there aren't any decent open source
  backup products.  Yes, I do actually have it on my todo list to write
[snip]
 So, in summary, it is not good enough to replace the system currently
 at my customer's that cost over £10 !

There's a good reason they can charge 100K :-)

VSS and other snapshotting technologies (particularly those built into
decent storage arrays) are the way forward if you can afford it.

Being able to take snapshots every few minutes and sync them to a
remote datacentre really is rather nice :D  See also continuous data
protection.

TBH my personal attitude is that snapshots are great for box restores,
file level are good for digging out a single file.  Good sysadmin
practice should almost remove the need to ever use backups in
enterprise environemnts.  Testing on pre-production environments then
rolling out onto production boxes (or flip-flopping environments where
you clone A to B, upgrade B, then flip the service over to B) works a
treat.

Backups then become emergency only oh crap, we've been hacked and/or
database is corrupted and it's an issue of how much loss of data
you can afford time wise.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Open source network backup with de-dupe.

2010-07-17 Thread Adrian Bridgett
On Thu, Jul 15, 2010 at 21:11:25 +0100 (+0100), Keith Edmunds wrote:
 However, Chris is right: you cannot *know* that two files are the same
 unless you compare them, byte by byte. If hashes are good enough for you,
 just backup the hashes and save lots of time and diskspace!

My understanding on this point is that in fact a hash _is_ good enough
- or rather the odds of a hash not being good enough are sufficiently
low (cf corruption on hard disks etc) that it's irrevevant.  For
instance see:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122945

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-17 Thread Adrian Bridgett
tac will do this BTW.  (tac = cat spelt backwards.  I don't think any
Unix wizards will ever win a comedy award, except perhaps Randall
Munroe (of xkcd.com fame)).

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] ubuntu updates

2010-07-17 Thread Adrian Bridgett
On Fri, Jul 16, 2010 at 14:25:02 +0100 (+0100), James Courtier-Dutton wrote:
 I find apt-cacher-ng easier to configure.

It also has the advantage that it works with debian and ubuntu
machines simultaneously which IIRC apt-cacher didn't. 

Recommended.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Open source network backup with de-dupe.

2010-07-14 Thread Adrian Bridgett
On Wed, Jul 14, 2010 at 19:45:00 +0100 (+0100), Keith Edmunds wrote:
 On Wed, 14 Jul 2010 12:25:10 +0100, james.dut...@gmail.com said:
 
  Does anyone know of any open source backup programs that do de-dupe
  for the express purposes of reducing traffic over the WAN.
 
 BackupPC. Recommended.

Snap :-)

+ dedupes between backups and across boxes
+ nice gui
- file layout is sadly not rsyncable from the raw FS

I've come to the conclusion that there aren't any decent open source
backup products.  Yes, I do actually have it on my todo list to write
one :-)

PS: hantslug.org.uk is backed up using backuppc

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] Fwd: [lugmaster] Fwd: [ubuntu-uk] Ubuntu in Business - London, July 13th [a...@popey.com]

2010-06-09 Thread Adrian Bridgett
Maybe of interest to some people

- Forwarded message from Alan Pope a...@popey.com -

Subject: [lugmaster] Fwd: [ubuntu-uk] Ubuntu in Business - London, July 13th
From: Alan Pope a...@popey.com
Date: Wed, 9 Jun 2010 10:25:51 +0100
To: LUGMaster lugmas...@mailman.lug.org.uk

Hi All,

I realise the event below is in London and many (most) of you are far
from it, and many of you are anti-Ubuntu and pro-$distro, but if you
wouldn't mind passing this on to your LUGs I'd really appreciate it.
It's all described in the mail below, and the event sign up page:-

http://bit.ly/UbuntuBusiness

Thanks,
Al.


-- Forwarded message --
From: Alan Bell alan.b...@theopenlearningcentre.com
Date: 9 June 2010 10:10
Subject: [ubuntu-uk] Ubuntu in Business - London, July 13th
To: British Ubuntu Talk ubuntu...@lists.ubuntu.com


Hi all,

One of the LoCo events that we have been talking about and planning for
a while is a event with a more businesslike feel to it, something where
I should be getting up in the morning and not wondering should I wear a
Tshirt from ThinkGeek or one from shop.ubuntu.com?, but should I wear
a tie?. We have a great venue provided by James selinuxium Thomas,
Canonical have kindly offered to meet the cost of some nibbles and we
have a really strong lineup of speakers and demos. Registration opens
today at http://bit.ly/UbuntuBusiness and as this is about introducing
Ubuntu to new people please bring someone from work along with you,
perhaps the boss, perhaps someone who works in IT and hasn't yet had an
opportunity to use Ubuntu. Finally, please spread the word about this.

Alan.

The Ubuntu UK community and Canonical, the commercial sponsors of
Ubuntu, would like to invite you to a very different type of IT event.
The Ubuntu operating system for the desktop and server has made
significant inroads into UK businesses over the last 5 years. Often it
is driven there by the enthusiasm of individuals from the community who
use Ubuntu for their personal computing and see the advantages it can
bring to the workplace. This event gives those advocates an opportunity
to introduce their colleagues to Ubuntu, Canonical, Partners, community
experts and their fellow IT professionals. Attendees will learn how
Ubuntu is being deployed in the UK and discover how they can introduce
or extend this technology safely and effectively within their organisation.

All are welcome, but if you already count yourself as an Ubuntu user,
please drag along a colleague who has yet to see the light!

*1pm - Welcome *

An introduction to Ubuntu and our community.

*1.20 - Ubuntu in action*

A selection of case studies of companies using Ubuntu to enhance their
business.
*/Oxford Archaeology/*

Chris Puttick, Chief Information Officer, will explain how one of the
largest independent archaeology and heritage practices in Europe, with
over 400 specialist staff, took the strategic decision to adopt an open
source infrastructure with Ubuntu at the heart of it.

*/Emphony Technologies/*

A start-up software company producing engineering project management and
workflow tools for decided to deploy Ubuntu as its infrastructure, find
out how they got on and their plans for the future.

*1.40 - Open Mic*

Ubuntu partners and community members (perhaps including you!) tell us
how they use Ubuntu in a business context. There will be 5 minute slots
with strict timekeeping!

*2.15 - Demonstrations, food and networking*

Grab some nibbles and see a selection of demonstrations and hands on
workshops featuring:

   * Ubuntu Enterprise Cloud (Amazon EC2 compatible cloud computing
     wherever you want it)
   * Landscape Systems Management for Ubuntu
   * Ubuntu Server Edition
   * Social Media for the workplace with Wordpress and Ubuntu
   * Quick, cheap, easy, low-risk and fun ways to get started with Ubuntu
   * Ingres, an enterprise class open source database
   * Alfresco document and content management

*4.00 - Ubuntu Advantage*

The new services from Canonical designed to give your business an edge
in its open source strategy.

*4.15 - Panel Discussion*

A panel with members drawn from Canonical, partners and the community
chaired by author and journalist Glyn Moody
http://en.wikipedia.org/wiki/Glyn_Moody and loosely following the
theme of The Benefits and Pitfalls of an Open Source Strategy.

*5.00 - Late*

Attendees are encouraged to stay on, sample an Ubuntini
https://wiki.ubuntu.com/ubuntini?action=AttachFiledo=gettarget=ubuntini_card_final.jpg
at the bar, have a chat and enjoy the comedy night
http://www.thebrickhouse.co.uk/london/events/comedytuesdays.asphosted
by the venue itself.



--
ubuntu...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

___
lugmaster mailing list
lugmas...@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/lugmaster

- End forwarded message -

Adrian
-- 
bitcube.co.uk - Expert 

Re: [Hampshire] Escape characters with man | grep

2010-05-10 Thread Adrian Bridgett
On Mon, May 10, 2010 at 10:35:20 +0100 (+0100), Owain Clarke wrote:
 I'm sure this is an easy one for you:-
 
 If I want to read a line from a man page with a character which needs 
 escaping, how do I do it? For example, to read the -r option of rsync:-
 man rsync | grep -r
 produces no output, presumably because the - needs escaping.

It doesn't need escaping per-se (it's not a protected character - e.g.
grep '-r' won't work either.  It's being interpreted as please work
recursively.

As kish/krisk/Esse (sorry, couldn't figure out which was your name!!)
suggests, using a backslash works as it then passes \-r into grep.

However the easiest trick is that most programs will interpret -- as
end of all options.  So you can use grep -- -r.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] ClamAV not running?

2010-05-08 Thread Adrian Bridgett
FWIW I had issues yesterday (even though I'm using volatile - although
I was a version down).  I upgraded clam and then it failed to start,
kicked the clamav extra updates crontab I have (which pulls in extra
lists for email de-spamming) and then it was happy.  I think the
crontab had not been running due to lack of a newline in it (now
fixed).

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] 32- or 64-bit distro?

2010-05-05 Thread Adrian Bridgett
I run 64-bit and have no problems.  However, what are you going to
gain?  Unless you run a large database or something just stick with
32-bit (which is a darn sight more memory efficient too - all my VMs
are 32-bit and they run in much less RAM than the 64-bit ones).

FWIW I ran 64-bit because I wanted to _hit_ issues before they hit a
server :-)

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] What do *you* put in /etc/hostname on Debian?

2010-04-15 Thread Adrian Bridgett
On Thu, Apr 15, 2010 at 05:07:15 + (+), Andy Smith wrote:
 For those of you adminstering Debian or Ubuntu, given a FQDN of
 foo.example.com, what would *you* put in the /etc/hostname,
 /etc/hosts and /etc/mailname files?

/etc/hosts
127.0.0.1   localhost
127.0.1.1   foo.example.com foo

/etc/mailname:
foo.example.com

/etc/hostname:
foo

I've seen some apps make bad assumptions (e.g. they bind to the IP in
question).  My personal solution (given that shooting the developers
maybe out of the question) is to use service names (which is always a
good idea).

NB: hostname has _nothing_ to do with IP or DNS.  It's a (hopefully
unique) hostname, that's it.

 If it came to the desired FQDN being example.com though, then it
 would be more like:

I think that's a bad idea and asking for trouble later. I'd always
have a proper name - foo.example.com.  If you want it to act as a
web/email server for example.com, great - do that in the
web/email config.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki

2010-04-12 Thread Adrian Bridgett
On Sun, Apr 11, 2010 at 21:03:22 +0100 (+0100), Daniel Pope wrote:
 Hi all,
 
 Since the meagre feedback that there was to the wiki migration was universally
 positive, I have pushed ahead and switched the site to MoinMoin.

Cool, many many thanks for this.  A small step for Dan, a giant leap
for Wiki kind :-)  Houston we no longer have a problem.

This removes the most non-standard thing we run for a far nice wiki.
I know that the horrible HTML code generated by abusemod wiki (which
we used to use) annoyed a few people too.

(Blame the Apollo 13 book I'm currently reading).

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wierd group issue

2010-03-18 Thread Adrian Bridgett
On Wed, Mar 17, 2010 at 01:43:33 + (+), Michael-John Turner wrote:
 How are you calling lurker?

/etc/aliases contains:
lurker-hants: |/usr/bin/lurker-index -l hampshire -m

(well it contains a wrapper ATM so that I can debug it :-))

 I've not used Exim in nigh on ten years, but a cursory glance at the filter
 documentation suggests that by default it doesn't honour secondary group
 membership when executing filters:
 http://www.exim.org/exim-html-current/doc/html/filter.html (search for
 secondary). Could this be the problem?

Ooh, nice spot.  That eventually resulted in:
http://www.exim.org/lurker/message/20070519.160339.5e5227a2.ja.html

So it looks like if exim is run as root, then initgroups() is run
which sets up secondary groups, otherwise it's not and they aren't.  

Many thanks :-)  I've learnt a new syscall today,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT] Smartphones with keyboards

2010-03-16 Thread Adrian Bridgett
One that hasn't been mentioned is the Motorola Droid (or Milestone
in Europe).

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] hants.lug.org.uk upgrade

2010-03-16 Thread Adrian Bridgett
Just a heads up, I'm feeling brave^W foolhardy^W bored.

So I may well be upgrading the hantslug box this evening (etch to
lenny).

I wonder what will break  I'll prepare some kit-kats just in case.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] wierd group issue

2010-03-16 Thread Adrian Bridgett
I've just been banging my head against lurker (mailing list program we
use on hantslug) as it had stopped working.

I've diagnosed what's wrong, but have very little clue as to _why_.

The box runs exim as a mailserver and that runs as the Debian-exim user:

$ id Debian-exim
uid=102(Debian-exim) gid=102(Debian-exim) 
  groups=102(Debian-exim),105(lurker),106(greylist)

After the upgrade and reboot (no nscd installed BTW), we had this
lurker issue so I shoved this little naff wrapper around the process:

  ps -ef   /tmp/apb.$$
  /usr/bin/id  /tmp/apb.$$
  strace -f -o /tmp/strace.$$ /usr/bin/lurker-index $@

This shows:
 * exim and this process running as Debian-exim
 * id reports uid=102(Debian-exim) gid=102(Debian-exim)
 ** what on earth happened to the other groups!
 * strace shows permission denied (see above)
 
How on earth is it dropping those other groups?  The only thing I can
think of is that exim's use of setgid/setpgid is doing it.  I'll
certainly admit that reading those manpages can get your head in a
twist so I wondered if anyone can shine a light on it?

I've just dug out my copy of Stevens and it says (bottom of P241):
The supplementary group IDs are not affected by setgid, setregid or
setegid.

$ grep et exim.strace |grep id |grep -v pid
11552 geteuid32()   = 102
11552 geteuid32()   = 0
11552 getuid32()= 102
11552 getgid32()= 102
11552 getegid32()   = 102
11552 geteuid32()   = 0
11552 geteuid32()   = 0
11552 getegid32()   = 102
11552 setgid32(102) = 0
11552 setuid32(0)   = 0
11552 setgid32(102) = 0
11553 geteuid32()   = 0
11553 getegid32()   = 102
11553 setgid32(102) = 0
11553 setuid32(102) = 0
11554 setpgid(0, 0) = 0
11554 getuid32()= 102
11554 getgid32()= 102
11554 geteuid32()   = 102
11554 getegid32()   = 102
11555 geteuid32()   = 102
11557 geteuid32()   = 102
11557 getuid32()= 102
11557 getegid32()   = 102
11557 getgid32()= 102
11558 geteuid32()   = 102
11558 getuid32()= 102
11558 getegid32()   = 102
11558 getgid32()= 102
11559 geteuid32()   = 102
11559 getuid32()= 102
11559 getegid32()   = 102
11559 getgid32()= 102
11561 geteuid32()   = 102
11561 getuid32()= 102
11561 getegid32()   = 102
11561 getgid32()= 102
11562 geteuid32()   = 102
11562 getuid32()= 102
11562 getegid32()   = 102
11562 getgid32()= 102
11563 getuid32()= 102
11563 getgid32()= 102
11563 geteuid32()   = 102
11563 getuid32()= 102
11563 geteuid32()   = 102
11563 getuid32()= 102
11552 geteuid32()   = 0
11552 getegid32()   = 102
11552 setgid32(102) = 0
11552 setuid32(102) = 0

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wierd group issue

2010-03-16 Thread Adrian Bridgett
a weird one too.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Playing music in my living room

2010-03-12 Thread Adrian Bridgett
On Thu, Mar 11, 2010 at 16:15:42 + (+), Chris Smith wrote:
 I use a Roku/Pinnacle SoundBridge (which I bought after watching someone
 demonstrate it at a HantsLUG talk).  It doesn't have a hard-disk, but
 does most of what you want.

That'll be me :-) I'm still happy with mine and use it all the time,
it doesn't support ogg (other than by transcoding) and it now quite
old in the tooth but it was a bargain at the time (£40 according to my
blog) looks like £50 is normal now - I think for that money you should
be able to find something better.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Off-site backup with Amazon S3

2010-03-12 Thread Adrian Bridgett
On Fri, Mar 12, 2010 at 16:16:31 + (+), Philip Stubbs wrote:
 Has anybody else tried this? what has been the results? Are there any
 simple and competitive alternatives?

Nope, but depending upon your requirements, there was a FUSE plugin
which turned gmail storage quota into filesystem

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] web script suggestions

2010-02-26 Thread Adrian Bridgett
NB: I'm not after starting a my language is better than yours
flamewar!

I need to write a small web script (basically a simple front end to
populating an LDAP database).  

Normally I'd do this in Perl (and CGI library) because of PHP's pretty
horrific security record, however I think it's time I took a fresh
look to see what to use for the next N years.

I'd like to write it in Ruby if possible, or Python as a second choice
(sorry Adam).  I don't really want a huge massive framework with all
the hassle that involves - really I'm after a use ... library.

For example looking at Ruby, there is a CGI library which allows you
to perform the usual set/get forms helpers I want.  There is also
eruby to assist with the templates, however integrating the two seems
a bit yucky.  Using ERB seems perhaps slightly easier.  Rails is just
way too much framework for me.

I probably want to end up with something similar to:

- script which has the controller logic in it and displays one of two
templates
- template with the form in it
- template with the result in it

Thanks for any advice/suggestions.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] SPF Best Practice

2010-02-04 Thread Adrian Bridgett
Nice post from Martin, so in summary:

- publishing your SPF records will help others to drop spam claiming
  to be from you
- and _may_ avoid some backscatter (OTOH the servers backscattering
  are unlikely to use SPF...)
- looking up SPF records will help you to avoid some spam
- but _never_ assume an SPF validated email is not-spam

There is also DomainKeys/DKIM you may wish to look at which seems to
have its own set of issues.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] Any Debian developers at Febs meeting?

2010-02-02 Thread Adrian Bridgett
If there are any Debian developers who wouldn't mind signing my GPG
key I'd really appreciate it.  It's a tad frustrating not being able
to contribute (long story).

Cheers,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Any Debian developers at Febs meeting?

2010-02-02 Thread Adrian Bridgett
On Tue, Feb  2, 2010 at 10:02:20 + (+), Simon Huggins wrote:
 Hi,
 
 On Tue, Feb 02, 2010 at 09:40:17AM +, Adrian Bridgett wrote:
  If there are any Debian developers who wouldn't mind signing my GPG
  key I'd really appreciate it.  It's a tad frustrating not being able
  to contribute (long story).
 
 Sure, where are you based?  I live in Reading.

Basingstoke but I nip up to Reading from time to time anyhow.  If you
happen to be going to the meeting at Hursley it would make sense to do
it there, but otherwise I'm more than happy to pop up when it's
convenient.

Cheers,

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] blank CD cases if anyone wants them

2010-02-02 Thread Adrian Bridgett
I've 600 spare blank CD cases if anyone would like some on Saturday
just shout.  Packs of 25 (or 100).  My old (old old) employer was
throwing them out as the version of their software on it was outdated.

I might try Freeagle in a while thinking about it.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] Duplex unit for HP 3100,3200,3300,8200 printer

2010-02-02 Thread Adrian Bridgett
I forgot who kindly donated this to the LUG, however it should be for a 
HP 3100,3200,3300,8200 printer IIRC.  

part number is SG79C210NH

If you let me know before Saturday I'll bring it along.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] 06 February at IBM Hursley

2010-01-26 Thread Adrian Bridgett
I could be tempted to do a talk, I'll have to see if I manage to find
the time to write one :)

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] OT [tech] result of overloading memory slots?

2010-01-16 Thread Adrian Bridgett
On Sat, Jan 16, 2010 at 13:15:17 + (+), Simon Reap wrote:
 Lisi wrote:
  Put otherwise, could too much RAM fry the mobo, and could it not do so 
  until 
  the second boot up after installation?

Have a look on crucial.com.  There are various issues here - including
electrical - e.g. you can have a limit on the number (or location) of
dual-stacked DIMMs (where chips are piggy-backed).

At the end of the day all computers are electrical and running things
out of spec can fry things.  Good quality stuff obviously helps there.
Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] CAcert assurers at Saturdays meeting?

2010-01-13 Thread Adrian Bridgett
On Mon, Jan 11, 2010 at 14:37:05 + (+), Imran Chaudhry wrote:
 Will there be any CA cert assurers at Saturdays meeting?
 
 At the last meeting, Tony and Ciemon assured me (I think I gave
 details to Hugo who has yet to assure me). I need another 15 points
 before I can create 2-year certs. Eventually I'd like to become an
 assurer myself.

Yep, I'm one.  I have to say though, I've lost all faith in CAcert's
ability to execute.  Getting a cert from trustico is cheap, from
star-ssl (IIRC) they are free (and in browsers unlike self-signed
ones).  So a major reason for me (avoiding paying astronomical fees to
Verislime) has gone.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wiki updating (or not)

2010-01-06 Thread Adrian Bridgett
Sorted - it was matching a blacklisted word (dating FWIW).

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wiki updating (or not)

2010-01-06 Thread Adrian Bridgett
On Wed, Jan  6, 2010 at 09:37:29 + (+), Victor Churchill wrote:
 2010/1/6 Adrian Bridgett adr...@smop.co.uk:
  Sorted - it was matching a blacklisted word (dating FWIW).
 
 
 .. that would be as in Chapter 3: Monitoring and Updating...!
 Oh my.

Not terribly impressive is it!

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wiki updating (or not)

2010-01-05 Thread Adrian Bridgett
If you could tell use the time/date (and preferably IP) that you are
trying from then we can probably have a look in the logs.  I suspect
you maybe accidentally hitting a blacklisted word.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wiki updating (or not)

2010-01-05 Thread Adrian Bridgett
On Tue, Jan  5, 2010 at 21:11:13 + (+), Victor Churchill wrote:
[snip

Thanks, you don't _appear_ to be triggering anything that I can see so
I'm a bit confused.  I've added a bit more debug to the wiki.  If it
fails would you mind sending me the text you were trying to change it
to and I'll see if I can suss what's happening.

 [1] 
 http://www.hantslug.org.uk/cgi-bin/wiki.pl?action=historyid=BookReviews/LinuxSystemAdministrationRecipes

I saw the change to ? and almost added a ! earlier today for
amusement value :-)

 Thanks for offering to take a look. I wonder what the word or phrase I
 used was (it's not a glowing review but I didn't think I was being
 /that/ rude... ;-)

lol

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Apache web root permissions

2009-11-27 Thread Adrian Bridgett
On Fri, Nov 27, 2009 at 10:47:28 + (+), Stephen Nelson-Smith wrote:
 I have a site running drupal.  The apache user therefore needs to be
 able to write certain files (CSS files for example).

Hmm - I don't need much for my drupal install FWIW - just files.
Install of my (updated Drupal 6.14 packages for Ubuntu 8.04 from my site at
http://bitcube.co.uk/content/packages) hence www-data not apache.

$ find /usr/share/drupal6/ ! -user root
(nothing)

$ ls -l /usr/share/drupal6/sites/default/
total 16
-rw-r--r-- 1 root root   36 2009-03-26 10:24 baseurl.php
-rw-r- 1 root www-data  536 2009-09-21 21:20 dbconfig.php
lrwxrwxrwx 1 root root   22 2009-03-26 09:48 files -
/var/lib/drupal6/files
-rw-r--r-- 1 root root 6131 2009-03-26 09:19 settings.php

ls -l /var/lib/drupal6/
total 8
drwxr-xr-x 2 root root 4096 2009-03-01 18:06 backups
drwxr-x--- 6 www-data www-data 4096 2009-09-16 18:23 files


 I also have a directory under my web root which is a SAN mount, to
 which apache must be able to write.
 
 What is the most secure way to implement this?
 
 I am thinking:
 
 chown -R root:apache /var/www/html
 chmod -R 0750 /var/www/html
 chown apache:apache for where need to write

Seems sensible to me - files owned by root as far as possible so any
apache process can't change them, then apache where you need it. 

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Weird output from 'top'

2009-11-15 Thread Adrian Bridgett
On Thu, Nov 12, 2009 at 17:51:39 + (+), Chris. Aubrey-Smith wrote:
[snip]
 Yes, it is dual-core. I know about top 1 for per-core stats, but I thought
 I read somewhere that the '%CPU'  per-process column was an amalgamation of
 the two - can't find the reference now, of course!

It's not a standard across all the Unixes I believe so you may have
seen it on another (AIX/Solaris/HPUX are the main three I've worked
with - I'd pick AIX as the one most likely to as a total CPU %).

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [Job] IMAP Proxy LDAP integration.

2009-10-31 Thread Adrian Bridgett
On Tue, Oct 27, 2009 at 17:20:01 + (+), Simon Capstick wrote:
 Hi,
 
 A small job:
 
 Has anyone had experience of setting up a (secure) IMAP proxy along with 
 a public CA certificate?  LDAP integration, along with setting up 
 OpenLDAP to authenticate users would be a real bonus.

IMAP proxy?  What's the backend email storage?  I use IMAP (dovecot)
with Maildir storage personally.  The box itself is all LDAP'd up so
the local accounts are in reality LDAP ones.

Dovecot also supports directly querying LDAP (including TLS goodness).

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] Assistance required with kit for Nov meet

2009-10-25 Thread Adrian Bridgett
Ed Beckmann has kindly offered and since he's 10mins away that saves
you a trip.  

On Thu, Oct 15, 2009 at 21:22:05 +0100 (+0100), Ian Brazier wrote:
 Hi Adrian,
 
 I'll do it if no one closer volunteers.
 
 Ian 
 
 On Thu, 2009-10-15 at 21:12 +0100, Adrian Bridgett wrote:
  I normally look after the LUG kit (firewall, network gear etc),
  however I have a prior arrangement for that weekend involving a big
  flaming thing (no, not vi vs emacs).
  
  Would someone mind taking the kit down that weekend and bringing it
  back - I can drop it off anytime before then.  It's basically one
  large box.
  
  Thanks,
  
  Adrian
  -- 
  bitcube.co.uk - Linux infrastructure consultancy
  Puppet, Debian, Red Hat, Ubuntu, CentOS, ...
  
 
 
 

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Easy user management in LDAP

2009-10-25 Thread Adrian Bridgett
On Sun, Oct 25, 2009 at 11:23:14 +0100 (+0100), Samuel Penn wrote:
 What I really want to be able to do, is simply do the equivalent
 of useradd fred ... in OpenLDAP, without having to worry about
 LDAP schemas and the like. I don't mind configuring the server
 initially, but want the user management procedures themselves
 (add/list/delete/edit) to be nice and simple.

I normally use phpldapadmin (or ldapvi for more global things).  

TBH I think running LDAP at home is generally more hassle than it's
worth.  Okay, so I do run LDAP at home, but that's since I use it as a
test bed for doing LDAP work.

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Easy user management in LDAP

2009-10-25 Thread Adrian Bridgett
On Sun, Oct 25, 2009 at 16:24:50 + (+), Chris Dennis wrote:
 Is there anything else that will do a simple address book / contacts
 list that Thunderbird clients can share?

Google?  Seems to be best way to do things these days.  I've found
Thunderbird's support for LDAP (secured by TLS in particular) to have
been sorely lacking in the past.  Writing was also unsupported last I
checked.

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Intercepting shutdown

2009-10-17 Thread Adrian Bridgett
On Sat, Oct 17, 2009 at 11:56:43 +0100 (+0100), Leo wrote:
 Does anyone know if there's a way to intercept, or hook into, gnome's 
 shutdown procedure?
 Basically, my computer has a tv card and occasionally I forget it's 
 recording the tv and shutdown. So what I'd like is to get gnome to call 
 some script of mine to run some checks and tell me not to shutdown.
 Failing that is there a way I can do this with run-levels?

I don't know of a nice elegant way, I suspect you'll need to have a
program registed with the gnome-session somehow so that instead of it
saay do you want to save? it can cancel the shutdown. 

As long as the recording isn't within the next few mins you could set
the computer to wake up 5-15mins beforehand. I thought I'd tried this
(unsuccessfully) by poking /proc/acpi/... but can't see how ATM.
nvram-wakeup package might be handy.

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] [ADMIN] Assistance required with kit for Nov meet

2009-10-15 Thread Adrian Bridgett
I normally look after the LUG kit (firewall, network gear etc),
however I have a prior arrangement for that weekend involving a big
flaming thing (no, not vi vs emacs).

Would someone mind taking the kit down that weekend and bringing it
back - I can drop it off anytime before then.  It's basically one
large box.

Thanks,

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] Elections

2009-10-12 Thread Adrian Bridgett
On Sat, Oct 10, 2009 at 12:43:07 +0100 (+0100), Hugo Mills wrote:
 GOs:  Adrian Bridgett
[snip]
 I'm sure they will announce their willingness or otherwise to stand
 for re-election.

As long as I can still claim for that penguin house in the middle of
my moat I'm in.  If not I'll still stand :-)

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] computer bits giveaway

2009-10-08 Thread Adrian Bridgett
I'm having a bit of a clearout and will be freegle'ing these
otherwise.  If you want something, yell and I'll bring it to the meet
on Saturday.

DP17MO - 17 CRT Sun monitor (VGA)

Deskjet 500 (no PSU!)
Deskjet 600 (making a clunky noise ATM)
Brother HL2070N (dies if you print within 5mins of being switched on)
Duplex unix for HP 3100/3200/3300/8200 (Q5582A?)

ATX case + PSU (#1)
ATX case + PSU (#2)
IDEQ Biostar 200V, 1.4GHz Athlon IIRC, PSU was a bit noisy when
starting, then seemed to be a bit dodgy (causing crashes), not sure if
PSU is completely dead now!  Was a nice little server though. 52xCD-RW
ATX 400MHz K6 IIRC, not opened her up, DVD-ROM
Dell Optiplex G1 (400MHz PII, 192MB, CD-ROM)
Compaq ENSeries SFF, 500MHz PIII, 256MB, 10GB disk

2x MA401 PCMCIA 802.11b wifi cards + PCI converters
4 port USB PCI card

2x256MB DDR
some ancient EDO and possibly PC-133 memory

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Is my program detached?

2009-09-29 Thread Adrian Bridgett
On Tue, Sep 29, 2009 at 13:28:02 +0100 (+0100), Stephen Pelc wrote:
 Under Kubuntu 9.04 at least, trying to open /dev/tty succeeds in 
 both cases and fds 0,1,2 return true from isatty(). Similarly, 
 ttyname() returns a name.

Hmm, that was going to be my suggestion. Perhaps you could see whether
FD0 was readable since normallly backgrounded apps block when they
need STDIN.

I still think isatty is wise check - e.g. if someone runs it from cron
or somesuch.

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT] Anyone used EclipseComputers or LambdaTek?

2009-09-23 Thread Adrian Bridgett
When only two parts of three turned up from Lambdatek, I was expecting
a battle, but no, a human being went and sorted it out and explained
where the foul up happened (which I always appreciate).

So -1 + 1 = 0 for me.  Unfortunately these days 0 is rather a good
score since competency seems in such short supply.

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] RHCE / RHCT

2009-09-20 Thread Adrian Bridgett
On Fri, Sep 18, 2009 at 15:04:07 +0100 (+0100), Stephen Nelson-Smith wrote:
 I've been toying with the idea of getting Redhat certification.  I did
 the pre-assessment questionaires and concluded that I was pretty close
 to being ready to take the RHCE exam immediately, but would benefit
 from the fast track course.

Caveat - I last did them about 3/4 years ago... 

I did a couple of hours reading up on Redhatisms (since I normally use
Debian).  Found RHCT dead easy, RHCE fairly straightforward too.   I
was still nervous, but hey it is an exam :-)

I think I'm goig to retake RHCE shortly (my old one was RH v3 and so
lapsed a little while ago).  Managed 100% on both last time, so it can
only go badly in comparison this time!

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] High availability database

2009-09-15 Thread Adrian Bridgett
On Tue, Sep 15, 2009 at 17:15:18 +0100 (+0100), Chris Simmonds wrote:
 
 One option I have considered is using, say, MySQL with one master node 
 replicating to all the others and some mechanism to elect a new master 
 if the original went down. But, that sounds messy. There must be a 
 neater solution?

MySQL + LinuxHA + DRBD is the typical solution.  You could use MySQL
with replication and failover (or even multi-master if you are brave).

A proper clustered filesystem (e.g. OCFS2 ontop of DRBD8) maybe better.

However be aware that all of these aren't simple configs and you
really want to do thorough testing beforehand - I've seen some setups
be incredibly brittle - so any theoretical improvement in uptime may
in practice become a major drop.

For example when I was looking at GFS last year:
http://www.smop.co.uk/blog/index.php/2008/02/11/gfs-goodgrief-wheres-the-documentation-file-system/

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] High availability database

2009-09-15 Thread Adrian Bridgett
On Tue, Sep 15, 2009 at 20:17:56 +0100 (+0100), Stephen Nelson-Smith wrote:
 I thought the OP wanted to make the data available over 50 nodes!
 DRBD can only have two simultaneous primaries.

Ah yes, I was taking that as meaning that it needed to withstand
failure of a (master) node, but still be accessible from the others -
i.e. via an SQL connection or as you suggest a network share.


Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] What a load of old cobblers!

2009-09-10 Thread Adrian Bridgett
On Wed, Sep  9, 2009 at 22:14:18 +0100 (+0100), Daniel Pope wrote:
[snip]

A quality rant there - nice work :-)

It seems par for the course to dumb down TV - even science programs
being dumbed down well below the level of anyone who would be watching
them.

Adrian

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Deploying a Rails application

2009-08-19 Thread Adrian Bridgett
On Tue, Aug 18, 2009 at 13:23:28 +0100 (+0100), Stephen Nelson-Smith wrote:
 Hi Chris,
 
  I have a VPS I'd like to deploy it on running Debian Etch, which already
  has Apache2 installed and serving other static pages.
 
 If you want to keep your Apache2, I'd recommend using ModProxy and
 Mongrel.  For scaling purposes, it's normal to use several Mongrel
 instances, but to make that work, you need ModProxyBalancer, which
 comes with Apache 2.2.

I've heard of issues with mongrel (from Reductive Labs incidentally),
it might be worth looking at mod_passenger (aka mod_rails/mod_ruby I
believe).

Have a look at brightbox.net for some prepackaged stuff.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] OpenVPN + TrueCrypt

2009-08-14 Thread Adrian Bridgett
On Fri, Aug 14, 2009 at 07:42:07 +0100 (+0100), Stephen Nelson-Smith wrote:
 Morning,
 
 I've just deployed an OpenVPN solution for a client, and am
 considering enhancing the security by having the users keep their keys
 on an encrypted USB stick.

We use PAM authentication on top of openvpn which works well.   What
doesn't work so well is that openvpn+LDAP+TLS+PAM auth (yes, you need
all four) leaks two file descriptors per connection which I never
managed to track down (on Debian Etch).

We also use the per client key/certs settings but as we can't control
passwords on those keys, we can at least control the PAM passwords :)

Adrian

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Is anybody here using puppet?

2009-08-08 Thread Adrian Bridgett
On Fri, Aug  7, 2009 at 09:01:57 +0100 (+0100), Simon Strange wrote:
 I've recently inherited ownership of a small network, and I'm
 interested in using puppet to control it.

Puppet is _wonderful_.  As for most automation tools, it's definitely
one of those things where you have to invest time up front but it will
pay you back ten fold.

The documentation (and puppet itself) is much better than when I
started using it two years ago.  I'd recommend looking at external
nodes as it makes defining things much easier, well more scalable.
OTOH you don't need to bother if it's a fairly small setup. 

There are lots of useful recipes and facts out there (specific
puppet terms here for non-puppeteers), however do see if they are
suitable - some do things in quite specific ways which aren't suitable
for everyone. 

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Is anybody here using puppet?

2009-08-08 Thread Adrian Bridgett
On Sat, Aug  8, 2009 at 07:08:23 + (+), Andy Smith wrote:
 Can you elaborate more as to how you manage SSH keys?  I've seen a
 couple of ways but never really liked them..

I've been using the ssh-ldap patches with great success for some time
now.  Drop people's ssh keys into LDAP (ones from putty need slightly
altering to openssh format) and then turn off password logins (if you
want).   I also use sudo-ldap.  

With puppet the use of ldap isn't quite so important, however I
believe it still makes sense - I don't really want to run puppet on
all my machines just to remove access for one user.

 Another problem I have is one of the most trivial things to do with
 cfengine: purge old files in a directory tree.  Puppet's tidy seems to want

Sucks doesn't it :-)  TBH I normally move these out of puppet's domain
and into a small cronscript (installed via puppet of course).

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Technical Customer Services Manager in Lond on‏

2009-07-08 Thread Adrian Bridgett
On Wed, Jul  8, 2009 at 08:27:24 +0100 (+0100), Jon Fautley wrote:
  Please e-mail me using jamesto...@hotmail.com to learn more.
 
 Or, ja...@camalyn.org should work just as well.

To Bin.  How appropriate.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] No WPA2 option in Jaunty

2009-06-29 Thread Adrian Bridgett
On Sun, Jun 28, 2009 at 17:34:57 +0100 (+0100), Rob Malpass wrote:
[snip]
 Not sure which chipset it is - could be Prism2, in which case you
 _may_ be able to switch to the hostap driver - which also isnt ideal.
 The other option is to use ndiswrapper with a windows driver, which
 again, is less than perfect. Last option is get a new pcmcia/usb
 network card to replace that one.

Just FYI I used to use hostap and WPA2 on a prism2 card (MA401) in
case that's useful info.

Even got a bug report to prove it:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/211780

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [hardware] RAID5 - hardware or software, based?

2009-05-18 Thread Adrian Bridgett
On Mon, May 18, 2009 at 17:06:54 + (+), Andy Smith wrote:
 Indeed, unless under very heavy write load I expect software RAID
 will be fine.

To explain this further, if you do a write on RAID-5, you often have
to _read_ the disks first - this can add lots of latency.

Personally, I do RAID-1 (software or hardware just _not_ fakeraid
rubbish) on anything small (e.g. upto 4 disks).  Anything big
(read expensive), get a decent _battery backed_ hardware controller
or an external RAID array with the same.

If you do lots of small writes and wait for them to hit disk, this can
make a massive difference (I've personally seen a box go from 100% IO
bound to 1% IO when we discovered that the server had been shipped
with battery backed RAID controller, but in write though not write
back mode).  Oddly enough the database went just a tad quicker.

Regarding enterprise disks, I think it's mostly a completely fallacy
reliability wise.  Performance wise, a 15Krpm drive will out perform a
5400rpm drive.  However there is another issue - how hard a disk will
try and recover data.

Western Digital RE (RAID Edition) drives give up quite early - they
assume you are running in a RAID (not RAID-0) environment, so if they
have trouble reading something, they give up quickly and carry on.

Most desktop drives try _really_ hard (and don't give up) - thus they
effectively lock up for a few mins upon encountering an error.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Cheap Notebooks?

2009-05-12 Thread Adrian Bridgett
One thing that you may wish to check is hardware virtualisation
support - i.e. which CPU is in it and checking it in wikipedia.  Be
warned that many brand new (even quad core) processors don't have such
support - only specific models do.

Adrian

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] JOB: Senior Security Engineer | LOCATION: London, England, UK

2009-04-28 Thread Adrian Bridgett
On Mon, Apr 27, 2009 at 23:14:05 +0100 (+0100), jt wrote:
 I am a Linux user so don't see why I cant post. At the same time I am
 doing my job! If I don't find people for jobs, I don't pay the mortgage!

a) I don't recall seeing a post which wasn't a job advert from you,
and neither does a search of the archives:
http://www.hants.lug.org.uk/lurker/search/20090211.145837.0...@ml:hampshire,au:jt.en.html

b) that is spamming as far as I am concerned and most others I
suspect.  particularly when you do it repeatedly to many mailing lists

c) paying the mortage is irrelevant.  if your job was to sell viagra
you could argue the same. so that doesn't fly.

In short, you aren't contributing, you are just being a nuisance.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Multi-headed virtualization

2009-04-22 Thread Adrian Bridgett
Also look at SPICE by Qumranet (folks behind KVM, bought by redhat)
too. You'd need thin clients, but that has advantages over being
limited by cable length back to a central box :-)

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Recommendation on Virtualisation books

2009-04-14 Thread Adrian Bridgett
One thing I've not seen that much comment on is ease of use and
management (i.e you want to change settings etc).  I find KVM very
immature in this regard (particularly when you couple it with the
equally immature libvirt* layer).

If you want your life to be easy, choose vmware or virtualbox.

If you want to be ahead of the game, choose KVM.

If you have old boxes without hardware support (check BIOS) then Xen's
paravirtualisation could be helpful in terms of performance.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] insmod problem

2009-03-22 Thread Adrian Bridgett
On Sat, Mar 21, 2009 at 21:31:24 -0500 (-0500), Mike Burrows wrote:
 Hello folks,
 
 Trying to install the quickcam.ko module on a etch system:
 
 marvin:/home/testermike# insmod /usr/local/src/qc-usb-0.6.5/quickcam.ko
 insmod: error inserting '/usr/local/src/qc-usb-0.6.5/quickcam.ko': -1
 Invalid module format

Try:
a) running dmesg after the insmod, IIRC you might see undefined
symbols - these will be in modules which you havn't loaded up yet.
b) using modprobe rather then insmod (which will load dependencies)

normally modules will be in /lib/modules/`uname -r`, and depmod -a
is run to build a file with details of the depencies - which modprobe
uses... so you might have to do this by hand in your case.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Server Security

2009-03-22 Thread Adrian Bridgett
One thing I've not seen people mention:

Expect it to be hacked - or at least _plan_ for it (especially with
if PHP is involved).

Backups (tested).
HIDS (I use osiris) - tells you _when_ the box has been hacked.
Chkrootkit (ditto).

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT] memory sticks

2009-03-18 Thread Adrian Bridgett
On Wed, Mar 18, 2009 at 20:42:03 + (+), Lisi wrote:
 What are the relative advantages and disadvantages of two pairs of sticks 
 given that they both cost the same? 
 Basically, why one might prefer:
 CT2KIT12864AA667 • DDR2 PC2-5300 • CL=5 • Unbuffered • NON-ECC • DDR2-667 • 
 1.8V • 128Meg x 64  
 to:
 CT2KIT12864AA800 • DDR2 PC2-6400 • CL=6 • Unbuffered • NON-ECC • DDR2-800 • 
 1.8V • 128Meg x 64
 or vice versa.

Second one is a tad faster, not that you are likely to notice any
difference at all. 

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] GRUB2 is anyone using it ?

2009-03-17 Thread Adrian Bridgett
On Fri, Mar  6, 2009 at 09:29:27 + (+), isaaccl...@yahoo.co.uk wrote:
 
 hello there,
 
 Simple enough question, is anyone using GRUB2 yet ? I ask this because i've 
 had a quick look at it, and unless i'm very wrong, it seems quite different 
 to GRUB. 

I was, but hit lots of issues due to my setup (software RAID, booting
off 3rd/4th disks etc).  I believe most of these have been resolved
now, however grub v1 just worked (tm) for me.

The Nth time I typed in prefix=(md0)/grub to get linux to boot I
just went back to grub v1.

Writeup was here:
http://smop.co.uk/mediawiki/index.php/GRUB2

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Set bond mode, when bonding is compiled in to the kernel?

2009-03-17 Thread Adrian Bridgett
Alternatively you can poke quite a few settings for bonding in /proc -
not sure you can do those settings though.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Debian 5.0 Lenny domU

2009-03-11 Thread Adrian Bridgett
On Wed, Mar 11, 2009 at 08:24:41 + (+), Tony Whitmore wrote:
 I'm looking to set up a Debian 5.0 (Lenny) domU under Xen on hardware that
 supports VT. At the moment the dom0 is running Ubuntu 7.10. (I could be
 persuaded to upgrade it to 8.04 LTS if it helps.) I'd like to ensure that
 the domU performs as well as possible, in particular disk and network. Does
 anyone have any tips about making sure this happens, particular kernels to
 install, settings to tweak etc.

A colleague said he saw problems with the 2.6.26-xen kernel as a DomU
FWIW.  TBH I'd look at KVM as it seems to be the future (I swapped
from Xen to KVM pretty painlessly).

To answer the question - I think Xen SVM (paravirtualised) is faster
than Xen HVM (using hardware support) - but I've nothing to back that
up.  Install libc6-xen on DomU.  One thing that made a big difference
(10x) in inter domU network speed was running ethtool -K eth0 tx off
in the DomUs.

 I've also experienced some hard lockups running Debian Etch as a domU, so
 hopefully this upgrade will help there too. It's strange because I know
 Debian as a domU with a Debian dom0 is fine, and Ubuntu as a domU with a
 Debian dom0 seems OK too.

Worth checking hardware, we had the occasional hang at work on our Xen
box, but not recently since we upgraded to a later Xen (3.2.1 IIRC).

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Debian 5.0 Lenny domU

2009-03-11 Thread Adrian Bridgett
On Wed, Mar 11, 2009 at 10:16:07 + (+), Tony Whitmore wrote:
 
 On Wed, 11 Mar 2009 08:50:07 +, Adrian Bridgett adr...@smop.co.uk
 wrote:
  A colleague said he saw problems with the 2.6.26-xen kernel as a DomU
  FWIW.  TBH I'd look at KVM as it seems to be the future (I swapped
  from Xen to KVM pretty painlessly).
 
 We might do that move in the future, but for now we have three Xen servers
 with quite a few hosts on them, so it's not a trivial move! I'd like to get
 the virt-manager stuff working with our Xen servers too to help
 administration.

It's not as painful as you might expect - the only thing that cause
any problem at all for me was the networking (I was doing PCI
passthrough under Xen which doesn't work on KVM unless you have
specific chipsets and bleeding edge code).  If it wasn't for that I
think it really would have been as simple as a reboot.

The libvirt stuff ain't bad.  Still very immature (as is virt-manager
IMO) but at least it's an abstraction layer of sorts. 

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] wiki spam update

2009-02-25 Thread Adrian Bridgett
On Sun, Feb 22, 2009 at 17:05:57 + (+), Adrian Bridgett wrote:
 Well I think it's certainly helped quite a bit.  Not perfect, but then
 apart from me who is :-)

Bah! Spoke too soon, 11 pages spammed :(  I've turned on another
anti-spam feature now.  As usual, yell if you have problems.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] wiki spam update

2009-02-22 Thread Adrian Bridgett
Well I think it's certainly helped quite a bit.  Not perfect, but then
apart from me who is :-)

2171 blocked, 87 allowed.

Due to the unique way in which the edits work, really there have only
been 9 page changes - 5 which were fine, four of which were not.  So
overall, it's letting a few past, but it is blocking most attempts.

Since I've not heard of any complaints for a while I think this is a
good thing.

Once again many thanks to Steve for offering this service.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Restoring firefox bookmarks

2009-02-13 Thread Adrian Bridgett
On Tue, Feb 10, 2009 at 02:49:24 + (+), Stephen Nelson-Smith wrote:
 I've rebuilt a machine that was Ubuntu 8.04 with Debian Lenny.
 
 I have a backup of /home from the ubuntu machine, including my
 .mozilla directory.
 
 I've rsynced the .mozilla/firefox directory to .mozilla on the debian
 system, and restarted iceweasel, but I don't see any sign of the
 bookmarks.

They used to use bookmarks.html then .xhtml now it's in an SQLite
database.  That should be all you need - I wonder if it's in the wrong
format.  It's .mozilla/firefox (yet _another_ change in name) on my
debian box.

Alternatively try the amazing, wonderful foxmarks plugin.  I used it
to sync my laptop and desktop and it does a terrific job.  I actually
run it against my own server (webdav) so it's not using deltas to send
the bookmarks (which it does if you use formarks own server) but I
want my bookmarks to be private.

It even worked perfectly when was setting it up (about 800 common
bookmarks and 50 new ones on each).

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-28 Thread Adrian Bridgett
On Wed, Jan 28, 2009 at 10:17:07 + (+), Simon Capstick wrote:

 SPAM blocked for LinuxHints/XenOnEtch

 My IP's static if that's any help to you.

Thanks - would you mind trying again?

Caught by Bayesian filter like Adam.  I've turned that module off - yay
for ability to exclude plugins! Nice design Steve :-)

I've also upped the max-links count somewhat. 

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-26 Thread Adrian Bridgett
On Mon, Jan 26, 2009 at 10:37:25 + (+), Dr A. J. Trickett wrote:
 On Sun, 25 Jan 2009 at 07:29:05PM +, Adrian Bridgett wrote:
  However I've just tied it into our very own Steve Kemps's
  blogspam.net service so we'll see how that goes. 
  
  Please shout if you have any problems - it will say SPAM blocked (we
  don't want to tell spammers _why_ we block them but we do log the
  reasons).
 
 Edits of my own page from my work IP were blocked, even though I 
 have admin rights.
 
 I don't mind (I don't normally make changes from work) I'm just 
 curious how  204.193.45.69 tripped it, can you check the logs?

[Mon Jan 26 10:34:13 2009] [error] [client 204.193.45.69]
BlogSpamCheck returned SPAM:SpamBayes, referer:
http://www.hants.lug.org.uk/cgi-bin/wiki.pl?action=editid=AdamTrickett

(twice that happened)

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] Wiki anti-spam changes

2009-01-25 Thread Adrian Bridgett
Due do a recent spate of attacks on the wiki, we've made a few changes.

I did write a simple anti-spam thing (basically watching percentage of
links to text on a page), but that's currently in log only mode.

However I've just tied it into our very own Steve Kemps's
blogspam.net service so we'll see how that goes. 

Please shout if you have any problems - it will say SPAM blocked (we
don't want to tell spammers _why_ we block them but we do log the
reasons).

Finally a big thanks to Ciemon for doing a whole bunch of roll backs
on the wiki. 

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-25 Thread Adrian Bridgett
On Sun, Jan 25, 2009 at 19:48:03 + (+), Steve Kemp wrote:
 On Sun Jan 25, 2009 at 19:29:05 +, Adrian Bridgett wrote:
 
  However I've just tied it into our very own Steve Kemps's
  blogspam.net service so we'll see how that goes. 
 
   It wasn't really setup with wikis in mind, but I'd be very
  interested in hearing how it works out.
 
   Mostly it will depend on what is being fed into the tests, 
  the complete text of the edited page, or just a context diff
  representing any changes which have been applied.
 
   I'd expect you'd need to tweak the max-size, min-size,
  and max-link properties, but I'm sure trial and error will
  let you know if that is required.

Fab - thanks for the suggestions, we'll see how it goes.  It's the
whole page that gets tried.  I'll try and remember to tell you how it
goes in a week or two.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-25 Thread Adrian Bridgett
On Sun, Jan 25, 2009 at 21:29:05 + (+), B STEVENS wrote:
 this may be a naive question but why would anyone attack a linux
 user group wiki? what form did these attacks take?

Probably random attacks.

Have a look at this:
http://hantslug.org.uk/cgi-bin/wiki.pl?action=historyid=LinuxHints/SerialConsole

if you click on revision 13 you'll see what happens. 

To see how many attacks we've had recently (we've had such outbreaks
before):
http://hantslug.org.uk/cgi-bin/wiki.pl?RecentChanges

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Email Autoresponders

2009-01-18 Thread Adrian Bridgett
On Sat, Jan 17, 2009 at 14:05:22 + (+), Stephen Nelson-Smith wrote:
 Hello,
 
 Notwithstanding the general feeling that we don't much like
 autoresponders... suppose one has been asked to implement one - I'm
 looking for recommendations.

No suggestion, but something to look for is one that ignores
Precedence: Bulk emails.

Perhaps maildrop and a minidatabase?

Ooh - in fact - maildrop comes with mailbot which will do this for you!

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Building 32-bit apps on 64-bit host

2009-01-05 Thread Adrian Bridgett
On Mon, Jan  5, 2009 at 12:23:04 + (+), Richard Danter wrote:
 Hi all,
 
 I have been developing a couple of little apps to make my life easier
 at work. All has been going well until my host was upgraded to 64-bit.
 One of the libs I have to use is available only as 32-bit. The apps
 themselves are using Qt and of course they are 64-bit.
 
 Anyone know the correct way to build a 32-bit Qt app on a 64-bit host?

I'd use a 32-bit chroot myself to remove any potential problem.  Or a
VM.

I've once been bitten by a (Java of all things!) program failing to
build with obscure output (maven) with 64-bit kernel and 32-bit
userspace.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Virtualization Project advice

2008-12-13 Thread Adrian Bridgett
On Fri, Dec 12, 2008 at 11:27:29 + (+), Simon Capstick wrote:
 That's a good comprehensive summary by David.  I'll only add our 
 experience FWIW...

One more experience story FWIW.  Summary - KVM for the adventurous,
VirtualBox (ease of use) or VMware (server for simplicity or ESX(i)
for speed) for less adventurous or those averse to non-GPL.

I'v used xen both at work and home and generally I've been happy with
it.  However Xen (host) is stuck at 2.6.18 and recently that's become
a big problem (driver support at home, getting occasional spontaneous
reboots at work).

VMware Server, Virtualbox work the same way - slowly (well, not too
bad TBH).   

ESX and ESXi are better, but they aren't paravirtualised, though there
are some drivers for it.

KVM can be paravirtualised and everyone is starting to use it.  

Our new dell 2950 (like a 1950 but physically bigger for more disks)
supports hardware virtualisation - however I had to turn it on in the
BIOS (ditto for power management).  Hardware RAID card with battery
backed cache (no point unless you have that battery backed cache IMO).

So I've setup half a dozen OS (dapper, etch, rhel4 and solaris 10) on
this over the last week - all worked fine, some are paravirtualised.

I've also moved my 6 Xen domains at home over to KVM, also fine, all
paravirtualised.  

Whilst I'm confident that KVM is the way of the future (ubuntu, redhat
(which have bought the developes of KVM)), the management tools are
very rough and immature ATM.  virt-manager GUI is almost useless.

There are various gotchas - e.g. using libvirt to manage the domains,
without adding featureacpi//feature to the libvirt XML file a
graceful shutdown wasn't (it just forced machine straight off).

I found KVM networking very easy actually - it's just network
bridging.  However one thing I miss from Xen is the ability to
passthrough PCI cards to underlying domains (this is being added to
KVM but may depend upon quite rare hardware support).

Adrian

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Some dpkg questions...

2008-11-17 Thread Adrian Bridgett
On Mon, Nov 17, 2008 at 19:07:49 - (-), Vic wrote:
 
 Hi All.
 
 I've got a couple of questions about dpkg that I'm not sure about (after
 reading the man page...)
 
 Firstly, dpkg apparently has a --root opetion; I'm not sure if I'm using
 it properly. I tried :
 
   dpkg  --root=/mnt/image/ -L sysvconfig
 
 And got nothing for my trouble (yet the apt log for that image says it's
 installed).

It is probably just groking /var/lib/dpkg/info/sysvconfig.list.  Try
--admindir.

I would really avoid using --root (or --admindir, --instdir) unless
you really know what you are doing.  If you don't specify --admindir
for example, then your current box will think a package is installed
but you will have installed it elsewhere.
 
 Secondly - how do I list the scripts from a .deb?

They are _always_ in /var/lib/dpkg/info/(packagename).*  Which is _so_
much nicer than Redhat IMO.  In particular you can fix them much, much
more easily when they don't work :-)

Adrian
-- 
Email: [EMAIL PROTECTED]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Linux Admin IQ Test

2008-11-09 Thread Adrian Bridgett
On Sun, Nov  9, 2008 at 06:01:48 + (+), Stephen Nelson-Smith wrote:
 On Sat, Nov 8, 2008 at 1:31 PM, Victor Churchill
 [EMAIL PROTECTED] wrote:
  A link to this popped up on the Dorset list :
 
  http://www.infoworld.com/tools/quiz/news/IQ2008linux-news-quiz.php

Damn. 95%.  Darn trick question (which I personally think is wrong
anyhow).

Adrian

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Swap versus RAM size (was: I just have to tell someone...)

2008-10-27 Thread Adrian Bridgett
On Sun, Oct 26, 2008 at 23:23:38 + (+), Alan Pope wrote:
 For some time now on 64-bit platforms the recommendation has been at
 least 20G of swap no matter how much RAM you have. If you have ever
 studied the SAP memory management system you can see why. The general
 argument goes that 20G of swap is considerably cheaper than having
 your multi-million pound business down for half a day whilst an admin
 (or expensive external consultant) debugs a memory issue.

Paging in 20GB of swap means your system performance is already going
to be pants.  Or dead.  I'm all for nor falling over since you are a
_little_ tight on memory, but really if you manage to undercut it by
20GB you are in serious trouble anyway :-)

My issue was that (as I understood it), SAP would _not support_ it
unless we had such a ridiculous amount of swap setup.

Adrian
-- 
Email: [EMAIL PROTECTED]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--