Re: [arch-general] findutils and locate

2012-04-16 Thread P .NIKOLIC
On Sun, 15 Apr 2012 23:53:21 +0100
Mauro Santos registo.maill...@gmail.com wrote:

 On 15-04-2012 23:10, P .NIKOLIC wrote:
  On Sun, 15 Apr 2012 23:49:45 +0200
  Martti Kühne mysat...@gmail.com wrote:
  
  something failing on my guess would be a changed permission
  somewhere althou i dont mess around with permissions outside of my
  user area .
 
 Are you using locate as your user? If so, are you on the locate group?
 

-rwxr-sr-x 1 root locate 39512 Mar  3 05:53 /usr/bin/locate  

it is running with the default as you can see  this is getting a bit
strange to say the least  think the next is going to be uninstall and
reinstall it see if that helps any incase some dep has not been picked
up automatically , The thing is there are no complaints to be seen

Ho Humm 

Pete .


-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-16 Thread gt
On Mon, Apr 16, 2012 at 08:22:03AM +0100, P .NIKOLIC wrote:
 -rwxr-sr-x 1 root locate 39512 Mar  3 05:53 /usr/bin/locate  
 
 it is running with the default as you can see  this is getting a bit
 strange to say the least  think the next is going to be uninstall and
 reinstall it see if that helps any incase some dep has not been picked
 up automatically , The thing is there are no complaints to be seen

Remove the .db along with trying a re-install.

-- 
O ascii ribbon campaign - stop html mail - www.asciiribbon.org


Re: [arch-general] findutils and locate

2012-04-16 Thread P .NIKOLIC
On Mon, 16 Apr 2012 13:13:41 +0530
gt static.vor...@gmx.com wrote:

 On Mon, Apr 16, 2012 at 08:22:03AM +0100, P .NIKOLIC wrote:
  -rwxr-sr-x 1 root locate 39512 Mar  3 05:53 /usr/bin/locate  
  
  it is running with the default as you can see  this is getting a bit
  strange to say the least  think the next is going to be uninstall
  and reinstall it see if that helps any incase some dep has not been
  picked up automatically , The thing is there are no complaints to
  be seen
 
 Remove the .db along with trying a re-install.
 

Yep will do  be doing that tonight  so maybe know later 

Pete .


-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread Christoph Vigano
On 04/15/2012 10:15 AM, P .NIKOLIC wrote:
 Hi .
 
 How can i return full function to the findutils and locate  , It was
 the best utility for the job and now has been eroded by the supposed
 replacements that are a complete failure .
 
 I want my old locate command back and working as it always used to
 never failed to find what i wanted  
 
 Oh and it did not clobber the system whilst building it's database
 either 
 
 
 
 Pete .
 
 

Uhm, of which replacements are we talking? I don't remember any recent
updates of those tools.

Christoph



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] findutils and locate

2012-04-15 Thread Allan McRae
On 15/04/12 18:15, P .NIKOLIC wrote:
 Hi .
 
 How can i return full function to the findutils and locate  , It was
 the best utility for the job and now has been eroded by the supposed
 replacements that are a complete failure .
 
 I want my old locate command back and working as it always used to
 never failed to find what i wanted  
 
 Oh and it did not clobber the system whilst building it's database
 either 
 

The only way is to switch distros.  Arch is obviously not for you.



Re: [arch-general] findutils and locate

2012-04-15 Thread Martti Kühne
On Sun, Apr 15, 2012 at 06:33:58PM +1000, Allan McRae wrote:
 On 15/04/12 18:15, P .NIKOLIC wrote:
  How can i return full function to the findutils and locate  , It was
  the best utility for the job and now has been eroded by the supposed
  replacements that are a complete failure .
  
  I want my old locate command back and working as it always used to
  never failed to find what i wanted  
  

the fuck, mlocate works fine here, it installs in /usr/bin/locate and
/usr/bin/updatedb, which both run fine.
same with findutils.

actually you're not even posting error output or factual support like from
-Ql, repo changes or anything else helpful. shame on you.

 
 The only way is to switch distros.  Arch is obviously not for you.
 

Seriously quit the ...trolling, both of you. The way you are failing at
complicating things here hurts my intellect. This list isn't 4chan.

cheers!
mar77i


Re: [arch-general] findutils and locate

2012-04-15 Thread Allan McRae
On 15/04/12 21:00, Martti Kühne wrote:
 On Sun, Apr 15, 2012 at 06:33:58PM +1000, Allan McRae wrote:
 On 15/04/12 18:15, P .NIKOLIC wrote:
 How can i return full function to the findutils and locate  , It was
 the best utility for the job and now has been eroded by the supposed
 replacements that are a complete failure .

 I want my old locate command back and working as it always used to
 never failed to find what i wanted  

 
 the fuck, mlocate works fine here, it installs in /usr/bin/locate and
 /usr/bin/updatedb, which both run fine.
 same with findutils.
 
 actually you're not even posting error output or factual support like from
 -Ql, repo changes or anything else helpful. shame on you.
 

 The only way is to switch distros.  Arch is obviously not for you.

 
 Seriously quit the ...trolling, both of you. The way you are failing at
 complicating things here hurts my intellect. This list isn't 4chan.
 

It was not trolling but serious advise.  If you can not do basic
research, Arch is not the distribution for you.

Allan


Re: [arch-general] findutils and locate

2012-04-15 Thread Martti Kühne
On Sun, Apr 15, 2012 at 09:09:11PM +1000, Allan McRae wrote:
 
 It was not trolling but serious advise.  If you can not do basic
 research, Arch is not the distribution for you.
 
 Allan


Thanks for pointing it out another superfluous time.
Don't you know pete by now? Obviously that's how he works, and afaict we've
been working hard in the past to get him improve this to good measure.

so, let's just solve problems and not get caught up with accusitions of
lazyness, since, ultimately, these are lazy as well.

cheers!
mar77i


Re: [arch-general] findutils and locate

2012-04-15 Thread Allan McRae
On 15/04/12 21:24, Martti Kühne wrote:
 On Sun, Apr 15, 2012 at 09:09:11PM +1000, Allan McRae wrote:

 It was not trolling but serious advise.  If you can not do basic
 research, Arch is not the distribution for you.
 
 
 Thanks for pointing it out another superfluous time.
 Don't you know pete by now? Obviously that's how he works, and afaict we've
 been working hard in the past to get him improve this to good measure.
 
 so, let's just solve problems and not get caught up with accusitions of
 lazyness, since, ultimately, these are lazy as well.
 

No...  I think I will continue to tell him to do some basic research or
switch distros.  One day it might get through.

Allan


Re: [arch-general] findutils and locate

2012-04-15 Thread P .NIKOLIC
On Sun, 15 Apr 2012 13:00:19 +0200
Martti Kühne mysat...@gmail.com wrote:

 On Sun, Apr 15, 2012 at 06:33:58PM +1000, Allan McRae wrote:
  On 15/04/12 18:15, P .NIKOLIC wrote:
   How can i return full function to the findutils and locate  , It
   was the best utility for the job and now has been eroded by the
   supposed replacements that are a complete failure .
   
   I want my old locate command back and working as it always used to
   never failed to find what i wanted  
   
 
 the fuck, mlocate works fine here, it installs in /usr/bin/locate and
 /usr/bin/updatedb, which both run fine.
 same with findutils.
 
 actually you're not even posting error output or factual support like
 from -Ql, repo changes or anything else helpful. shame on you.
 
  
  The only way is to switch distros.  Arch is obviously not for you.
  
 
 Seriously quit the ...trolling, both of you. The way you are failing
 at complicating things here hurts my intellect. This list isn't 4chan.
 
 cheers!
 mar77i

DID i swear no i dont expect reply's to either thanks muchly  

you come on the list ask a polite question you get bad mouthed and told
to switch distros .

Right mlocate is installed   updatedb takes no time it is instant it
fails to read a thing   .. it attempts to reads the NAS drive that i do
NOT want read  thats it nothing else 

now can we have some sensible replies please ..

Pete .




-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread P .NIKOLIC
On Sun, 15 Apr 2012 21:43:44 +1000
Allan McRae al...@archlinux.org wrote:

 On 15/04/12 21:24, Martti Kühne wrote:
  On Sun, Apr 15, 2012 at 09:09:11PM +1000, Allan McRae wrote:
 
  It was not trolling but serious advise.  If you can not do basic
  research, Arch is not the distribution for you.
  
  
  Thanks for pointing it out another superfluous time.
  Don't you know pete by now? Obviously that's how he works, and
  afaict we've been working hard in the past to get him improve this
  to good measure.
  
  so, let's just solve problems and not get caught up with
  accusitions of lazyness, since, ultimately, these are lazy as well.
  
 
 No...  I think I will continue to tell him to do some basic research
 or switch distros.  One day it might get through.
 
 Allan

You sir are obnoxious and offensive i asked a polite question that you
seem to think is otherwise   do not darken my desktop again please

Pete .
 

-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread Allan McRae
On 15/04/12 22:49, P .NIKOLIC wrote:
 On Sun, 15 Apr 2012 13:00:19 +0200
 Martti Kühne mysat...@gmail.com wrote:
 
 On Sun, Apr 15, 2012 at 06:33:58PM +1000, Allan McRae wrote:
 On 15/04/12 18:15, P .NIKOLIC wrote:
 How can i return full function to the findutils and locate  , It
 was the best utility for the job and now has been eroded by the
 supposed replacements that are a complete failure .

 I want my old locate command back and working as it always used to
 never failed to find what i wanted  


 the fuck, mlocate works fine here, it installs in /usr/bin/locate and
 /usr/bin/updatedb, which both run fine.
 same with findutils.

 actually you're not even posting error output or factual support like
 from -Ql, repo changes or anything else helpful. shame on you.


 The only way is to switch distros.  Arch is obviously not for you.


 Seriously quit the ...trolling, both of you. The way you are failing
 at complicating things here hurts my intellect. This list isn't 4chan.

 cheers!
 mar77i
 
 DID i swear no i dont expect reply's to either thanks muchly  
 
 you come on the list ask a polite question you get bad mouthed and told
 to switch distros .
 
 Right mlocate is installed   updatedb takes no time it is instant it
 fails to read a thing   .. it attempts to reads the NAS drive that i do
 NOT want read  thats it nothing else 
 
 now can we have some sensible replies please ..
 

Once again, a failure at basic research...

Adjust the configuration file.



Re: [arch-general] findutils and locate

2012-04-15 Thread Martti Kühne
On Sun, Apr 15, 2012 at 01:49:41PM +0100, P .NIKOLIC wrote:
 
 Right mlocate is installed   updatedb takes no time it is instant it
 fails to read a thing   .. it attempts to reads the NAS drive that i do
 NOT want read  thats it nothing else 
 
 now can we have some sensible replies please ..
 
 Pete .


try to ignore the bad vibes here and beat someone up IRL, it's more satisfying.

man updatedb.conf mentions PRUNEPATH. did you set that in /etc/updatedb.conf?
can you paste your config, while we're at it?

cheers!
mar77i


Re: [arch-general] findutils and locate

2012-04-15 Thread P .NIKOLIC
On Sun, 15 Apr 2012 15:41:55 +0200
Martti Kühne mysat...@gmail.com wrote:

 On Sun, Apr 15, 2012 at 01:49:41PM +0100, P .NIKOLIC wrote:
  
  Right mlocate is installed   updatedb takes no time it is instant it
  fails to read a thing   .. it attempts to reads the NAS drive that
  i do NOT want read  thats it nothing else 
  
  now can we have some sensible replies please ..
  
  Pete .
 
 
 try to ignore the bad vibes here and beat someone up IRL, it's more
 satisfying.
 
 man updatedb.conf mentions PRUNEPATH. did you set that
 in /etc/updatedb.conf? can you paste your config, while we're at it?
 
 cheers!
 mar77i

Hi ..

Yes some people i would really like to meet face to face  but still ..

Right my /etc/updatedb.conf is as follows  
# directories to exclude from the slocate database:
PRUNEPATHS=/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool 
/home/pete/nas /home/pete/Movies /home/pete/Music /home/pete/nas1

# filesystems to exclude from the slocate database:
PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs
devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs
securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf

yet i get zero file finds for any file name that i know is definately
on the system in a location that IS searchable

Thanks   Pete 


-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread gt
On Sun, Apr 15, 2012 at 04:38:01PM +0100, P .NIKOLIC wrote:
 Right my /etc/updatedb.conf is as follows  
 # directories to exclude from the slocate database:
 PRUNEPATHS=/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run 
 /var/spool /home/pete/nas /home/pete/Movies /home/pete/Music /home/pete/nas1
 
 # filesystems to exclude from the slocate database:
 PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs
 devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs
 securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf
 
 yet i get zero file finds for any file name that i know is definately
 on the system in a location that IS searchable

Does /var/lib/mlocate/mlocate.db exist? If it does, then when was the
last time it was accessed?

-- 
O ascii ribbon campaign - stop html mail - www.asciiribbon.org


Re: [arch-general] findutils and locate

2012-04-15 Thread P .NIKOLIC
On Sun, 15 Apr 2012 22:13:33 +0530
gt static.vor...@gmx.com wrote:

 On Sun, Apr 15, 2012 at 04:38:01PM +0100, P .NIKOLIC wrote:
  Right my /etc/updatedb.conf is as follows  
  # directories to exclude from the slocate database:
  PRUNEPATHS=/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run 
  /var/spool /home/pete/nas /home/pete/Movies /home/pete/Music 
  /home/pete/nas1
  
  # filesystems to exclude from the slocate database:
  PRUNEFS=afs auto autofs binfmt_misc cifs coda configfs cramfs
  debugfs devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc
  ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf
  
  yet i get zero file finds for any file name that i know is
  definately on the system in a location that IS searchable
 
 Does /var/lib/mlocate/mlocate.db exist? If it does, then when was the
 last time it was accessed?
 

Hi ..

Yes it is there  ..

-rw-r-  1 root locate 7868436 Apr 15 13:48 mlocate.db 

Doing a strings on the file  it contains the expected data but  i still
get no files show up when i try locate filename  even if the file is
listed in the db  and it Actually exists on the drive and is good 

Pete  



-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread Martti Kühne
On Sun, Apr 15, 2012 at 05:51:36PM +0100, P .NIKOLIC wrote:
 Hi ..
 
 Yes it is there  ..
 
 -rw-r-  1 root locate 7868436 Apr 15 13:48 mlocate.db 
 
 Doing a strings on the file  it contains the expected data but  i still
 get no files show up when i try locate filename  even if the file is
 listed in the db  and it Actually exists on the drive and is good 
 

is the data up to date after updatedb?

Actually, no it's not.

the header of mlocate.db is tested on configuration changes, described in [1].
Likely, configuration has changed with a recent update, so your problem would
possibly have been fixed right after you looked into man mlocate.db

I am just confused to find you never having had this problem before...?

cheers!
mar77i

[1] http://linux.die.net/man/5/mlocate.db


Re: [arch-general] findutils and locate

2012-04-15 Thread P .NIKOLIC
On Sun, 15 Apr 2012 23:49:45 +0200
Martti Kühne mysat...@gmail.com wrote:

 On Sun, Apr 15, 2012 at 05:51:36PM +0100, P .NIKOLIC wrote:
  Hi ..
  
  Yes it is there  ..
  
  -rw-r-  1 root locate 7868436 Apr 15 13:48 mlocate.db 
  
  Doing a strings on the file  it contains the expected data but  i
  still get no files show up when i try locate filename  even if the
  file is listed in the db  and it Actually exists on the drive and
  is good 
  
 
 is the data up to date after updatedb?
 
 Actually, no it's not.
 
 the header of mlocate.db is tested on configuration changes,
 described in [1]. Likely, configuration has changed with a recent
 update, so your problem would possibly have been fixed right after
 you looked into man mlocate.db
 
 I am just confused to find you never having had this problem
 before...?
 
 cheers!
 mar77i
 
 [1] http://linux.die.net/man/5/mlocate.db

Hi  .

It has been flakey for a while  but now  it just does not do anything
i have no reports of errors anywhere just  displays nothing

something failing on my guess would be a changed permission somewhere
althou i dont mess around with permissions outside of my user area .

Pete ..


-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


Re: [arch-general] findutils and locate

2012-04-15 Thread Mauro Santos
On 15-04-2012 23:10, P .NIKOLIC wrote:
 On Sun, 15 Apr 2012 23:49:45 +0200
 Martti Kühne mysat...@gmail.com wrote:
 
 something failing on my guess would be a changed permission somewhere
 althou i dont mess around with permissions outside of my user area .

Are you using locate as your user? If so, are you on the locate group?

-- 
Mauro Santos


Re: [arch-general] findutils and locate

2012-04-15 Thread Martti Kühne
On Sun, Apr 15, 2012 at 11:53:21PM +0100, Mauro Santos wrote:
 
 Are you using locate as your user? If so, are you on the locate group?
 

not needed here:
-rwxr-sr-x 1 root locate 39512 Mar  3 06:53 /usr/bin/locate
[martti@arch64-vm ~]$ groups
wheel martti
the s lets locate run with group locate already.

cheers!
mar77i