Re: [gentoo-user] Ldap authentication issues.

2010-05-05 Thread Daniel Troeder
On 05/05/2010 02:02 AM, Indexer wrote: I have solved this issue late last night. I took my inspiration from fedora, who has a really nice automatic tool for adding ldap servers, and i looked at their changes. The issue was that pam_unix was set as required, not sufficient / optional. I also

[gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
Hi, I'm looking for some kernel-based notification of changes to my file system. I've been looking at inotify, but it's not exactly what I want. Basically I want to know if _any_ write occurs anywhere. I don't want to register a whole bunch of files to watch, I just want to watch an entire

Re: [gentoo-user] Receiving mail from crontab

2010-05-05 Thread Alan McKinnon
On Wednesday 05 May 2010 07:45:24 Mick wrote: On Tuesday 04 May 2010 23:40:20 Alex Schuster wrote: Mick writes: I am getting a bit confused from the messages that I receive in my gmail account sent from my crontab. First, is related to the title which is: Cron r...@mylaptop

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Bill Kenworthy
Can the older dnotify do what you want? - it monitors files differently to inotify. There is also gammin/fam. BillK On Wed, 2010-05-05 at 16:24 +0930, Iain Buchanan wrote: Hi, I'm looking for some kernel-based notification of changes to my file system. I've been looking at inotify, but

Re: [gentoo-user] Receiving mail from crontab

2010-05-05 Thread Neil Bothwick
On Wed, 5 May 2010 01:06:21 +0200, Alan McKinnon wrote: The output looks like standard banner garbage that apps often write to the terminal when launched. I suspect an omitted /dev/null somewhere Or maybe a --quiet option to suppress this but keep useful information. -- Neil Bothwick

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure.

2010-05-05 Thread Daniel Troeder
On 05/05/2010 06:42 AM, Stefan G. Weichinger wrote: Am 04.05.2010 23:24, schrieb Daniel Troeder: I'm using sys-fs/cryptsetup-1.1.1_rc1 since 02.05.2010 and didn't have any issues. Please decrypt your partition from the command line, so we can see if it is a cryptsetup/luks/kernel problem or

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure.

2010-05-05 Thread Stefan G. Weichinger
Am 05.05.2010 10:00, schrieb Daniel Troeder: That is a message from cryptsetup. As you are using openssl to get the key, I think the problem might be there. ok lvcreate -n crypttest -L 100M vg0 KEY=`tr -cd [:graph:] /dev/urandom | head -c 79` echo $KEY | openssl aes-256-ecb

Re: [gentoo-user] nvidia driver: undefined symbol: _nv000008gl

2010-05-05 Thread Arnau Bria
Hi, I moved to stable drivers and nvidia drivers works fine again. [I] x11-drivers/nvidia-drivers Available versions: [M]71.86.11!s 96.43.14!s ~96.43.16!s 173.14.20!s 173.14.22!s ~173.14.25!s 180.60!s 185.18.36-r1!s 190.42-r3!s ~190.53!s ~190.53-r1!s ~195.30!s ~195.36.15!s {acpi

[gentoo-user] Android tether and wpa_supplicant

2010-05-05 Thread Fredrik Andersson
Hi fellow gentoo users I'm trying to connect my laptop to my HTC Hero using wpa_supplicant, has anyone done this? this is what I see in wpa_cli when I do scan_result #bssid / frequency / signal level / flags / ssid #02:23:76:81:26:67      2412    240     [IBSS]  G1 And according to the example

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Stroller
On 5 May 2010, at 07:54, Iain Buchanan wrote: ... I'm looking for some kernel-based notification of changes to my file system. I've been looking at inotify, but it's not exactly what I want. Basically I want to know if _any_ write occurs anywhere. I don't want to register a whole bunch of

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Helmut Jarausch
On 5 May, Iain Buchanan wrote: Hi, I'm looking for some kernel-based notification of changes to my file system. I've been looking at inotify, but it's not exactly what I want. Basically I want to know if _any_ write occurs anywhere. I don't want to register a whole bunch of files to

[gentoo-user] samba vs. cifs

2010-05-05 Thread KH
Hi List, I just ran in a problem: net-fs/mount-cifs (net-fs/mount-cifs is blocking net-fs/samba-3.4.6) Somba is pulled in by the samba use-flag. The PC only is client to a server running samba. Do I need samba for this anymore? More specific (don't want to hear moo): Will I be able to mount

Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread Neil Bothwick
On Wed, 05 May 2010 18:42:09 +0200, KH wrote: net-fs/mount-cifs (net-fs/mount-cifs is blocking net-fs/samba-3.4.6) mount.cifs is now provided by Samba. Somba is pulled in by the samba use-flag. The PC only is client to a server running samba. Do I need samba for this anymore? More specific

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Florian Philipp
Am 05.05.2010 15:34, schrieb Stroller: On 5 May 2010, at 07:54, Iain Buchanan wrote: ... I'm looking for some kernel-based notification of changes to my file system. I've been looking at inotify, but it's not exactly what I want. Basically I want to know if _any_ write occurs anywhere. I

[gentoo-user] arping network profile issue

2010-05-05 Thread Zhou Rui
Hi folks, I setup a network interface to switch in two different network with different gateways using config_eth0=( arping ), and I can get gateway mac when use arping2 command directly. But the /etc/init.d/net.eth0 start always fails, can you help me to find the issue out? $ cat /etc/conf.d/net

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Stroller
On 5 May 2010, at 18:24, Florian Philipp wrote: ... man inotify(7): ... When a directory is monitored, inotify will return events for the directory itself, and for files inside the directory. ... To repeat my comment on Iain's original backup to a cold-swap drive thread ... Sorry, I started

[gentoo-user] Re: arping network profile issue

2010-05-05 Thread Zhou Rui
Sorry it's a test profile, to avoid misunderstanding, post my profile here, and this file not working too. $cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review

Re: [gentoo-user] Receiving mail from crontab

2010-05-05 Thread Mick
On Wednesday 05 May 2010 08:39:33 Neil Bothwick wrote: On Wed, 5 May 2010 01:06:21 +0200, Alan McKinnon wrote: The output looks like standard banner garbage that apps often write to the terminal when launched. I suspect an omitted /dev/null somewhere Or maybe a --quiet option to suppress

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure.

2010-05-05 Thread Daniel Troeder
On 05/05/2010 10:42 AM, Stefan G. Weichinger wrote: Am 05.05.2010 10:00, schrieb Daniel Troeder: That is a message from cryptsetup. As you are using openssl to get the key, I think the problem might be there. ok lvcreate -n crypttest -L 100M vg0 KEY=`tr -cd [:graph:]

[gentoo-user] How can I redirect all portage messages to syslog?

2010-05-05 Thread Jarry
Hi, is it possible to redirect *all* portage messages to syslog? I mean, I would like to redirect content of all these files into /var/log/messages (if possible in standard structure): /var/log/emerge-fetch.log /var/log/emerge.log /var/log/portage/elog/summary.log Setting

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure.

2010-05-05 Thread Stefan G. Weichinger
Am 05.05.2010 21:39, schrieb Daniel Troeder: With this password I get a bad decrypt so this explains why it fails. If you cannot decrypt your keyfile (with openssl) then you have just lost any way to decrypt your partition! But there is an idea in the man page of which I didn't think:

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure.

2010-05-05 Thread Stefan G. Weichinger
Am 05.05.2010 22:17, schrieb Stefan G. Weichinger: Remember that I said: I am not sure which HOWTO I followed ? What if I didn't use aes-256-ecb? Yep. See pam_mount.conf.xml: It's aes-256-cbc in my case. I was now able to luksOpen and I have the decrypted device mounted. Nice. So: the

[gentoo-user] new user can't run X apps

2010-05-05 Thread Grant
I created a new user with useradd but I get X errors like cannot open display and cannot connect to X server when I try to run X apps as the new user. I've tried restarting with the same results. Does anyone know why this is happening? - Grant

Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/5/10, Grant emailgr...@gmail.com wrote: I created a new user with useradd but I get X errors like cannot open display and cannot connect to X server when I try to run X apps as the new user. I've tried restarting with the same results. Does anyone know why this is happening? Is the

Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Grant
I created a new user with useradd but I get X errors like cannot open display and cannot connect to X server when I try to run X apps as the new user.  I've tried restarting with the same results.  Does anyone know why this is happening? Is the user in the video group? Yes, I should have

Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread Matt Harrison
On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote: Hi List, I just ran in a problem: net-fs/mount-cifs (net-fs/mount-cifs is blocking net-fs/samba-3.4.6) Somba is pulled in by the samba use-flag. The PC only is client to a server running samba. Do I need samba for this anymore? More

Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread David W Noon
On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re: [gentoo-user] samba vs. cifs: On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote: [snip] specific (don't want to hear moo): Will I be able to mount a samba partition without setting the samba use flag and after unmerging samba?

Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/6/10, Grant emailgr...@gmail.com wrote: I created a new user with useradd but I get X errors like cannot open display and cannot connect to X server when I try to run X apps as the new user. I've tried restarting with the same results. Does anyone know why this is happening? Is the

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
On Wed, 2010-05-05 at 17:02 +0200, Helmut Jarausch wrote: Might be I've just asked a similar question on the ZSH mailing list. Please have a look at inotifywatch from the sys-fs/inotify-tools package. It can watch a directory tree recursively. it does look interesting, thanks. I would still

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
On Wed, 2010-05-05 at 15:12 +0800, Bill Kenworthy wrote: Can the older dnotify do what you want? - it monitors files differently to inotify. There is also gammin/fam. dnotify locks the files or directories you want to watch, so it would prevent external media from being unmounted. dnotify

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Volker Armin Hemmann
On Donnerstag 06 Mai 2010, Iain Buchanan wrote: On Wed, 2010-05-05 at 15:12 +0800, Bill Kenworthy wrote: Can the older dnotify do what you want? - it monitors files differently to inotify. There is also gammin/fam. dnotify locks the files or directories you want to watch, so it would

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
On Wed, 2010-05-05 at 18:35 +0100, Stroller wrote: On 5 May 2010, at 18:24, Florian Philipp wrote: ... man inotify(7): ... When a directory is monitored, inotify will return events for the directory itself, and for files inside the directory. ... To repeat my comment on Iain's

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
On Thu, 2010-05-06 at 01:33 +0200, Volker Armin Hemmann wrote: oh god... fam... that crap caused me so much pain over the years. This bug ridden zombie is still around? thanks for the heads-up - I guess I should leave FAM to plan B? -- Iain Buchanan iaindb at netspace dot net dot au I am a

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Volker Armin Hemmann
On Donnerstag 06 Mai 2010, Iain Buchanan wrote: On Thu, 2010-05-06 at 01:33 +0200, Volker Armin Hemmann wrote: oh god... fam... that crap caused me so much pain over the years. This bug ridden zombie is still around? thanks for the heads-up - I guess I should leave FAM to plan B? Plan Z

Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Iain Buchanan
On Thu, 2010-05-06 at 08:54 +0930, Iain Buchanan wrote: but it's an angle to follow. I wonder how max_user_watches would handle being 100k or more... no doubt you just need some RAM?! thanks, To answer my own questions, I'm now trying this: # echo 10