[gentoo-user] heads-up: 2011-05-01 baselayout news
I am running default/linux/amd64/10.0/no-multilib profile, and I got the following news item, after syncing this morning: # eselect news read 2011-05-01-baselayout-update Title Baselayout update AuthorChristian Faulhammer fa...@gentoo.org AuthorWilliam Hubbs willi...@gentoo.org Posted2011-05-01 Revision 1 The baselayout package provides files which all systems must have in order to function properly. You are currently using version 1.x, which has several issues. The most significant of these is that the included init scripts are written entirely in bash, which makes them slow and not very flexible. On 2011/05/08, you will see an update for sys-apps/baselayout to 2.x and a new package, sys-apps/openrc. It is recommended that you perform this update as soon as possible. Please note, after these packages are emerged, it is __Absolutely_Critical__ that you immediately update your configuration files with dispatch-conf, etc-update or a similar tool then follow the steps in the migration guide located at the following URL. http://www.gentoo.org/doc/en/openrc-migration.xml FAILURE TO FOLLOW ALL OF THESE STEPS WILL RESULT IN AN UNBOOTABLE SYSTEM! IF THIS SHOULD HAPPEN, YOU WILL NEED TO BOOT FROM A LIVE CD OR DVD, MOUNT YOUR ROOT FILE SYSTEM, CHROOT INTO THAT ENVIRONMENT AND FOLLOW THE ABOVE STEPS!
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
Let me add that my system defaults to the _stable_ software branch.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 10:11:06 Thanasis wrote: Let me add that my system defaults to the _stable_ software branch. Thanks for the heads up. :) It seems then that Baselayout2/OpenRC is being rolled out to stable. I'll be unmasking and updating a couple of boxen today, taking advantage of some spare time and finishing the rest off next weekend. Hope all goes well. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 10:03:11 Thanasis wrote: I am running default/linux/amd64/10.0/no-multilib profile, and I got the following news item, after syncing this morning: # eselect news read 2011-05-01-baselayout-update Title Baselayout update AuthorChristian Faulhammer fa...@gentoo.org AuthorWilliam Hubbs willi...@gentoo.org Posted2011-05-01 Revision 1 The baselayout package provides files which all systems must have in order to function properly. You are currently using version 1.x, which has several issues. The most significant of these is that the included init scripts are written entirely in bash, which makes them slow and not very flexible. On 2011/05/08, you will see an update for sys-apps/baselayout to 2.x and a new package, sys-apps/openrc. It is recommended that you perform this update as soon as possible. Please note, after these packages are emerged, it is __Absolutely_Critical__ that you immediately update your configuration files with dispatch-conf, etc-update or a similar tool then follow the steps in the migration guide located at the following URL. http://www.gentoo.org/doc/en/openrc-migration.xml FAILURE TO FOLLOW ALL OF THESE STEPS WILL RESULT IN AN UNBOOTABLE SYSTEM! IF THIS SHOULD HAPPEN, YOU WILL NEED TO BOOT FROM A LIVE CD OR DVD, MOUNT YOUR ROOT FILE SYSTEM, CHROOT INTO THAT ENVIRONMENT AND FOLLOW THE ABOVE STEPS! I've been through the migration guide. In the section about udev it mentions /etc/runlevels/sysinit. Is this something added by baselayout2/OpenRC? I don't seem to have this in my runlevels: $ ls -l /etc/runlevels/ total 16 drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot drwxr-xr-x 2 root root 4096 Jun 8 2010 default drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork drwxr-xr-x 2 root root 4096 Jan 21 2010 single -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 10:43:59 Mick wrote: On Monday 02 May 2011 10:03:11 Thanasis wrote: I am running default/linux/amd64/10.0/no-multilib profile, and I got the following news item, after syncing this morning: # eselect news read 2011-05-01-baselayout-update Title Baselayout update AuthorChristian Faulhammer fa...@gentoo.org AuthorWilliam Hubbs willi...@gentoo.org Posted2011-05-01 Revision 1 The baselayout package provides files which all systems must have in order to function properly. You are currently using version 1.x, which has several issues. The most significant of these is that the included init scripts are written entirely in bash, which makes them slow and not very flexible. On 2011/05/08, you will see an update for sys-apps/baselayout to 2.x and a new package, sys-apps/openrc. It is recommended that you perform this update as soon as possible. Please note, after these packages are emerged, it is __Absolutely_Critical__ that you immediately update your configuration files with dispatch-conf, etc-update or a similar tool then follow the steps in the migration guide located at the following URL. http://www.gentoo.org/doc/en/openrc-migration.xml FAILURE TO FOLLOW ALL OF THESE STEPS WILL RESULT IN AN UNBOOTABLE SYSTEM! IF THIS SHOULD HAPPEN, YOU WILL NEED TO BOOT FROM A LIVE CD OR DVD, MOUNT YOUR ROOT FILE SYSTEM, CHROOT INTO THAT ENVIRONMENT AND FOLLOW THE ABOVE STEPS! I've been through the migration guide. In the section about udev it mentions /etc/runlevels/sysinit. Is this something added by baselayout2/OpenRC? I don't seem to have this in my runlevels: $ ls -l /etc/runlevels/ total 16 drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot drwxr-xr-x 2 root root 4096 Jun 8 2010 default drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork drwxr-xr-x 2 root root 4096 Jan 21 2010 single Another thing I found, is some incongruity about the file in which the $EDITOR and $PAGER should be defined. The migration guide says: The EDITOR variable is no longer found in /etc/rc.conf. Both EDITOR and PAGER are set by default in /etc/profile. You should change this as needed in your ~/.bashrc (or equivalent) file or create */etc/env.d/99editor* and set the system default there. On the other hand the /etc/profile file seems to recommend /etc/profile.d/ # You should override these in your ~/.bashrc (or equivalent) for per-user # settings. For system defaults, you can add a new file in /etc/profile.d/. export EDITOR=${EDITOR:-/bin/nano} export PAGER=${PAGER:-/usr/bin/less} Which one is the authoritative place to define a system wide editor? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
on 05/02/2011 12:43 PM Mick wrote the following: snip http://www.gentoo.org/doc/en/openrc-migration.xml I've been through the migration guide. In the section about udev it mentions /etc/runlevels/sysinit. Is this something added by baselayout2/OpenRC? I don't seem to have this in my runlevels: $ ls -l /etc/runlevels/ total 16 drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot drwxr-xr-x 2 root root 4096 Jun 8 2010 default drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork drwxr-xr-x 2 root root 4096 Jan 21 2010 single Looks like the update process will create the directory /etc/runlevels/sysinit and (it should) put inside links to devfs, dmesg, udev like so: (# ls -l /etc/runlevels/sysinit) lrwxrwxrwx 1 root root 17 Sep 23 2009 devfs - /etc/init.d/devfs lrwxrwxrwx 1 root root 17 Sep 23 2009 dmesg - /etc/init.d/dmesg lrwxrwxrwx 1 root root 16 Sep 23 2009 udev - /etc/init.d/udev
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
Thanasis wrote: Let me add that my system defaults to the _stable_ software branch. They are giving a heads up that the update is coming. I think it is going stable in a few days, about a week since the package was added to stable. I'm just hoping this will be a clean upgrade. They been working on it long enough. o_O I'm hoping for better than my hal upgrade for sure. lol Dale :-) :-)
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
on 05/02/2011 01:05 PM Mick wrote the following: Another thing I found, is some incongruity about the file in which the $EDITOR and $PAGER should be defined. The migration guide says: The EDITOR variable is no longer found in /etc/rc.conf. Both EDITOR and PAGER are set by default in /etc/profile. You should change this as needed in your ~/.bashrc (or equivalent) file or create */etc/env.d/99editor* and set the system default there. On the other hand the /etc/profile file seems to recommend /etc/profile.d/ # You should override these in your ~/.bashrc (or equivalent) for per-user # settings. For system defaults, you can add a new file in /etc/profile.d/. export EDITOR=${EDITOR:-/bin/nano} export PAGER=${PAGER:-/usr/bin/less} Which one is the authoritative place to define a system wide editor? All above are consistent. The system default is set in a file like /etc/env.d/99editor I use eselect (app-admin/eselect) to set the system defaults. eg I have: # cat /etc/env.d/99editor # Configuration file for eselect # This file has been automatically generated. EDITOR=/usr/bin/vi VISUAL=/usr/bin/vi But on a per user basis, a user should define those environment variables in his ~/.bashrc or ~/.bash_profile (or equivalent) shell initialization files.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 11:26:27 you wrote: on 05/02/2011 01:05 PM Mick wrote the following: Another thing I found, is some incongruity about the file in which the $EDITOR and $PAGER should be defined. The migration guide says: The EDITOR variable is no longer found in /etc/rc.conf. Both EDITOR and PAGER are set by default in /etc/profile. You should change this as needed in your ~/.bashrc (or equivalent) file or create */etc/env.d/99editor* and set the system default there. On the other hand the /etc/profile file seems to recommend /etc/profile.d/ # You should override these in your ~/.bashrc (or equivalent) for per-user # settings. For system defaults, you can add a new file in /etc/profile.d/. export EDITOR=${EDITOR:-/bin/nano} export PAGER=${PAGER:-/usr/bin/less} Which one is the authoritative place to define a system wide editor? All above are consistent. The system default is set in a file like /etc/env.d/99editor I use eselect (app-admin/eselect) to set the system defaults. eg I have: # cat /etc/env.d/99editor # Configuration file for eselect # This file has been automatically generated. EDITOR=/usr/bin/vi VISUAL=/usr/bin/vi But on a per user basis, a user should define those environment variables in his ~/.bashrc or ~/.bash_profile (or equivalent) shell initialization files. Thanks. Not sure if there is a difference between an env.d variable and a profile.d variable. I've added mine to /etc/profile.d for now. I'll see what gives when I reboot. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
on 05/02/2011 01:50 PM Mick wrote the following: snip Not sure if there is a difference between an env.d variable and a profile.d variable. Me neither, but I think you should add it to env.d In my system only a couple of packages (namely dev-java/java-config and sys-fs/udisks) use profile.d All other packages use /etc/env.d and so does sys-apps/baselayout.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
Mick writes: On Monday 02 May 2011 11:26:27 you wrote: Thanks. Not sure if there is a difference between an env.d variable and a profile.d variable. None you will notice, both /etc/profile.env and scripts in /etc/profile.d/ are sourced in /etc/profile. profile.env contains all stuff in /etc/env.d/ after you ran env-update. I do not manually change things in env.d, but with 'eselect editor set n' you can create a file /etc/env.d/99editor which will set the EDITOR variable to the editor you gave eselect as argument. Enter eselect editor list to se what's available, or just give the editor path as argument to eselect. I've added mine to /etc/profile.d for now. I'll see what gives when I reboot. A relogin would be enough. Or '. /etc/profile' in the shell, this is what eselects suggests to do. Or bash -l, or xterm -ls. Wonko
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 12:52:12 Alex Schuster wrote: Mick writes: On Monday 02 May 2011 11:26:27 you wrote: Thanks. Not sure if there is a difference between an env.d variable and a profile.d variable. None you will notice, both /etc/profile.env and scripts in /etc/profile.d/ are sourced in /etc/profile. profile.env contains all stuff in /etc/env.d/ after you ran env-update. Hmm ... I initially set up a file in /etc/profile.d/99editor with EDITOR=/usr/bin/vim in it. Upon reboot I still got: echo $EDITOR /bin/nano So, I thought of moving it into /etc/env.d/97editor. Upon another reboot (troubleshooting network problems) I again found out that nano is my default editor ... neither locations seem to being read at boot time? Running env-update source /etc/profile did not make any difference. Is the number prefix important? Does it have to be 99editor? If so, how does one discover the correct number for each variable? I do not manually change things in env.d, but with 'eselect editor set n' you can create a file /etc/env.d/99editor which will set the EDITOR variable to the editor you gave eselect as argument. Enter eselect editor list to se what's available, or just give the editor path as argument to eselect. # eselect editor list Available targets for the EDITOR variable: [1] /bin/nano [2] /usr/bin/ex [3] /usr/bin/vi [ ] (free form) What does the [ ] (free form) above refer to? I've added mine to /etc/profile.d for now. I'll see what gives when I reboot. A relogin would be enough. Or '. /etc/profile' in the shell, this is what eselects suggests to do. Or bash -l, or xterm -ls. Yep, setting the EDITOR using eselect works fine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] HAL or UDEV...
On Sun, May 01, 2011 at 10:20:03PM +0200, Alex Schuster wrote: Carlos Sura writes: I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. Did you rebuild all xorg modules with emerge @x11-module-rebuild or emerge -1 $( qlist -IC x11-drivers/ ) after building xorg-server? Are there errors in /var/log/Xorg.0.log? I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. You should use udev. All versions of xorg-server in the current portage tree already no longer have the hal use flag, so I assume HAL is not being used at all anyway. Wonko Yep, use udev. Works fine here, even on my ~x86 thinkpad. Refer to this: http://www.gentoo.org/doc/en/udev-guide.xml -- If only my interface to the time-space continuum could be unix-like... With vim keybindings, cron, and everything!
[gentoo-user] emerge stopped working
Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? D
Re: [gentoo-user] emerge stopped working
Apparently, though unproven, at 17:38 on Monday 02 May 2011, Davide Carnovale did opine thusly: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? Unless you can post some real error messages it's going to be very difficult to help you - there can be many causes for a failure such as that. Start with the usual: - go through any relevant logs looking for related entries then post them - do an fsck on your filesystems - anything useful returned by revdep-rebuild? Copying over scripts is unlikely to achieve much. bash is not actually related after emerge launches and emerge itself is a python script - the guts of the work is done elsewhere. In fact you might have done more harm than good as the emerge script version now does not match everything else installed by the portage ebuild. You will probably need to remerge portage from a live CD environment as step 1. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge stopped working
On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut.
Re: [gentoo-user] emerge stopped working
@alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut.
Re: [gentoo-user] Apache is running but its log is not
On Sat, Apr 30, 2011 at 11:37 PM, Adam Carter adamcart...@gmail.com wrote: How do I find out where/if Apache thinks its logging things? In /etc/apache check httpd.conf and modules.d/00_mod_log_config.conf in /etc/apache2, I find ServerRoot /usr/lib/apache2 but no log files, and no special logfile paths, so it seems it must use the default. However in /var/log/apache2 I find log files that have not been touched since February. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. Are permissions correct for the apache user to created and write to files? Does syslog show any messages from Apache? Permissions are generous: treat apache2 # ls -lad /var drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var treat apache2 # ls -lad /var/log drwxr-xr-x 17 root root 4096 May 2 03:14 /var/log treat apache2 # ls -lad /var/log/apache2 drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2 treat apache2 # ls -l /var/log/apache2 total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # There is one syslog entry for apache in the last 7 days: May 1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL) resolving 'maven.apache.org/A/IN': 199.19.57.1#53 This does not seem to have anything to do with the problem, which is that my CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing. In the meanwhile, I'll be opening a different thread because things got lots worse when I did a --depclean, which deleted the one copy of python that everything seems to use: my CGI scripts are now the least of my problems. I can no longer run portage, vim or even untar my extensive collection of binary packages. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
Hi, Davide. On Mon, May 02, 2011 at 03:38:03PM +, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? Try testing your RAM. There is a RAM tester (I think it's called memtest2) on the minimal installation CD. D -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Kompozer: undefined reference to `SEC_ASN1Encode_Util'
On Fri, Apr 29, 2011 at 4:03 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Thursday 28 April 2011 20:28:14 Paul Hartman wrote: I don't see kompozer in portage at all. Is it in an overlay? Now that you ask, I don't remember how I came by it, but I have an ebuild and so on in /usr/local/portage. I was also astonished to find, after I wrote, that I also have a package of it from last time I did manage to get it emerged, last June. I tried emerging that and it seems to have worked - the program runs, at any rate. I bet you got it from Bugzilla, because you're CC'ed on this: https://bugs.gentoo.org/show_bug.cgi?id=146761 :) There seems to be a lot of activity on it, maybe the attached ebuilds are newer than the one you're trying.
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut. @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I have the same problem. I just did a --depclean, and find that 'vim' cannot run: treat log # vim vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory treat log # So I have to fall back on pico, which I only barely know how to use. I have quite a collection of binary packages (everything emerged in the last few years), but even untarring them fails (just wedges with no message, and even strace(1) is not helping me find this.) I can unpack on a different machine, but will that even help? BTW, it's not that I don't have python, it's just that version 2.6.6 got unloaded somehow: [I] dev-lang/python Available versions: (2.4) 2.4.6{tbz2} (2.5) 2.5.4-r4{tbz2} (2.6) 2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2} (2.7) 2.7.1-r1{tbz2} (3.1) 3.1.2-r4{tbz2} 3.1.3-r1{tbz2} (3.2) [M]~3.2 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} Installed versions: reformatted for clarity 2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc -elibc_uclibc -examples -wininst) 2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples -sqlite -wininst) Homepage:http://www.python.org/ I'm right now trying to see if eselect python set 3 will let emerge, vim and tar run again. 3 is version 2.7. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Monday 02 May 2011 17:05:08 Davide Carnovale wrote: @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I'll guess, since everybody else is, that you updated python to 2.7, then did *NOT* run python-update, did not use eselect to change to 2.7, but *DID* run emerge --depclean which removed dev-lang/python-2.6.6-r2. So, to find out what happened trawl through /var/log/emerge.log and then look at the messages you got in /var/log/portage/elog/summary.log for advice as to what you missed doing. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 2, 2011 at 2:31 AM, Mick michaelkintz...@gmail.com wrote: On Monday 02 May 2011 10:11:06 Thanasis wrote: Let me add that my system defaults to the _stable_ software branch. Thanks for the heads up. :) It seems then that Baselayout2/OpenRC is being rolled out to stable. I'll be unmasking and updating a couple of boxen today, taking advantage of some spare time and finishing the rest off next weekend. Hope all goes well. -- Regards, Mick How will you / did you decide what versions to unmask? The news message seems quite vague and I see lots of versions of things. Two 2.X versions of baselayout and four versions of OpenRC. I'd potentially start updating a stable machine today but I'd prefer to only unmask what is actually going to become the stable version and nothing higher. - Mark
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 9:54 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut. @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I have the same problem. I just did a --depclean, and find that 'vim' cannot run: treat log # vim vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory treat log # So I have to fall back on pico, which I only barely know how to use. I have quite a collection of binary packages (everything emerged in the last few years), but even untarring them fails (just wedges with no message, and even strace(1) is not helping me find this.) I can unpack on a different machine, but will that even help? BTW, it's not that I don't have python, it's just that version 2.6.6 got unloaded somehow: [I] dev-lang/python Available versions: (2.4) 2.4.6{tbz2} (2.5) 2.5.4-r4{tbz2} (2.6) 2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2} (2.7) 2.7.1-r1{tbz2} (3.1) 3.1.2-r4{tbz2} 3.1.3-r1{tbz2} (3.2) [M]~3.2 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} Installed versions: reformatted for clarity 2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc -elibc_uclibc -examples -wininst) 2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples -sqlite -wininst) Homepage:http://www.python.org/ I'm right now trying to see if eselect python set 3 will let emerge, vim and tar run again. 3 is version 2.7. -- Kevin O'Gorman, PhD ANSWER: yes it did. At least emerge and vim are working again. I'm also doing all of my usual post-emerge cleanups just in case: #!/bin/bash echo ' !!! Running dispatch-conf' dispatch-conf echo ' !!! Running revdep-rebuild --ignore' revdep-rebuild --ignore echo ' !!! Running lafilefixer --justfixit' lafilefixer --justfixit | fgrep -v 'skipping update' echo ' !!! Running perl-cleaner all' perl-cleaner all | fgrep -v 'Skipping directory' I'm hoping you also have an extra copy of python around, so you can do the same thing. -- Kevin O'Gorman, PhD
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 18:11:01 Mark Knecht wrote: On Mon, May 2, 2011 at 2:31 AM, Mick michaelkintz...@gmail.com wrote: On Monday 02 May 2011 10:11:06 Thanasis wrote: Let me add that my system defaults to the _stable_ software branch. Thanks for the heads up. :) It seems then that Baselayout2/OpenRC is being rolled out to stable. I'll be unmasking and updating a couple of boxen today, taking advantage of some spare time and finishing the rest off next weekend. Hope all goes well. -- Regards, Mick How will you / did you decide what versions to unmask? The news message seems quite vague and I see lots of versions of things. Two 2.X versions of baselayout and four versions of OpenRC. I'd potentially start updating a stable machine today but I'd prefer to only unmask what is actually going to become the stable version and nothing higher. - Mark I've unmasked the latest available after reading the changelogs: sys-apps/baselayout-2.0.2 sys-apps/openrc-0.8.2-r1 All seems to work fine here. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 2, 2011 at 10:36 AM, Mick michaelkintz...@gmail.com wrote: SNIP I've unmasked the latest available after reading the changelogs: sys-apps/baselayout-2.0.2 sys-apps/openrc-0.8.2-r1 All seems to work fine here. -- Regards, Mick baselayout-2.0.2 seems like the obvious choice. openrc-0.8.2-r1 I'm not so sure about. It would be nice if the news message actually said these things instead of leaving us guessing... Thanks Mick. I'm going to do this first in a Gentoo VM. If it dies I can easily go back to a backup and start over. It's not possible for me to recover from a mistake on a remote machine as there's no way to boot from a CD. Order of work: 1) Gentoo VM 2) 4 local Gentoo boxes 3) 2 remote Gentoo boxes Cheers, Mark
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, 2 May 2011 10:11:01 -0700, Mark Knecht wrote: How will you / did you decide what versions to unmask? Does stable portage support the --autounmask option to emerge? -- Neil Bothwick Do not handicap your children by making their lives easy. -- Robert Heinlein signature.asc Description: PGP signature
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 10:10 AM, Mick michaelkintz...@gmail.com wrote: I'll guess, since everybody else is, that you updated python to 2.7, then did *NOT* run python-update, did not use eselect to change to 2.7, but *DID* run emerge --depclean which removed dev-lang/python-2.6.6-r2. that would be python-updater. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Mon, May 2, 2011 at 9:36 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. Are permissions correct for the apache user to created and write to files? Does syslog show any messages from Apache? Permissions are generous: treat apache2 # ls -lad /var drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var treat apache2 # ls -lad /var/log drwxr-xr-x 17 root root 4096 May 2 03:14 /var/log treat apache2 # ls -lad /var/log/apache2 drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2 treat apache2 # ls -l /var/log/apache2 total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # There is one syslog entry for apache in the last 7 days: May 1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL) resolving 'maven.apache.org/A/IN': 199.19.57.1#53 This does not seem to have anything to do with the problem, which is that my CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing. In the meanwhile, I'll be opening a different thread because things got lots worse when I did a --depclean, which deleted the one copy of python that everything seems to use: my CGI scripts are now the least of my problems. I can no longer run portage, vim or even untar my extensive collection of binary packages. -- Kevin O'Gorman, PhD Okay, there was already a thread about that, and my Python problem seems solved. I still have no log entries. -- Kevin O'Gorman, PhD
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 2, 2011 at 11:02 AM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 2 May 2011 10:11:01 -0700, Mark Knecht wrote: How will you / did you decide what versions to unmask? Does stable portage support the --autounmask option to emerge? I use ~amd64 portage so I have supports that feature but what command do I run today to unmask the version level they will make stable next week? (For instance 0.7 instead of 0.8) I don't think that feature looks into the future like that. - Mark
Re: [gentoo-user] HAL or UDEV...
On 2 May 2011 08:21, Indi thebeelzebubtrig...@gmail.com wrote: On Sun, May 01, 2011 at 10:20:03PM +0200, Alex Schuster wrote: Carlos Sura writes: I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. Did you rebuild all xorg modules with emerge @x11-module-rebuild or emerge -1 $( qlist -IC x11-drivers/ ) after building xorg-server? Are there errors in /var/log/Xorg.0.log? I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. You should use udev. All versions of xorg-server in the current portage tree already no longer have the hal use flag, so I assume HAL is not being used at all anyway. Wonko Yep, use udev. Works fine here, even on my ~x86 thinkpad. Refer to this: http://www.gentoo.org/doc/en/udev-guide.xml -- If only my interface to the time-space continuum could be unix-like... With vim keybindings, cron, and everything! Thank you for your answer and information. I will be using UDEV. -- Carlos Sura.-
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, 2 May 2011 11:16:36 -0700, Mark Knecht wrote: Does stable portage support the --autounmask option to emerge? I use ~amd64 portage so I have supports that feature but what command do I run today to unmask the version level they will make stable next week? (For instance 0.7 instead of 0.8) I don't think that feature looks into the future like that. The latest version of baselayout is over six weeks old, so I'd go for that. -- Neil Bothwick Celery is not food. It is a member of the plywood family. signature.asc Description: PGP signature
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 2, 2011 at 11:48 AM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 2 May 2011 11:16:36 -0700, Mark Knecht wrote: Does stable portage support the --autounmask option to emerge? I use ~amd64 portage so I have supports that feature but what command do I run today to unmask the version level they will make stable next week? (For instance 0.7 instead of 0.8) I don't think that feature looks into the future like that. The latest version of baselayout is over six weeks old, so I'd go for that. -- Neil Bothwick Life's a crap shoot. (As are all my index futures trades today.) Sounds good. Cheers, Mark
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
Hey Mark, the news item does not tell the exact version because there might be sub/rc- versions until release. so on release date the devs will remove keywords of the right versions. i read the dev mailing list a bit and it should be baselayout-2.0.2 + openrc-0.8.2-r1 if no further -rc will be introduced till release. already installed it yesterday, followed the migration guide and it works fine for me. or just wait until it is offical released and use those versions. Cheers Felix Leif On Monday 02 May 2011 10:11:01 Mark Knecht wrote: On Mon, May 2, 2011 at 2:31 AM, Mick michaelkintz...@gmail.com wrote: On Monday 02 May 2011 10:11:06 Thanasis wrote: Let me add that my system defaults to the _stable_ software branch. Thanks for the heads up. :) It seems then that Baselayout2/OpenRC is being rolled out to stable. I'll be unmasking and updating a couple of boxen today, taking advantage of some spare time and finishing the rest off next weekend. Hope all goes well. -- Regards, Mick How will you / did you decide what versions to unmask? The news message seems quite vague and I see lots of versions of things. Two 2.X versions of baselayout and four versions of OpenRC. I'd potentially start updating a stable machine today but I'd prefer to only unmask what is actually going to become the stable version and nothing higher. - Mark
Re: [gentoo-user] emerge stopped working
On Monday 02 May 2011 19:07:04 Kevin O'Gorman wrote: On Mon, May 2, 2011 at 10:10 AM, Mick michaelkintz...@gmail.com wrote: I'll guess, since everybody else is, that you updated python to 2.7, then did *NOT* run python-update, did not use eselect to change to 2.7, but *DID* run emerge --depclean which removed dev-lang/python-2.6.6-r2. that would be python-updater. Oops! Yes, of course (autocompletion doesn't work very well in kmail! LOL) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Kompozer: undefined reference to `SEC_ASN1Encode_Util'
On Monday 02 May 2011 17:54:18 Paul Hartman wrote: I bet you got it from Bugzilla, because you're CC'ed on this: https://bugs.gentoo.org/show_bug.cgi?id=146761 :) I bow to your superior detective-work. :-) -- Rgds Peter
Re: [gentoo-user] emerge stopped working
Apparently, though unproven, at 19:10 on Monday 02 May 2011, Mick did opine thusly: On Monday 02 May 2011 17:05:08 Davide Carnovale wrote: @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I'll guess, since everybody else is, that you updated python to 2.7, then did *NOT* run python-update, did not use eselect to change to 2.7, but *DID* run emerge --depclean which removed dev-lang/python-2.6.6-r2. So, to find out what happened trawl through /var/log/emerge.log and then look at the messages you got in /var/log/portage/elog/summary.log for advice as to what you missed doing. If you have genlop installed, genlop -u python will show if python was unmerged recently. (emerge logs are almost impossible to scan by eye as the timestamps are epoch time) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge stopped working
Apparently, though unproven, at 18:05 on Monday 02 May 2011, Davide Carnovale did opine thusly: @alan, no error are printed, where and what should i look for in the logs? It looks awfully like depclean took away your old version of python before you used eselect. Others have posted details of how to deal with this. I'm assuming you are reasonably new to gentoo, here's a tip from someone who already got bitten hard too many times to mention: Some updates require you to take manual action after the fact, and these things cannot be automated (at least not without breaking the gentoo philosophy of let the user decide always). Ubuntu, Fedora, etc does not have this problem as they tell you how things will be, Gentoo is different. So after an emerge world, *always* go through every log file in /var/log/portag/elog[1] and deal with every issue arising before moving onto the next step which is usually depclean, emerge @preserved-rebuild and so on. Some packages should raise alarm bells when they appear in depclean output: python, glibc, gcc, portage. Make sure you've done everything you need to have done before accepting these choices. Two final DONTs: Never blindly accept what depclean says and let it do it's thing. Study the output, the warning printed on the screen to do just that is there for a reason. Never blindly update protected config files with etc-update etc. Check each one individually and do it manually. @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Kompozer: undefined reference to `SEC_ASN1Encode_Util'
On Monday 02 May 2011 20:12:11 Peter Humphrey wrote: On Monday 02 May 2011 17:54:18 Paul Hartman wrote: I bet you got it from Bugzilla, because you're CC'ed on this: https://bugs.gentoo.org/show_bug.cgi?id=146761 :) I bow to your superior detective-work. :-) A bit O/T to the original post, but how does kompozer compares to Komodo-edit? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] ot? : how to track and bill my work under gentoo
greets, I assume that many of you earn your money by working w/ computers, in IT, programming, hacking, being root ;-) I do and I always have the nagging feeling that I somehow lose money by not being able to easily track my work. A typical workday consists of getting emails, receiving calls ... hopping from one customer to another, doing admin-work here and there. It is quite hard to keep track here. I use the hamster applet under Gnome: http://projecthamster.wordpress.com/ I use it on my main machine, unfortunately it is not yet able to store its db somewhere on the net, so I don't use it on my thinkpad (I would have to somehow merge lists when writing bills). A thought would be to look at the logs of my ssh-client ;-) Long story ... The question: how do you handle this? Any special hints, any ebuilds to look at? Thanks a lot, Stefan
Re: [gentoo-user] ot? : how to track and bill my work under gentoo
On Monday 02 May 2011 22:33:03 Stefan G. Weichinger wrote: greets, I assume that many of you earn your money by working w/ computers, in IT, programming, hacking, being root ;-) I do and I always have the nagging feeling that I somehow lose money by not being able to easily track my work. A typical workday consists of getting emails, receiving calls ... hopping from one customer to another, doing admin-work here and there. It is quite hard to keep track here. I use the hamster applet under Gnome: http://projecthamster.wordpress.com/ I use it on my main machine, unfortunately it is not yet able to store its db somewhere on the net, so I don't use it on my thinkpad (I would have to somehow merge lists when writing bills). A thought would be to look at the logs of my ssh-client ;-) Long story ... The question: how do you handle this? Any special hints, any ebuilds to look at? Thanks a lot, Stefan I don't use Gnome so can't advise for Gnome only apps, but KDE's Kontact suite has Time Tracker. For a DE independent application you may want to have a look at Task Coach: $ eix -l taskcoach * app-office/taskcoach Available versions: 1.1.4-r1 amd64 x86 [libnotify] ~ 1.2.12 ~amd64 ~x86 [libnotify] ~ 1.2.15 ~amd64 ~x86 [libnotify] ~ 1.2.16 ~amd64 ~x86 [libnotify] Homepage:http://www.taskcoach.org http://pypi.python.org/pypi/TaskCoach Description: Simple personal tasks and todo lists manager No doubt there are similar webapps online these days, but have not had a look yet. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 2, 2011 at 11:54 AM, Mark Knecht markkne...@gmail.com wrote: On Mon, May 2, 2011 at 11:48 AM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 2 May 2011 11:16:36 -0700, Mark Knecht wrote: Does stable portage support the --autounmask option to emerge? I use ~amd64 portage so I have supports that feature but what command do I run today to unmask the version level they will make stable next week? (For instance 0.7 instead of 0.8) I don't think that feature looks into the future like that. The latest version of baselayout is over six weeks old, so I'd go for that. -- Neil Bothwick Life's a crap shoot. (As are all my index futures trades today.) Sounds good. Cheers, Mark OK, I'm writing this from an updated Gentoo VM running in Virtualbox on my (as yet) not updated Gentoo server. Things went well. The only semi-issue that came up for me so far was the rc-sys= variable not being set. The way upgrade doc is written I had the impression that this only mattered if I was in a machine that ran VMs on it and not to be done in the VM itself. Seems that you really want rc_sys to be set for any Gentoo install I guess. Not sure at this point how I'd tell if there was some other problem, but as far as a simple VM goes it only took about 15 minutes to complete the upgrade and it booted first time. Cheers, Mark
Re: [gentoo-user] emerge stopped working
On 2/5/2011, at 8:39pm, Alan McKinnon wrote: ... Two final DONTs: Never blindly accept what depclean says and let it do it's thing. Study the output, the warning printed on the screen to do just that is there for a reason. Never blindly update protected config files with etc-update etc. Check each one individually and do it manually. Also: DO configure Portage to email its elog messages to you, so that there's no chance of you failing to read any one of them. I prefer to process each one before closing the tmux session in which I'm performing the emerge. $ grep -i mail /etc/make.conf PORTAGE_ELOG_SYSTEM=save mail PORTAGE_ELOG_MAILURI=root PORTAGE_ELOG_MAILFROM=portage@hostname $ Stroller.
[gentoo-user] Re: URGENT: nfs stopped working
On 04/30/2011 04:53 PM, Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp or sftp since its so infrequent? I use scp all the time -- but It's The Principle Of The Thing(TM) :p I never had any trouble with NFS until version 4 came along, and nothing *but* trouble since then. I figure if I invoke mount.nfs4, I shouldn't need to include the nfsvers=4 option in addition -- but that's what it has made me do. At least until the last time I tried it about two weeks ago, when plain old mount -t nfs seemed to work without any magic incantations. OTOH, I didn't bother to investigate which nfs version actually connected. I just gave thanks for the crumbs it tossed me and copied my files across ;) OTOH sftp really is quite nifty...
Re: [gentoo-user] emerge stopped working
Apparently, though unproven, at 00:16 on Tuesday 03 May 2011, Stroller did opine thusly: On 2/5/2011, at 8:39pm, Alan McKinnon wrote: ... Two final DONTs: Never blindly accept what depclean says and let it do it's thing. Study the output, the warning printed on the screen to do just that is there for a reason. Never blindly update protected config files with etc-update etc. Check each one individually and do it manually. Also: DO configure Portage to email its elog messages to you, so that there's no chance of you failing to read any one of them. I prefer to process each one before closing the tmux session in which I'm performing the emerge. $ grep -i mail /etc/make.conf PORTAGE_ELOG_SYSTEM=save mail PORTAGE_ELOG_MAILURI=root PORTAGE_ELOG_MAILFROM=portage@hostname $ Stroller. Thanks for that, you might have noticed the [1] footnote marker I left, and forgot to add the footnote :-) It was going to say pretty much what you said. I just forgot to do it! -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge stopped working
On Mon, May 02, 2011 at 09:50:02PM +0200, Alan McKinnon wrote: Never blindly accept what depclean says and let it do it's thing. Study the output, the warning printed on the screen to do just that is there for a reason. Never blindly update protected config files with etc-update etc. Check each one individually and do it manually. One habit I've developed to protect myself from making a mistake with depclean is defining it as an alias in the shell's rc, like this: alias depclean=sudo emerge -vac That way it's alway verbose and always asks before proceeding. IME it's too easy to forget to use those arguments and if you're doing more than one thing at a time disaster can strike pretty quickly... -- If only my interface to the time-space continuum could be unix-like... With vim keybindings, cron, and everything!
[gentoo-user] Re: heads-up: 2011-05-01 baselayout news
On 05/02/2011 02:43 AM, Mick wrote: I've been through the migration guide. In the section about udev it mentions /etc/runlevels/sysinit. Is this something added by baselayout2/OpenRC? I don't seem to have this in my runlevels: $ ls -l /etc/runlevels/ total 16 drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot drwxr-xr-x 2 root root 4096 Jun 8 2010 default drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork drwxr-xr-x 2 root root 4096 Jan 21 2010 single The confusion with all of this booting stuff goes back to the very dawn of unix, long before linux appeared. I learned at the knee of someone who actually remembers the dawn -- but of course I'm much too young myself :p The conflict between environment and profile, the origins of .profile and .bashrc go back IIRC to the competition between sh, csh, and bash for dominance -- not to mention ksh, tsh, foosh, and barsh, bahsh etc, etc. Each shell had its own private configuration file(s), which needed distinct names, of course, to avoid chaos. Chaos prevailed, predictably, because of these conflicting standards, and you/we are still dealing with the problem today. (No, I am NOT complaining, I'd be bragging except I had nothing to do with any of it. But I did have the honor of meeting many very smart people who do have real bragging rights.) Anyway, to answer your specific question, #equery b sysinit * Searching for sysinit ... sys-apps/openrc-0.8.2-r1 (/usr/share/openrc/runlevels/sysinit) #equery b inittab * Searching for inittab ... sys-apps/sysvinit-2.88-r1 (/etc/inittab) Why did I search for inittab? Here's a wee hint while I'm off to bed: #grep sysinit /etc/inittab si::sysinit:/sbin/rc sysinit
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Mon, May 02, 2011 at 06:36:58PM +0100, Mick wrote: I've unmasked the latest available after reading the changelogs: sys-apps/baselayout-2.0.2 sys-apps/openrc-0.8.2-r1 http://bugs.gentoo.org/show_bug.cgi?id=295613 You are correct about the versions. William pgpoZK7YWDjzo.pgp Description: PGP signature
Re: [gentoo-user] Apache is running but its log is not
Okay, there was already a thread about that, and my Python problem seems solved. I still have no log entries. Ok, as root, try lsof | grep apache and see if there are any open log files. You may need to emerge lsof first if you dont already have it. IIRC apache fails to start if it cant write to the log directory - could be wrong on that tho.
Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
On Monday 02 May 2011 23:07:00 Mark Knecht wrote: On Mon, May 2, 2011 at 11:54 AM, Mark Knecht markkne...@gmail.com wrote: On Mon, May 2, 2011 at 11:48 AM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 2 May 2011 11:16:36 -0700, Mark Knecht wrote: Does stable portage support the --autounmask option to emerge? I use ~amd64 portage so I have supports that feature but what command do I run today to unmask the version level they will make stable next week? (For instance 0.7 instead of 0.8) I don't think that feature looks into the future like that. The latest version of baselayout is over six weeks old, so I'd go for that. -- Neil Bothwick Life's a crap shoot. (As are all my index futures trades today.) Sounds good. Cheers, Mark OK, I'm writing this from an updated Gentoo VM running in Virtualbox on my (as yet) not updated Gentoo server. Things went well. The only semi-issue that came up for me so far was the rc-sys= variable not being set. The way upgrade doc is written I had the impression that this only mattered if I was in a machine that ran VMs on it and not to be done in the VM itself. Seems that you really want rc_sys to be set for any Gentoo install I guess. Ah! I forgot to mention this - it showed up on mine too. You need to read this /etc/rc.conf section: # This is the subsystem type. Valid options on Linux: # - nothing special # lxc - Linux Containers # openvz - Linux OpenVZ # prefix - Prefix # uml - Usermode Linux # vserver - Linux vserver # xen0- Xen0 Domain # xenU- XenU Domain # If this is commented out, automatic detection will be attempted. # Note that autodetection will not work in a prefix environment or in a # linux container. # # This should be set to the value representing the environment this file is # PRESENTLY in, not the virtualization the environment is capable of. #rc_sys= rc_sys= I've used the nothing special option, but yours might need to be something different on the VMhost. The guest would be nothing special I would think. (Not sure what the prefix is ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.