Re: [gentoo-user] Resizing physical volume for lvm.
On Sunday 22 March 2009 22:42:39 Momesso Andrea wrote: Thanks for the advice. Will be a problem for lvm if I add a partition before it? I mean, will I need to change any config files while lvm is gonna reside on sda4 instead of sda3? It's not a problem. LVM scans the drive looking for pvs and uses them as it finds them. You can see this behaviour when running 'vgchange -a y'. It doesn't need or really use the partition number at all. You may have such things in lvm config files somewhere. If it becomes problematic, simply remove/comment those entries. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Resizing physical volume for lvm.
On Sunday 22 March 2009 23:00:07 Momesso Andrea wrote: On Sun, 22 Mar 2009 22:35:35 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 22 March 2009 22:15:14 Momesso Andrea wrote: Your data is safe if you do exactly the steps you said above. pvresize /dev/sda3 /dev/sda3: too many metadata areas for pvresize Looks like I cannot expand it... This code commit is giving the error: http://sources.redhat.com/ml/lvm2-cvs/2008-09/msg1.html and a solution can be found in this thread (courtesy of that nice man Mr. Google): http://archives.free.net.ph/message/20081129.151331.dd8edce0.en.html --- TopperH http://topperh.blogspot.com -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Resizing physical volume for lvm.
On Mon, 23 Mar 2009 09:22:20 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 22 March 2009 23:00:07 Momesso Andrea wrote: On Sun, 22 Mar 2009 22:35:35 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 22 March 2009 22:15:14 Momesso Andrea wrote: Your data is safe if you do exactly the steps you said above. pvresize /dev/sda3 /dev/sda3: too many metadata areas for pvresize Looks like I cannot expand it... This code commit is giving the error: http://sources.redhat.com/ml/lvm2-cvs/2008-09/msg1.html and a solution can be found in this thread (courtesy of that nice man Mr. Google): http://archives.free.net.ph/message/20081129.151331.dd8edce0.en.html It looks more like a workaround than a solution. If my non native English understood it well, it suggests to backup everything, recreate the pv for the whole size, and then restore from backup. This is exactly what I did not want to do in the OP... By the way, if I need to, I will. --- TopperH htpp://topperh.blogspot.com signature.asc Description: PGP signature
Re: [gentoo-user] Time to move on?
On Sun, 22 Mar 2009 22:18:09 -0500, Dale wrote: I'm not real familiar with aliases but know what it is. If you use the alias method, how would you disable it for a one time run? If you gave the alias the same name as the command, just use the full path to the command to call it directly. But in this case, using a different name for the alias makes much more sense. I have these two aliases defined alias smerge='sudo emerge --update --reinstall changed-use --ask @system' alias wmerge='sudo emerge --update --deep --reinstall changed-use --ask --with-bdeps y @world' -- Neil Bothwick If ignorance is bliss, you must be orgasmic. signature.asc Description: PGP signature
Re: [gentoo-user] Resizing physical volume for lvm.
On Mon, 23 Mar 2009 08:57:08 +0100, Momesso Andrea wrote: It looks more like a workaround than a solution. If my non native English understood it well, it suggests to backup everything, recreate the pv for the whole size, and then restore from backup. Since you currently have plenty of free space, you don't have to take the system out of service to do a backup. Create a new PV in sda4 and run pvmove, then remove and recreate the PV on sda3 and pvmove the data back. Then you can delete sda4 and enlarge sda3. -- Neil Bothwick UNILINGUAL: American. signature.asc Description: PGP signature
Re: [gentoo-user] Resizing physical volume for lvm.
On Mon, 23 Mar 2009 08:57:19 + Neil Bothwick n...@digimed.co.uk wrote: On Mon, 23 Mar 2009 08:57:08 +0100, Momesso Andrea wrote: It looks more like a workaround than a solution. If my non native English understood it well, it suggests to backup everything, recreate the pv for the whole size, and then restore from backup. Since you currently have plenty of free space, you don't have to take the system out of service to do a backup. Create a new PV in sda4 and run pvmove, then remove and recreate the PV on sda3 and pvmove the data back. Then you can delete sda4 and enlarge sda3. Since, as Alan suggested, I enlarged sda3 with fdisk, how can I have back my old sda4 without risking to lose the data? --- TopperH http://topperh.blogspot.com signature.asc Description: PGP signature
Re: [gentoo-user] Resizing physical volume for lvm.
On Mon, 23 Mar 2009 10:07:59 +0100, Momesso Andrea wrote: Since you currently have plenty of free space, you don't have to take the system out of service to do a backup. Create a new PV in sda4 and run pvmove, then remove and recreate the PV on sda3 and pvmove the data back. Then you can delete sda4 and enlarge sda3. Since, as Alan suggested, I enlarged sda3 with fdisk, how can I have back my old sda4 without risking to lose the data? You only enlarged the partition, not the PV that lives on it. So you can delete and recreate it at the original size,although I'd make it a little larger than before, just to be certain it is never smaller. -- Neil Bothwick WindowError:01B Illegal error. Do NOT get this error. signature.asc Description: PGP signature
Re: [gentoo-user] Resizing physical volume for lvm.
On Mon, 23 Mar 2009 09:31:20 + Neil Bothwick n...@digimed.co.uk wrote: On Mon, 23 Mar 2009 10:07:59 +0100, Momesso Andrea wrote: Since you currently have plenty of free space, you don't have to take the system out of service to do a backup. Create a new PV in sda4 and run pvmove, then remove and recreate the PV on sda3 and pvmove the data back. Then you can delete sda4 and enlarge sda3. Since, as Alan suggested, I enlarged sda3 with fdisk, how can I have back my old sda4 without risking to lose the data? You only enlarged the partition, not the PV that lives on it. So you can delete and recreate it at the original size,although I'd make it a little larger than before, just to be certain it is never smaller. Wow, didn't know that lvm offers such a great flexibility... But I still miss someting... If I pvmove the pv from sda3 to sda4, then recreate a brand new pv on sda3, pvmove the data back, fdisk to delete sda4 and enlarge sda3, what will prevent pvextend to fall in the same error I had before? --- TopperH http://topperh.blogspot.com signature.asc Description: PGP signature
Re: [gentoo-user] extending /usr partition...
I never said LVM would do data recovery or provide Data Integrity - thats the job of the soft-RAID - though even that won't prevent PEBKAC errors (e.g. delete file). And LVM adds more than a 'little' complexity. If I had just lost the drive, I would have known exactly what I had lost as I would have known exactly what partitions were lost and what they mapped to by simply looking at /etc/fstab. However, with LVM, I had to deconstruct the VG to figure out what partitions were lost and see if any remaining partitions were only partially there - and do it all by hand at that. That's more than a slight inconvenience, and takes a lot more time. I'm not blaming LVM for a user error. I am, however, pointing out a weakness of using VGs. Ben - Original Message From: Alan McKinnon alan.mckin...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Sunday, March 22, 2009 4:42:12 AM Subject: Re: [gentoo-user] extending /usr partition... On Saturday 21 March 2009 23:13:49 BRM wrote: So, unless you are looking to use LVM in a soft-RAID solution between multiple physical drives, not multiple partitions on the same drive, (e.g. partition A = sda1 + sda2, with mirror on sdb1+sdb2), then I would not suggest it as should anything happen, it'll make data recovery that much harder. LVM does not and should not provide data integrity features. You lost a drive. The data on it goes away. What did you expect would happen? That the data on it would magically reconstruct itself? In a situation like that, losing a drive with LVM is only slightly more inconvenient (one or two more steps) than losing the same drive without LVM (which is horribly inconvenient by itself). Please don't blame LVM for what is actually a user error. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Seamonkey, saving files after updating gtk+
On Sun, Mar 22, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote: Hi, I'm not sure if the gtk+ update is relevant here but it was the only thing I could find that was recently upgraded that may fit. It used to be that if I was saving a file, picture or attachment in Seamonkey and created a new folder, it would enter the new folder when I created it without me having to double click it. Right now, I right click and select 'save file as' or 'save image as' and a pop up appears as usual. I then click 'create folder' and it makes a space in the directory for me to type in the name. I do that then hit return and it creates the new folder but leaves me in the old folder that I was just in. Example, I'm in /home/dale/Desktop and ask it to create /home/dale/Desktop/foo, the old way puts me in the foo directory. The new way leaves me in /home/dale/Desktop. I then have to double click the foo entry to enter it to save my file. I'm so used to the old way that I sometimes forget and end up with a lot of stuff on my desktop with no idea sometimes what folder it should be in. This is a list of the packages that were upgraded according to genlop: Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:51 2009 gnome-base/gnome-common-2.24.0 Fri Mar 20 05:03:58 2009 dev-libs/libxml2-2.7.3 Fri Mar 20 05:04:53 2009 dev-libs/libgamin-0.1.10-r2 Fri Mar 20 05:06:06 2009 media-libs/audiofile-0.2.6-r4 Fri Mar 20 05:07:19 2009 x11-libs/pixman-0.12.0 Fri Mar 20 05:08:56 2009 x11-libs/cairo-1.8.6-r1 Fri Mar 20 05:10:24 2009 dev-java/gjdoc-0.7.9-r1 Fri Mar 20 05:11:22 2009 app-text/iso-codes-3.6 Fri Mar 20 05:11:34 2009 x11-misc/icon-naming-utils-0.8.7 Fri Mar 20 05:13:18 2009 x11-themes/gnome-icon-theme-2.24.0 Fri Mar 20 05:18:05 2009 dev-libs/glib-2.18.4-r1 Fri Mar 20 05:20:26 2009 x11-libs/pango-1.22.4 Fri Mar 20 05:20:59 2009 dev-libs/atk-1.24.0 Fri Mar 20 05:22:17 2009 net-libs/libsoup-2.24.3 Fri Mar 20 05:23:10 2009 dev-libs/libcroco-0.6.2 Fri Mar 20 05:24:20 2009 dev-python/pygobject-2.16.1 Fri Mar 20 05:40:42 2009 x11-libs/gtk+-2.14.7-r2 Fri Mar 20 05:42:35 2009 gnome-base/gconf-2.24.0 Fri Mar 20 05:42:46 2009 gnome-base/gail-1000 Fri Mar 20 05:44:10 2009 x11-libs/libwnck-2.24.2 Fri Mar 20 05:45:49 2009 gnome-base/gnome-keyring-2.22.3-r1 Fri Mar 20 05:48:19 2009 dev-python/pygtk-2.14.0 Fri Mar 20 05:49:32 2009 gnome-extra/libgsf-1.14.11 Fri Mar 20 05:51:12 2009 gnome-base/librsvg-2.22.3 Fri Mar 20 05:56:03 2009 gnome-base/gnome-vfs-2.24.0 Fri Mar 20 05:57:01 2009 gnome-base/libgnome-2.24.1 Fri Mar 20 06:00:45 2009 gnome-base/libbonoboui-2.24.0 Fri Mar 20 06:03:40 2009 gnome-base/libgnomeui-2.24.0 Fri Mar 20 06:14:03 2009 gnome-extra/evolution-data-server-2.24.5-r2 Is this because of the gtk+ upgrade? If not, any idea what could cause this? If it is the upgrade, how do I go back to the old way when it goes into the folder automatically? Thanks for any ideas you may have. Have you changed GTK themes lately? I know some behaviors and button layouts can be affected by it. I recently changed mine, and the order of cancel and overwrite in the This file already exists dialog box was reversed when compared to the old theme. I think I have clied the wrong one about 90% of the time so far.
[gentoo-user] lm_sensors for AMD K10
Hi, does anybody know about a patch to make lm_sensors work with a PhenomII which uses AMD K10 for temperature sensing. sensors-detect detects it but there is no config file for that configuration. Many thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] Seamonkey, saving files after updating gtk+
Paul Hartman wrote: On Sun, Mar 22, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote: Hi, I'm not sure if the gtk+ update is relevant here but it was the only thing I could find that was recently upgraded that may fit. It used to be that if I was saving a file, picture or attachment in Seamonkey and created a new folder, it would enter the new folder when I created it without me having to double click it. Right now, I right click and select 'save file as' or 'save image as' and a pop up appears as usual. I then click 'create folder' and it makes a space in the directory for me to type in the name. I do that then hit return and it creates the new folder but leaves me in the old folder that I was just in. Example, I'm in /home/dale/Desktop and ask it to create /home/dale/Desktop/foo, the old way puts me in the foo directory. The new way leaves me in /home/dale/Desktop. I then have to double click the foo entry to enter it to save my file. I'm so used to the old way that I sometimes forget and end up with a lot of stuff on my desktop with no idea sometimes what folder it should be in. This is a list of the packages that were upgraded according to genlop: Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:51 2009 gnome-base/gnome-common-2.24.0 Fri Mar 20 05:03:58 2009 dev-libs/libxml2-2.7.3 Fri Mar 20 05:04:53 2009 dev-libs/libgamin-0.1.10-r2 Fri Mar 20 05:06:06 2009 media-libs/audiofile-0.2.6-r4 Fri Mar 20 05:07:19 2009 x11-libs/pixman-0.12.0 Fri Mar 20 05:08:56 2009 x11-libs/cairo-1.8.6-r1 Fri Mar 20 05:10:24 2009 dev-java/gjdoc-0.7.9-r1 Fri Mar 20 05:11:22 2009 app-text/iso-codes-3.6 Fri Mar 20 05:11:34 2009 x11-misc/icon-naming-utils-0.8.7 Fri Mar 20 05:13:18 2009 x11-themes/gnome-icon-theme-2.24.0 Fri Mar 20 05:18:05 2009 dev-libs/glib-2.18.4-r1 Fri Mar 20 05:20:26 2009 x11-libs/pango-1.22.4 Fri Mar 20 05:20:59 2009 dev-libs/atk-1.24.0 Fri Mar 20 05:22:17 2009 net-libs/libsoup-2.24.3 Fri Mar 20 05:23:10 2009 dev-libs/libcroco-0.6.2 Fri Mar 20 05:24:20 2009 dev-python/pygobject-2.16.1 Fri Mar 20 05:40:42 2009 x11-libs/gtk+-2.14.7-r2 Fri Mar 20 05:42:35 2009 gnome-base/gconf-2.24.0 Fri Mar 20 05:42:46 2009 gnome-base/gail-1000 Fri Mar 20 05:44:10 2009 x11-libs/libwnck-2.24.2 Fri Mar 20 05:45:49 2009 gnome-base/gnome-keyring-2.22.3-r1 Fri Mar 20 05:48:19 2009 dev-python/pygtk-2.14.0 Fri Mar 20 05:49:32 2009 gnome-extra/libgsf-1.14.11 Fri Mar 20 05:51:12 2009 gnome-base/librsvg-2.22.3 Fri Mar 20 05:56:03 2009 gnome-base/gnome-vfs-2.24.0 Fri Mar 20 05:57:01 2009 gnome-base/libgnome-2.24.1 Fri Mar 20 06:00:45 2009 gnome-base/libbonoboui-2.24.0 Fri Mar 20 06:03:40 2009 gnome-base/libgnomeui-2.24.0 Fri Mar 20 06:14:03 2009 gnome-extra/evolution-data-server-2.24.5-r2 Is this because of the gtk+ upgrade? If not, any idea what could cause this? If it is the upgrade, how do I go back to the old way when it goes into the folder automatically? Thanks for any ideas you may have. Have you changed GTK themes lately? I know some behaviors and button layouts can be affected by it. I recently changed mine, and the order of cancel and overwrite in the This file already exists dialog box was reversed when compared to the old theme. I think I have clied the wrong one about 90% of the time so far. Well, I don't know how to change GTK themes so I would most likely think I have not changed it. How does one check into this? I'm thinking about going back one version of gtk to see if it goes back to the old way. I seem to have read somewhere that Seamonkey uses gtk for those windows tho. Dale :-) :-)
Re: [gentoo-user] lm_sensors for AMD K10
On Mon, Mar 23, 2009 at 10:16 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about a patch to make lm_sensors work with a PhenomII which uses AMD K10 for temperature sensing. sensors-detect detects it but there is no config file for that configuration. Many thanks for a hint, Helmut. It looks like there was a discussion in the lm-sensors mailing list about it last year: http://lists.lm-sensors.org/pipermail/lm-sensors/2008-April/022909.html Maybe you can check their list archives or contact them to see what the status of the driver is.
[gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
Has anyone any ideas? The syslog-ng is the usually the first line reported by top: 4097 root 20 0 3120 1060 708 R 48.3 0.1 677:46.38 syslog-ng The files in /var/log seem to be growing at an expected slow pace and aren't reporting anything unexpected. I followed a 'howto' and have sshguard running. This (comments stripped) is what I have in /etc/syslog-ng/syslog-ng.conf options { chain_hostnames(off); sync(0); stats(43200); }; source src { unix-stream(/dev/log max-connections(256)); internal(); file(/proc/kmsg); }; destination messages { file(/var/log/messages); }; destination console_all { file(/dev/tty12); }; log { source(src); destination(messages); }; log { source(src); destination(console_all); }; destination authlog { file(/var/log/auth.log); }; destination authlog { file(/var/log/auth.log); }; filter f_authpriv { facility(auth, authpriv); }; log { source(src); filter(f_authpriv); destination(authlog); }; filter sshlogs { facility(auth, authpriv) and match(sshd); }; destination sshguardproc { program(/usr/local/sbin/sshguard template($DATE $FULLHOST $MESSAGE\n)); }; log { source(src); filter(sshlogs); destination(sshguardproc); };
Re: [gentoo-user] Seamonkey, saving files after updating gtk+
Paul Hartman wrote: On Mon, Mar 23, 2009 at 10:33 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Mar 23, 2009 at 10:18 AM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Sun, Mar 22, 2009 at 4:43 AM, Dale rdalek1...@gmail.com wrote: Hi, I'm not sure if the gtk+ update is relevant here but it was the only thing I could find that was recently upgraded that may fit. It used to be that if I was saving a file, picture or attachment in Seamonkey and created a new folder, it would enter the new folder when I created it without me having to double click it. Right now, I right click and select 'save file as' or 'save image as' and a pop up appears as usual. I then click 'create folder' and it makes a space in the directory for me to type in the name. I do that then hit return and it creates the new folder but leaves me in the old folder that I was just in. Example, I'm in /home/dale/Desktop and ask it to create /home/dale/Desktop/foo, the old way puts me in the foo directory. The new way leaves me in /home/dale/Desktop. I then have to double click the foo entry to enter it to save my file. I'm so used to the old way that I sometimes forget and end up with a lot of stuff on my desktop with no idea sometimes what folder it should be in. This is a list of the packages that were upgraded according to genlop: Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:16 2009 sys-apps/portage-2.2_rc26 Fri Mar 20 04:58:51 2009 gnome-base/gnome-common-2.24.0 Fri Mar 20 05:03:58 2009 dev-libs/libxml2-2.7.3 Fri Mar 20 05:04:53 2009 dev-libs/libgamin-0.1.10-r2 Fri Mar 20 05:06:06 2009 media-libs/audiofile-0.2.6-r4 Fri Mar 20 05:07:19 2009 x11-libs/pixman-0.12.0 Fri Mar 20 05:08:56 2009 x11-libs/cairo-1.8.6-r1 Fri Mar 20 05:10:24 2009 dev-java/gjdoc-0.7.9-r1 Fri Mar 20 05:11:22 2009 app-text/iso-codes-3.6 Fri Mar 20 05:11:34 2009 x11-misc/icon-naming-utils-0.8.7 Fri Mar 20 05:13:18 2009 x11-themes/gnome-icon-theme-2.24.0 Fri Mar 20 05:18:05 2009 dev-libs/glib-2.18.4-r1 Fri Mar 20 05:20:26 2009 x11-libs/pango-1.22.4 Fri Mar 20 05:20:59 2009 dev-libs/atk-1.24.0 Fri Mar 20 05:22:17 2009 net-libs/libsoup-2.24.3 Fri Mar 20 05:23:10 2009 dev-libs/libcroco-0.6.2 Fri Mar 20 05:24:20 2009 dev-python/pygobject-2.16.1 Fri Mar 20 05:40:42 2009 x11-libs/gtk+-2.14.7-r2 Fri Mar 20 05:42:35 2009 gnome-base/gconf-2.24.0 Fri Mar 20 05:42:46 2009 gnome-base/gail-1000 Fri Mar 20 05:44:10 2009 x11-libs/libwnck-2.24.2 Fri Mar 20 05:45:49 2009 gnome-base/gnome-keyring-2.22.3-r1 Fri Mar 20 05:48:19 2009 dev-python/pygtk-2.14.0 Fri Mar 20 05:49:32 2009 gnome-extra/libgsf-1.14.11 Fri Mar 20 05:51:12 2009 gnome-base/librsvg-2.22.3 Fri Mar 20 05:56:03 2009 gnome-base/gnome-vfs-2.24.0 Fri Mar 20 05:57:01 2009 gnome-base/libgnome-2.24.1 Fri Mar 20 06:00:45 2009 gnome-base/libbonoboui-2.24.0 Fri Mar 20 06:03:40 2009 gnome-base/libgnomeui-2.24.0 Fri Mar 20 06:14:03 2009 gnome-extra/evolution-data-server-2.24.5-r2 Is this because of the gtk+ upgrade? If not, any idea what could cause this? If it is the upgrade, how do I go back to the old way when it goes into the folder automatically? Thanks for any ideas you may have. Have you changed GTK themes lately? I know some behaviors and button layouts can be affected by it. I recently changed mine, and the order of cancel and overwrite in the This file already exists dialog box was reversed when compared to the old theme. I think I have clied the wrong one about 90% of the time so far. Well, I don't know how to change GTK themes so I would most likely think I have not changed it. How does one check into this? I'm thinking about going back one version of gtk to see if it goes back to the old way. I seem to have read somewhere that Seamonkey uses gtk for those windows tho. In KDE there's an option in the control panel to change the GTK theme. If you use something else, I believe you can emerge gtk-theme-switch. Also try to search portage for packages beginning with gtk-engines (and perhaps emerge the package gtk-engines itself). I recently switched from gtk-engines-qt, which uses my KDE theme (poorly), to gtk-engines-qtcurve, which looks quite nice and fits in well enough with the default KDE4 theme, other than the backwards button placement. Oops, i meant I had been using gtk-engines-kde4 not gtk-engines-qt I went to the KDE control center, I haven't been in there in ages. I think there is something different with the new version of gtk or something. I haven't changed anything else in a long while. Sort of got everything like I want it until now anyway. I may try going back to the old version to test this theory. Dale :-) :-)
[gentoo-user] can't upgrade to latest pkg
Hi group, I did eix-sync and upgraded portage but when I try to upgrade gentoo-sources portage wants to get v2.6.27 and for tuxonice-sources it goes for v2.6.24. How do I tell portage to get the latest packages? Maxim __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com.
[gentoo-user] Re: can't upgrade to latest pkg
maxim wexler wrote: Hi group, I did eix-sync and upgraded portage but when I try to upgrade gentoo-sources portage wants to get v2.6.27 and for tuxonice-sources it goes for v2.6.24. How do I tell portage to get the latest packages? By keywording them. By default, portage only installed latest stable packages. To get testing packages too, place their atoms in /etc/portage/package.keywords. For example, to get the latest gentoo-sources, you can do insert this line: sys-kernel/gentoo-sources in /etc/portage/package.keywords.
Re: [gentoo-user] can't upgrade to latest pkg
maxim wexler schrieb am 23.03.2009 17:08: I did eix-sync and upgraded portage but when I try to upgrade gentoo-sources portage wants to get v2.6.27 and for tuxonice-sources it goes for v2.6.24. How do I tell portage to get the latest packages? These are the latest stable versions. If you want testing versions you need to put the into /etc/portage/package.keywords [1]. [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3 Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] can't upgrade to latest pkg
These are the latest stable versions. If you want testing versions you need to put the into /etc/portage/package.keywords [1]. [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3 Nope, Using the model given: app-office/gnumeric ~x86 like this: =sys-kernel/tuxonice-sources-2.6.28 ~x86 in package.keywords, gives the same result as above. mw __ Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
Re: [gentoo-user] can't upgrade to latest pkg
maxim wexler schrieb am 23.03.2009 18:43: Nope, Using the model given: app-office/gnumeric ~x86 like this: =sys-kernel/tuxonice-sources-2.6.28 ~x86 in package.keywords, gives the same result as above. No wonder =sys-kernel/tuxonice-sources-2.6.28 does not exist :-) With = you set ~x86 keywords for exact that version. eix tuxonice-sources * sys-kernel/tuxonice-sources Available versions: (2.6.24-r9) 2.6.24-r9!b!s (2.6.28-r3) (~)2.6.28-r3!b!s (2.6.28-r4) (~)2.6.28-r4!b!s (2.6.28-r5) (~)2.6.28-r5!b!s (2.6.28-r7) (~)2.6.28-r7!b!s (2.6.28-r8) (~)2.6.28-r8!b!s So you need to set either this: =sys-kernel/tuxonice-sources-2.6.28-r8 ~x86 to set keywords for exact the specified version or this =sys-kernel/tuxonice-sources-2.6.28 ~x86 to set keywords for any higher version than the specified or better this ~sys-kernel/tuxonice-sources-2.6.28 ~x86 to set keywords for any revision of the specifies version Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] can't upgrade to latest pkg-FIXED
=sys-kernel/tuxonice-sources-2.6.28 ~x86 Yeah, I just found this out and rushed back but you beat me to it:) mw __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
Re: [gentoo-user] Resizing physical volume for lvm.
On Sunday 22 March 2009, Alan McKinnon wrote: Caveat: I have no idea why this doesn't work, but if you make sda4 an extended partition and create sda5 as a logical with exactly the same start and end as you describe above, you do in fact lose all data. Obviously there is a difference between a physical and a logical partition with the same location, but I don't know why this is. I think that this is because the extended partition contains the extended partition table at its boot sector. A primary partition at the same position does not and therefore has a different offset. Having spent some interesting white-knuckle-ride moments with testdisk, I realised that carelessly switching between primary and extended/logical partitions is not something I would like to try again - unless I am playing around in a test environment. Which is a pity, as 4 logical partitions is a little too constrictive, Do you mean primary? I prefer the extra freedom to move things around with extended partitions. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
On Monday 23 March 2009 21:27:15 Steve wrote: Steve wrote: destination sshguardproc { program(/usr/local/sbin/sshguard template($DATE $FULLHOST $MESSAGE\n)); }; The presence of the above line is definitely what triggers the excessive CPU usage - it is almost as-if syslog-ng is 'busy-waiting' for the sshguard process. The sshguard process is running - but using zero CPU. I have this problem with syslog-ng versions 2.1.3 and 2.1.4 (the one with ~x86)... This is very frustrating... having played around, the syslog-ng tends towards using 100% CPU when my server is otherwise quiet - if, and only if, I have the program destination... even if the destination is not used. One word: blocking I find this is usually the cause for higher than normal CPU load as reported by top and other tools. If the load is pegged at exactly 100%, it's almost a sure sign that some process is IO blocking on an idle system, and all the process is doing is checking if IO is available, see it isn't, goes to sleep, wakes up, rinse and repeat. In short: top lies, and load does not mean what most people think it means. The correct definition is average number of processes that are waiting for cpu time within the measurement period. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
* Steve (gentoo_...@shic.co.uk) [23.03.09 20:27]: Steve wrote: destination sshguardproc { program(/usr/local/sbin/sshguard template($DATE $FULLHOST $MESSAGE\n)); }; program() only takes 1 argument: the programname. Any thing you want to pass, you have to define via a log statement. BTW: Just curious: you do not use the sshguard from portage, or why is it a /usr/local/sbin? HTH Sebastian -- Religion ist das Opium des Volkes. Karl Marx s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de pgpHpda3TnYqN.pgp Description: PGP signature
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
Steve wrote: Do others get this behaviour - is this a bug in syslog-ng? Sorry for the multiple posts... a slight error on my part. The sshguard process wasn't running - a /bin/sh process trying to spawn it was running (there was no link from /usr/local... to the binary) and when the binary failed to execute - syslog-ng got itself into a tiz. Everything seems to work fine when I correct the path to the program. Problem solved - but, I guess, this is a flaw in syslog-ng... I'd have hoped it would generate an error message rather than behave as it did.
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
Sebastian Günther wrote: program() only takes 1 argument: the programname. There aren't two arguments (no comma) - and, yes, the syntax is odd - but it is exactly what is given by the sshguard man page - and seems to be confirmed by the syslog-ng manual, too. BTW: Just curious: you do not use the sshguard from portage, or why is it a /usr/local/sbin? That was my error (a really dumb one!) I'd assumed that the binary from portage was running - whereas my process list showed /bin/sh failing to run a non-existent program. I guess the man page could be improved for gentoo by giving an example using the default install location for sshguard - but that's a very minor issue. I'd expected better error reporting by syslog-ng for a faulty configuration - ho-hum.
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
Alan McKinnon wrote: In short: top lies, On this occasion, top was telling the truth. ;)
Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard)
On Mon, Mar 23, 2009 at 2:49 PM, Steve gentoo_...@shic.co.uk wrote: Steve wrote: Do others get this behaviour - is this a bug in syslog-ng? Sorry for the multiple posts... a slight error on my part. The sshguard process wasn't running - a /bin/sh process trying to spawn it was running (there was no link from /usr/local... to the binary) and when the binary failed to execute - syslog-ng got itself into a tiz. Everything seems to work fine when I correct the path to the program. Problem solved - but, I guess, this is a flaw in syslog-ng... I'd have hoped it would generate an error message rather than behave as it did. I had a possibly similar problem a while back with syslog-ng going crazy when a certain daemon would crash (in my case it filled up the log wit about 60 gigabytes of the same thing repeated over and over, in addition to using massive CPU%). I switched to metalog and haven't had any problems since.
[gentoo-user] gentoo on a usb stick
Hi group, I was planning to put the i686-2008.0-LiveCD-installer on a USB stick and install it on a Asus 900A eeePC. But I understand the kernel on the CD is v2.6.27 and therefore there is no Atheros driver for the eee's on-board wifi. Can someone confirm this? If true, can I simply add the driver after the fact? Any body done this successfully? Maxim __ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
Re: [gentoo-user] gentoo on a usb stick
maxim wexler schrieb am 23.03.2009 22:31: I was planning to put the i686-2008.0-LiveCD-installer on a USB stick and install it on a Asus 900A eeePC. But I understand the kernel on the CD is v2.6.27 and therefore there is no Atheros driver for the eee's on-board wifi. Can someone confirm this? If true, can I simply add the driver after the fact? Any body done this successfully? You may want to take a look at the SystemRescueCd [1] afaik it is based on gentoo and more up to date. It is also possible to install it on a live-cd. [1] http://www.sysresccd.org/Main_Page Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] gentoo on a usb stick
Daniel Pielmeier schrieb am 23.03.2009 22:40: You may want to take a look at the SystemRescueCd [1] afaik it is based on gentoo and more up to date. It is also possible to install it on a live-cd. Of course I want to say. You can install it on an usb-stick :-) signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: can't upgrade to latest pkg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Pielmeier wrote: maxim wexler schrieb am 23.03.2009 18:43: Nope, Using the model given: app-office/gnumeric ~x86 like this: =sys-kernel/tuxonice-sources-2.6.28 ~x86 in package.keywords, gives the same result as above. No wonder =sys-kernel/tuxonice-sources-2.6.28 does not exist :-) With = you set ~x86 keywords for exact that version. eix tuxonice-sources * sys-kernel/tuxonice-sources Available versions: (2.6.24-r9) 2.6.24-r9!b!s (2.6.28-r3) (~)2.6.28-r3!b!s (2.6.28-r4) (~)2.6.28-r4!b!s (2.6.28-r5) (~)2.6.28-r5!b!s (2.6.28-r7) (~)2.6.28-r7!b!s (2.6.28-r8) (~)2.6.28-r8!b!s So you need to set either this: =sys-kernel/tuxonice-sources-2.6.28-r8 ~x86 to set keywords for exact the specified version or this =sys-kernel/tuxonice-sources-2.6.28 ~x86 to set keywords for any higher version than the specified or better this ~sys-kernel/tuxonice-sources-2.6.28 ~x86 to set keywords for any revision of the specifies version Regards, Daniel Also note, that the ~x86 part is now optional. If you do not specify any keywords, then ~${ARCH} is assumed (in this case ARCH=x86, so you get ~x86 - this can help for keeping the same p.keywords file for two different systems running on two different architectures, for example, my amd64 chroot on my x86 box) - -- ABCD -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknIB1UACgkQOypDUo0oQOqEbQCfXbmHORqTvH65BpmVkjEOKl64 NpkAniNDhCvFydQv4gSzWpH7lyh7F+gK =i55W -END PGP SIGNATURE-
Re: [gentoo-user] gentoo on a usb stick
On Mon, 23 Mar 2009 22:40:30 +0100, Daniel Pielmeier wrote: I was planning to put the i686-2008.0-LiveCD-installer on a USB stick and install it on a Asus 900A eeePC. But I understand the kernel on the CD is v2.6.27 and therefore there is no Atheros driver for the eee's on-board wifi. Can someone confirm this? If true, can I simply add the driver after the fact? Any body done this successfully? You may want to take a look at the SystemRescueCd [1] afaik it is based on gentoo and more up to date. You could also use a more recent Gentoo CD, look in the autobuilds directory of any mirror. But I'd stick with System Rescue CD, it's so easy to install to a USB stick. -- Neil Bothwick Despite the cost of living, have you noticed how it remains so popular? signature.asc Description: PGP signature
Re: [gentoo-user] Time to move on?
Albert Hopkins wrote: On Sun, 2009-03-22 at 22:18 -0500, Dale wrote: Neil Bothwick wrote: On Sun, 22 Mar 2009 19:26:40 -0500, Dale wrote: emerge -pvDu --reinstall changed-use @world ??? Certainly a lot more typing. ;-) Use an alias and it's less typing. Or add it to make.conf. I think that would work too. It would work, every time you called emerge, whether you wanted that option or not.I prefer to have aliases for commands with options that I call often, but not every time. I'm not real familiar with aliases but know what it is. If you use the alias method, how would you disable it for a one time run? Uh.. you don't disable it. You simply don't use the alias. Oh, OK. Dale waves hand over head. If it is set up to add that option, how do you tell it not to use it? Dale :-) :-)
Re: [gentoo-user] Time to move on?
2009/3/23 Dale rdalek1...@gmail.com: Oh, OK. Dale waves hand over head. If it is set up to add that option, how do you tell it not to use it? alias ls='/bin/ls --color' alias l='ls -l' With these aliases in your .bashrc (or whatever is appropriate in your environment), you can now use 'ls' and 'l'. Of course, you already had 'ls' (namely /bin/ls). If you simply type 'ls' then you are using the alias and you get colour output. If you don't want colour output you use '/bin/ls' (the actual binary). Typing 'l' basically runs '/bin/ls --color -l'. If you don't want that then you don't use 'l'.
Re: [gentoo-user] Time to move on?
On Mon, 2009-03-23 at 18:58 -0500, Dale wrote: Albert Hopkins wrote: On Sun, 2009-03-22 at 22:18 -0500, Dale wrote: Neil Bothwick wrote: On Sun, 22 Mar 2009 19:26:40 -0500, Dale wrote: emerge -pvDu --reinstall changed-use @world ??? Certainly a lot more typing. ;-) Use an alias and it's less typing. Or add it to make.conf. I think that would work too. It would work, every time you called emerge, whether you wanted that option or not.I prefer to have aliases for commands with options that I call often, but not every time. I'm not real familiar with aliases but know what it is. If you use the alias method, how would you disable it for a one time run? Uh.. you don't disable it. You simply don't use the alias. Oh, OK. Dale waves hand over head. If it is set up to add that option, how do you tell it not to use it? Unless I'm misunderstanding something... It's not an option. It's an alias. If you have $ alias myalias=emerge --foo --bar --baz Then to use the alias you simply type $ myalias If you don't want to use the alias, well, don't type it. I.e. $ emerge --la --di --dah or $ someotheralias Or perhaps you don't aren't understanding what shell aliases are? http://en.wikipedia.org/wiki/Alias_(command)
Re: [gentoo-user] Time to move on?
Man. Is this thread really going to continue?? On 3/23/09, Albert Hopkins mar...@letterboxes.org wrote: On Mon, 2009-03-23 at 18:58 -0500, Dale wrote: Albert Hopkins wrote: On Sun, 2009-03-22 at 22:18 -0500, Dale wrote: Neil Bothwick wrote: On Sun, 22 Mar 2009 19:26:40 -0500, Dale wrote: emerge -pvDu --reinstall changed-use @world ??? Certainly a lot more typing. ;-) Use an alias and it's less typing. Or add it to make.conf. I think that would work too. It would work, every time you called emerge, whether you wanted that option or not.I prefer to have aliases for commands with options that I call often, but not every time. I'm not real familiar with aliases but know what it is. If you use the alias method, how would you disable it for a one time run? Uh.. you don't disable it. You simply don't use the alias. Oh, OK. Dale waves hand over head. If it is set up to add that option, how do you tell it not to use it? Unless I'm misunderstanding something... It's not an option. It's an alias. If you have $ alias myalias=emerge --foo --bar --baz Then to use the alias you simply type $ myalias If you don't want to use the alias, well, don't type it. I.e. $ emerge --la --di --dah or $ someotheralias Or perhaps you don't aren't understanding what shell aliases are? http://en.wikipedia.org/wiki/Alias_(command) -- Sent from my mobile device James Skinner james.skin...@gmail.com
Re: [gentoo-user] Who mount sysfs?
2009/3/24 Albert Hopkins mar...@letterboxes.org On Tue, 2009-03-24 at 10:38 +0900, SOrCErEr wrote: Hello, My gentoo system has a problem. It has not mounted sysfs while boot process. I have to do mount sysfs by my hand now. Of course, udev rc scripts has line of need sysfs. And udev rc script was added in sysinit service. So I would like to know who mounts sysfs when Gentoo in boot process in general. Your friends at udev. The need sysfs means that udev needs the sysfs service to start. Of course it's wrapped around a if [ -f /etc/init.d/sysfs ]; then... so is that file missing? No, that isn't. That file exists. So I tested like below. /etc/init.d/udev stop /etc/init.d/sysfs stop /etc/init.d/udev start /etc/init.d/sysfs status Result is * status: stopped Actually, sysfs rc strip has no stop function. So sysfs is not unmounted. But in my opinion, status of sysfs must be started after udev started. ... I fix this problem while I write this mail. I renamed sysfs rc strip filename and restarted udev to check whether it fails or not. And I confirmed it failed. Then restored sysfs rc strip filename and started udev. Surprisingly** sysfs started automatically before start udev. It fixed. Still I don't know why it happened. It's very confuse Anyway, thank you for your help:) Your comments are helping me to do some more things:)
Re: [gentoo-user] Time to move on?
Hilco Wijbenga wrote: 2009/3/23 Dale rdalek1...@gmail.com: Oh, OK. Dale waves hand over head. If it is set up to add that option, how do you tell it not to use it? alias ls='/bin/ls --color' alias l='ls -l' With these aliases in your .bashrc (or whatever is appropriate in your environment), you can now use 'ls' and 'l'. Of course, you already had 'ls' (namely /bin/ls). If you simply type 'ls' then you are using the alias and you get colour output. If you don't want colour output you use '/bin/ls' (the actual binary). Typing 'l' basically runs '/bin/ls --color -l'. If you don't want that then you don't use 'l'. Oh, Cool.. I see now. So basically you sort of change the command as well. Now that command that someone else posted makes sense too. Thanks. Dale :-) :-)