[gentoo-user] Gentoo and Emacs in a terminal and intellisense-like functionality.

2007-05-26 Thread Steve [Gentoo]
I've a few vaguely related questions. I'm an Emacs user from a decade ago - and have recently returned to using it... I'm trying to set it up as a useful modern development environment. I'd have chosen Eclipse, or something like that, if it wasn't for a constraint that I need it to work remotely

[gentoo-user] File permissions and such

2007-05-26 Thread Dan Cowsill
Hey list, It has been a constant burden to me to have to change the file permissions of files I've copied so that other users can access them and modify them. Say I have a number of documents in the /root folder which the root user owns. Now I want to transfer them to my non-priveliged user

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Albert Hopkins
Don't know if you're aware of this, but the emails you are sending have Date headers which are WAY into the future. For example, the email you sent that I'm applying to (which I think was sent today) is dated. June 03. Another one you sent a few days ago was dated 31 May. The relevant headers:

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Dale
Dan Cowsill wrote: Hey list, It has been a constant burden to me to have to change the file permissions of files I've copied so that other users can access them and modify them. Say I have a number of documents in the /root folder which the root user owns. Now I want to transfer them to

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Dan Cowsill
On Saturday 26 May 2007 14:55, Albert Hopkins wrote: Don't know if you're aware of this, but the emails you are sending have Date headers which are WAY into the future. For example, the email you sent that I'm applying to (which I think was sent today) is dated. June 03. Another one you sent

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Albert Hopkins
Sorry about that going to the list. It was meant to be a direct reply. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Dirk Heinrichs
Am Sonntag, 3. Juni 2007 schrieb Dan Cowsill: It just occured to me that there must be an easier way to do things like this and I was wondering if you fine fellows could guide me down the right path. I guess you should use a shared directory together with a dedicated group, for example: 1)

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Albert Hopkins
[ Since I gone ahead and polluted the list I'll give my take ] On Sun, 2007-06-03 at 14:36 -0400, Dan Cowsill wrote: It has been a constant burden to me to have to change the file permissions of files I've copied so that other users can access them and modify them. Say I have a number of

Re: [gentoo-user] File permissions and such

2007-05-26 Thread Dan Cowsill
On Saturday 26 May 2007 15:58, Albert Hopkins wrote: [ Since I gone ahead and polluted the list I'll give my take ] On Sun, 2007-06-03 at 14:36 -0400, Dan Cowsill wrote: It has been a constant burden to me to have to change the file permissions of files I've copied so that other users

Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread maxim wexler
FS corruption. Check dmesg for any errors, but fsck the filesystem containing this file ASAP even if you don't see anything. /dev/hda3 unmounted #reiserfsck -l check.log /dev/hda3 No corruptions found check.log empty. No errors in dmesg for /dev/hda3 mw

[gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread Christer Ekholm
maxim wexler [EMAIL PROTECTED] writes: strace: ... open(/etc/sudoers, O_RDONLY) = -1 EACCES (Permission denied) geteuid32() = 1 hmm, strange, geteuid should return euid which should be zero for root. Look for other occurences of geteuid in strace

[gentoo-user] Unusal emerge error concerning x11-misc/xnview

2007-05-26 Thread reader
Trying to emerge x11-misc/xnview: , | root # emerge -vvp * x11-misc/xnview | | These are the packages that would be merged, in order: | | Calculating dependencies \ | | !!! The short ebuild name bbdb is ambiguous. Please specify | !!! one of the following fully-qualified ebuild names

Re: [gentoo-user] Unusal emerge error concerning x11-misc/xnview

2007-05-26 Thread Boyd Stephen Smith Jr.
On Saturday 26 May 2007, [EMAIL PROTECTED] wrote about '[gentoo-user] Unusal emerge error concerning x11-misc/xnview': Trying to emerge x11-misc/xnview: | root # emerge -vvp * x11-misc/xnview See that * in your command, that's going to be expanded by your shell to the name of every

[gentoo-user] how do i know my SMP is working and setup right?

2007-05-26 Thread Daevid Vincent
I just upgraded my Gentoo server from an old Celeron 1Ghz to a Pentium4 3Ghz (hyperthreaded). In /etc/make.conf I have: CHOST=i686-pc-linux-gnu CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse MAKEOPTS=-j3 I compiled the new kernel and added some SMP stuff I saw:

Re: [gentoo-user] how do i know my SMP is working and setup right?

2007-05-26 Thread Denis
Having done this several times now, you have to select the following in the kernel: -SMP support and SMP Scheduling (only for processors with Hyperthreading) -Enhanced Real Time Clock (RTC) support -ACPI (in the power management menu) Without ACPI support, only one processor will be recognized,

RE: [gentoo-user] how do i know my SMP is working and setup right?

2007-05-26 Thread Daevid Vincent
-Original Message- From: Denis [mailto:[EMAIL PROTECTED] Sent: Saturday, May 26, 2007 3:47 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how do i know my SMP is working and setup right? Having done this several times now, you have to select the following in the

Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread maxim wexler
root. Look for other occurences of geteuid in strace output. Most similar instance is following the line: ... readlink(/proc/self/fd/0, /dev/tty2, 4095) = 9 getuid32() = 0 ^ note: no 'e' Check also that root actually has uid=0 on that machine. $

[gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread Christer Ekholm
maxim wexler [EMAIL PROTECTED] writes: Most similar instance is following the line: ... readlink(/proc/self/fd/0, /dev/tty2, 4095) = 9 getuid32() = 0 ^ note: no 'e' Yes that's also interesting, uid is zero, which is should be since you are running strace

[gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread Christer Ekholm
maxim wexler [EMAIL PROTECTED] writes: root. Look for other occurences of geteuid in strace output. Most similar instance is following the line: ... readlink(/proc/self/fd/0, /dev/tty2, 4095) = 9 getuid32() = 0 You should aslo check for any of setuid

Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Maybe you're running sudo frm withing a chrooted/restricted shell, or some kernel with security options that is not allowing /etc/sudoers to be read? - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica OpenPGP for HTTP:

[gentoo-user] Re: Unusal emerge error concerning x11-misc/xnview

2007-05-26 Thread reader
Boyd Stephen Smith Jr. [EMAIL PROTECTED] writes: Apparently something is being passed to emerge somewhere I can't see. It's easy to catch if you actually understand how the POSIX shell works. (Hint: /very/ different from MS Windows's cmd.exe) Only if you see it... hehe. That one got

Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-26 Thread maxim wexler
You should aslo check for any of setuid seteuid setreuid or setresuid. any call to any of those must be succesfull. If by successful you mean the call returns = 0, then they're successful. There is this, however: ... open(/etc/default/nss, 0_RDONLY) =-1 ENODENT (No such file or directory)

[gentoo-user] [rsync] How to make rsync [rsnapshot] report which dir is being worked

2007-05-26 Thread reader
I got an RTFM on the rsnapshot list for this, but not finding it so hoping someone here using rsnapshot and will know how to do this: I want to make rsync report which directory it is working in as a series of runs are executed as in an rsnapshot config. I know about the multiple -v switches but

[gentoo-user] No /etc/resolv.conf with dhcpcd

2007-05-26 Thread Richard Watson
Hi - For a while now when I run # dhcpcd eth1 I get an IP address OK but no DNS. I've established that a /etc/resolv.conf file is not being created when the command is being run. There's a script invoked at some stage called /etc/resolvconf/update.d/libc. This is creating a file with all the

[gentoo-user] multilib vs. no-multilib in 64-bit environment

2007-05-26 Thread Denis
I think I'll attempt to set up one of my EM64T boxes in 64-bit Gentoo environment, so I've been reading some docs about it. I understand that the multilib profile allows for having 32-bit libraries and being able to run 32-bit binaries, whereas no-multilib restricts you to a purely 64-bit