Re: [Hampshire] Quick question

2012-04-06 Thread Imran Chaudhry
Just FYI, I have finished "Distro File Stat" which attempts to stat any
file from the base distro of Debian Squeeze and Ubuntu Oneric Ocelot:

http://opticalgarbage.com/cgi-bin/dfs.pl

Probably useless for most of you but there it is :-)

On 11 March 2012 12:03, Imran Chaudhry  wrote:

> Thanks Andy.
>
> Oh well, I'll stick with just being able to stat any file from the base
> Ubuntu and Debian packages. That might be useful and if anything this
> project is a good way to renew my web Perl a little bit :-)
>
> On 10 March 2012 13:39, Andy Smith  wrote:
>
>> Hello,
>>
>> On Sat, Mar 10, 2012 at 09:20:12AM +, James Courtier-Dutton wrote:
>> > apt-file search ssl-cert-snakeoil.key
>> > might have found it, but it does not.
>> >
>> > apt-file does not appear to be as useful as it used to be.
>>
>> It's because ssl-cert-snakeoil.key is a generated file, created by
>> make-ssl-cert on the install of the ssl-cert package. apt-file has
>> never indexed such files, to my knowledge.
>>
>> I'm not sure if there is a good way of working out this sort of
>> thing, since the only place I can find ssl-cert-snakeoil.key
>> referenced is in the post-install script of the ssl-cert package
>> (/var/lib/dpkg/info/ssl-cert.postinst).
>>
>> Cheers,
>> Andy
>>
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEAREDAAYFAk9bWaYACgkQIJm2TL8VSQuBDQCgkzCiKtNRnQxTIBeFwUW8nUWV
>> qzcAmwW3OjTEe0FWFYDfA8g5xHD9dPGx
>> =0Rov
>> -END PGP SIGNATURE-
>>
>>
>> --
>> 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
>> --
>>
>
>
>
> --
> GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F
>
> “Live as if you were to die tomorrow. Learn as if you were to live
> forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948)
>



-- 
GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F

“Live as if you were to die tomorrow. Learn as if you were to live
forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948)
--
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] Quick question

2012-03-11 Thread Imran Chaudhry
Thanks Andy.

Oh well, I'll stick with just being able to stat any file from the base
Ubuntu and Debian packages. That might be useful and if anything this
project is a good way to renew my web Perl a little bit :-)

On 10 March 2012 13:39, Andy Smith  wrote:

> Hello,
>
> On Sat, Mar 10, 2012 at 09:20:12AM +, James Courtier-Dutton wrote:
> > apt-file search ssl-cert-snakeoil.key
> > might have found it, but it does not.
> >
> > apt-file does not appear to be as useful as it used to be.
>
> It's because ssl-cert-snakeoil.key is a generated file, created by
> make-ssl-cert on the install of the ssl-cert package. apt-file has
> never indexed such files, to my knowledge.
>
> I'm not sure if there is a good way of working out this sort of
> thing, since the only place I can find ssl-cert-snakeoil.key
> referenced is in the post-install script of the ssl-cert package
> (/var/lib/dpkg/info/ssl-cert.postinst).
>
> Cheers,
> Andy
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEAREDAAYFAk9bWaYACgkQIJm2TL8VSQuBDQCgkzCiKtNRnQxTIBeFwUW8nUWV
> qzcAmwW3OjTEe0FWFYDfA8g5xHD9dPGx
> =0Rov
> -END PGP SIGNATURE-
>
> --
> 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
> --
>



-- 
GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F

“Live as if you were to die tomorrow. Learn as if you were to live
forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948)
--
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] Quick question

2012-03-10 Thread Andy Smith
Hello,

On Sat, Mar 10, 2012 at 09:20:12AM +, James Courtier-Dutton wrote:
> apt-file search ssl-cert-snakeoil.key
> might have found it, but it does not.
> 
> apt-file does not appear to be as useful as it used to be.

It's because ssl-cert-snakeoil.key is a generated file, created by
make-ssl-cert on the install of the ssl-cert package. apt-file has
never indexed such files, to my knowledge.

I'm not sure if there is a good way of working out this sort of
thing, since the only place I can find ssl-cert-snakeoil.key
referenced is in the post-install script of the ssl-cert package
(/var/lib/dpkg/info/ssl-cert.postinst).

Cheers,
Andy


signature.asc
Description: Digital signature
--
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] Quick question

2012-03-10 Thread James Courtier-Dutton
On 10 March 2012 09:02, Imran Chaudhry  wrote:
>
> The problem is my base case with ssl-cert-snakeoil.key. It does not seem to
> be easy to derive which package /etc/ssl/private/ssl-cert-snakeoil.key is
> in.
>
> Can anyone give me any pointers here as to best approach?
>

apt-file search ssl-cert-snakeoil.key
might have found it, but it does not.

apt-file does not appear to be as useful as it used to be.

--
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] Quick question

2012-03-10 Thread Imran Chaudhry
I have had this problem before and this gave me an idea of creating a web
app that takes any file from the standard install and lists that results of
stat.

I have had a go, my first milestone is just to stat files on the host
system:
http://opticalgarbage.com/cgi-bin/ufs.pl

The distro choice does not work yet.

My approach was going to use dpkg or apt-find etc to take a filename and
derive the package it's in. Then I was going to stat the file from the
package somehow. I have an Ubuntu 11.10 iso loopback mounted and therefore
I can get an the core packages eg.

$ dpkg-query --search /usr/lib/apache2/modules/mod_rewrite.so
apache2.2-bin: /usr/lib/apache2/modules/mod_rewrite.so

dpkg --contents ./pool/main/a/apache2/apache2.2-bin_2.2.20-1ubuntu1_i386.deb

The problem is my base case with ssl-cert-snakeoil.key. It does not seem to
be easy to derive which package /etc/ssl/private/ssl-cert-snakeoil.key is
in.

Can anyone give me any pointers here as to best approach?

On 8 March 2012 22:17, Leo  wrote:

> On 07/03/12 23:27, Andy Smith wrote:
>
>> On Wed, Mar 07, 2012 at 11:15:50PM +, Leo wrote:
>>
>>> Can anyone with an ubuntu install tell me the owner and group of:
>>> /etc/ssl/private/ssl-cert-**snakeoil.key
>>>
>>
>> $ sudo stat /etc/ssl/private/ssl-cert-**snakeoil.key
>>   File: `/etc/ssl/private/ssl-cert-**snakeoil.key'
>>   Size: 887 Blocks: 8  IO Block: 4096   regular file
>> Device: fb01h/64257dInode: 262977  Links: 1
>> Access: (0640/-rw-r-)  Uid: (0/root)   Gid: (  106/ssl-cert)
>> Access: 2010-10-14 13:20:02.370681001 +0100
>> Modify: 2010-07-27 04:35:54.961966857 +0100
>> Change: 2010-07-27 04:35:54.981965139 +0100
>>
>> Cheers,
>> Andy
>>
>>
>>
>>
>> --
>> 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
>> --**--**--
>>
>
> Thank you!
>
>
> Leo
>
> --
> 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
> --**--**--
>



-- 
GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F

“Live as if you were to die tomorrow. Learn as if you were to live
forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948)
--
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] Quick question

2012-03-08 Thread Leo

On 07/03/12 23:27, Andy Smith wrote:

On Wed, Mar 07, 2012 at 11:15:50PM +, Leo wrote:

Can anyone with an ubuntu install tell me the owner and group of:
/etc/ssl/private/ssl-cert-snakeoil.key


$ sudo stat /etc/ssl/private/ssl-cert-snakeoil.key
   File: `/etc/ssl/private/ssl-cert-snakeoil.key'
   Size: 887 Blocks: 8  IO Block: 4096   regular file
Device: fb01h/64257dInode: 262977  Links: 1
Access: (0640/-rw-r-)  Uid: (0/root)   Gid: (  106/ssl-cert)
Access: 2010-10-14 13:20:02.370681001 +0100
Modify: 2010-07-27 04:35:54.961966857 +0100
Change: 2010-07-27 04:35:54.981965139 +0100

Cheers,
Andy




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


Thank you!

Leo

--
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] Quick question

2012-03-07 Thread Andy Smith
On Wed, Mar 07, 2012 at 11:15:50PM +, Leo wrote:
> Can anyone with an ubuntu install tell me the owner and group of:
> /etc/ssl/private/ssl-cert-snakeoil.key

$ sudo stat /etc/ssl/private/ssl-cert-snakeoil.key
  File: `/etc/ssl/private/ssl-cert-snakeoil.key'
  Size: 887 Blocks: 8  IO Block: 4096   regular file
Device: fb01h/64257dInode: 262977  Links: 1
Access: (0640/-rw-r-)  Uid: (0/root)   Gid: (  106/ssl-cert)
Access: 2010-10-14 13:20:02.370681001 +0100
Modify: 2010-07-27 04:35:54.961966857 +0100
Change: 2010-07-27 04:35:54.981965139 +0100

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting


signature.asc
Description: Digital signature
--
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] Quick question

2012-03-07 Thread Leo

Can anyone with an ubuntu install tell me the owner and group of:
/etc/ssl/private/ssl-cert-snakeoil.key

As I have just inadvertently changed them :(

Thanks
Leo

--
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] Quick question - How easy is it to install Linux onmacbook mini?

2008-10-14 Thread Sean Gibbins
Becky Taylor wrote:
> Hi again
>
> I meant the mac mini, not the macbook
Hi Becky,

Stephen Davies, who subscribes to this list, runs Linux on a Mac Mini,
so it might be worth searching the archives.

That said, Steve installed it back when Mac Minis were just out and
there are sure to be numerous more recent howtos out there.

A couple of friends of mine have one sitting under their TVs doing
various streaming/recording functions with MacOS and I have to say they
are quite impressive.

Sean


-- 
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] Quick question - How easy is it to install Linux onmacbook mini?

2008-10-14 Thread Becky Taylor
Hi again

I meant the mac mini, not the macbook

Becky

-- 
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] Quick question - How easy is it to install Linux on macbook mini?

2008-10-14 Thread Becky Taylor
Hello Everyone,

I was considering saving for a mac mini, but if I can't install linux on 
it I'm out.

I'm pretty sure I read somewhere a while back that you can install linux 
on a mac, but I've been searching the web, and can't find anything much 
on it.

Does anyone know

a) How easy it is to install linux on a mac mini (whilst still keeping 
the Mac OS as well)

b) Which distros are able to be installed (I would be happy if Fedora, 
Debian, or Mint could be installed - I suspect I should probably drop 
Mint for a bit and try something new, and I've been meaning to try 
debian or fedora for a while now...)

c) Also I've just thought - would that void the warranty on the mac mini?

Thanks

Becky

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