Re: [gentoo-user] Updating mysql-init-scripts to 2.0_pre1-r2 now Mysql restart fails!?
On Sunday 15 January 2012 18:26:09 Tanstaafl wrote: Anyone else having this problem? Yes, I did etc-update, and simply accepted the new conf.d config file and init.d script changes... After the update, I attempted to restart mysql but got: myhost : Sun Jan 15, 12:23:47 : ~ # /etc/init.d/mysql restart * Starting mysql ... * start-stop-daemon: /usr/sbin/mysqld is already running [ !! ] * ERROR: mysql failed to start myhost : Sun Jan 15, 12:23:55 : ~ and in the log: Jan 15 12:23:55 myhost /etc/init.d/mysql[16429]: start-stop-daemon: /usr/sbin/mysqld is already running Jan 15 12:23:55 myhost /etc/init.d/mysql[16396]: ERROR: mysql failed to start I have this since years ! Can't manage to get this error out ! I will look at the tread carefully ! -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
[gentoo-user] crypt my home repository
Hi all I may ask something already discussed, but I can't find any good documentation. I am wondering of how to secure my home repository on my laptop. I am thinking of cryptography and other things (the password uncrypt the repository and allows to read files...). What tool to use for ? Anybody knows a good doc (in french would be really good) ? I am not really paranoïd, but I work now in a quite important environnement and want any data I get out to be secured... -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] crypt my home repository
On Monday 02 January 2012 11:49:11 Florian Philipp wrote: Am 02.01.2012 09:07, schrieb Stéphane Guedon: Hi all I may ask something already discussed, but I can't find any good documentation. I am wondering of how to secure my home repository on my laptop. I am thinking of cryptography and other things (the password uncrypt the repository and allows to read files...). What tool to use for ? Anybody knows a good doc (in french would be really good) ? I am not really paranoïd, but I work now in a quite important environnement and want any data I get out to be secured... I recommend dm-crypt (a.k.a. cryptsetup-luks). It encrypts the block device under the actual file system. Gentoo wiki has some tutorials on it (although you don't need much of it): [1] [2] If you only want to encrypt your home partition, you only need to follow these steps: 1. Create an encrypted partition (see `man cryptsetup`) 2. Move /home/* over to it (don't forget backup) 3. Configure /etc/conf.d/dmcrypt 4. Add /etc/init.d/dmcrypt to boot runlevel Then the init script will ask you for the password at boot. dm-crypt allows multiple passwords per partition so that different users can have different passwords. The alternative to the dmcrypt init script is to use sys-auth/pam_mount. It allows you to use the login password to automatically decrypt a partition and mount it as /home/$user. [2] has a section about it. However, this breaks easily and is pretty hard to administrate if you have no experience with dm-crypt and pam. I recommend the first solution. [1] http://en.gentoo-wiki.com/wiki/SECURITY_System_Encryption_DM-Crypt_with_LUK S [2] http://en.gentoo-wiki.com/wiki/DM-Crypt Regards, Florian Philipp Is this solution (the first one) easily integrated into some environnement (kde) ? I don't want to have numerous password (one for decrypt, one other to open the desktop session as usual...), plus my wife would argue with some reason I am always hacking the computer whereas we are just using it to look movies... (she uses the computer also, but in a much more used way, so any solution has to be comfortable to her too !) -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
[gentoo-user] git protocol
Hi again I am setting up a git repository using gentoo gitosis. I can push well from my git repo to the server. But when I want to fetch the repo from the server to another computer using the git protocol (git://myserver/myproject.git) it says me the connection is refused, whereas the git-daemon-export-ok file is on. So I can't access the repo from anonymous computer. I don't understand that ! Any help ? -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] crypt my home repository
On Monday 02 January 2012 13:58:03 Neil Bothwick wrote: On Mon, 02 Jan 2012 13:37:12 +0100, Florian Philipp wrote: Well, it is partially integrated: When it is not /home/* but some other partition/external disk, then KDE supports decrypting it when you mount it (like memory sticks). It can also save the password in kwallet. Gnome can do the same. However, if you want to use it for /home/* and don't want to enter the password twice, you should use pam_mount. Alternatively, if you are using dmcrypt to encrypt /home, and you are the only user, set KDE to auto-login that user. The login will fail if dmcrypt failed to open your home partition, so one password effectively secures it all. I am not the only user ! -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] crypt my home repository
On Monday 02 January 2012 09:07:49 Stéphane Guedon wrote: Hi all I may ask something already discussed, but I can't find any good documentation. I am wondering of how to secure my home repository on my laptop. I am thinking of cryptography and other things (the password uncrypt the repository and allows to read files...). What tool to use for ? Anybody knows a good doc (in french would be really good) ? I am not really paranoïd, but I work now in a quite important environnement and want any data I get out to be secured... Actually, there's ecryptfs, which is the one I was thinking but I didn't remember at the beginning. But It's quite hard to use with the doc I find ! -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] git protocol
On Monday 02 January 2012 14:11:56 Stéphane Guedon wrote: Hi again I am setting up a git repository using gentoo gitosis. I can push well from my git repo to the server. But when I want to fetch the repo from the server to another computer using the git protocol (git://myserver/myproject.git) it says me the connection is refused, whereas the git-daemon-export-ok file is on. So I can't access the repo from anonymous computer. I don't understand that ! Any help ? I solve myself the problem, I have to put '[repo biblib] daemon=yes' on gitosis.conf -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Audio Problem
On Tuesday 27 December 2011 20:41:12 Vishnupradeep wrote: I have M2A-MX motherboard with AMD Phenom II X4 prcessor. Installed gentoo 11.2 with kde and now the audio is not working. Installed pulseaudio and ALSA. i am little confused, fo audio to work both ALSA and pulseaudio needed ? I would like to play some music. How to correct the audio. Linux Blog: http://xtreme-linux.blogspot.com/ Fedora Blog: http://xtreme-fedora.blogspot.com/ My Blog: http://sharedonweb.blogspot.com/ First, pulseaudio is not needed. It is not recommanded if you don't know what to do with it. Did you check you turn on your audio system ? (quite often, it's basically set to mute). Does your kernel recognize your audio system ? Does kde recognize your audio system (there is a config panel about it) ? Check that, and get back, you will help us to help you. I am not the guy who will help you, I am not skilled in audio and alsa. But I know what others will ask for. -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Advice on system monitoring
On Monday 05 December 2011 07:29:34 Michael Mol wrote: I haven't yet needed to do this kind of system monitoring, so I'm very much a newbie here. Let's start with that dual-xeon box I was using to benchmark emerge -e @world, figure I'm looking for how better to tune my MAKEOPTS and EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more information about the following factors: * What was the 1m, 5m 15m load averages? * What were the similar averages for CPU spent in user time, system time and I/O wait? * What was network usage like? (I have a caching proxy server on the network, so even if distfiles are lost on-system, well, a cache hit transfers at up to around 50MB/s. It'd be better, except for read performance limitations on the router box, and write performance limitations on the local machine) * What was the temperature of each CPU core, RAM module and hard drive? (Not so relevant for improving system performance, but still of interest.) I'd like to have a web interface I could navigate to which would show graphs of these counters. There are many web interface for that. You should look at munin, rrdtool, nagios, this kind of stuff. I have set my own. Have a look there : https://www.22decembre.eu/status/ (I have setup my own certificate authority for ssl). If you need help, don't hesitate to contact me ! But you may find also better help around ! See you... -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Partitioning strategy...?
On Friday 25 November 2011 14:53:17 Pandu Poluan wrote: I want to build a Gentoo server box whose structure is highly-partitioned, like this: / /boot /usr /tmp /usr/portage == via NFS /var /var/lib/postgresql /var/tmp /var/log /var/spool (Not all of them will reside on the same physical disk; I have /dev/sda up to /dev/sdd) I've been searching high and low for recommended numbers... and there are as many number as search-hits. So. Care to share your partitioning strategy? (And while we're at it, am I overdoing the partitioning?) Rgds I never set /usr separated from / especially on a server : if there's a bug for any reason, nothing works ! (emerge is in /usr, gcc, ssh doesn't start). But you are the one who decide ! This is my partition system : / ext3/4 /home ext3/4 /varreiserfs /tmptmpfs /tmp_portage tmpfs (specifically for emerge, so I can mount or unmount it when large compil start) /mnt/portage reiserfs (shared via nfs) /mnt/distfiles ext3/4 (shared via nfs) I am available for any explanation. For the ones who read french I have written a doc on my website concerning my choices. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Partitioning strategy...?
On Friday 25 November 2011 19:17:07 Mark Knecht wrote: On Fri, Nov 25, 2011 at 9:53 AM, Pandu Poluan pa...@poluan.info wrote: SNIP /mnt/distfiles ext3/4 (shared via nfs) Why do you separate the distfiles from the portage tree? Rgds, distfiles has a tendency to grow large over the years. IIRC nothing cleans it up automatically so having it separate is just a simple safety mechanism to not run out of disk space after emerge -fDuN @world, etc. I do it also. - Mark It is also because the portage tree is reiserfs and distfiles ext4. Actually, it is like it : /usr /portage- reiserfs | both shared through nfs /distfiles - ext4 | /usr /portage/distfiles | acces on an nfs When you mount a filesystem B inside an other one A and share the root A through nfs, it seems you acces (from nfs clients) to the A and the directory under which is mounted B, but not B itself. Do you understand me ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Partitioning strategy...?
On Friday 25 November 2011 21:09:04 Mark Knecht wrote: On Fri, Nov 25, 2011 at 11:51 AM, Walter Dnes waltd...@waltdnes.org wrote: On Fri, Nov 25, 2011 at 10:17:07AM -0800, Mark Knecht wrote On Fri, Nov 25, 2011 at 9:53 AM, Pandu Poluan pa...@poluan.info wrote: SNIP /mnt/distfiles ext3/4 (shared via nfs) Why do you separate the distfiles from the portage tree? Rgds, distfiles has a tendency to grow large over the years. IIRC nothing cleans it up automatically so having it separate is just a simple safety mechanism to not run out of disk space after emerge -fDuN @world, etc. man eclean http://gpio.ca/cgi-bin/man/man2html?1+eclean -- Walter Dnes waltd...@waltdnes.org Yes, true, but all I said was that TTBOMK nothing does it automatically, not that it cannot be automated. - Mark I find something on forums.gentoo.org that is called distfiles-cleanup. it's a perl scrit to clean distfiles by release order. Search it. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote: On Nov 16, 2011 8:00 AM, Nikos Chantziaras rea...@arcor.de wrote: On 11/15/2011 08:58 PM, Jarry wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. [...] But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? The old GCC version does not get removed. This is a good thing just in case the new one doesn't work for some reason. If it works OK, you can manually unmerge the old version: emerge -aC gcc:4.4 Before doing that, however, make sure the new one has been activated with gcc-config and verify that it works by building some random package. And if you're adventurous, add USE graphite, reemerge gcc, and reemerge world :) Rgds, what does graphite add ? thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] The LIGHTEST web server (just for serving files)?
On Saturday 12 November 2011 14:01:54 Mick wrote: On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote: On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote: I've been using boa just for this purpose for years: * www-servers/boa Available versions: ~ 0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64 [doc] Homepage:http://www.boa.org/ Description: A very small and very fast http daemon. It can be easily locked down for internet facing roles. I've also used thttpd (you can throttle its bandwidth if that's important in your network), but it's probably more than required for this purpose: * www-servers/thttpd Available versions: 2.25b-r7 amd64 ~hppa ~mips ppc sparc x86 ~x86-fbsd [static] ~ 2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~x86-fbsd [static] Homepage:http://www.acme.com/software/thttpd/ Description: Small and fast multiplexing webserver. Thanks for all the input! During my drive home, something hit my brain: why not have the 'master' server share the distfiles dir via NFS? So, the question now becomes: what's the drawback/benefit of NFS-sharing vs HTTP-sharing? The scenario is back-end LAN at the office, thus, a trusted network by definition. HTTP is not really 'sharing'. It is just 'copying'. Clients download the distfiles from the home server to minimise load on the gentoo mirrors. Following the download a client machine will have a local copy of said distfile in the client://usr/distfile. With NFS there is only one copy of the file, on the server, shared by other clients in the LAN. In my case the server is not always on, so NFS would not be appropriate. With NFS, there is only one distfiles repo. So, when someone emerge an unknown program, the distfiles become available to your whole network (if shared of course). I share /mnt/portage (the portage tree on a reiserfs) and /mnt/distfiles (on a ext4 fs). The tree is synced only once also ! It reduce server load (bandwitch on gentoo master server) and your global diskspace used (because repo are mutualized). -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] how can I set up domainname?
On Tuesday 08 November 2011 19:11:57 Paul Hartman wrote: On Tue, Nov 8, 2011 at 11:57 AM, Jarry mr.ja...@gmail.com wrote: Hi, after finishing installation, I see this prompt: This is hostname.unknown_domain (Linux x86_64... While hostname is correct, I wonder why is there that unknown_domain? In /etc/conf.d/net I have: dns_domain_lo=mydomain So why is this mydomain not used in login prompt? Funny thing is, on other machine which I installed a few years ago I see it correctly displayed as hostname.domainname. And I can not find any difference (except baselayout1 vs baselayout2)... What's in your /etc/conf.d/hostname? you should look in /etc/conf.d/net but also in /etc/hosts ! your computer should have ip-adress hostname.dsdomain.com (net, other)… alias one two … you need it ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] how can I set up domainname?
On Tuesday 08 November 2011 20:07:42 Jarry wrote: On 08-Nov-11 19:34, Stéphane Guedon wrote: This ishostname.unknown_domain (Linux x86_64... Whilehostname is correct, I wonder why is there that unknown_domain? you should look in /etc/conf.d/net but also in /etc/hosts ! your computer should have ip-adresshostname.dsdomain.com (net, other)… alias Thank you, this has fixed the problem! I skipped /etc/hosts editing as I'm going to use own dn-server but apparently at least host's own IP/FQDN/alias must be there... Jarry I also have my own dns server on the machine, but actually, it seems the machine speaks to itself and need all functionnal concerning network BEFORE to launch any service. This is the same on kde (for example) : it will be OO slow when the network is bad configurated, whether you use the net or not, whether you are connected or not ! To have more info about this, I recommand you speak with some network linux guru. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] ext4/ext3 for /boot?
On Monday 07 November 2011 19:29:06 Jarry wrote: Hi, just out of curiosity: is it possible to use ext4/ext3 filesystem even for separate /boot partition? For /boot I'm still using ext2, but a friend of mine is just doing installation and asked me what filesystem he should use, so I told him not to complicate things and simply use ext4 for all. But now I'm not so sure if he is able to boot his new fresh gentoo-system at the end? Jarry I use ext4 as /, with a boot directory (so my / is /boot). Don't worry ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Gentoo + Moonlight
On Wednesday 14 September 2011 22:34:08 Paul Hartman wrote: On Wed, Sep 14, 2011 at 3:17 PM, Carlos Sura carlos.su...@googlemail.com wrote: On 14 September 2011 14:09, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Sep 14, 2011 at 2:56 PM, Carlos Sura carlos.su...@googlemail.com wrote: Also, this article: http://how-to.wikia.com/wiki/How_to_watch_Netflix_(Watch_Inst antly)_in_Linux mentions that, I could use moonlight to get netflix working on linux. It lists Mono/Moonlight under the Other methods that DON'T work section. Meaning you can't use it to watch Netflix. :) There are rumors that Netflix is working on a proper Linux client, but as of right now emulation/virtualization is the only way to do it AFAIK. Oh, I see... My mistake, did not read all the article neither well... So... I might be using virtualbox if I want to watch movies on Netflix What a shame... Anyway, thank you for your answer. Regards, I use it the same way (in VMware). If this article is true, then at least we have some hope for the future: http://benjaminkerensa.com/2011/07/30/netflix-instant-is-coming-to-the-enti re-linux-community/ Apart from the debate, moonligth isn't in portage, it's a firefox plugin. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] OpenOffice remerge failed
/libxml2/libxml/tree.h:1248, from /var/tmp/portage/app-office/openoffice-3.2.1- r1/work/ooo/build/OOO320_m19/solver/320/unxlngx6.pro/inc/external/xmlsec/xm lsec.h:18, from /var/tmp/portage/app-office/openoffice-3.2.1- r1/work/ooo/build/OOO320_m19/xmlsecurity/source/xmlsec/nss/securityenviron ment_nssimpl.hxx:64, from /var/tmp/portage/app-office/openoffice-3.2.1- r1/work/ooo/build/OOO320_m19/xmlsecurity/source/xmlsec/nss/securityenviron ment_nssimpl.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:6 4: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:89 : error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:14 9: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:16 2: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:17 3: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:18 4: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:19 3: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:20 3: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:23 0: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_traits.h:23 6: error: template specialization with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4/bits/char_trait ... [snip ...] template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++- v4/bits/basic_string.tcc:995: error: template with C linkage /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++- v4/bits/basic_string.tcc:1067: error: template with C linkage dmake: Error code 1, while making '../../../unxlngx6.pro/slo/securityenvironment_nssimpl.obj' ERROR: Error 65280 occurred while making /var/tmp/portage/app- office/openoffice-3.2.1- r1/work/ooo/build/OOO320_m19/xmlsecurity/source/xmlsec/nss rmdir /var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/yKGfbqXzp4 make: *** [stamp/build] Error 1 * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8825: Called die * The specific snippet of code: * make || die Build failed === Before I start again, shall I switch to libreoffice-3.3.1 or is it not yet as polished as OOo? I find it even a little bit better than the latest OOo release ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] debugfs
16:05 root@luciole /boot # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,commit=0) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) /dev/sda6 on /home type ext4 (rw,commit=0) Is debugfs usefull ? If not, is there a way not to mount it ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] debugfs
On Thursday 09 June 2011 18:52:29 Paul Hartman wrote: On Thu, Jun 9, 2011 at 11:40 AM, Stéphane Guedon steph...@22decembre.eu wrote: 16:05 root@luciole /boot # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,commit=0) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) /dev/sda6 on /home type ext4 (rw,commit=0) Is debugfs usefull ? If not, is there a way not to mount it ? If you don't use it, it's not useful. :) Disable it in your kernel and it will go away. debugfs is not a real filesystem, it's a virtual way to access debugging info from various modules/programs. Kind of like /proc is a virtual filesystem which shows info about processes. If you don't use any of that debugging info, then it's useless to you. of course I won't use it But it seems every debugfs is disabled in my kernel. But it always mount ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] autofs
On Saturday 04 June 2011 02:40:12 William Kenworthy wrote: On Fri, 2011-06-03 at 14:57 +0200, Florian Philipp wrote: Am 03.06.2011 14:25, schrieb Alan McKinnon: Apparently, though unproven, at 14:18 on Friday 03 June 2011, Volker Armin Hemmann did opine thusly: On Friday 03 June 2011 13:37:54 Stéphane Guedon wrote: On Friday 03 June 2011 12:55:58 Alan McKinnon wrote: Apparently, though unproven, at 12:44 on Friday 03 June 2011, Stéphane Guedon did opine thusly: [...] The point is that NFS was not designed with laptops and other devices that can be disconnected in mind. It was designed for secure LANs that do not change much, and laptops present issues that are not easy to solve. [...] Nfs hasn't been designed for laptop, it's ok. But, appart from coda (which has a file size limit of 1 giga, so, useless in home networking), I know nothing that is fit for network file-sharing for laptop (the laptop isn't the server of course). I search a solution for that since years ! samba? +1 Samba works nicely for ad-hoc connections, the kind of thing Windows clients would do. And it's a lot more tolerant of connections going away than NFS. I always was under the impression that NFS is more fault-tolerant on the network because of its usage of stateless UDP connections whereas CIFS usually freezes when the connection is lost. In the end, both issue an IO error, usually crashing an unprepared application. So, in which regard performs CIFS better with interrupted connections? That being said, I always use NFS over TCP because of performance issues with UDP and wireless LAN. Regards, Florian Philipp No, its ok in a fixed network but you get wierd issues like clients hanging on shutdown because the NFS server goes away first, and its an administrative pita when it stops working - could be firewall, something missed in a new kernel etc. Ive been using it for mythtv and diskless systems (NFS over TCP) for quite awhile and its a fight every few months to find out why host x syuddenly doesnt want to play. But otherwise works well use wise in a controlled environment. Laptops are a whole different matter though - you might be better off side stepping if its only looking at media by looking into streaming rather than storage mapping. Otherwise, Samba is probably the next best. BillK In home network, you share many types of files ! The first I think is DVD iso, which is huge (too large to go through coda) and not streamable... (but I admit it's not the best exemple !) You share also documents (tax papers scans, ilness and doctors certificates...). And I share first of all Portage tree and distfiles ! Medias can be streamed, but not that ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] autofs
anyone use autofs to manage mounting of nfs on a laptop ? Is it fluent, easy to use ? How many shares maximum ? thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] autofs
On Friday 03 June 2011 12:55:58 Alan McKinnon wrote: Apparently, though unproven, at 12:44 on Friday 03 June 2011, Stéphane Guedon did opine thusly: anyone use autofs to manage mounting of nfs on a laptop ? Is this mounting a share from an nfs server onto a laptop? Is it fluent, easy to use ? It's NFS. The words nfs and fluent, easy to use do not belong in the same sentence unless there's a not in the middle. The point is that NFS was not designed with laptops and other devices that can be disconnected in mind. It was designed for secure LANs that do not change much, and laptops present issues that are not easy to solve. How many shares maximum ? From a server? Hundreds, with ease. NFS is not the bottleneck, your shares are limited by how much bandwidth you have over the network. Ok, it's a beginning.. :-) thank you ! Nfs hasn't been designed for laptop, it's ok. But, appart from coda (which has a file size limit of 1 giga, so, useless in home networking), I know nothing that is fit for network file-sharing for laptop (the laptop isn't the server of course). I search a solution for that since years ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] libre vs openoffice
Hi Is there a way currently to install libreoffice on the same computer as openoffice ? Right now, emerge said open is blocking libreoffice, and I would like to try libre but keep open ... Best regards -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] libre vs openoffice
On Wednesday 01 June 2011 09:23:51 Rudmer van Dijk wrote: Hi, On Wednesday 01 June 2011, Stéphane Guedon wrote: Is there a way currently to install libreoffice on the same computer as openoffice ? Right now, emerge said open is blocking libreoffice, and I would like to try libre but keep open ... apparently not, but I recently switched to libreoffice and it just works. you can always store your current openoffice using `quickpkg app- office/openoffice` that way you can easily go back without compiling! Rudmer Libreoffice working is Ok, I think. I just don't want to uninstall openoffice, as it takes hours to compile ! And your sollution seems fine. I try it, thank you. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] libre vs openoffice
On Wednesday 01 June 2011 09:32:48 Stéphane Guedon wrote: On Wednesday 01 June 2011 09:23:51 Rudmer van Dijk wrote: Hi, On Wednesday 01 June 2011, Stéphane Guedon wrote: Is there a way currently to install libreoffice on the same computer as openoffice ? Right now, emerge said open is blocking libreoffice, and I would like to try libre but keep open ... apparently not, but I recently switched to libreoffice and it just works. you can always store your current openoffice using `quickpkg app- office/openoffice` that way you can easily go back without compiling! Rudmer Libreoffice working is Ok, I think. I just don't want to uninstall openoffice, as it takes hours to compile ! And your sollution seems fine. I try it, thank you. Done, libreoffice works. It seems to have solve little bugs from my openoffice release. But sadly, don't have new icons whereas release 3,3,1 is said to have ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] office softs
Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] network discovery tools
On Wednesday 25 May 2011 21:45:07 Harry Putnam wrote: There must be a number of people who post here that have had to do this problem. Discover the addresses of computers on a home network that have connected by way of DHCP. For example: Several wireless connections. I've used static IPS for around 10 yrs, always seemed handier for things like ssh between home lan computers. But recently started using DHCP for wireless connections. It must be such a popular method for some reason. But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? That is, besides something like accessing the WAP and checking the IPs connected to it. Is there some quick and sure way to discover any IPs on the home lan? Some kind of mapper tool? dhcp can assign static adresses ! Thus, it's easier to manage (only the dhcp server to admin !) I am not english, thus, don't know website with such doc (in english) but you can easily find it on internet ! You have also dnsmasq that makes both dns (for lan) + dhcp (whereas commonly, this functions are split) -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] office softs
On Wednesday 25 May 2011 22:07:15 Paul Hartman wrote: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) I need a small MS-compatibility, as anyone I think. I wonder if calligra is mature enough to be used (cause openoffice not fully integrated with my desktop environnement). Openoffice/Libreoffice... = which to choose ? Openoffice is heavy whereas I think calligra light, thus, easier to update, but is calligra solid enough ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] office softs
On Wednesday 25 May 2011 22:20:00 Alan McKinnon wrote: Apparently, though unproven, at 22:07 on Wednesday 25 May 2011, Paul Hartman did opine thusly: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) LibreOffice comes with a huge benefit - I do not have to see the Oracle logo on the splash screen. That alone was enough to make me switch. Other than that, I reckon they are mostly on par with each other for the average user. According to some recent blogs I scanned over, LibreOffice ships with more templates or makes the process easier. I can see how many people would like that a lot. I don't have oracle logo... (useless mail just to make fun) :-) -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How can I disable some apache modules?
On Saturday 21 May 2011 14:34:51 Jarry wrote: Hi, I'd like to disable some apache modules (mod_autoindex and mod_userdir). I checked /etc/apache2/httpd.conf, but it says # GENTOO: Automatically defined based on APACHE2_MODULES # USE_EXPAND variable. # Do not change manually, it will be overwritten on upgrade. OK, when this is not recommended way, I tried to set it up in /etc/make.conf: APACHE2_MODULES=${APACHE2_MODULES} -autoindex -userdir But when I try re-emerge apache, I get a lot of errors like this: Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-autoindex' So how can I control which apache modules are build and loaded? Jarry APACHE2_MODULES aren't incremental. All you put in is built, all you don't put in isn't built ! That's it. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] --oneshot and --update
On Monday 16 May 2011 08:35:19 Pandu Poluan wrote: Hello list! I am trying to get the 'Zen' of emerge. Please CMIIW on the following points: * emerge --oneshot package will install package but does not record it in @world right * To update a oneshot-ed package, I must either do it explicitly (emerge --update package), or use --deep against world (emerge --update --deep @world) * --update-ing a package will not record it in @world * If I want that package to be included in @world, I have to re-emerge it no, you can use emerge --noreplace www-client/firefox (for exemple), or write this ebuild name in the world file itself. So, did I get everything right? Rgds, -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Setting up a local web server
On Friday 01 April 2011 13:57:49 Peter Humphrey wrote: Hello list, I want a box on my LAN to be a local web and database server. I've installed Apache, MySQL, PHP and phpmyadmin and I'm about to get phpmyadmin going. The problem is that Apache is displaying the contents of php files instead of interpreting them. What have I missed? I have USE=apache2 php in make.conf and APACHE2_OPTS=-D PHP in /etc/conf.d/apache2. (Why is it so hard to get a web server going in Gentoo? I remember having the same difficulty 18 months ago; it'd be good to be able to remember what I did. This is the one area I've found where the Gentoo documentation is weak - well, nonexistent actually. We ought to have an idiot's guide to getting started, at least.) I have APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5 you should try at least language and php5 ! Don't know actually if it will help ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] python-2.7 python-updater
On Friday 25 March 2011 01:28:35 Dale wrote: Mark Knecht wrote: One of my machines just saw a python-2.7 update and the ebuild was good enough to remind me to run python-updater, but it didn't suggest that I run eselect python and set the active version to 2.7. Should this new version python be selected first as the active python 2 version and then run python-updater? Thanks, Mark And if we should set python to 2.7, should we remove python-2.6? I don't think we want to break something, portage in particular. ;-) Dale :-) :-) I think wicd rely on python 2.6 currently. This is my setup on my laptop ! (trying other version break networking with wicd). -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)
On Wednesday 23 March 2011 08:27:53 Alan McKinnon wrote: But considering that the thread is all about what is the best filesystem?, that too is to be expected. The very title belies a lack of understanding - the best filesystem for you is the one you have tested and found best suits your needs. A filesystem looks like quite hard to test (as a kernel, as an hardware... much more complicated than a software you only need to install) : you need a specific machine to test on it. Which tests/operation to perform ? Before launching tests, maybe asking advices to others to have their experiences would be a great idea ! But I would like really to know : can you give a way to test such things ? (hardware ... quite hard : need to buy before testing, kernel, FS). Best regards -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)
On Monday 21 March 2011 20:32:22 Jarry wrote: Hi, I'm looking for the best filesystem for a small multi-purpose server with a couple of services running (ftp, web, mail, mysql). For me very important features are: snapshot (will be used for backup, must be native without lvm) journaling resizeable (if possible online) After a little research I have found two candidates: JFS (created by IBM) XFS (created by SGI) Now without trying to start flame-war, my question is: which of them could be better for my need? More stable, more reliable, more efficient, etc. Or should I consider some different filesystem? Jarry Someone said me reiser (version 3, still stable and maintained). Especially for small files like DB and portage tree. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] delete acces point with wicd
On Friday 18 March 2011 10:28:51 Neil Bothwick wrote: On Thu, 17 Mar 2011 22:16:41 +0100, Stéphane Guedon wrote: I am in a wifi network currently, the newtork provider say to me to choose the best accespoint and to delete the others. If I don't do that, my computer is always jumping between differents accesspoint. I use wicd to manage internet connexion. Edit /etc/wicd/wireless-settings.conf and remove the stanzas for the wireless points you no longer want. Thank you No way to do this without root acces ? In graphics ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] delete acces point with wicd
Hello I am in a wifi network currently, the newtork provider say to me to choose the best accespoint and to delete the others. If I don't do that, my computer is always jumping between differents accesspoint. I use wicd to manage internet connexion. How can I deal it ? Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] mounts options on a laptop
I have a laptop, it works quite good, but I would like to improve battery length. The fact is that, out of the classical options (kernel custom, KDE battery management...), there's no information about disk mount options, whereas it eat a lot of power. my current mount : rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,commit=0) /dev/shm on /tmp type tmpfs (rw,nosuid,nodev) /dev/sda7 on /var type reiserfs (rw) /dev/sda8 on /media/musique type vfat (rw,uid=0,gid=18,umask=007) /dev/sda2 on /windows type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) /dev/sda6 on /home type ext4 (rw,user_xattr,commit=0) and sda5 as swap. how to make it better ? (I know reiserfs is not a good idea, but at the moment of building the system, it seamed good for little files/DB...) I have read of mounting part of /var as tmpfs... ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: [gentoo-laptop] mounts options on a laptop
On Saturday 05 March 2011 12:47:39 Kent Hagebrand wrote: Yes, I use tmpfs on /vat/tmp/portage to reduce the disk i/o on my laptop. Here is the line I use in the /etc/fstab: none /var/tmp/portage tmpfs nr_inodes=1M,size=2G 0 0 This will allow the directory /var/tmp/portage to use at most 2GB of memory (I have 4GB). It is enough to compile most of the packages in portage. I compile in /tmp which is tmpfs, and I was thinking of /var/run as tmpfs On Saturday 05 March 2011 12:29:19 Florian Philipp wrote: /var as tmpfs is not a good idea. There are lots of persistent files in there. If you want to be standard-conformant, you cannot even mount /var/tmp as tmpfs because its content is also meant to survive reboots. You can still do it though and mounting /tmp as tmpfs is completely okay. Your choice of filesystem has little or no effect. You could proably argue that JFS needs less CPU resources than for example ReiserFS but that really doesn't matter. What you really want is app-laptop/laptop-mode-tools. Hope this helps, Florian Philipp with reiserfs, the disk is said to run all over the time ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] automounting usb drives
On Sunday 27 February 2011 12:13:21 luis jure wrote: on 2011-02-27 at 10:20 Duong Yang Ha Nguyen wrote: Hal is deprecated. Try avoiding it as much as possible. that's what i'm doing, for sure! I have read all the discussion, and, unfortunately, I can't help you Luis. But I am asking the way to assign mountpoint like hal did. As it is said, Hal is deprecated. But it was easy to say when you plug 6566-3243 flash drive, the mountpoint should be my_usbdisk. Now, automounting works good and great for me with udev/udisks, no problem, except that I would like to have the same behavior : having my drives to the mount point I want (having good icons rather than just a usual folder icon would be a plus !). I am right now on KDE 4.6, and so... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] automounting usb drives
On Sunday 27 February 2011 13:39:49 Stéphane Guedon wrote: On Sunday 27 February 2011 12:13:21 luis jure wrote: on 2011-02-27 at 10:20 Duong Yang Ha Nguyen wrote: Hal is deprecated. Try avoiding it as much as possible. that's what i'm doing, for sure! I have read all the discussion, and, unfortunately, I can't help you Luis. But I am asking the way to assign mountpoint like hal did. As it is said, Hal is deprecated. But it was easy to say when you plug 6566-3243 flash drive, the mountpoint should be my_usbdisk. Now, automounting works good and great for me with udev/udisks, no problem, except that I would like to have the same behavior : having my drives to the mount point I want (having good icons rather than just a usual folder icon would be a plus !). I am right now on KDE 4.6, and so... solved using mlabel... I needed to look upon ubuntu doc ! This is a little bit crap ! but thanks ! :-) -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Slotted PHP behavior
On Tuesday 04 January 2011 18:47:30 Hung Dang wrote: On 01/04/11 10:27, Grant wrote: I just upgraded to php-5.3.4 which I believe went into a new slot. Is slotted behavior new for PHP? I think things have been rearranged. Can someone clue me in to the new layout? For example, I get: # /etc/init.d/apache2 restart * Caching service dependencies ... * apache2 has detected an error in your setup: apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib64/apache2/modules/libphp5.so into server: /usr/lib64/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory - Grant I had a similar problem before and I did solve it by running this command: eselect php set apache2 php5.3. I believe I get this command from a Gentoo official PHP guide. Hung I did this just few weeks ago and had to switch back because my web app (wordpress native, not from gentoo) didn't work. Be sure you need this ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
Re: [gentoo-user] New Install Problems with X
On Tuesday 04 January 2011 22:35:08 KIM WHALEN wrote: Yes, it looks like I'm using python 3. I change it to python2.6 and it looks like it's emerge'ing without errors. This should be mentioned in the install documentation. Now do I need to rebuild everything else, emerge --empty-tree, now that I switched python interpreters? # eselect python list Available Python interpreters: [1] python2.6 [2] python3.1 * Thanks, --dhk On Tue, Jan 4, 2011 at 4:00 PM, Matías Marquez wrote: Hello. Are you using python 3 as your main python interpreter? Try: #emerge -av python:2.6 #eselect python lists #eselect python set N where N is the number of python 2 in the previos command. I can't help with the video card problem. Sorry about my poor English. Bye. no, you needn't to rebuild everything ! python is just yhe tool to build, it doesn't affect the binaries. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[gentoo-user] install two releases of library in parallel
Hello I am writing to you in order to know if there's a way to install both 4.54 and 4.5.85 releases of kdelibs on the same computer. The problem is that : I want to use the last powerdevil, which enable better use and recognition of my laptop battery. It rely on kdelibs 4.5.85. But I want to keep the current release of kontact 4.5.4, which is quite stable and usable for reading mails and other pims stuffs. So, I need the two releases of kdelibs. Does someone have an idea or suggestion ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: install two releases of library in parallel
Le Saturday 18 December 2010 18:49:08, walt a écrit : On 12/18/2010 02:27 AM, Stéphane Guedon wrote: Hello I am writing to you in order to know if there's a way to install both 4.54 and 4.5.85 releases of kdelibs on the same computer. The problem is that : I want to use the last powerdevil, which enable better use and recognition of my laptop battery. It rely on kdelibs 4.5.85. But I want to keep the current release of kontact 4.5.4, which is quite stable and usable for reading mails and other pims stuffs. Hm. Looking at the ebuilds for those packages, I don't see the version numbers you mention: -rw-r--r-- 1 root root 9351 Dec 14 13:59 kdelibs-4.4.5-r1.ebuild -rw-r--r-- 1 root root 9306 Sep 13 15:05 kdelibs-4.4.5.ebuild -rw-r--r-- 1 root root 9356 Nov 3 09:30 kdelibs-4.5.3.ebuild -rw-r--r-- 1 root root 9353 Dec 2 13:16 kdelibs-4.5.4.ebuild Are you using a portage overlay for kde? Anyway, the older version of kontact may compile and run normally if you emerge it with the newer version of kdelibs installed. I would try it as an experiment before trying to install two different library versions. I use the kde overlay. I will try the thing you say before using kdeprefix said by Mr Volker. Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Winter clock change did not happen
Le Sunday 31 October 2010 12:32:59, Mick a écrit : On Sunday 31 October 2010 10:05:15 Peter Humphrey wrote: On Sunday 31 October 2010 09:34:25 Alan McKinnon wrote: All my calendars (electronic and dead-tree) tell me that daylight savings switches at the END of today not at the beginning That's not true in the UK: the switch is done at 02:00 on the Sunday. My Gentoo and Ubuntu boxes have switched to GMT correctly this morning, and so has the radio-synchronised clock on the kitchen wall. I think Mick does have a problem in his Gentoo setup. :-( Thanks Peter, do you dual boot with MSWindows? I've noticed this problem on two different boxen, both of them dual boot with MSWindows. A Gentoo only box of mine switched over to winter time correctly - so it must be my dual boot set up that is causing this problem. Same thing in France where changing time is at 03:00 = 02:00 on sunday morning ! And I am on dual boot too ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Winter clock change did not happen
Le Sunday 31 October 2010 17:35:56, Jacob Todd a écrit : Why don't you just use openntpd ( or whatever it's called)? ntp service (such as openntpd or regular ntp itself) doesn't lookup at the time printed on the desktop ! They work in utc time, furnishing a stable base of time. It's the os' job to convert it in local time (and winter/summer time). For example, a openntpd launched in a chinese computer (and we know certainly that chinese computers have really different times than ours !) would have the hour of London (because it work in timestamp, which is a way to print utc) ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Filesize does not match recorded size
Le Monday 25 October 2010 17:52:14, Joseph a écrit : I'm trying to reinstall asterisk-1.4.22.1 but I get: ('Filesize does not match recorded size', 20776689, 11602819) !!! Fetched file: asterisk-1.4.22.1.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 20776689 !!! Expected: 11602819 Refetching... File renamed to '/usr/portage/distfiles/asterisk-1.4.22.1.tar.gz._checksum_failure_.eNAPDH ' The asterisk in portage stable is 1.2 (too old), unstable 1.6 does not work with some providers for me so I'm trying sticking with 1.4 I had this problem in the past and I did solve it by: cd /usr/local/portage/layman/voip/net-misc/asterisk/ ebuild --force asterisk-1.4.22.1.ebuild manifest but it is not working now? Any suggestion? You should make a bug report and wait one or two days before before this to be corrected. Best regards ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] distcc and USE flags
Le Thursday 14 October 2010 07:57:25, Coert Waagmeester a écrit : Hello all, Still new to gentoo. I use RHEL a lot. If I want to set up an x86 distcc solution, do the USE flags need to be the same on all machines? Trying to setup/compile all desktop apps on one machine with two assisting in compilation. Regards, Coert Waagmeester the use flags needn't to be the same if you order the compile from the machine which have the binaries. If you compile all on one machine only, I think too, but not sure, and I don't know how you tell which use flags correspond to which machine... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] openrc fails
I have A problem on my gentoo server (but not my gentoo laptop, which is bizzare as they together have the same release of system basic packages !). At launching default runlevel, several services appear to be not launched whereas they are ! This concerns proftpd, mysql and console-kit (and all services dependant of course). For exemple, when launching proftpd, openrc says : * Starting ProFTPD ... * start-stop-daemon: /usr/sbin/proftpd is already running [ !! ] * ERROR: proftpd failed to start mysql : * /var/run/mysqld/mysqld.pid is still present and the process is running. * Please stop it kill 5478 maybe ? [ !! ] * ERROR: mysql failed to start I have set : rc_parallel=NO rc_depend_strict=YES Anyone have an idea where to start to solve the problem ? Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: openrc fails
Le Sunday 10 October 2010 15:55:08, walt a écrit : On 10/10/2010 03:17 AM, Stéphane Guedon wrote: I have A problem on my gentoo server (but not my gentoo laptop, which is bizzare as they together have the same release of system basic packages !). At launching default runlevel, several services appear to be not launched whereas they are ! This concerns proftpd, mysql and console-kit (and all services dependant of course). For exemple, when launching proftpd, openrc says : * Starting ProFTPD ... * start-stop-daemon: /usr/sbin/proftpd is already running [ !! ] * ERROR: proftpd failed to start mysql : * /var/run/mysqld/mysqld.pid is still present and the process is running. * Please stop it kill 5478 maybe ? [ !! ] * ERROR: mysql failed to start I have set : rc_parallel=NO rc_depend_strict=YES Anyone have an idea where to start to solve the problem ? When you stop the machine do you see any messages about services that fail to stop? Any reason to suspect that those *.pid files don't get deleted? You could try booting into single-user mode to see if those *.pid files really are still there from the previous session. Do the two machines run the same version of baselayout? Thank you for this beginning of help... The two machine have together baselayout 2.0.1 release. When rebooting and looking at pid files (boot in interactive mode) in /var/run before services are started, I don't see anything. But when I let the computer launch services as the boot process want (by giving him the hand on with 4 = continue boot process), services are not seen to be started whereas they are (there's for example a mysqld process whereas rc-status says it's stopped). Do I make myself understand ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: openrc fails
Le Sunday 10 October 2010 19:52:59, cov...@ccs.covici.com a écrit : Dale rdalek1...@gmail.com wrote: walt wrote: On 10/10/2010 03:17 AM, Stéphane Guedon wrote: I have A problem on my gentoo server (but not my gentoo laptop, which is bizzare as they together have the same release of system basic packages !). At launching default runlevel, several services appear to be not launched whereas they are ! This concerns proftpd, mysql and console-kit (and all services dependant of course). For exemple, when launching proftpd, openrc says : * Starting ProFTPD ... * start-stop-daemon: /usr/sbin/proftpd is already running [ !! ] * ERROR: proftpd failed to start mysql : * /var/run/mysqld/mysqld.pid is still present and the process is running. * Please stop it kill 5478 maybe ? [ !! ] * ERROR: mysql failed to start I have set : rc_parallel=NO rc_depend_strict=YES Anyone have an idea where to start to solve the problem ? When you stop the machine do you see any messages about services that fail to stop? Any reason to suspect that those *.pid files don't get deleted? You could try booting into single-user mode to see if those *.pid files really are still there from the previous session. Do the two machines run the same version of baselayout? Does the zap option exist in openrc? That may get rid of the pid file too. Just a thought. I wonder if he has something in two different runlevels because start-stop says something is already running, not just that the pid file is there. This services are put only in default runlevel ! 20:14:27 r...@einstein:~ # rc-update|grep default dbus | default ypbind | default vixie-cron | default hald | default xinetd | default dovecot | default smartd | default ypserv | default dhcpd | default nfs | default proftpd | default samba | default sshd | default cupsd | default precursor | default avahi-daemon | default consolekit | default ntpd | default apache2 | default postfix | default udev-postmount | default pdns | default munin-node | default mysql | default local | default see : only launched one time ! But I think that services putted in two runlevels aren't relaunched... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] openrc fails
Le Sunday 10 October 2010 21:16:28, Fatih Tümen a écrit : On Sun, Oct 10, 2010 at 1:17 PM, Stéphane Guedon steph...@22decembre.eu wrote: Anyone have an idea where to start to solve the problem ? I am on baselayout1 and had a similar thing with cron couple of days ago. I noticed I was not receiving mails from my system for the last three hours. Cron seemed to be running but hang there, sleeping but not zombie. I think I suspending in the middle of a cron job. Restarting, zapping the service would not work. The solution for me was to kill all instances of cron processes and start cron. -- Fatih That is what I do... but I hope to solve really the problem, as a server should start automatically... Mysql is a critic service, as the dns server rely on it ! So, I want it to work correctly ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] what's going on with updates ?
On Monday 13 September 2010 14:02:01 Paul Hartman wrote: On Mon, Sep 13, 2010 at 1:15 AM, Stéphane Guedon steph...@22decembre.eu wrote: Since few days ( two or three ?), every time I launch emerge, it's saying me it needs an update of portage itself. In plus, I have upgraded udev at least two times (160161162 today)... Plus, I have had two warning message concerning updates : sudo and an other... what's going on ? Is somebody founding security holes à la pelle (french expression). From Changelog you can see, lots of bugs fixed in portage 2.1 in the last few days: *portage-2.1.9.1 (06 Sep 2010) 06 Sep 2010; Zac Medico zmed...@gentoo.org +portage-2.1.9.1.ebuild: 2.1.9.1 version bump. This fixes bug #336019 (show ebuild maintainer in build log), bug #336085 (AttributeError triggered by slot conflict), and bug #336285 (add unpack() workaround for interactive unzip). Bug #335925 tracks all bugs fixed since 2.1.8.x. *portage-2.1.9.2 (08 Sep 2010) 08 Sep 2010; Zac Medico zmed...@gentoo.org +portage-2.1.9.2.ebuild: 2.1.9.2 version bump. This fixes bug #332719 (depclean removes newly installed packages), bug #336338 (document FEATURES�ndy), bug #336349 (warn about dos-style line endings in make.conf), bug #336350 (AttributeError for selinux), and bug #336356 (AttributeError when running test phase with ebuild command). Bug #335925 tracks all bugs fixed since 2.1.8.x. *portage-2.1.9.3 (10 Sep 2010) 10 Sep 2010; Zac Medico zmed...@gentoo.org +portage-2.1.9.3.ebuild: 2.1.9.3 version bump. This fixes bug #267103 (warn about unapplied config updates in /etc/portage), bug #273282 (QA warning about install in deprecated directories), bug #336499 (call pkg_nofetch for misc fetch failures), bug #336503 (FEATURES=usersync tempdir permission issues), bug #336595 (--quiet support for global updates), bug #336644 (IOError [Errno 11] issues with tmpfs), and bug #336651 (fix resume after portage update to work with --exclude). Bug #335925 tracks all bugs fixed since 2.1.8.x. *portage-2.1.9.4 (11 Sep 2010) 11 Sep 2010; Zac Medico zmed...@gentoo.org +portage-2.1.9.4.ebuild: 2.1.9.4 version bump. This fixes bug #336692 (make package.mask negation in profiles PMS compliant and issue warnings) and also fixes subtle bugs in pkg_nofetch support. Bug #335925 tracks all bugs fixed since 2.1.8.x. *portage-2.1.9.5 (13 Sep 2010) 13 Sep 2010; Zac Medico zmed...@gentoo.org +portage-2.1.9.5.ebuild: 2.1.9.5 version bump. This fixes bug #336142 (ebuild-ipc timeout is too short), bug #336875 (ETIME ImportError on FreeBSD), and bug #337031 (make always overflow destination buffers gcc warnings non-fatal). Bug #335925 tracks all bugs fixed since 2.1.8.x. Ok, I found it strange, nothing more ! And, no, I am not dev or package maintainer, even if sometime, I would like... Thanks guys... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] what's going on with updates ?
Since few days ( two or three ?), every time I launch emerge, it's saying me it needs an update of portage itself. In plus, I have upgraded udev at least two times (160161162 today)... Plus, I have had two warning message concerning updates : sudo and an other... what's going on ? Is somebody founding security holes à la pelle (french expression). -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: what's going on with updates ?
On Monday 13 September 2010 21:06:48 Nikos Chantziaras wrote: On 09/13/2010 09:15 AM, Stéphane Guedon wrote: Since few days ( two or three ?), every time I launch emerge, it's saying me it needs an update of portage itself. In plus, I have upgraded udev at least two times (160161162 today)... Plus, I have had two warning message concerning updates : sudo and an other... what's going on ? Is somebody founding security holes à la pelle (french expression). emerge -al1 portage (Note the l option.) today, one more ! portage to the 2.1.9.4 if I remember exactly ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: what's going on with updates ?
On Monday 13 September 2010 20:28:07 J. Roeleveld wrote: On Monday 13 September 2010 20:15:24 Stéphane Guedon wrote: On Monday 13 September 2010 21:06:48 Nikos Chantziaras wrote: On 09/13/2010 09:15 AM, Stéphane Guedon wrote: Since few days ( two or three ?), every time I launch emerge, it's saying me it needs an update of portage itself. In plus, I have upgraded udev at least two times (160161162 today)... Plus, I have had two warning message concerning updates : sudo and an other... what's going on ? Is somebody founding security holes à la pelle (french expression). emerge -al1 portage (Note the l option.) today, one more ! portage to the 2.1.9.4 if I remember exactly ! Do you have ACCEPT_KEYWORDS set to something starting with a ~...? If yes, then you can expect regular updates to further unstable versions. -- Joost yes, of course... but... one release per day ? strange isn't it ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: static-libs
Le Saturday 11 September 2010 22:52:09, walt a écrit : On 09/11/2010 02:13 AM, Stéphane Guedon wrote: synce few days, I have a message of portage suggestiung me to use the static- libs USE flag for media-libs/jpeg-6b. What may be the consequence ? Please be gentle with explaining this sorte of things, as I have not the knowledges to understand the full compile process, otherwise I am a little bit familiar with it ! I have jpeg-8b, so I can't be sure about 6b. I just turned on the static-libs USE flag and re-installed jpeg. The only difference is that the 'static' lib /usr/lib/libjpeg.a wasn't there before and it is now, that's all. Is your system trying to upgrade jpeg to a newer version? I notice that 6b doesn't use any USE flags, and the newer versions do use the static-libs flag. (Just re-installing 6b shouldn't complain about USE flags because the package doesn't look for them.) Any program that uses the dynamic libjpeg.so would need to be re-compiled if the version of jpeg changes. If the static library is used instead, the program no longer needs libjpeg.so because the static library is linked into the binary executable at compile-time. The price you pay is a larger binary executable, but you never need to worry about future jpeg version changes. I don't know how portage chooses between static and dynamic libs while building a package. Anyone else know? In fact, static-libs is for jpeg-8b , but Imade a mistake when write the mail... So I can use the flag without worrying. Good ! Thanks ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] sudo in kernel config ?
few months ago, I read linux kernel in a nutschell, and the author wrote we shouldn't do kernel operations (config and build) as root. Is sudo (or kdesudo ?) a good replacement to that ? Kdesudo works good to have xconfig, which is more comfortable that menuconfig. But is it a good manner of making things ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] static-libs
synce few days, I have a message of portage suggestiung me to use the static- libs USE flag for media-libs/jpeg-6b. What may be the consequence ? Please be gentle with explaining this sorte of things, as I have not the knowledges to understand the full compile process, otherwise I am a little bit familiar with it ! Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] sudo in kernel config ?
Le Saturday 11 September 2010 11:46:59, Albert Hopkins a écrit : On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote: few months ago, I read linux kernel in a nutschell(sic), and the author wrote we shouldn't do kernel operations (config and build) as root. I call bullsh*t. I've been compiling kernels for 17 years and for the most part have done it as root without any problems. What the author is saying is that, to an extent, in theory no one should compile anything as root, or really do anything non-system-adminly as root. You should only do as root what is critically necessary (e.g. make install) as root. In a perfect, tidy world we'd all do that. This world, however does not exist. Even portage, by default does configure and make as root (albeit in a sandbox so it is safe(r). What the author means is theoretically the config/compile phase could unintentionally cause some kind of harm to your system. In practice I have never seen this or heard of it. The kernel devs are bright enough to ensure that the compilation does nothing outside the source tree itself. It's a good guideline but, like the government's dietary guidelines, not ones I intend to follow religiously. Is sudo (or kdesudo ?) a good replacement to that ? sudo runs things as root, so effectively you've done nothing but add a password prompt to the mix. Gentoo actually makes this a bit more difficult, because usually one uses portage to install the kernel sources, and they get installed as root-owned, and only root has write access to the kernel tree. Some people, such as myself, use kernel sources outside of portage (I follow a git repo) and do so as a non-root user. In this case the kernel tree is not owned by root and the config/compile is easily done as a non-root user. If you are super-paranoid. You can make a non-root copy of /usr/src/linux and compile it as a non-root user. But there really isn't any point in using sudo. It's effectively doing the same thing that you are trying to avoid. I am not paranoid anymore, just asking to knowing persons... Ok ! thanks for your answer ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] undetected DVD r/w device
Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit : Selon Stroller strol...@stellar.eclipse.co.uk: On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote: For some unknown reason, my DVD r/w device is not detected as such by udev: I can mount /dev/hda and read a data CD, ... Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c). There's no sr* device on my system !!! Only way to reach the drive: /dev/hda. Help So, you're not using the latest drivers (scsi emultation of ata hdd)... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] thunderbird and gpg
autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=evdev synaptics keyboard mouse void KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=fr RUBY_TARGETS=ruby18 SANE_BACKENDS=net epson epson2 USERLAND=GNU VIDEO_CARDS=fbdev vesa nvidia XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS = Package Settings = mail-client/thunderbird-3.1.1-r1 was built with the following: USE=alsa crypt dbus libnotify (multilib) startup-notification wifi -bindist - custom-optimization -gnome -ldap -lightning -mozdom -system-sqlite LINGUAS=fr -af -ar -be -bg -bn -bn_BD -ca -cs -da -de -el -en -en_GB -en_US - es -es_AR -es_ES -et -eu -fi -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW CFLAGS=-pipe -march=native -fPIC -Wno-return-type -w CXXFLAGS=-pipe -march=native -fPIC -Wno-return-type -w x11-plugins/enigmail-1.1.2-r2 was built with the following: USE=dbus (multilib) startup-notification -custom-optimization -gnome -system- sqlite CFLAGS=-pipe -march=native -fPIC -Wno-return-type -w CXXFLAGS=-pipe -march=native -fPIC -Wno-return-type -w I can't view crypted email with thunderbird ! I use gpg safely with kmail, but don't know why not in thunderbird ! In contrary, thunderbird in with, with gpg and enigmail installed as extensions works good ! Ideas ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge 32bits on 64bits platform
Le Tuesday 17 August 2010 21:24:59, Bill Longman a écrit : On 08/17/2010 06:43 AM, Mike Edenfield wrote: On 8/16/2010 2:13 PM, Stéphane Guedon wrote: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? Well, you can certainly make a 32 bit chroot directory and compile things in there. That works on x86_64 quite nicely. (Never tried it on the sparcs 'coz I got rid of the SPARCstations long ago.) I don't know how you'd peel out the results of your compile and place them into your 64 bit host without mucking up things. I guess you could use binpkg or some such but you'd still have the problem of unwrapping the 32 bit pkg in your 64 bit host. Yuck. I have simply used the 10.0.42 plugin which have a native 64 bit version... Thanks ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Gentoo on 8GB SSD
Le Tuesday 17 August 2010 18:31:16, Bill Longman a écrit : On 08/17/2010 03:57 AM, Elmar Hinz wrote: I am new in Gentoo. I installed Gnome. Portage: 1,6 GB + Rest: 5,5 GB = 7,1 GB Sorry: Portage: 1,6 GB + Rest: 3,5 GB = 5,1 GB I guess to best answer this question you need to ask what you want to do. What are you trying to speed up? Booting? Emerging? Just general speedup? With only 8GB, I'm not sure there's much you can do to simply put it in and, presto, you're 186% ricing. You'll have to look at where the heaviest I/O is taking place and at what times. Just off the top of my head, I'd say you'd want to put /var/tmp and maybe /tmp if yours isn't a tmpfs. If you have plenty of RAM, the OS will cache most of the /bin, /lib and /usr/bin stuff for you, so what will you gain if you put those there, for the fraction of them that you actually use? If you are *low* on RAM, you would want to put /usr/lib on the SSD. It's 1.7G on my desktop system (KDE, XFCE). My two cents. Is a SSD capable of supporting gentoo ? That's a good idea ! You may be a pionneer ! Let's try... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] emerge 32bits on 64bits platform
I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? Thanks ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge 32bits on 64bits platform
Le Monday 16 August 2010 21:39:13, Johannes Kimmel a écrit : On 08/16/2010 08:13 PM, Stéphane Guedon wrote: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? Thanks ! Not exactly. You can use www-plugins/nspluginwrapper to use 32bit plugins in a 64bit browser. But yes, you can emerge www-client/firefox-bin. This is a precompiled 32bit firefox, that runs the flashplugin without nspluginwrapper. That should at least answer one question :) Greetings Johannes Kimmel nspluginwrapper currently doesn't allow flash player to work, don't know why... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Icons at startup of a KDE session
Le Tuesday 10 August 2010 22:48:34, Petric Frank a écrit : Hello, On Tuesday, 10. August 2010 20:26:29 Petric Frank wrote: i've installed Gentoo and KDE 4.4 on an AMD64 system, configured /etc/conf.d/xdm to start kdm as login server. To be clear - it is not an 64 Bit OS, it is still x86. After login the KDE4 desktop starts up - a little box with at least 5 or 6 icons in it where one after the other icon displays blurred and then comes clear (Disk, Tools, World, ...). This process stops at the fourth icon (after the world icon) which remains blurred. At this stage the PC simply hangs - no ssh, no VT-switch, nothing. So my first question is - what stage the fourth icon stands for. And where to look for the issue. After a reboot to the command line i viewed the logs (/var/log/messages, /var/log/Xorg.0.log) but nothing looks suspicious. The last line in /var/log/messages reads: timestamp hostname kdm: 0:[pid]: pam_unix(kde:session): session opened for ... The user was newly created using useradd -m -g ...). There was no .kde4 directory in his home directory. Usually i add new users also to the plugdev group. As a test i removed the user from this group i got past the plash screen. Now the normal screen came up. So it seems that the problem has something to do with the plugging system. At which places i should throw an eye ? regards Petric first of all, do you have some disk space in your $HOME ? kde won't start until it have some space ... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] python modules
Hi Is there a way to safely install python modules ? Except from portage itself (or do I need an overlay ?) Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le Sunday 18 July 2010 01:08:30, Dale a écrit : Alan McKinnon wrote: On Saturday 17 July 2010 22:17:32 Stéphane Guedon wrote: See how fantastic this is? See how this conforms to The One True (Unix) Way? See how it looks nothing like XML (invented by a Windows user, obviously), and actually looks a lot like perl with regexes? On second thoughts, it looks nothing like perl. There aren't enough $, @ and % symbols in it. But the regex bit stands. :-) Thind this un-understandable ! It's a joke, and it's been going on for a *very* long time :-) Every time someone mentions hal, and it doesn't matter what it's about, either me or Neil will usually post and and tell Dale now is his chance to tell us about hal. We've done this about 100 times by now so nothing Dale says is new :-) And everyone else usually joins in the fun. Sometimes, just for fun, we'll turn the hal joke into something against perl, or python or anything else really. If you don't get the joke, you can ignore everything that happened after the first person mentioned Dale Yea, everybody likes to pick on me. LOL People seem to forget tho that I have told people to try to use hal, even with xorg. Sometimes it just works. When it doesn't, remove the hal USE flag for xorg and life goes on. I also think sometimes the joke is on everyone else. Even the guy that wrote hal has given up on that monster. That says a LOT to me. Dale :-) :-) Thank you, it's cool... I have sent three email not because I am angry, but it seemed not to work ! You're cool guys, and fun ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le Wednesday 14 July 2010 16:44:45, Alan McKinnon a écrit : On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. I use hal to make my usb key allways mount on the same mountpoint. -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le Wednesday 14 July 2010 22:29:43, Alan McKinnon a écrit : On Wednesday 14 July 2010 22:12:32 Dale wrote: Alan McKinnon wrote: On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. Oh crap. You mean udev uses xml config files too? Well, at least udev hasn't broke my keyboard and mouse. lol I don't have to much trouble with udev. Heck, the one time I did, I deleted all the config files and re-emerged the thing. Worked great then. I think one got messed up somehow. Dale :-) :-) No, not XML. It uses something MUCH better. It uses this: $ cat rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib64/udev/write_cd_rules # program, probably run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line # and set the $GENERATED variable. # DVD+-RW_AD-7640A (pci-:00:1f.1-scsi-0:0:0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=cdrom, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=cdrw, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=dvd, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=dvdrw, ENV{GENERATED}=1 # Mass_Storage (pci-:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==HUAWEI_Mass_Storage-0:0, SYMLINK+=cdrom1, ENV{GENERATED}=1 See how fantastic this is? See how this conforms to The One True (Unix) Way? See how it looks nothing like XML (invented by a Windows user, obviously), and actually looks a lot like perl with regexes? On second thoughts, it looks nothing like perl. There aren't enough $, @ and % symbols in it. But the regex bit stands. :-) Thind this un-understandable ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le Wednesday 14 July 2010 22:29:43, Alan McKinnon a écrit : On Wednesday 14 July 2010 22:12:32 Dale wrote: Alan McKinnon wrote: On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. Oh crap. You mean udev uses xml config files too? Well, at least udev hasn't broke my keyboard and mouse. lol I don't have to much trouble with udev. Heck, the one time I did, I deleted all the config files and re-emerged the thing. Worked great then. I think one got messed up somehow. Dale :-) :-) No, not XML. It uses something MUCH better. It uses this: $ cat rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib64/udev/write_cd_rules # program, probably run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line # and set the $GENERATED variable. # DVD+-RW_AD-7640A (pci-:00:1f.1-scsi-0:0:0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=cdrom, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=cdrw, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=dvd, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0, SYMLINK+=dvdrw, ENV{GENERATED}=1 # Mass_Storage (pci-:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==HUAWEI_Mass_Storage-0:0, SYMLINK+=cdrom1, ENV{GENERATED}=1 See how fantastic this is? See how this conforms to The One True (Unix) Way? See how it looks nothing like XML (invented by a Windows user, obviously), and actually looks a lot like perl with regexes? On second thoughts, it looks nothing like perl. There aren't enough $, @ and % symbols in it. But the regex bit stands. :-) I thind this impossible to understand ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le lundi 12 juillet 2010 10:31:34, Neil Bothwick a écrit : On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote: How? I know how to use udev for device recognition, but how do you tell it to use a particular keyboard layout? 19:18:09 steph...@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules SUBSYSTEM!=input, GOTO=x11_input_end ACTION!=add, GOTO=x11_input_end KERNEL==event*, ENV{x11_driver}=evdev KERNEL==event*, ENV{ID_INPUT_KEYBOARD}==1 ENV{ID_INPUT_KEY}==?*, ENV{xkblayout}=fr LABEL=x11_input_end === Interesting, but it seems more complex that a simple stanza in /etc/X11/xorg.conf.d. Using udev rules for something that will only be used by one application adds unnecessary complication, IMO. If only X will use the information, I'd prefer to put in in the X configuration directory. I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Camera App
Le Wednesday 14 July 2010 02:03:14, sean a écrit : Is anyone able to recommend an application that can snap a picture using a webcam? I would prefer one not really tied to Gnome or KDE, but if it is a must, I would choose KDE. Being in portage is a nice plus as well. Thanks, Sean vlc does this very well : video capturing... you can also simply shot for a single image ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] mysql
Hello Could someone help me concerning mysql. My servers (both laptop hosted mysql and server hosted) are buggy. Every time I restart them through the init script, it crash ! : 18:15:06 r...@einstein:~ # rc-service mysql restart pdns | * Stopping PowerDNS (default) ... mediatomb | * Stopping MediaTomb ... [ ok ] mysql | * Stopping ... mysql | * Stopping mysqld (0) [ ok ] mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] mysql | * ERROR: mysql failed to start 18:15:44 r...@einstein:~ # ps -A|grep mys 2333 ?00:00:00 mysqld 18:15:56 r...@einstein:~ # killall mysqld 18:17:37 r...@einstein:~ # rc-service mysql zap mysql | * Manually resetting mysql to stopped state 18:17:44 r...@einstein:~ # rc-service mysql start mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] mysql | * ERROR: mysql failed to start 18:17:53 r...@einstein:~ # ps -A|grep mys 2628 ?00:00:00 mysqld Of course, it crashs also on boot process, whereas at least two services (pdns and mediatomb) need it ! == Here is the end of emerge --info mysql for the server hosted, which is the most problematic : dev-db/mysql-5.1.46 was built with the following: USE=community debug latin1 (multilib) perl -big-tables -cluster -embedded -extraengine -max-idx-128 - minimal -pbxt -profiling (-selinux) -ssl -static -test -xtradb CFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions - fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing == I think I have read carefully the doc concerning mysql : http://www.gentoo.org/doc/fr/mysql-howto.xml. What can I do ? Thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] mysql
Le dimanche 11 juillet 2010 20:07:11, roun...@hotmail.ru a écrit : St??phane Guedon wrote: Hello Could someone help me concerning mysql. My servers (both laptop hosted mysql and server hosted) are buggy. Every time I restart them through the init script, it crash ! : 18:15:06 r...@einstein:~ # rc-service mysql restart pdns | * Stopping PowerDNS (default) ... mediatomb | * Stopping MediaTomb ... [ ok ] mysql | * Stopping ... mysql | * Stopping mysqld (0) [ ok ] mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] mysql | * ERROR: mysql failed to start 18:15:44 r...@einstein:~ # ps -A|grep mys 2333 ?00:00:00 mysqld 18:15:56 r...@einstein:~ # killall mysqld 18:17:37 r...@einstein:~ # rc-service mysql zap mysql | * Manually resetting mysql to stopped state 18:17:44 r...@einstein:~ # rc-service mysql start mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] mysql | * ERROR: mysql failed to start 18:17:53 r...@einstein:~ # ps -A|grep mys 2628 ?00:00:00 mysqld Of course, it crashs also on boot process, whereas at least two services (pdns and mediatomb) need it ! == Here is the end of emerge --info mysql for the server hosted, which is the most problematic : dev-db/mysql-5.1.46 was built with the following: USE=community debug latin1 (multilib) perl -big-tables -cluster -embedded -extraengine -max-idx-128 - minimal -pbxt -profiling (-selinux) -ssl -static -test -xtradb CFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions - fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing == I think I have read carefully the doc concerning mysql : http://www.gentoo.org/doc/fr/mysql-howto.xml. What can I do ? Thanks Hello, What do the logs in /var/log/mysql/ read? Thats where I'd look for the clue. Also check your config file. 19:12:09 r...@einstein:/var/log/mysql # ls -l total 36 -rw-rw 1 mysql mysql 0 Jul 11 15:05 mysql.err -rw-rw 1 mysql mysql 0 Jul 11 15:05 mysql.log -rw-rw 1 mysql mysql 36816 Apr 21 10:52 mysqld.err 19:14:11 r...@einstein:/var/log/mysql # tail mysqld.err 100323 8:30:20 [Note] Event Scheduler: Loaded 0 events 100323 8:30:20 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.1.44-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Gentoo Linux mysql-5.1.44-r1 100421 10:52:15 [Note] /usr/sbin/mysqld: Normal shutdown 100421 10:52:17 [Note] Event Scheduler: Purging the queue. 0 events 100421 10:52:20 InnoDB: Starting shutdown... 100421 10:52:39 InnoDB: Shutdown completed; log sequence number 0 8395213 100421 10:52:40 [Note] /usr/sbin/mysqld: Shutdown complete This file is like this since DAYS ! I don't know why ! I use the usual config file given by the emerge process... Ragards, Matt -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdm french keyboard
Le jeudi 08 juillet 2010 01:13:56, Neil Bothwick a écrit : On Wed, 7 Jul 2010 19:19:14 +0200, Stéphane Guedon wrote: Until your version of Xorg stops supporting HAL, when you will need an xorg.conf. You can also pass through udev ! How? I know how to use udev for device recognition, but how do you tell it to use a particular keyboard layout? 19:18:09 steph...@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules SUBSYSTEM!=input, GOTO=x11_input_end ACTION!=add, GOTO=x11_input_end KERNEL==event*, ENV{x11_driver}=evdev KERNEL==event*, ENV{ID_INPUT_KEYBOARD}==1 ENV{ID_INPUT_KEY}==?*, ENV{xkblayout}=fr LABEL=x11_input_end === You have to tell udev your a fr with the x11-input rule -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: mysql
Le dimanche 11 juillet 2010 19:37:34, walt a écrit : On 07/11/2010 09:29 AM, Stéphane Guedon wrote: Hello Could someone help me concerning mysql. My servers (both laptop hosted mysql and server hosted) are buggy. Every time I restart them through the init script, it crash ! : 18:15:06 r...@einstein:~ # rc-service mysql restart pdns | * Stopping PowerDNS (default) ... mediatomb | * Stopping MediaTomb ... [ ok ] mysql | * Stopping ... mysql | * Stopping mysqld (0) [ ok ] mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] I'm not familiar with running rc-service directly. If you add the --debug flag like this: #/etc/init.d/mysql start --debug maybe it will give you better error messages. I have just done three (3) rc-service mysql restart --verbose, and everything goes right, nothing bug... strange ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: mysql
Le dimanche 11 juillet 2010 20:00:16, Alan McKinnon a écrit : On Sunday 11 July 2010 19:58:43 Stéphane Guedon wrote: Le dimanche 11 juillet 2010 19:37:34, walt a écrit : On 07/11/2010 09:29 AM, Stéphane Guedon wrote: Hello Could someone help me concerning mysql. My servers (both laptop hosted mysql and server hosted) are buggy. Every time I restart them through the init script, it crash ! : 18:15:06 r...@einstein:~ # rc-service mysql restart pdns | * Stopping PowerDNS (default) ... mediatomb | * Stopping MediaTomb ... [ ok ] mysql | * Stopping ... mysql | * Stopping mysqld (0) [ ok ] mysql | * Starting ... mysql | * Starting (/etc/mysql/my.cnf) mysql | * MySQL NOT started (0) [ !! ] I'm not familiar with running rc-service directly. If you add the --debug flag like this: #/etc/init.d/mysql start --debug maybe it will give you better error messages. I have just done three (3) rc-service mysql restart --verbose, and everything goes right, nothing bug... strange ! Did you notice that according to your logs, mysql did in fact start and shut itself done 2 hour 23 minutes later? That's really strange, but I have said this log haven't change since days ! I think logs are not correctly configured. But according to /etc/mysql/my.cnf, there's only mysqld.err. Should I change something ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kdelibs fails to build
Le samedi 03 juillet 2010 19:38:39, Dale a écrit : Mick wrote: On Saturday 03 July 2010 17:28:41 Mick wrote: On Saturday 03 July 2010 12:49:49 Dale wrote: Mick wrote: I am running the kde-4.4.4 upgrade on a x86 machine and this is how kdelibs fails: /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/net w or k/k3socketdevice.h:275: warning: by ‘virtual qint64 KNetwork::KSocketDevice::writeData(const char*, qint64, const KNetwork::KSocketAddress*)’ [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks sls ettings.cpp: In member function ‘void KSSLSettings::load()’: /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks s ls ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con f i g/kconfiggroup.h:159) /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks s l settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con f i g/kconfiggroup.h:159) /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks s l settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con f i g/kconfiggroup.h:159) /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks s l settings.cpp: In member function ‘void KSSLSettings::save()’: /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/k ss ls ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con f i g/kconfiggroup.h:159) /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks s l settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con f i g/kconfiggroup.h:159) [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library ../lib/libkio.so /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin / ld : warning: creating a DT_TEXTREL in object. collect2: ld returned 1 exit status make[2]: *** [lib/libkio.so.5.4.0] Error 1 make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/kdelibs-4.4.4 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 4033: Called kde4-base_src_compile * environment, line 3111: Called cmake-utils_src_compile * environment, line 1258: Called _execute_optionaly 'src_compile' * environment, line 665: Called enable_cmake-utils_src_compile * environment, line 1623: Called cmake-utils_src_make * environment, line 1277: Called die * The specific snippet of code: * emake $@ || die Make failed!; Any ideas? Do you have MAKEOPTS set to a high number in make.conf? I ask because in my 'knowing very little mind' I think it is trying to make a link to a file that kdelibs is supposed to be making. It may be trying to link to something that isn't there yet so it failed. If you have that set to 2 or higher, try setting it to 1 and see if that helps. Hope that works. At least it didn't fail at 99%. lol Dale Thanks Dale, I tried with -j1 and it fails with the same libkio.so error. I found a bug about it (324061) and I'm now trying again without ccache. That would be the next thing to try. Most packages can compile with higher than -j1 and with ccache but some can not do so well. I hope it compiles when you disable that. Dale :-) :-) Did you think about changing the python set used ? For my own, it solves 90% of my emerge bugs ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.