Re: [gentoo-user] Shutdown -h now is not powering down system.
I'll try this as well. On Thu, 2007-05-31 at 22:57 -0500, Dale wrote: > Richard Marz wrote: > > I have all the appropriate power management interfaces enabled in my > > kernel. ACPI is the one my system uses, but I've also tried APM and my > > system still doesn't manage to shut the power off on it's own. My > > motherboard is ATX but I'm forced to shut it down as if it were an AT > > mobo. Is there anything else that might have to be enabled in the kernel > > before the shutdown command can fully function. Any help would be > > appreciated. Thanks. > > > > > > Naturally this may not work for you but I use this one under APM: > > > [*] Use real mode APM BIOS call to power off > > I have video turned on under ACPI but I have no clue why. :/This is > my kernel version: > > > [EMAIL PROTECTED] / # uname -r > > 2.6.18-gentoo-r6 > > [EMAIL PROTECTED] / # > > Hope that helps, maybe. LOL > > Dale > > :-) :-) :-) > > > -- > www.myspace.com/-remove-me-dalek1967 > > Copy n paste then remove the -remove-me- part. > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
My Bios is up to date. It's not the BIOS. Shutdown has been confirmed to work with linux and freebsd kernels on my machine in the past. On Thu, 2007-05-31 at 23:51 -0300, Norberto Bensa wrote: > Richard Marz wrote: > > I have all the appropriate power management interfaces enabled in my > > kernel. ACPI is the one my system uses, but I've also tried APM and my > > How old is your bios? > > Have you tried acpi=force kernel param? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
I will try that right now. On Thu, 2007-05-31 at 23:51 -0300, Norberto Bensa wrote: > Richard Marz wrote: > > I have all the appropriate power management interfaces enabled in my > > kernel. ACPI is the one my system uses, but I've also tried APM and my > > How old is your bios? > > Have you tried acpi=force kernel param? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
It seems to be giving me the same behaviour as shutdown -h now. On Thu, 2007-05-31 at 22:39 -0400, Richard Marz wrote: > No. But, I will try it now. I'll let you know if it works in a few > minutes because I'm downloading the latests kernel sources. > On Thu, 2007-05-31 at 23:30 -0300, Davi wrote: > > shutdown -h now -P > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
Richard Marz wrote: > I have all the appropriate power management interfaces enabled in my > kernel. ACPI is the one my system uses, but I've also tried APM and my > system still doesn't manage to shut the power off on it's own. My > motherboard is ATX but I'm forced to shut it down as if it were an AT > mobo. Is there anything else that might have to be enabled in the kernel > before the shutdown command can fully function. Any help would be > appreciated. Thanks. > > Naturally this may not work for you but I use this one under APM: > [*] Use real mode APM BIOS call to power off I have video turned on under ACPI but I have no clue why. :/This is my kernel version: > [EMAIL PROTECTED] / # uname -r > 2.6.18-gentoo-r6 > [EMAIL PROTECTED] / # Hope that helps, maybe. LOL Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] why multiple versions of java-config, automake, and autoconf?
HI... On 31/05/07, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote: --prune makes no checks of what's still required. [SNIP] > But doesn't --prune just remove all but the most recent installation > of a given package? Yes. I knew there was a reason I followed a "--prune" up with a "-DNuva world" as well as a "revdep-rebuild". ...Ric -- Ric de France Ph: +61412945554 (international) or 0412945554 (Australia) ==> Do you, uh... Gentoo? Gent-hooo!! <== ==> http://www.gentoo.org/main/en/about.xml <== -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Shutdown -h now is not powering down system.
> -Original Message- > From: Richard Marz [mailto:[EMAIL PROTECTED] > Sent: Friday, June 01, 2007 11:40 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Shutdown -h now is not powering > down system. > > > No. But, I will try it now. I'll let you know if it works in > a few minutes because I'm downloading the latests kernel > sources. On Thu, 2007-05-31 at 23:30 -0300, Davi wrote: > > shutdown -h now -P > > -- > [EMAIL PROTECTED] mailing list > If shutodwn -h now -P doesn't work, try shutdown -P -h now I know that is just a matter of symantics, but a lot of programs want the "options" all in one spot. ^^;; Not sure about this one. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
Richard Marz wrote: > I have all the appropriate power management interfaces enabled in my > kernel. ACPI is the one my system uses, but I've also tried APM and my How old is your bios? Have you tried acpi=force kernel param? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
No. But, I will try it now. I'll let you know if it works in a few minutes because I'm downloading the latests kernel sources. On Thu, 2007-05-31 at 23:30 -0300, Davi wrote: > shutdown -h now -P -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Re: Unionfs for 2.6.20
> -Original Message- > From: Ali Polatel [mailto:[EMAIL PROTECTED] > Sent: Friday, June 01, 2007 10:46 AM > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] Re: Unionfs for 2.6.20 > > > [EMAIL PROTECTED] <[EMAIL PROTECTED]> yazmış: > > I have seen many people mentioning UnionFS. > > What exactly is it, and what does it do? > > (:P Besides the statement that it is an FS.) > > quoting from wikipedia[1]: > UnionFS is a Linux filesystem service which implements > a union mount for Linux file systems. It allows files and > directories of separate file systems, known as branches, to > be transparently overlaid, forming a single coherent file system. > -- > ali polatel (hawking) > Keep America beautiful. Swallow your beer cans. So, at this point in time it is not something that I personally need to focus on. That is however usefull info. I will keep it in mind for when someone else asks the question later. What is not 100% useful to me, may be just what someone else needs. ^_^ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Shutdown -h now is not powering down system.
Em Quinta 31 Maio 2007 23:24, Richard Marz escreveu: > I have all the appropriate power management interfaces enabled in my > kernel. ACPI is the one my system uses, but I've also tried APM and my > system still doesn't manage to shut the power off on it's own. My > motherboard is ATX but I'm forced to shut it down as if it were an AT > mobo. Is there anything else that might have to be enabled in the kernel > before the shutdown command can fully function. Any help would be > appreciated. Thanks. Have you tried: # shutdown -h now -P ? HTH -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- "Religion, ideology, resources, land, spite, love or "just because"... No matter how pathetic the reason, it's enough to start a war. " Por favor não faça top-posting, coloque a sua resposta abaixo desta linha. Please don't do top-posting, put your reply below the following line. pgpc7SWEiLnKW.pgp Description: PGP signature
[gentoo-user] Shutdown -h now is not powering down system.
I have all the appropriate power management interfaces enabled in my kernel. ACPI is the one my system uses, but I've also tried APM and my system still doesn't manage to shut the power off on it's own. My motherboard is ATX but I'm forced to shut it down as if it were an AT mobo. Is there anything else that might have to be enabled in the kernel before the shutdown command can fully function. Any help would be appreciated. Thanks. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Unionfs for 2.6.20
[EMAIL PROTECTED] <[EMAIL PROTECTED]> yazmış: > > > > -Original Message- > > From: Norberto Bensa [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 01, 2007 9:29 AM > > To: gentoo-user@lists.gentoo.org > > Subject: Re: [gentoo-user] Re: Unionfs for 2.6.20 > > > > > > Ali Polatel wrote: > > > You should use unionfs version 2.0 which is a part of -mm > > tree. You > > > can either get mm-sources or manually patch your kernel. > > Have a look > > > at http://www.am-utils.org/project-unionfs.html for more info.. > > > > But there's no unionfs-utils unless you're using sabayon overlay... > > > > Regards, > > Norberto > > -- > > [EMAIL PROTECTED] mailing list > > I have seen many people mentioning UnionFS. > What exactly is it, and what does it do? > (:P Besides the statement that it is an FS.) quoting from wikipedia[1]: UnionFS is a Linux filesystem service which implements a union mount for Linux file systems. It allows files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system. For example you can put your portage tree in a squashfs filesystem - which you can only mount ro - so that it'll take little space and create a unionfs with it and a directory in /dev/shm to keep track of changes between syncs[2]. [1]: http://en.wikipedia.org/wiki/Unionfs [2]: http://dev.gentoo.org/~jokey/squashed-portage-tree/ -- ali polatel (hawking) Keep America beautiful. Swallow your beer cans. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Unionfs for 2.6.20
[EMAIL PROTECTED] wrote: > I have seen many people mentioning UnionFS. > What exactly is it, and what does it do? > (:P Besides the statement that it is an FS.) Let's ask our friend: http://www.google.com/search?q=unionfs http://www.am-utils.org/project-unionfs.html Great for livecds (among other things...) Regards, Norberto -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Re: Unionfs for 2.6.20
> -Original Message- > From: Norberto Bensa [mailto:[EMAIL PROTECTED] > Sent: Friday, June 01, 2007 9:29 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Re: Unionfs for 2.6.20 > > > Ali Polatel wrote: > > You should use unionfs version 2.0 which is a part of -mm > tree. You > > can either get mm-sources or manually patch your kernel. > Have a look > > at http://www.am-utils.org/project-unionfs.html for more info.. > > But there's no unionfs-utils unless you're using sabayon overlay... > > Regards, > Norberto > -- > [EMAIL PROTECTED] mailing list I have seen many people mentioning UnionFS. What exactly is it, and what does it do? (:P Besides the statement that it is an FS.) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Emerge -v portage performs sneak attack on emacs-cvs
The subject line is half joke... but I just did an sync and then emerged portage as suggested. After the emerge of portage, emerge process went on and uninstaqlled a couple of versions of emacs-cvs. As you can see in the command output below... there was no hint of what was coming: root # emerge -v portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/portage-2.1.2.9 [2.1.2.4] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 365 kB Total: 1 package (1 upgrade), Size of downloads: 365 kB === The tail of emerge.log shows what happened at the end: [...] 1180656993: Started emerge on: May 31, 2007 20:16:33 1180656993: *** emerge --verbose sync 1180656993: === sync 1180656993: >>> Starting rsync with rsync://134.68.220.74/gentoo-portage 1180657009: *** terminating. 1180657015: Started emerge on: May 31, 2007 20:16:55 1180657015: *** emerge sync 1180657015: === sync 1180657015: >>> Starting rsync with rsync://134.68.220.74/gentoo-portage 1180657251: === Sync completed with rsync://134.68.220.74/gentoo-portage 1180657390: *** terminating. 1180658001: Started emerge on: May 31, 2007 20:33:21 1180658001: *** emerge --verbose portage 1180658003: >>> emerge (1 of 1) sys-apps/portage-2.1.2.9 to / 1180658003: === (1 of 1) Cleaning (sys-apps/portage-2.1.2.9::/usr/portage/sys-apps/portage/portage-2.1.2.9.ebuild) 1180658004: === (1 of 1) Compiling/Merging (sys-apps/portage-2.1.2.9::/usr/portage/sys-apps/portage/portage-2.1.2.9.ebuild) 1180658026: >>> AUTOCLEAN: sys-apps/portage 1180658026: === Unmerging... (sys-apps/portage-2.1.2.4) 1180658030: >>> unmerge success: sys-apps/portage-2.1.2.4 1180658030: === (1 of 1) Post-Build Cleaning (sys-apps/portage-2.1.2.9::/usr/portage/sys-apps/portage/portage-2.1.2.9.ebuild) 1180658030: ::: completed emerge (1 of 1) sys-apps/portage-2.1.2.9 to / 1180658030: *** Finished. Cleaning up... 1180658031: === Unmerging... (app-editors/emacs-cvs-22.0.92) 1180658078: >>> unmerge success: app-editors/emacs-cvs-22.0.92 1180658078: === Unmerging... (app-editors/emacs-cvs-22.0.95-r1) 1180658115: >>> unmerge success: app-editors/emacs-cvs-22.0.95-r1 1180658115: *** exiting successfully. 1180658115: *** terminating. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Unionfs for 2.6.20
Ali Polatel wrote: > You should use unionfs version 2.0 which is a part of -mm tree. You can > either get mm-sources or manually patch your kernel. Have a look at > http://www.am-utils.org/project-unionfs.html for more info.. But there's no unionfs-utils unless you're using sabayon overlay... Regards, Norberto -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Unionfs for 2.6.20
Konstantinos Agouros <[EMAIL PROTECTED]> yazmış: > Hi, > > will there be a unionfs for 2.6.20 kernels? AFAIK there's only the 1.5_pre > for 2.6.19. > > Regards, > > Konstantin You should use unionfs version 2.0 which is a part of -mm tree. You can either get mm-sources or manually patch your kernel. Have a look at http://www.am-utils.org/project-unionfs.html for more info.. -- ali polatel (hawking) There are more old drunkards than old doctors. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Math symbols with emerge -C
I always stumble around endlessly whenever I attempt to use math symbols in emerge commands. To Neil B and others who have patiently explained this to me on several occasions... I can only plead deep seated idiocy but I'm not getting why this happens. I want to `unmerge' (-C) versions of gentoo-sources prior to -2.6.20-r6 However this fails: root # emerge -vpC "<"gentoo-sources-2.6.20-r6 >>> These are the packages that would be unmerged: --- Couldn't find '>> No packages selected for removal by unmerge == However the same command run in `install' mode works: root # emerge -vp "<"gentoo-sources-2.6.20-r6 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] sys-kernel/gentoo-sources-2.6.20-r5 \ USE="-build -symlink" 42,570 kB As expected the next lower package is offered. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Emacs/JDE strange behaviour with latest emacs update
Hi, after I recently upgraded to 21.4-r2 the graphical pulldown menus vanished for textmenus and with jde ctrl-c-v-c for compiling is no longer working. Is there some new USE-flag for emacs one should know about? Regards, Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED] Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres -- [EMAIL PROTECTED] mailing list
[gentoo-user] Unionfs for 2.6.20
Hi, will there be a unionfs for 2.6.20 kernels? AFAIK there's only the 1.5_pre for 2.6.19. Regards, Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED] Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] File extensions in Kmail attachments
On 5/31/07, Mick <[EMAIL PROTECTED]> wrote: I noticed that when I open an attachment from within Kmail it adds odd extensions to the file, which are retained when I later on try to save it on the disk; e.g. a spreadsheet opened with OOo is shown as: "Notes from yesterdays mtg.xls_[yQHODa]". Furthermore, when I click on SaveAs in OOo it automatically opens the directory /tmp/kde-michael/ as opposed to /home/michael. Would you perhaps know how I could fix this? I think, you cat fix this only via patching sources. When you open mail attachment, KMail extracts it from message body and saves it to tmp dir in order to other apps can open it. -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/
Re: [gentoo-user] DHCP on my wireless card
On Thursday 31 May 2007 14:52, Sascha Hlusiak wrote: > I had this problem once too, and my problem was that a file > /etc/conf.d/net.eth1 existed, which had config_eth1=("null") in it. The > statements in /etc/conf.d/net had no effect then. Maybe that's the same > issue here. No, that file doesn't exist on my system. I filed a bug report about this so we'll see if that helps. Any other ideas? R -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] DHCP on my wireless card
> and why I'm getting an IPv6 address? Thanks! > Every link that is up gets a link-local ipv6 address which is used to find and communicate with direct link partners. It probably starts with fe80::. So don't worry, that's caused by the ipv6 module and you don't "get" it, you basically just have it. Sascha signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] DHCP on my wireless card
Randy Barlow schrieb: > Howdy all! I'm having a tough time getting DHCP to work on my wireless card. > > It's the intel 2200, and I am using wpa_supplicant with it. The contents of > my /etc/conf.d/net are: > > modules=( "wpa_supplicant" ) > config_eth1=( "dhcp" ) > wpa_supplicant_eth1="-Dwext" > > The problem seems to be that DHCP isn't being used, and the even weirder part > is that when I bring eth1 up via /etc/init.d/net.eth1 start, ifconfig will > show eth1 configured with an IPv6 address! /var/log/messages isn't helpful, > except to point out that there are no ipv6 routers on my network (duh!). > When I manually run dhcpcd eth1, then the ip address is obtained correctly > and it works. What should I check to see why DHCP doesn't seem to be being > used on this interface and why I'm getting an IPv6 address? Thanks! > With wpa_supplicant the script is run 2 times. Once by you which fires up wpa_supplicant and once by wpa_cli.sh, which puts up the interface and runs dhcpcd. I had this problem once too, and my problem was that a file /etc/conf.d/net.eth1 existed, which had config_eth1=("null") in it. The statements in /etc/conf.d/net had no effect then. Maybe that's the same issue here. - Sascha signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Hi, On Thu, 31 May 2007 19:28:09 +0100 Mick <[EMAIL PROTECTED]> wrote: > > sshd will always search in the home directory as specified > > in /etc/passwd (in the normal case) or more sophisticated solutions > > like LDAP or NSS. So make sure it really *is* configured as the home > > directory. > > Aha! We're getting somewhere. There's no /home/mic specified in /etc/passwd > but /: > > mick:x:502:10::/:/bin/bash > > What do you make of this?! LART your admin :-) and be sure he/she corrects that to read the "real" homedir instead... (well, you could just use / as your home, but I guess your admin didn't give you rights to write stuff there...) All the details in "man 5 passwd". For obvious reasons, specifying your home dir from SSH client side upon connection is not possible. Otherwise, a lot of public keys for the root account would be lingerin' around in /tmp, I guess ;-) -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Thu, May 31, 2007 2:28 pm, Mick wrote: > Aha! We're getting somewhere. There's no /home/mic specified in > /etc/passwd > but /: > > mick:x:502:10::/:/bin/bash > > What do you make of this?! That's surely not right, try changing it to mick:x:502:10::/home/mic:/bin/bash -- Randy Barlow http://www.electronsweatshop.com "Oh me of little faith..." -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)
On Thu, 2007-05-31 at 05:09 +0200, Bo Ørsted Andresen wrote: > The equal sign was a mistake. I've actually been meaning to poke you about > that. At the same time you should drop the --emptytree parsing and just > use --deep directly. With the circular deps in the tree now that gets much > better results. The use of --emptytree has already been removed in the the 0.2.4 versions of gentoolkit. 2007-03-07 Paul Varner <[EMAIL PROTECTED]> * revdep-rebuild: Change ordering algorithm to use --deep instead of --emptytree on the advice of zmedico So that one is already completed. Regards, Paul -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Thursday 31 May 2007 13:38, Hans-Werner Hilse wrote: > But it _is_ a client message. It doesn't tell you where the server is > searching. So yes, the server might be off track and searching in the > wrong place. You could tell by monitoring the server's logs. > > sshd will always search in the home directory as specified > in /etc/passwd (in the normal case) or more sophisticated solutions > like LDAP or NSS. So make sure it really *is* configured as the home > directory. Aha! We're getting somewhere. There's no /home/mic specified in /etc/passwd but /: mick:x:502:10::/:/bin/bash What do you make of this?! -- Regards, Mick pgpPKcCmOQdmh.pgp Description: PGP signature
[gentoo-user] File extensions in Kmail attachments
Hi All, I noticed that when I open an attachment from within Kmail it adds odd extensions to the file, which are retained when I later on try to save it on the disk; e.g. a spreadsheet opened with OOo is shown as: "Notes from yesterdays mtg.xls_[yQHODa]". Furthermore, when I click on SaveAs in OOo it automatically opens the directory /tmp/kde-michael/ as opposed to /home/michael. Would you perhaps know how I could fix this? -- Regards, Mick pgpYqdfl4aSPm.pgp Description: PGP signature
Re: [gentoo-user] why multiple versions of java-config, automake, and autoconf?
> broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcjawt.la (requires > /usr/lib/lib-gnu-java-awt-peer-gtk.la) > broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgij.la (requires > /usr/lib/libgcj.la) https://bugs.gentoo.org/show_bug.cgi?id=125728#c29 -- Bo Andresen Thanks, Bo -- editing the .la files fixes that problem. Now that the dependencies are fixed, I don't need to rebuild anything, do I? I guess if this was a problem with any of the ebuilds I merged onto the system before I fixed the dependencies, emerge would have resulted in an error? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Portage: garbage after EOF
Am Donnerstag 31 Mai 2007 18:22 schrieb Bo Ørsted Andresen: > On Thursday 31 May 2007 18:16:13 Florian Philipp wrote: > > > Ah, the possibility I hadn't thought of is the emul-linux-x86-* > > > packages some of which use portage binpkgs in their SRC_URI. In this > > > case it's emul-linux-x86-xlibs/emul-linux-x86-xlibs. > > > > But why does it only affect *.tbz2. I've extracted all tar.bz2, tgz, tbz2 > > and tar.bz2. > > Shouldn't at least some tar.bz2 show the same error? > > It doesn't even affect all tbz2 files (even if it does happen to affect all > tbz2 files you have in your distdir right now). It does affect all portage > binpkgs though because portage binpkgs include metadata at their tail (as > Neil explained). And all portage binpkgs use the tbz2 file ending. Ah, okay, thanks! pgpm617DSRgFD.pgp Description: PGP signature
Re: [gentoo-user] Portage: garbage after EOF
On Thursday 31 May 2007 18:16:13 Florian Philipp wrote: > > Ah, the possibility I hadn't thought of is the emul-linux-x86-* packages > > some of which use portage binpkgs in their SRC_URI. In this case it's > > emul-linux-x86-xlibs/emul-linux-x86-xlibs. > > But why does it only affect *.tbz2. I've extracted all tar.bz2, tgz, tbz2 > and tar.bz2. > Shouldn't at least some tar.bz2 show the same error? It doesn't even affect all tbz2 files (even if it does happen to affect all tbz2 files you have in your distdir right now). It does affect all portage binpkgs though because portage binpkgs include metadata at their tail (as Neil explained). And all portage binpkgs use the tbz2 file ending. -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Portage: garbage after EOF
Am Donnerstag 31 Mai 2007 02:24 schrieb Bo Ørsted Andresen: > On Thursday 31 May 2007 00:34:04 Bo Ørsted Andresen wrote: > > On Wednesday 30 May 2007 23:45:40 Neil Bothwick wrote: > > > On Wed, 30 May 2007 21:15:28 +0200, Florian Philipp wrote: > > > > bunzip2: /home/dsl/distfiles/openmotif-2.2.3-r9.tbz2: trailing > > > > garbage after EOF ignored > > > > [...] > > > > > > > > It affects *.tbz2 only. > > > > > > That's correct, portage stores some metadata at the end of the archive. > > > > It doesn't store anything in DISTDIR though. It appears that this file > > should be in PKGDIR. > > Ah, the possibility I hadn't thought of is the emul-linux-x86-* packages > some of which use portage binpkgs in their SRC_URI. In this case it's > emul-linux-x86-xlibs/emul-linux-x86-xlibs. But why does it only affect *.tbz2. I've extracted all tar.bz2, tgz, tbz2 and tar.bz2. Shouldn't at least some tar.bz2 show the same error? pgpm2szqqOfeP.pgp Description: PGP signature
[gentoo-user] Why isn't my net.eth1 finishing startup
So I've learned a bit more about why my wireless interface may not be using DHCP - apparently the startup script isn't finishing. [EMAIL PROTECTED] ~ $ sudo rc * Caching service dependencies ... [ ok ] * WARNING: netmount is scheduled to start when net.eth1 has started. * WARNING: sshd is scheduled to start when net.eth1 has started. * WARNING: backuppcApache2 is scheduled to start when net.eth1 has started. [EMAIL PROTECTED] ~ $ sudo /etc/init.d/net.eth1 start * WARNING: net.eth1 has already been started. [EMAIL PROTECTED] ~ $ sudo /etc/init.d/net.eth1 status * status: inactive Just to refresh, the interface seems to be using an IPv6 address, and doesn't use dhcp. If I manually call dhcpcd eth1, then I can use the interface, but my other services still think that net.eth1 isn't started. How can I determine why the script is getting stuck? Thanks for any help you can offer! -- Randy Barlow http://www.electronsweatshop.com "Oh me of little faith..." -- [EMAIL PROTECTED] mailing list
[gentoo-user] DHCP on my wireless card
Howdy all! I'm having a tough time getting DHCP to work on my wireless card. It's the intel 2200, and I am using wpa_supplicant with it. The contents of my /etc/conf.d/net are: modules=( "wpa_supplicant" ) config_eth1=( "dhcp" ) wpa_supplicant_eth1="-Dwext" The problem seems to be that DHCP isn't being used, and the even weirder part is that when I bring eth1 up via /etc/init.d/net.eth1 start, ifconfig will show eth1 configured with an IPv6 address! /var/log/messages isn't helpful, except to point out that there are no ipv6 routers on my network (duh!). When I manually run dhcpcd eth1, then the ip address is obtained correctly and it works. What should I check to see why DHCP doesn't seem to be being used on this interface and why I'm getting an IPv6 address? Thanks! R -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On 31/05/07, Mick <[EMAIL PROTECTED]> wrote: On Thursday 31 May 2007 13:14, Mauro Faccenda wrote: > you should try creating your key pair again with: > > $ ssh-keygen -t dsa I would, but it seems to work fine with other servers, hence the point of this thread. What I am going to try out nevertheless is generating an RSA key and see if the server accepts it. Perhaps as Hans-Werner suggested the server may have been configured to only use dsa keys (I find this odd, but I don't know much about RH). Not sure if this server has been configured to only use its own generated keys (is this possible?) because it will not accept a new RSA key of mine: == debug1: Found key in /home/michael/.ssh/known_hosts:18 debug1: ssh_rsa_verify: signature correct debug1: Enabling compression at level 6. debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: publickey debug1: Offering public key: .ssh/id_rsa debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: password == It think it's high time I have words with the sysadmin - wish me luck. ;-) -- Regards, Mick smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Thursday 31 May 2007 13:14, Mauro Faccenda wrote: > On Thursday 31 May 2007 07:42, Mick wrote: > > On Wednesday 30 May 2007 21:42, Mauro Faccenda wrote: [snip] > > debug1: Offering public key: /home/michael/.ssh/id_dsa > > debug1: Authentications that can continue: > > publickey,gssapi-with-mic,password debug1: Next authentication method: > > password > > == > > that's strange. > > which version of openssh do you use in the server and the client? > mine: > client: OpenSSH_4.5p1 > server: OpenSSH_4.4p1 Installed versions: 4.5_p1-r1(19:45:58 02/23/07) (X -X509 -chroot -hpn -kerberos ldap -libedit pam -selinux -skey -smartcard -static tcpd) > > That's right, so why does it: > > == > > debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't > > exist debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is > > my private key > > == > > i didn't noticed this line... really strange. > > how your id_dsa was created? is it corrupted or does it has a public key on > it instead? It was created with 'ssh-keygen -t dsa'. > you should try creating your key pair again with: > > $ ssh-keygen -t dsa I would, but it seems to work fine with other servers, hence the point of this thread. What I am going to try out nevertheless is generating an RSA key and see if the server accepts it. Perhaps as Hans-Werner suggested the server may have been configured to only use dsa keys (I find this odd, but I don't know much about RH). > i would like to see the content of this file (or, at least the "headers"), > but its a PRIVATE key. ;) > > the "headers" of mine: > > -BEGIN DSA PRIVATE KEY- > Proc-Type: 4,ENCRYPTED > DEK-Info: DES-EDE3-CBC,933FEB2C1C691496 This is mine: -BEGIN DSA PRIVATE KEY- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC, XXX[snip] -- Regards, Mick pgpicfna9L7St.pgp Description: PGP signature
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Thursday 31 May 2007 09:38, Hans-Werner Hilse wrote: > wrote: > > > > Second, my id_dsa is my private key not my public key. My public > > > > key is id_dsa.pub > > > > > > but you will need your private key to be authenticated. that's why > > > it is *private*. > > > > That's right, so why does it: > > == > > debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't > > exist debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is > > my private key == > > What is wrong with that? It just says it is trying to access id_rsa, > not that there is one. So it fails, of course. So not existing key > isn't a matter here. It's _debugging_ output, so not necessarily > important information. > > Using the private key is absolutely normal. A test message is encrypted > using it and is then being sent to the server, hence the term "offering". > > I don't see what you are wondering about here. what's wrong there is that it's saying that id_dsa is a PUBLIC key. ;) []'s .m -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Hi, On Thu, 31 May 2007 09:08:38 -0400 Randy Barlow <[EMAIL PROTECTED]> wrote: > Mauro Faccenda wrote: > > being a redhat, i suppose > > that it uses redhat with more less the default configuration, that > > tries to read your public key on your user home in the server > > (~/.ssh/authorized_users or ~/.ssh/authorized_users2). > > This is something I've wondered about for a while - what's the > difference between authorized_users and authorized_users2? I think this is some compatibility cruft from the first sshd versions using the protocol version 2. Comments in "pathnames.h" from the OpenSSH distribution indicate that, too. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Mauro Faccenda wrote: being a redhat, i suppose that it uses redhat with more less the default configuration, that tries to read your public key on your user home in the server (~/.ssh/authorized_users or ~/.ssh/authorized_users2). This is something I've wondered about for a while - what's the difference between authorized_users and authorized_users2? R -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Hi, On Thu, 31 May 2007 11:42:48 +0100 Mick <[EMAIL PROTECTED]> wrote: > > > Second, my id_dsa is my private key not my public key. My public > > > key is id_dsa.pub > > > > but you will need your private key to be authenticated. that's why > > it is *private*. > > That's right, so why does it: > == > debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't exist > debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is my private > key > == What is wrong with that? It just says it is trying to access id_rsa, not that there is one. So it fails, of course. So not existing key isn't a matter here. It's _debugging_ output, so not necessarily important information. Using the private key is absolutely normal. A test message is encrypted using it and is then being sent to the server, hence the term "offering". I don't see what you are wondering about here. > > > PS. Not sure if this is relevant but although my user name on the > > > server is mick, for reasons better known to him the sysadmin has > > > created my home directory as /home/mic - could it be that sshd is > > > looking for /home/mick? > > > > that messages isn't from the server, is from client running > > locally. but it doesnt matter for what you want. > > It matters if the server is trying to find id_dsa.pub in a > non-existing directory. But it _is_ a client message. It doesn't tell you where the server is searching. So yes, the server might be off track and searching in the wrong place. You could tell by monitoring the server's logs. sshd will always search in the home directory as specified in /etc/passwd (in the normal case) or more sophisticated solutions like LDAP or NSS. So make sure it really *is* configured as the home directory. If the target server is ancient, it might also be searching in ".ssh/authorized_keys2". Maybe DSA auth is disabled. Why don't you check server side logs (or let your sysadmin do that)? -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Thursday 31 May 2007 07:42, Mick wrote: > On Wednesday 30 May 2007 21:42, Mauro Faccenda wrote: > > On Wednesday 30 May 2007 16:57, Mick wrote: > > > I find it confusing. First of all I do not have a id_rsa. > > > > it tries the default keys (id_rsa or id_dsa), if exists. > > id_rsa does not exist in my local /home/michael/.ssh/ only id_dsa is there > and the public key that I have saved in /home/mic/.ssh/authorized_keys on > the server is my corresponding id_dsa.pub. > > > if you don't want > > it to try it, you can use the -i parameter to ssh pointing to your > > private key (ssh -i ~/.ssh/id_dsa @), > > Trying with the -i option also fails: > == > $ ssh -v -p 22 -i /home/michael/.ssh/id_dsa mick@ > [snip] > debug1: Found key in /home/michael/.ssh/known_hosts:18 > debug1: ssh_rsa_verify: signature correct > debug1: Enabling compression at level 6. > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug1: Authentications that can continue: > publickey,gssapi-with-mic,password debug1: Next authentication method: > publickey > debug1: Offering public key: /home/michael/.ssh/id_dsa > debug1: Authentications that can continue: > publickey,gssapi-with-mic,password debug1: Next authentication method: > password > == that's strange. which version of openssh do you use in the server and the client? mine: client: OpenSSH_4.5p1 server: OpenSSH_4.4p1 here mine output doing ssh to a server with only key authentication enabled: i don't have the id_dsa.pub in my local machine too. === debug1: Found key in /home/faccenda/.ssh/known_hosts:8 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Trying private key: id_dsa debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type Enter passphrase for key 'id_dsa': === the failed part was because my key is password protected, so it asks me. > That's right, so why does it: > == > debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't exist > debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is my > private key > == i didn't noticed this line... really strange. how your id_dsa was created? is it corrupted or does it has a public key on it instead? you should try creating your key pair again with: $ ssh-keygen -t dsa i would like to see the content of this file (or, at least the "headers"), but its a PRIVATE key. ;) the "headers" of mine: -BEGIN DSA PRIVATE KEY- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,933FEB2C1C691496 > > > PS. Not sure if this is relevant but although my user name on the > > > server is mick, for reasons better known to him the sysadmin has > > > created my home directory as /home/mic - could it be that sshd is > > > looking for /home/mick? > > > > that messages isn't from the server, is from client running locally. but > > it doesnt matter for what you want. > > It matters if the server is trying to find id_dsa.pub in a non-existing > directory. but as i said, that message isn't from the server. being a redhat, i suppose that it uses redhat with more less the default configuration, that tries to read your public key on your user home in the server (~/.ssh/authorized_users or ~/.ssh/authorized_users2). and openssh knows where to look at. even when the home of the user isn't the default which is your case, right? hope it helps, .m -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suspend to swap on a diskless host
Hello On Thu, May 31, 2007 at 01:28:20PM +0200, Hans-Werner Hilse wrote: > On Sun, 27 May 2007 16:21:03 +0200 "Michal 'vorner' Vaner" > <[EMAIL PROTECTED]> wrote: > > > First: You need to load the kernel from the swap, in the time it > > loads, you have no running kernel (well, there is a little part, but > > that one has no clue about network). > > No, that's not entirely true. Userspace suspend and resume is in the > kernel since 2.6.17. See my other post in this thread for a pointer (I > think it was http://suspend.sf.net/). So for this way it really happens > all in userspace, with a fully working kernel available. When the image > is loaded into RAM, the resume utility makes a syscall to have the > kernel automatically copy & switch over. > > See /usr/src/linux/Documentation/power/*suspend* for all the details. OK, I use suspend 1, which seems the least buggy to me, I did not know some of the suspends were in userspace. If so, then yes, it can work. > > Second: You do not want swap on nfs, since it is terribly slow, buggy, > > nfs can allocate memory to transfer data and you get a circular > > problem > > - to get a memory, you need to get a memory. And, what if your cat > > steps on the ethernet cable? > > Resume aborts, checksum error. But that's it. But true, I wouldn't > trust NFS too much, either. But then, there are nbd's (network block > devices) which would probably work a treat. But userspace resume from a > file on NFS should work reliably, too. No, that was not for resume, but for use of swap on NFS. You need fast response from swap and reliability. > > You might try suspend to ram, thought. It should work on diskless > > machine as well as on any other. > > ...cough, cough... yeah, /as/ well as on any other. So this probably > means: It won't work until you switch off ACPI and resort to APM... But > of course, that will depend. Why? It works fine for me. It just suspends and goes on the other day on my laptop, all working by ACPI - with kernel suspend 1. -- This message has optimized support for formating. Please choose green font and black background so it looks like it should. Michal 'vorner' Vaner pgpsVFHEphh7N.pgp Description: PGP signature
Re: [gentoo-user] Suspend to swap on a diskless host
Hi, On Sun, 27 May 2007 16:21:03 +0200 "Michal 'vorner' Vaner" <[EMAIL PROTECTED]> wrote: > First: You need to load the kernel from the swap, in the time it > loads, you have no running kernel (well, there is a little part, but > that one has no clue about network). No, that's not entirely true. Userspace suspend and resume is in the kernel since 2.6.17. See my other post in this thread for a pointer (I think it was http://suspend.sf.net/). So for this way it really happens all in userspace, with a fully working kernel available. When the image is loaded into RAM, the resume utility makes a syscall to have the kernel automatically copy & switch over. See /usr/src/linux/Documentation/power/*suspend* for all the details. > Second: You do not want swap on nfs, since it is terribly slow, buggy, > nfs can allocate memory to transfer data and you get a circular > problem > - to get a memory, you need to get a memory. And, what if your cat > steps on the ethernet cable? Resume aborts, checksum error. But that's it. But true, I wouldn't trust NFS too much, either. But then, there are nbd's (network block devices) which would probably work a treat. But userspace resume from a file on NFS should work reliably, too. You're right, however, regarding the slowlyness. Suspending a 4Gig-RAM machine via NFS is probably a bad idea. > Third: the suspend does not use swap as a swap, but as a part of a > disc. Doesn't matter at all for userspace resume. > You might try suspend to ram, thought. It should work on diskless > machine as well as on any other. ...cough, cough... yeah, /as/ well as on any other. So this probably means: It won't work until you switch off ACPI and resort to APM... But of course, that will depend. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
On Wednesday 30 May 2007 21:42, Mauro Faccenda wrote: > On Wednesday 30 May 2007 16:57, Mick wrote: > > I find it confusing. First of all I do not have a id_rsa. > > it tries the default keys (id_rsa or id_dsa), if exists. id_rsa does not exist in my local /home/michael/.ssh/ only id_dsa is there and the public key that I have saved in /home/mic/.ssh/authorized_keys on the server is my corresponding id_dsa.pub. > if you don't want > it to try it, you can use the -i parameter to ssh pointing to your private > key (ssh -i ~/.ssh/id_dsa @), Trying with the -i option also fails: == $ ssh -v -p 22 -i /home/michael/.ssh/id_dsa mick@ [snip] debug1: Found key in /home/michael/.ssh/known_hosts:18 debug1: ssh_rsa_verify: signature correct debug1: Enabling compression at level 6. debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: publickey debug1: Offering public key: /home/michael/.ssh/id_dsa debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: password == > > Second, my id_dsa is my private key not my public key. My public key is > > id_dsa.pub > > but you will need your private key to be authenticated. that's why it is > *private*. That's right, so why does it: == debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't exist debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is my private key == > > Is this a server configuration issue, or something to do with my Gentoo > > set up? > > ana in the server you'll need to put your *public* key into > ~/.ssh/authorized_keys file. I have of course done this first. > > PS. Not sure if this is relevant but although my user name on the server > > is mick, for reasons better known to him the sysadmin has created my home > > directory as /home/mic - could it be that sshd is looking for /home/mick? > > that messages isn't from the server, is from client running locally. but it > doesnt matter for what you want. It matters if the server is trying to find id_dsa.pub in a non-existing directory. -- Regards, Mick pgpkG77TMDl2m.pgp Description: PGP signature