Re: [gentoo-user] Hanging mount
On 06/27/2012 04:44:34 AM, meino.cra...@gmx.de wrote: Hi, i accidentally tried to mount the extended partition /dev/sda4 from this disk: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x07ec16a2 Device Boot Start End Blocks Id System /dev/sda1 *2048 104447 51200 83 Linux /dev/sda2 10444812687359 6291456 82 Linux swap / Solaris /dev/sda312687360 222402559 104857600 83 Linux /dev/sda4 222402560 1953525167 8655613045 Extended /dev/sda5 222404608 232890367 5242880 83 Linux /dev/sda6 232892416 442607615 104857600 83 Linux /dev/sda7 442609664 652324863 104857600 83 Linux /dev/sda8 652326912 862042111 104857600 83 Linux /dev/sda9 862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux which results in a hanging mount process, which cannot be killed. I was urged to use the sysreq-key to reboot and get rid of that process. This happens with kernel 3.2.21 and 3.4.4. Is this the expected bahviour? I cannot tell you if kernel hanging in this case is normal. But, if there is any problem during mount, the kernel seems to hang. As far as I remember, it only has a very long time out, but it will 'kill' that mount request some time. Helmut.
[gentoo-user] VMware Perl SDK
Anyone managed to install the VMware-vSphere-Perl-SDK on gentoo? In my case: VMware-vSphere-Perl-SDK-5.0.0-422456.x86_64.tar.gz I'd need it to monitor VMware ESX servers via Nagios/Icinga (some special perl check script). The tarball-installer looks for stuff like rpm etc ... more ubuntu-centric, I assume ...even with a (fake) rpm emerged things don't work out too well. Before I start too much fiddling I wanted to ask you gentoo-users ... Greets, Stefan
Re: [gentoo-user] Hanging mount
Helmut Jarausch writes: On 06/27/2012 04:44:34 AM, meino.cra...@gmx.de wrote: Hi, i accidentally tried to mount the extended partition /dev/sda4 from this disk: [...] which results in a hanging mount process, which cannot be killed. I was urged to use the sysreq-key to reboot and get rid of that process. This happens with kernel 3.2.21 and 3.4.4. Is this the expected bahviour? At least it happens here, too. And the mount process uses 100% of one of my cores, this was not expected. I cannot tell you if kernel hanging in this case is normal. But, if there is any problem during mount, the kernel seems to hang. As far as I remember, it only has a very long time out, but it will 'kill' that mount request some time. Let's see how long 'very long' is, it's hanging for over one hour now. I will wait some more hours, but that would be one really long timeout. Wonko
[SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Sat, Jun 23, 2012 at 6:08 PM, Michael Mol mike...@gmail.com wrote: https://bugs.gentoo.org/show_bug.cgi?id=423149 As it turned out, it was my CFLAGS. Not the ones anyone usually cares about, either. If you build glibc with CFLAGS=${CFLAGS} -g3, your glibc will be very, very broken. Apparently, it's old, known and has been a problem for about five years.[1] Which means that when I changed my CFLAGS from -ggdb to -ggdb3 a few months ago, the next time I emerged glibc was going to be the time that killed my system. I didn't think twice about it at the time, either; When trying to debug something, how often does it turn out to be the debugging *data* that's causing the problem? I'm accustomed to systems behaving differently with debuggers attached, but this was...bizarre. The other big thing I kept hearing about was try changing {this|that|other thing}; it might be affecting glibc, because glibc is a whiny b*tch. Are there alternatives to glibc? Meanwhile, while trying to accelerate the tweak/retry cycle of testing this, I wrote a script which automatically installs, configures, updates and builds Gentoo. I'll share it on github soon enough; it's got a bunch of pieces which are particular to my use case. Just a couple more changes before it generates a clean, configured system (for me). Once I've got a stable, working box at home, I'll be able to refine it. [1] http://twitter.com/flameeyes/status/217361466158874626 -- :wq
Re: [gentoo-user] eselect binutils list not matching
On Tue, Jun 26, 2012 at 8:27 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Sun, Jun 24, 2012 at 1:27 PM, Mark Knecht markkne...@gmail.com wrote: Hi, One of my machines is giving an undesired response in eselect: c2stable ~ # eselect binutils list !!! Error: Pattern does not match any installed version of binutils! exiting c2stable ~ # Mine does the same thing on 1 computer but works on 2 others. All with the same versions of all involved packages. Weird. Hey, at least I'm in good company if my old friend Paul Hartman sees the same thing. :-) There is a patch to the binutils.eselect file here that worked for me: https://423525.bugs.gentoo.org/attachment.cgi?id=316441 Before patching (if you do at all - I recommend you don't patch unless you just want to) run this command in the directory you are running eselect in. (For me it was just /root) echo -* On a 'good' machine it returns -q On a 'bad' machine here it returns --help -q I don't think the machine is really bad. I think eselect was likely just not being selective enough about how it works with whatever is in the directory or search path? Not sure. If you see something different you might add it to the bug report but I suspect we've got the same issue. Cheers, Mark
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.06.2012 15:58, Michael Mol wrote: SNIP The other big thing I kept hearing about was try changing {this|that|other thing}; it might be affecting glibc, because glibc is a whiny b*tch. Are there alternatives to glibc? SNIP Alternatives? Hardly, I think. There are some lightweight variants: - - sys-libs/uclibc http://www.uclibc.org/ - - dev-libs/dietlibc http://www.fefe.de/dietlibc/ comes to mind, but afaik they don't have the full functionality of glibc. uclibc seems to be enough for XFCE, though (there is a hardened stage4 with XFCE named lilblue made by blueness) WKR Hinnerk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP6xooAAoJEJwwOFaNFkYc0awH/0409HsXvLNgHV4PIE6Jn3Ar vDOP0yxlmnSwCBcaOlmZoXn3nOiY3AlL5EQtqFM2RJdBv1YMPLtyboqLqbff/Im4 U2Akr7qxXu0qZogwnBYKSHDsupqcTUB4PNS6J0HDvCzeBlaZFF5bgw6P1eD6nRct A4R2wtIwKEoCbUxzSZxjSG0IGTcPruMlX2yV67Yukvsl+XhjoQxhkO3DPECoivpx 0Oqu8dP7mIgVe0Sh9nApZTMgsrw3hH5ezDo9reNKROgCDIjegKvqI5Ts8P1XzjZn 68UTN0pelaj3j7wciM9aUYxu48p4J5pTQfE3t4/T5/DVsBlHqHfqR4kBqSG7Dhw= =PPAJ -END PGP SIGNATURE-
[gentoo-user] Hibernate and missing drives have reappeared - Gentoo-user is also missing!!!!
Hi all, I posted a message a few days ago regarding mapped drives not showing up in Dolphin and the Hibernate button disappearing. I hadn't got around to replying to peoples suggestions, don't you just hate work interfering with your enjoyment of life, and was feeling bad about it so decided to try some of the suggestions today and see what happened. I did sync and world, and hey presto, things are back to normal. Looking at what was updated today, the only thing I can think of that could have caused the problem was polkit, as it also would crash at the start of each session, and doesn't now. A look through the forums suggests this may have been the problem. All is now good. I can't reply to the original mail as I managed to delete it - dill. Anyway I zapped over to the gentoo site to see what I said, archives.gentoo.org, and to my surprise the gentoo-user list in not there in the master list. Looking at the format of the url I guessed the url to be archive.gentoo.org/gentoo-user I entered this and the list came up, but it's last entry is on the 7th of April. Is something stuffed up here? Has gentoo-user become detached from the archive? An up to date archive is under mail-archive.com. Anyway, thanks for the suggestions, even if I never really needed them and if anyone on this list might know how to give the list archive a poke to be up to date it would be great, Andrew
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Wed, 27 Jun 2012 09:58:57 -0400, Michael Mol wrote: If you build glibc with CFLAGS=${CFLAGS} -g3, your glibc will be very, very broken. Apparently, it's old, known and has been a problem for about five years.[1] Thisd sounds worthy of a bug report, an ebuild allowing you to break something as critical as glibc without even a warning does not sound good. -- Neil Bothwick Ralph's Observation - It is a mistake to allow any mechanical object to realize that you are in a hurry. signature.asc Description: PGP signature
Re: [gentoo-user] USE=jpeg not part of hardened/linux/x86 profile
El 27/06/12 04:38, Alecks Gates escribió: On Tue, Jun 26, 2012 at 8:48 PM, Francisco Blas Izquierdo Riera (klondike) klond...@gentoo.org wrote: Hello, First sorry for taking this long to answer this, somehow this mail slipped through my radar and couldn't find it when somebody moved it to the gentoo-hardened list, add to that an... interesting live and we are set. And now let's get answers: First the Gentoo Hardened team DOES support the use of Gentoo Hardened on desktop and this has been so for a long time, there are many reasons for this amongst others the fact that currently desktops tend to be more vulnerable to attacks than servers. As a matter of fact I do tend to state that my laptop is running Gentoo Hardened whenever I have to give a talk on it and I can tell you I'm not the only user here, amongst other examples I recall an interesting remotely managed kiosk project by another user. Regarding the profiles the main reason why they don't exist is the non existence of a desktop feature that makes it easier for us to have it (as it happens for example with the selinux or multilib features). This said we tend to be very open to people wanting to join the community so if you want to create them feel free to come to the meeting we are holding on 2012-06-27 20:00 at #GentooHardened and say so when we touch the profiles topic, be warned though that profiles tend to be very complex and fragile so are a thing not to be taken easily. Which timezone is this in? I don't normally pay attention to this type of thing, but this would be very interesting to watch. UTC So if your mail headers don't lie that should be 15:00 in your local timezone. Regarding skype, in theory you can use it but you need to paxmark it with legacy USE flags and well it is quite awkward, another option is using the new xattr based marks but I think this is still in development. You will also need to disable TPE. What about the new version of Skype, 4.0.0.7, is it? Seeing as Microsoft isn't leaving Skype on Linux dead, who knows, they might be willing to work with the community on something. If they still have the ugly ELF self checking procedure it depends it should work always with ourxattr based paxmarks and maybe TPE disabled (depending on its new requisites) but for the traditional paxmarks which modify the ELF file this may not be the case specially since the older paxmarking method is no longer allowed by newer glibc versions. Regarding things like totem check also dmesg, at times you need to disable TPE to get orc code to work properly. Anyway I have no problems like that with kaffeine. Finally regarding Gwibber and Hotot make sure you don't have the jit USE flag set, jit code and hardened match just as well as a bobcat and a pitbull in a small closed box with a lit firecracker to startle them. Worst case try choqok it works well for me. That covers all on this thread, I hope this e-mail is useful and as always feel free to come back with any questions you have. klondike This was nice to read, and I am (personally) feeling more inclined to use Gentoo Hardened for the desktop now. I'm glad to hear it, I have to recognize the Gentoo Hardened Comunity has changed a lot in the last years (to the point that currently the only old school member of the team who is actively contributing is Swift) which in turn changed a lot the project. signature.asc Description: OpenPGP digital signature
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Wed, Jun 27, 2012 at 8:58 AM, Michael Mol mike...@gmail.com wrote: On Sat, Jun 23, 2012 at 6:08 PM, Michael Mol mike...@gmail.com wrote: https://bugs.gentoo.org/show_bug.cgi?id=423149 As it turned out, it was my CFLAGS. Not the ones anyone usually cares about, either. If you build glibc with CFLAGS=${CFLAGS} -g3, your glibc will be very, very broken. Apparently, it's old, known and has been a problem for about five years. Thanks for posting this follow-up, I never would have guessed the additional debug info could cause such problems.
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Wed, Jun 27, 2012 at 12:12 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 27 Jun 2012 09:58:57 -0400, Michael Mol wrote: If you build glibc with CFLAGS=${CFLAGS} -g3, your glibc will be very, very broken. Apparently, it's old, known and has been a problem for about five years.[1] Thisd sounds worthy of a bug report, an ebuild allowing you to break something as critical as glibc without even a warning does not sound good. Take a look at my bugreport: https://bugs.gentoo.org/show_bug.cgi?id=423149 And then follow through to the bug report it was marked as a duplicate of. Gentoo devs, at least, know of the problem, but don't want to put a workaround in the ebuild for it. Also, even if the ebuild issued a warning, there's no guarantee the warning would ever be made visible; the system is well and truly hosed before the 'postinst' stage of the install, so who knows whether or not the cache-and-show-later warnings would reach the user? -- :wq
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Wed, 27 Jun 2012 12:45:13 -0400, Michael Mol wrote: Also, even if the ebuild issued a warning, there's no guarantee the warning would ever be made visible; the system is well and truly hosed before the 'postinst' stage of the install, so who knows whether or not the cache-and-show-later warnings would reach the user? There is a facility for an ebuild to check things like this and override them or refuse to continue, unless you set $I_KNOW_WHAT_I_AM_DOING. -- Neil Bothwick In plumbing, a straight flush is better than a full house. signature.asc Description: PGP signature
Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
On Wed, Jun 27, 2012 at 1:05 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 27 Jun 2012 12:45:13 -0400, Michael Mol wrote: Also, even if the ebuild issued a warning, there's no guarantee the warning would ever be made visible; the system is well and truly hosed before the 'postinst' stage of the install, so who knows whether or not the cache-and-show-later warnings would reach the user? There is a facility for an ebuild to check things like this and override them or refuse to continue, unless you set $I_KNOW_WHAT_I_AM_DOING. I'll file an enhancement request against the ebuild tonight. (I hope, if I find time.) -- :wq
Re: [gentoo-user] Hibernate and missing drives have reappeared - Gentoo-user is also missing!!!!
On 27 June 2012, at 16:36, Andrew Lowe wrote: ... archives.gentoo.org, and to my surprise the gentoo-user list in not there in the master list. Looking at the format of the url I guessed the url to be archive.gentoo.org/gentoo-user I entered this and the list came up, but it's last entry is on the 7th of April. Is something stuffed up here? Has gentoo-user become detached from the archive? An up to date archive is under mail-archive.com. https://bugs.gentoo.org/show_bug.cgi?id=413633
Re: [gentoo-user] eselect binutils list not matching
On Wed, Jun 27, 2012 at 9:34 AM, Mark Knecht markkne...@gmail.com wrote: On Tue, Jun 26, 2012 at 8:27 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Sun, Jun 24, 2012 at 1:27 PM, Mark Knecht markkne...@gmail.com wrote: Hi, One of my machines is giving an undesired response in eselect: c2stable ~ # eselect binutils list !!! Error: Pattern does not match any installed version of binutils! exiting c2stable ~ # Mine does the same thing on 1 computer but works on 2 others. All with the same versions of all involved packages. Weird. Hey, at least I'm in good company if my old friend Paul Hartman sees the same thing. :-) There is a patch to the binutils.eselect file here that worked for me: https://423525.bugs.gentoo.org/attachment.cgi?id=316441 Before patching (if you do at all - I recommend you don't patch unless you just want to) run this command in the directory you are running eselect in. (For me it was just /root) echo -* On a 'good' machine it returns -q On a 'bad' machine here it returns --help -q I don't think the machine is really bad. I think eselect was likely just not being selective enough about how it works with whatever is in the directory or search path? Not sure. If you see something different you might add it to the bug report but I suspect we've got the same issue. Ah-ha. When I run the command from a directory which does not contain any files or dirs starting with hyphen, it is fine. In my user dir there is ~/- directory for some reason, so that must have been confusing it.
Re: [gentoo-user] eselect binutils list not matching
On Wed, Jun 27, 2012 at 11:26 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Jun 27, 2012 at 9:34 AM, Mark Knecht markkne...@gmail.com wrote: On Tue, Jun 26, 2012 at 8:27 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Sun, Jun 24, 2012 at 1:27 PM, Mark Knecht markkne...@gmail.com wrote: Hi, One of my machines is giving an undesired response in eselect: c2stable ~ # eselect binutils list !!! Error: Pattern does not match any installed version of binutils! exiting c2stable ~ # Mine does the same thing on 1 computer but works on 2 others. All with the same versions of all involved packages. Weird. Hey, at least I'm in good company if my old friend Paul Hartman sees the same thing. :-) There is a patch to the binutils.eselect file here that worked for me: https://423525.bugs.gentoo.org/attachment.cgi?id=316441 Before patching (if you do at all - I recommend you don't patch unless you just want to) run this command in the directory you are running eselect in. (For me it was just /root) echo -* On a 'good' machine it returns -q On a 'bad' machine here it returns --help -q I don't think the machine is really bad. I think eselect was likely just not being selective enough about how it works with whatever is in the directory or search path? Not sure. If you see something different you might add it to the bug report but I suspect we've got the same issue. Ah-ha. When I run the command from a directory which does not contain any files or dirs starting with hyphen, it is fine. In my user dir there is ~/- directory for some reason, so that must have been confusing it. Yes, same here. rm -- -q rm -- --help and now eselect binutils list works fine. The devs have now patched eselect in git to fix this in a future release. In my case I suspect that I executed some command where I was looking for help (--help) but the command was mistyped and I got a file as output, etc. Not sure how you got a directory but if there's nothing in it you care about then I suppose rm -- ~/- would clean it up and eselect would probably work for you also. Cheers, Mark
[gentoo-user] Make Gentoo Live USB Stick
Hello, This question more than likely has been posted before, either to this or some other list. If so, then please let me know and I'll start searching. I want to make a Gentoo Live bootable USB stick using the available Gentoo Live DVD iso. Can this be done by simply copying the iso file to the USB drive with a utility like dd? Or are there some special files that need to be copied to the boot sector? Unetbootin (unetbootin.sf.net) is a GUI program that claims to do this, but there must be a simpler CLI alternative. Frank Peters
Re: [gentoo-user] Make Gentoo Live USB Stick
On Wed, Jun 27, 2012 at 2:06 PM, Frank Peters frank.pet...@comcast.net wrote: Hello, This question more than likely has been posted before, either to this or some other list. If so, then please let me know and I'll start searching. I want to make a Gentoo Live bootable USB stick using the available Gentoo Live DVD iso. Can this be done by simply copying the iso file to the USB drive with a utility like dd? Or are there some special files that need to be copied to the boot sector? Unetbootin (unetbootin.sf.net) is a GUI program that claims to do this, but there must be a simpler CLI alternative. Frank Peters Hi Frank, This is almost too easy to answer as I was wondering the same thing just a couple of days ago. hehe In Google try Gentoo USB live CD which yields: http://www.gentoo.org/doc/en/liveusb.xml Don't know if it works but like all things Gentoo I suspect it does... HTH, ;-) Mark
Re: [gentoo-user] Make Gentoo Live USB Stick
On Wed, 27 Jun 2012 14:15:56 -0700 Mark Knecht markkne...@gmail.com wrote: http://www.gentoo.org/doc/en/liveusb.xml Don't know if it works but like all things Gentoo I suspect it does... That's the first thing that I tried, but it does not seem to involve the Gentoo Live DVD. For example, after following the procedure one comes to the point: Download the Gentoo Weekly Minimal Install CD for your architecture from your local Gentoo Linux mirror ... Huh? What happened to the Live DVD iso stuff? It's not mentioned. I ended up using Unetbootin from an MS Windows machine to copy the Gentoo Live DVD iso to a USB thumb drive. I'm just wondering if there is a CLI procedure to copy same from Linux. Frank Peters
Re: [gentoo-user] Make Gentoo Live USB Stick
On Wed, Jun 27, 2012 at 5:06 PM, Frank Peters frank.pet...@comcast.net wrote: Hello, This question more than likely has been posted before, either to this or some other list. If so, then please let me know and I'll start searching. I want to make a Gentoo Live bootable USB stick using the available Gentoo Live DVD iso. Can this be done by simply copying the iso file to the USB drive with a utility like dd? Or are there some special files that need to be copied to the boot sector? Unetbootin (unetbootin.sf.net) is a GUI program that claims to do this, but there must be a simpler CLI alternative. Frank Peters Hi Frank, dd works fine; http://www.gentoo.org/proj/en/pr/releases/12.1/faq.xml#usb HTH, David
Re: [gentoo-user] Make Gentoo Live USB Stick
On Wed, Jun 27, 2012 at 2:26 PM, Frank Peters frank.pet...@comcast.net wrote: On Wed, 27 Jun 2012 14:15:56 -0700 Mark Knecht markkne...@gmail.com wrote: http://www.gentoo.org/doc/en/liveusb.xml Don't know if it works but like all things Gentoo I suspect it does... That's the first thing that I tried, but it does not seem to involve the Gentoo Live DVD. For example, after following the procedure one comes to the point: Download the Gentoo Weekly Minimal Install CD for your architecture from your local Gentoo Linux mirror ... Huh? What happened to the Live DVD iso stuff? It's not mentioned. I ended up using Unetbootin from an MS Windows machine to copy the Gentoo Live DVD iso to a USB thumb drive. I'm just wondering if there is a CLI procedure to copy same from Linux. Frank Peters I guess I'm misunderstanding a fine point here in terms of what you want to do. Immediately following those words the process does: (Create the /mnt/cdrom mount point if needed) # mkdir -p /mnt/cdrom # mount -o loop,ro -t iso9660 /path/to/iso.iso /mnt/cdrom So it seems to mount the ISO image. Is there anything other than a Gentoo Weekly Minimal Install CD anymore? Would it matter if it was a minimal ISO or something more complicated? I don't know. In my case I was looking into building a new machine that wouldn't have a CD, so I was wondering about using a USB drive vs maybe an external USB CDROM drive. If you are doing something where you require lots and lots of prebuilt programs on the USB drive then this ISO wouldn't be appropriate. Good luck, Mark
Re: [gentoo-user] Make Gentoo Live USB Stick
On Wed, 27 Jun 2012 17:06:49 -0400, Frank Peters wrote: I want to make a Gentoo Live bootable USB stick using the available Gentoo Live DVD iso. Can this be done by simply copying the iso file to the USB drive with a utility like dd? The latest Gentoo ISOs are hybrid files, able to boot from optical discs and USB sticks, so just dd it to the stick. -- Neil Bothwick C:\DOS\SYSTEM\BATCH\UTILS\API\DOCS\READ\STORED\WHERE\THE\HELL\AM\I\? signature.asc Description: PGP signature
[gentoo-user] Gentoo install script
Very rough, and very much a works-for-me thing, but I thought I'd share. https://github.com/mikemol/gentoo-install I wrote it to ease the pain of the install-configure-build cycle I was going through to figure out what was breaking glibc. -- :wq