Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Ciprian Dorin Craciun
On Mon, Jun 17, 2013 at 8:52 AM, Florian Philipp li...@binarywings.net wrote:
 Am 16.06.2013 23:14, schrieb Ciprian Dorin Craciun:
 Hello all!

 While struggling with managing various old backups --- just
 imagine 10 or so copies of almost the same content, some with `rsync`,
 some with `rdiff-backup`, yet some others on plain ISO's, all over a
 range of a few years --- I stumbled upon the following missing piece
 in the Linux tools ecosystem:  a file-system crawler that records
 **only** meta-data, like all the info available through `stat`, plus
 an assortment of hashes of the files (at least MD5 and SHA-1,2
 family), and optionally ACL's and extended attributes.  Thus I was
 wondering if someone knows a tool that fits this description.


 [...]

 Thus, are there any other alternatives?  (Just to be clear, I
 don't need a backup solution, just something to record file-system
 meta-data.  Maybe a meta-backup solution... :) )

 Ciprian.


 Do you mean something like `cp --attributes-only`?


Nop, wouldn't do the job, because `cp --attributes-only` requires
a target file system, however I need something which records those
attributes in a file that I can use afterwards to restore them (or
compare them with further versions, etc.).

Ciprian.



Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Peter Humphrey
On Monday 17 Jun 2013 07:00:35 Ciprian Dorin Craciun wrote:
 On Mon, Jun 17, 2013 at 8:52 AM, Florian Philipp li...@binarywings.net 
wrote:
  Do you mean something like `cp --attributes-only`?
 
 Nop, wouldn't do the job, because `cp --attributes-only` requires
 a target file system, ...

You could always cp to /dev/null.

-- 
Peter




Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Ciprian Dorin Craciun
On Mon, Jun 17, 2013 at 10:21 AM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Monday 17 Jun 2013 07:00:35 Ciprian Dorin Craciun wrote:
 On Mon, Jun 17, 2013 at 8:52 AM, Florian Philipp li...@binarywings.net
 wrote:
  Do you mean something like `cp --attributes-only`?

 Nop, wouldn't do the job, because `cp --attributes-only` requires
 a target file system, ...


 You could always cp to /dev/null.


Sorry I don't follow...  What does imply to cp to /dev/null, and
what would be the outcome of that?



Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Paul Colquhoun
On Mon, 17 Jun 2013 00:14:17 Ciprian Dorin Craciun wrote:
 Hello all!
 
 While struggling with managing various old backups --- just
 imagine 10 or so copies of almost the same content, some with `rsync`,
 some with `rdiff-backup`, yet some others on plain ISO's, all over a
 range of a few years --- I stumbled upon the following missing piece
 in the Linux tools ecosystem:  a file-system crawler that records
 **only** meta-data, like all the info available through `stat`, plus
 an assortment of hashes of the files (at least MD5 and SHA-1,2
 family), and optionally ACL's and extended attributes.  Thus I was
 wondering if someone knows a tool that fits this description.
 
 
 I must say I've tried to do my homework, and below are a few tools
 that come close, but not quite...
 
 (A) `rdup` is probably the closest to what I'm searching.  However
 there are a few issues:
 * it's output format is not very parsable, especially in cases
 like symlinks, and a few other special cases;
 * it doesn't escape the file names --- and from some reason I have
 files containing escape sequences in them...
 * it records only SHA-1;
 * it doesn't handle ACL's or extended attributes;
 
 (B) `mtree` from FreeBSD.  I found two ports of it for Linux,
 however my main concern is how parsable is the output...
 
 (C) `md5deep` (or `sha*deep`), which only records the checksum not
 other meta-data.
 
 
 Thus, are there any other alternatives?  (Just to be clear, I
 don't need a backup solution, just something to record file-system
 meta-data.  Maybe a meta-backup solution... :) )
 
 Ciprian.


Have a look at 'tripwire'. It's primarily an intrusion detection tool, but it 
does the job 
by recording file meta-data and checksums, then checking to see if they have 
changed. I can't remember if it handles ACL's, as it's been a few years since I 
used it.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] VPN connection from gentoo to OSX server?

2013-06-17 Thread Mick
On Sunday 16 Jun 2013 22:49:46 walt wrote:
 A colleague of mine has set up a Mac server just for the purpose
 of being a VPN server for the rest of us at work.  So far I can't
 make a good vpn connection from this linux machine or my android
 tablet.
 
 I can log in using a vnc client and poke around in the server
 settings, so I know that the server is configured to use L2PT/PPP
 and not just PPP.  I'm pretty sure that's where I'm going wrong.
 
 I have every L2TP option set in my kernel as well as all the
 tunnel and ppp/pppoe options I can find (knowing very little about
 the subject), but I can't tell if my attempted connections are
 really using the L2TP protocol or not.  Syslog says nothing about
 L2TP, so I'm guessing there's something configured wrong on my end.
 
 I'm using networkmanager-pptp for the vpn connection, and the
 networkmanager config applet mentions nothing about L2TP.
 
 Has anyone else done this successfully?
 
 Thanks for any clues.

I haven't used L2TP to comment on specifics, but have you emerged and set up 
xl2tp which I understand will set up the L2TP tunnel?  L2TP will be 
encapsulated within IPSec, which you should set up using racoon, strongswan, 
etc.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] monitoring system resource usage

2013-06-17 Thread Grant
 Agreed! Although getting apache, mysql, and nginx plugins fully
 working is proving to be a little trickier. To get those going it's
 necessary to edit /etc/munin/plugin-conf.d/munin-node as well as some
 apache and nginx config. Still working on getting it all 100%. - Grant

 If you have a fairly basic setup, post what you are using to help others
 later on.  At least it could give someone a config to go by.

I promise I will do this once I feel good about my config.

- Grant



[gentoo-user] Silence google-talkplugin logging to session log?

2013-06-17 Thread Leho Kraav

Hey all


Is anyone aware of a way to shut google-talkplugin up? It is really 
uselessly noisy during Hangouts.




Re: [gentoo-user] monitoring system resource usage

2013-06-17 Thread Dale
Grant wrote:
 Agreed! Although getting apache, mysql, and nginx plugins fully
 working is proving to be a little trickier. To get those going it's
 necessary to edit /etc/munin/plugin-conf.d/munin-node as well as some
 apache and nginx config. Still working on getting it all 100%. - Grant
 If you have a fairly basic setup, post what you are using to help others
 later on.  At least it could give someone a config to go by.
 I promise I will do this once I feel good about my config.

 - Grant



That's good.  Sometimes when I am setting up something, I google for the
config file to see if I can find something to go by at least.  I did
that the other day with my xorg.conf file.  I found out that when I
logout and leave, my monitor never goes to standby.  I found a config
file that someone posted that had the info I needed.  It was MUCH faster
than trying to read man pages and find it. 

I thought about setting up a site or something and putting different
config files there and allowing others to post theirs.  Thing is, I'm
sort of low income and I don't know how much that would end up costing
me.  I'd do it for free so I'd pay for whatever it was.  I think a
central place for this sort of thing would be great. 

Anyway, it may help the next person if you post what works for you and
maybe how you are using it.  At least give someone a start.  If they
google, they will find it. 

Dale

:-)

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Peter Humphrey
On Monday 17 Jun 2013 08:25:08 Ciprian Dorin Craciun wrote:
 On Mon, Jun 17, 2013 at 10:21 AM, Peter Humphrey
 
 pe...@humphrey.ukfsn.org wrote:
  On Monday 17 Jun 2013 07:00:35 Ciprian Dorin Craciun wrote:
  On Mon, Jun 17, 2013 at 8:52 AM, Florian Philipp
  li...@binarywings.net
  
  wrote:
   Do you mean something like `cp --attributes-only`?
   
  Nop, wouldn't do the job, because `cp --attributes-only` requires
  
  a target file system, ...
  
  You could always cp to /dev/null.
 
 Sorry I don't follow...  What does imply to cp to /dev/null, and
 what would be the outcome of that?

/dev/null would be the target file system you referred to. It's a bottomless 
empty pit, so no physically real copy would be made.

-- 
Peter




Re: [gentoo-user] File system meta-data indexer / checker

2013-06-17 Thread Ciprian Dorin Craciun
On Mon, Jun 17, 2013 at 6:56 PM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Monday 17 Jun 2013 08:25:08 Ciprian Dorin Craciun wrote:
 On Mon, Jun 17, 2013 at 10:21 AM, Peter Humphrey

 pe...@humphrey.ukfsn.org wrote:
  On Monday 17 Jun 2013 07:00:35 Ciprian Dorin Craciun wrote:
  On Mon, Jun 17, 2013 at 8:52 AM, Florian Philipp
  li...@binarywings.net
 
  wrote:
   Do you mean something like `cp --attributes-only`?
  
  Nop, wouldn't do the job, because `cp --attributes-only` requires
 
  a target file system, ...
 
  You could always cp to /dev/null.

 Sorry I don't follow...  What does imply to cp to /dev/null, and
 what would be the outcome of that?

 /dev/null would be the target file system you referred to. It's a bottomless
 empty pit, so no physically real copy would be made.


I would be curious to find out how one can use `/dev/null` as a
replacement for an **entire** file-system (i.e. not just a replacement
for a stream sink)?  And how would the `cp` command be used to obtain
such an outcome?