Re: [gentoo-user] Updating portage cache - slow, slower, slowest ever
Mark Knecht ha scritto: Hi, It seems that over the last few months that the 'Updating portage cache' part of an emerge sync has gotten very, very low on my machines. Has anything changed that should have caused this? Did I possibly miss some update step somewhere to make this run faster. I'd say that this step is now taking at least 10 minutes - maybe 15 minutes. Good reason not to update too often! I do think the speed at which emerge gets to this point is a bit faster, and certainly I'd expect it to slow down a bit as the library grows ever larger. I see no change at all in emerging a package - only the sync step. Thanks in advance for any info. Cheers, Mark maybe this can interest you Cache rewrite backport http://article.gmane.org/gmane.linux.gentoo.portage.devel/1105 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel tuning
John Jolet wrote: On Saturday 01 October 2005 14:59, gentuxx wrote: - Mark Shields IIRC, RedHat kernels are relatively generic in that they have almost everything turned on, and/or build the modules so that they can maximize the hardware compatibility. So it is likely that there will be tones of stuff that was turned on, or had modules build for it, that you didn't need. The same will likely be the case for the gentoo kernel. You're best bet is to spend the time on one system going through each kernel option (within reason), if you don't know what it does, read the help and/or turn it off (it will give a recommended setting in the Help). Once you've got your config, use that to build the kernels for the rest fo your systems. I know it's a lot of work, but once you've done it, subsequent configs/compiles for kernel upgrades, security patches, etc. will go MUCH faster. 1) Because you'll have a pre-defined kernel config. 2) You'll know what most of the kernel options are (at least superficially) and which ones you need enabled. You'll just have to read the help for any new ones that pop up. ;-) HTH I've done all that, in terms of drivers/features turned on/off/modules. I meant more in terms of things like threads per process, processes per user (ulimit and friends), max data stack, that sort of thing. For that take a look at http://www.gentoo.org/news/en/gwn/20050808-newsletter.xml section Tips and Tricks The sys-kernel/hardened-sources give some more flexibility but the fact is not so widely used, as (on amd64) the vanilla ones has to be considered. Also setting ulimit and sysctl apply to every linux system not only gentoo and should be always checked, also if you trust that the distro you are using is optimized to be used as server. Also to consider: CONFIG_HZ=100 CONFIG_PREEMPT_NONE=y IOSCHED_AS || IOSCHED_DEADLINE || IOSCHED_CFQ HTHToo -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel tuning
Brett I. Holcomb wrote: Out of curiosity and so I can learn. Why did you suggest CONFIG_HZ be set to 100 (IIRC default is 250) and also what exactly is it supposed to do for you. We did not have it before. In the past was fixed to 100Hz, then to 1000 appeared, now there is a third option for 250, the current default and a good compromise. An home system become more responsive with a higher frequency. cpu and interrupt timings become lower with a lower frequency, so it's better for a server system. Expecially a multi processor one. Also what about CONFIG_PREMPT being none? The help mentions it is for low latency. CONFIG_HZ=100 CONFIG_PREEMPT_NONE=y IOSCHED_AS || IOSCHED_DEADLINE || IOSCHED_CFQ Preemption permit to interrupt kernel processes, providing a still more responsive kernel. Good if you're hering music, playing videos and such but not very interesting for a server. The third option is the scheduler (IOSCHED_*) how the kernel access the disk. this has been discussed in great detail over the net. Quoting the kernel help here, since it's short and explanatory. - quote - CONFIG_IOSCHED_AS: The anticipatory I/O scheduler is the default disk scheduler. It is generally a good choice for most environments, but is quite large and complex when compared to the deadline I/O scheduler, it can also be slower in some cases especially some database loads. Symbol: IOSCHED_AS [=y] Prompt: Anticipatory I/O scheduler Defined at drivers/block/Kconfig.iosched:14 Location: - Device Drivers - Block devices - IO Schedulers - quote - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Size of portage tree
Rumen Yotov wrote: On Wed, 28 Sep 2005 14:29:17 -0300 Jos__ Pablo Ezequiel Fern__ndez [EMAIL PROTECTED] wrote: On Wednesday 28 September 2005 12:21, Hemmann, Volker Armin wrote: no, but I noticed, that reiserfs needs much less space with small files (like portage tree) than ext2/3. Any numbers you can post ? Hi, Some time ago there was such 'subject' with some data to confirm it. Now: #du -h --exclude=packages --exclude=distfiles /var/portage/ Result=434M. This is on reiserfs-3.6 with tail packing ON. Note: my portage directory is in /var not /usr Rumen confirmed: reiserfs = 434M ext3 = 516M having reiserfs = 100M : 100 -- 118.89 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Load Balancing / Redundant Network ?
Mal Herring wrote: Hi List, Been looking on forums.gentoo.org looking for a way to pair two NIC's so that should the primary fail, the secondary takes over... The situation is this: 8 HP DL380G4's all running Gentoo moving into a data centre rack, the firewall is currently a Netscreen(Juniper) 25 and another will be added to give us Active/Passive failover on the firewalls. Redundant switches will be added behind the firewalls to ensure that is not a single point of failure, all the DL380 have two NIC's in them and currently only one is active. All boxes covered with HP on a 24x7x4 Carepaq, redundant power supplies to be added - DC is a N+1 so fine there... Biggest issue I am facing and becoming lost on is teaming the NIC's so I can connect NIC1 to Switch 1 and NIC2 to switch 2 etc... Can anyone help ? Ta Mal rather dirty but what about put this script in a */5 minutes cron ? --- check_connectivity #! /bin/sh # counter of failed ping FAILED_PING=0 # after how much time the script is forced to exit # warning %s is a gnu extension to date STOP_TIME=$(( $(date +%s) + 300 -2 )) # host used for chech REACHABLE_HOSTS=192.168.1.123 192.168.1.124 # seconds to wait before to switch (approx) # left operand = tentatives # right operand = no of hosts in REACHABLE_HOSTS TTW=$(( 5 * 2 )) # if this become 1 call houston SWITCHED=0 PING_CMD=arping -c1 -Ieth0 -w1 -q while [[ $(date +%s) -lt ${STOP_TIME} ]] [[ ${SWITCHED} -eq 0 ]] do for host in ${REACHABLE_HOSTS} do if ($PING_CMD $host) ; then FAILED_PING=1 else FAILED_PING=$(( FAILED_PING + 1 )) fi done if [[ ${FAILED_PING} -gt ${TTW} ]] ; then SWITCHED=1 # put the replace interface fx here echo switch_interface fi sleep 1 done --- check_connectivity Still todo are: - the switch_interface() interface function something like relink /etc/conf.d/net and restart the net - the return to normality script that once eth0 work again for some seconds switch back - A lock that prevent the script to start if the interface is switched (and instead run the check for normal status) - a mail to the admin P.S. has never checked in real life, do your checks before to use it Cheers, Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge php fails
Rafael Fernández López wrote: Hi, emerge php fails if xml2 is not deactivated by USE=-xml2. Does it happen to you too ?. It seems that there is a double declaration in php and xml code. Thanks. here is working. php-5.0.4 should work too (and have a lot less problems). If you can lay down the problem fill a bug specifing the version you tryed to emerge breakall # emerge -pv dev-libs/libxml2 dev-lang/php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/libxml2-2.6.21 -debug -doc +ipv6 -python +readline -static 0 kB [ebuild R ] dev-lang/php-5.0.5 -adabas -apache +apache2 -bcmath -berkdb -birdstep +bzip2 -calendar -cdb -cgi +cli +crypt -ctype +curl +curlwrappers -db2 -dba -dbase -dbm -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob +exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase +ftp +gd -gd-external -gdbm +gmp -hardenedphp -hyperwave-api +iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external +jpeg -kerberos -ldap -libedit -mcve -memlimit +mhash -ming -msql -mssql +mysql +mysqli +ncurses +nls -oci8 +odbc -oracle7 -ovrimos +pcntl +pcre -pdo-external -pear -pfpro +png +posix -postgres -qdbm +readline -recode -sapdb -sasl +session -sharedext -sharedmem -simplexml -snmp -soap +sockets -solid -spell +spl +sqlite +ssl -sybase -sybase-ct +sysvipc -threads -tidy +tiff -tokenizer +truetype -wddx +xml2 -xmlrpc -xpm +xsl -yaz -zip +zlib 0 kB -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] openLDAP with mysql backend (problems with libmyodbc.so = undefined symbol: lt_dlclose )
Claudinei Matos wrote: [...] Looking around I've found that libmyodbc3.so is provided by myodbc package which one I've emerged and setup in both odbc.ini and odbcinst.ini like the tutorial says, but now, if I try to run iodbctest that's what I get when I type DSN=ldap: 1: [iODBC][Driver Manager]/usr/lib/libmyodbc3.so: undefined symbol: lt_dlclose (0), SQLSTATE=0 2: [iODBC][Driver Manager]Specified driver could not be loaded (0), SQLSTATE=IM003 Since I got this error, I've thinked that may I had to reinstall unixODBC, iodbc, libiodbc but even after reinstall all these packages I still getting the same error. Do somebody knows how to fix that? Is there another way to use mysql as a backend to LDAP? Tks in advice, Claudinei Matos related to bugs http://bugs.gentoo.org/show_bug.cgi?id=102026 http://bugs.gentoo.org/show_bug.cgi?id=103607 that look like sys-devel/libtool related, look like the mistery still need to be solved. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dev-lang/php
Kurt Guenther wrote: dev-lang/php-5.0 popped up as one of my updates, so I dutifully deleted dev-php/php and dev-php/mod_php, and emerged this package. Now, I can't find a suitable mod_php, and portage wants to reemerge dev-php/php-4.4.0. Seems like a catch-22, so I'm going to mask dev-lang/php for the moment. It's odd, but my gentoo server didn't want to update dev-lang/php. Any other ideas? --Kurt dev-lang/php-5.0 install both cli and apache2 stuff. Similar question has been answered already on this list, search that. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what happened to php and mod_php?
Bryan Whitehead wrote: I currently run php 5.0.4 as build thru portage For some reason, portage only has up to 4.4.0 now. Was php 5.x abandoned? What's going on? http://packages.gentoo.org/search/?sstring=mod_php looks like only 4.4.0-r1 is around now... what the heck? http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] VPN question
krzaq wrote: Hi list! Is it possible to tunnel IPX protocol inside VPN (for ex. openvpn) ? never used it, maybe ayiya ? http://unfix.org/~jeroen/archive/drafts/draft-massar-v6ops-ayiya-00.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Trouble with mysql
Michael Sullivan wrote: On Wed, 2005-08-31 at 18:04 -0500, Paul Maszy wrote: You shouldnt have restarted. mysql is already starting on boot up. It showing that many mysql daemons is normal and ok. [snip] I ran /etc/init.d/mysql stop and it stopped without error - all of them. I ran /etc/init.d/mysql start and it started again - now there are a whole lot of them in the ps listing, but I can connect with the mysql client. It seems to be fixed for now.. Just in case doubts are still there look at the output of ps fax that show a tree of processes: breakall # ps fax | grep mysql 30560 pts/0S+ 0:00 \_ grep mysql 7504 ?Ss 0:00 /bin/sh /usr/bin/mysqld_safe [...] 7542 ?S 0:00 \_ /usr/sbin/mysqld --defaul[...]ck 7543 ?S 0:00 \_ /usr/sbin/mysqld --de[...]d.sock 7544 ?S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock 7545 ?S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock [.] 7565 ?S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock 7583 ?S 0:02 \_ /usr/sbin/mysqld [...]ysqld.sock there is mysqld_safe that is a shell script, it's only a wrapper around mysqld the real daemon. mysql is a threaded application, and ps show all it's threads. Just a hint, try to *avoid* kill -9 and use a simply kill or pkill if it's possible. ah maybe that on other system you can't see all the threads with ps, that's nothing to worry about, probably that box is using nptl . Ciao -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What is HIGHPTE option in kernel?
Ow Mun Heng wrote: [quote] Allocate 3rd-level pagetables from highmem (HIGHPTE) The VM uses one page table entry for each page of physical memory. For systems with a lot of RAM, this can be wasteful of precious low memory. Setting this option will put user-space page table entries in high memory. [/quote] I have 1.5Gb of RAM, will this be useful for me? Not sure but: 3rd-level pagetables are for systems with a *lot* of memory that don't want to waste space in the lowest gig of mem (to keep addresses of high mem.). So basically no advantage with 1.5 gig Cheers -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Finding other machines on the network
Andrew Lowe wrote: Hi all, I have the situation where I've been loaned an old Sun SPARC box for some work. It has a static IP somewhere in the 192.168.0.* range, which my home network also is in. My question is, how can I find out the IP address of the machine? I've forgotten what it is and it's also headless with no keyboard. Is there a utilitiy in portage that will try all of the ip addresses in a range and let me know if something it at the other end, ie something like automatically pinging all of the addresses in a range and reporting what addresses responded? Any thoughts greatly appreciated, Andrew If it reply to broadcast query this can give an answer: #ping -b -c1 192.168.0.255 well, many answer, exclude the known ip and try the remaining ones. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Personal firewall for Linux?
Nagatoro wrote: [snip] Not an answer but a follow up question: Is there a firewall for Linux that can do application level filtering (probably wrong terms but...), that is is there a program that can block foo from web access but allow it to imap and at the same time allow bar web access? (like most Win* firewalls can) echo net-firewall/iptables extensions /etc/portage/package.use emerge -av net-firewall/iptables visit http://l7-filter.sf.net; for howto and faqs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Personal firewall for Linux?
Holly Bostick wrote: [snip] Not an answer but a follow up question: Is there a firewall for Linux that can do application level filtering (probably wrong terms but...), Please anybody, correct me if I'm wrong, but afaik, this assumption that there are multiple firewall programs in the first place is incorrect. There is one. IPtables. All right, two, if you count IPchains, which IPtables replaced. Not really, there is the ipt* kernel modules, than there is the program iptables, then the various programs that use the iptables program. the iptables program is a frontend, all the other are frontends that use it, it's a question of how much the piece you're looking at is near to the nucleus. that is is there a program that can block foo from web access but allow it to imap and at the same time allow bar web access? (like most Win* firewalls can) It's all about the ruleset. In this case, it looks like this option is involved: owner This module attempts to match various characteristics of the packet creator, for locally-generated packets. It is only valid in the OUTPUT chain, and even this some packets (such as ICMP ping responses) may have no owner, and hence never match. --uid-owner userid Matches if the packet was created by a process with the given effective user id. --gid-owner groupid Matches if the packet was created by a process with the given effective group id. --pid-owner processid Matches if the packet was created by a process with the given process id. --sid-owner sessionid Matches if the packet was created by a process in the given session group. --cmd-owner name Matches if the packet was created by a process with the given command name. (this option is present only if iptables was compiled under a kernel supporting this feature) Obviously, one would have to read more of man iptables than I did, or get a GUI front end that handles this more 'intuitively' to actually write the appropriate rule, but clearly it is possible. Hope this helps, Holly See what l7 provide as application level filtering to have some other ideas. never worked with advanced options like --cmd-owner name , this one sound promising for a personal firewall but sound difficult to maintain. A question: there are front-ends (graphical or not) that use this kind of options ? Just because I've found rather ugly maintain directly iptables rules. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2005.1 el nino simple user restricts
Frank Schafer wrote: On Tue, 2005-08-16 at 09:38 +, Gyuri wrote: Frank Schafer wrote: Hmmm, If I'm reading this and if I'm seeing that this is not the problem of just one user ... I'll be very glad to install with 2005.0 8-| ... if this appears right after installation with 2005.1, of course. Just a thought Frank Yes, you're right. I tried 2004.3 and former MiniInstall discs and this did not happen. It don't make any mess until now, all my software is able to work. But it's a little strange to me. I recommend you 2004.3, you won't experience this restriction. Thanks, I think I still have the 2004.3 image laying around somewhere. I've done a pair of installation of 2005.1 and the and the root dir is mounted 0755. #ls -ld / drwxr-xr-x 20 root root 488 Aug 13 05:19 / there are not many place where the mounting of / dir happen: /etc/init.d/bootmisc here / is mounted read only to start the work /etc/init.d/checkroot this one check and remount / boot are installed from sys-apps/baselayout , here sys-apps/baselayout-1.11.13 . -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2005.1 el nino simple user restricts
Gyuri wrote: Bastian Balthazar Bux wrote: Frank Schafer wrote: On Tue, 2005-08-16 at 09:38 +, Gyuri wrote: Frank Schafer wrote: Hmmm, If I'm reading this and if I'm seeing that this is not the problem of just one user ... I'll be very glad to install with 2005.0 8-| ... if this appears right after installation with 2005.1, of course. Just a thought Frank Yes, you're right. I tried 2004.3 and former MiniInstall discs and this did not happen. It don't make any mess until now, all my software is able to work. But it's a little strange to me. I recommend you 2004.3, you won't experience this restriction. Thanks, I think I still have the 2004.3 image laying around somewhere. I've done a pair of installation of 2005.1 and the and the root dir is mounted 0755. #ls -ld / drwxr-xr-x 20 root root 488 Aug 13 05:19 / there are not many place where the mounting of / dir happen: /etc/init.d/bootmisc here / is mounted read only to start the work /etc/init.d/checkroot this one check and remount / boot are installed from sys-apps/baselayout , here sys-apps/baselayout-1.11.13 . Thank you very much, I'll give it a try. I've used 2001.-universe and an old (yet removed) installation (hungarian version) In the specular thread that it's evolving right now [I (user) can write to / ... but why] there is an answer like this: |The problem on both my laptop and workstation was simply the fact that |the root partition (/) was owned by UID=1000 GUI=100. Apparently this |is |a bug, but a simple `chown root:root /` was sufficient to fix the |problem, and I also changed several file-permissions in underlying |directories (like usr). If you find something similar try a command like this: #find / -gid=100 -uid=1000 -type d (find all directories owned by user 1000:100, the first user in gentoo) !!! LOOK WELL AT THE OUTPUT !!! if you think *all* that directoryes should be owned by root this make the change. #find / -gid=100 -uid=1000 -type d -exec chown 0:0 {} \; -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2005.1 el nino simple user restricts
Gyuri wrote: Hi guys, I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some experiences with former Gentoo releases. But there is a little bug (maybe?) in el nino. A simple user cannot read the contets of the root ( / ) partition, she/he can only read and write in his/her own home directory. Is it a bug? Or is it done for some security reasons? Thanks in advance. Sorry for my bad English. what does output ls -ld / ? mine is drwxr-xr-x 20 root root 496 Aug 15 01:01 / maybe there is something wrong with mount options in etc/fstab ? About reemerge the whole system you can use emerge -ea world, seldom this doesn't go good so the procedure I follow is something like this: create a bash script like this (it can be done better, but it's fast to write it this way ;): #! /bin/bash emerge -epv world emerge -e world \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst \ || emerge --resume --skipfirst = chmod +x eworld nohup ./eworld tail -f nohup.out at the end grep ERROR.*fail nohup.out to see if something is gone wrong. this seem to be your first post, welcome here Gyuri -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TWO (probably stupid) questions about partitions
Fernando Meira wrote: Hi Francesco, thanks for your reply. You gave me a new idea. I can't create 2 partition as you proposed, but only one. This because I already have 3 primary and 1 extended. Yes.. big mess.. have to fix it later... So, what I will do is this: - leave around 32M in the beginning of the disk for a future /boot when I can alter the partitions table freely. - create hda1, starting after 32M until the end of spare disk. sound good, 50 Mb instead of 32? 18 Mb are not so much nowadays. This also don't change the partition scheme of your HD probably making win more happy. - move the system from hda4 to hda1, the way you said. BTW, cp -a or rsync would get better results? cp -a work for me (TM) , rsync make not much sense when the destination is empty. Question: I had a bootable flag on my windoze partition before (hda1), though /boot was in hda4. Now should I move it to where /boot will stay, right? keep the bootable flag *only* on the win partition, it's the only one that need it. Thanks, Fernando. On 8/11/05, *Bastian Balthazar Bux* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Fernando Meira wrote: Hi, this is how my disk is divided: Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 11275102414067 HPFS/NTFS /dev/hda21276420823559322+ f W95 Ext'd (LBA) /dev/hda342094271 506047+ 82 Linux swap / Solaris /dev/hda442724864 4763272+ 83 Linux /dev/hda51276420823559291b W95 FAT32 Now I want to clean hda1 (which has windows) and mount there /usr and point $PORTAGE_TMPDIR there (because my gentoo system, in hda4, run out of space). Once I'm doing this, I could split that partition into smaller ones (e.g. to create /boot), but hda1 needs to be Extended. So, 1. Can /boot be inside an Extended partition? Would probably be place in hda6... Don't know 2. In case of not changing my boot config (my doing Q1), will I need to re-install my bootloader in MBR anew? Or on other words, will MBR be erased when cleaning hda1? MBR is not erased, but it need to know where /boot is, whit grub you need to repeat the grub root (hd0,x) setup (hd0) quit phase. Having different partitions for an home system (with the exception of /boot in hda1 ) has always revealed useless for me. Also allocating 100 Mb for hda1/boot your first partition is much bigger than the actual /dev/hda4 . What about to move your entire system in that place ? When finished this leave to you the entire space hda4 space and the choice of what to with that. The easyer way I know to to this is 1) have handy a bootable livecd/resque disk. 2) substituite hda1 with - hda1 = /boot = 50-100 Mb - hda2 = / = all the rest 3) mkfs.[your preferred] /dev/hda1 4) mkfs.[your preferred] /dev/hda2 5) Stop all services you can 6) mkdir /mnt/TheFuture /mnt/ThePast 7) mount -obind / /mnt/ThePast 8) mount /dev/hda2 /mnt/TheFuture 9) mkdir /mnt/TheFuture/boot 10) mount /dev/hda1 /mnt/TheFuture/boot 11) cp -a /mnt/ThePast/* /mnt/TheFuture/ 12) check with ls -al /mnt/ThePast/ if there are hidden file to copy 13) change /mnt/TheFuture/etc/fstab /boot/grub/grub.conf 14) rerun your bootloader install phase (if grub see before) reboot Try to boot each of your S.O. Warning the previous mentioned hda1 may be called hdaX from the partitioner, check it. Hint, groub admit editing of the boot parameters pressing e key, may be handy if there are any mistake in grub.conf Question extra :) : what tends to be bigger /etc or /usr ? check it yourself #du -sh /etc /usr usr is the bigger partition in the system usually Thanks, Fernando HIH, Francesco -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vmware workstation 5.0 upgrade
Grant wrote: Hello, I've purchased vmware workstation 4.5 and gentoo wants to upgrade it to 5.0. If I go ahead with that emerge will I be able to use the upgraded product with my 4.5 license? - Grant Don't know, if you can't use your licence with 5.0 mask it doing the following: echo =app-emulation/vmware-workstation-5 /etc/portage/package.mask -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TWO (probably stupid) questions about partitions
Benno Schulenberg wrote: Fernando Meira wrote: - move the system from hda4 to hda1, the way you said. BTW, cp -a or rsync would get better results? Better use tar, thru the buffering it moves data in bigger chunks: less seeks, much quicker. At least, copying /usr/portage was five times faster with tar than with cp -a. In a single line: cd /sourcedir; tar -cf - . | (cd /destdir; tar -xvf -) cd /sourcedir; tar -cpf - . | (cd /destdir tar -xpvf -) Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Does openoffice really require pam?
Ciaran McCreesh wrote: On Thu, 11 Aug 2005 20:32:26 +0200 Alexander Skwar [EMAIL PROTECTED] wrote: | I don't really want to install pam just because of OOo. Does OOo | *REALLY* require pam? No, but tcsh does, and openoffice's build system requires tcsh. So it's possible to #emerge -Ca app-shells/tcsh #emerge -p --depclean [have a nice reading] #emerge --depclean To get rid of them after them after ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TWO (probably stupid) questions about partitions
Fernando Meira wrote: Hi, this is how my disk is divided: Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 11275102414067 HPFS/NTFS /dev/hda21276420823559322+ f W95 Ext'd (LBA) /dev/hda342094271 506047+ 82 Linux swap / Solaris /dev/hda442724864 4763272+ 83 Linux /dev/hda51276420823559291b W95 FAT32 Now I want to clean hda1 (which has windows) and mount there /usr and point $PORTAGE_TMPDIR there (because my gentoo system, in hda4, run out of space). Once I'm doing this, I could split that partition into smaller ones (e.g. to create /boot), but hda1 needs to be Extended. So, 1. Can /boot be inside an Extended partition? Would probably be place in hda6... Don't know 2. In case of not changing my boot config (my doing Q1), will I need to re-install my bootloader in MBR anew? Or on other words, will MBR be erased when cleaning hda1? MBR is not erased, but it need to know where /boot is, whit grub you need to repeat the grub root (hd0,x) setup (hd0) quit phase. Having different partitions for an home system (with the exception of /boot in hda1 ) has always revealed useless for me. Also allocating 100 Mb for hda1/boot your first partition is much bigger than the actual /dev/hda4 . What about to move your entire system in that place ? When finished this leave to you the entire space hda4 space and the choice of what to with that. The easyer way I know to to this is 1) have handy a bootable livecd/resque disk. 2) substituite hda1 with - hda1 = /boot = 50-100 Mb - hda2 = / = all the rest 3) mkfs.[your preferred] /dev/hda1 4) mkfs.[your preferred] /dev/hda2 5) Stop all services you can 6) mkdir /mnt/TheFuture /mnt/ThePast 7) mount -obind / /mnt/ThePast 8) mount /dev/hda2 /mnt/TheFuture 9) mkdir /mnt/TheFuture/boot 10) mount /dev/hda1 /mnt/TheFuture/boot 11) cp -a /mnt/ThePast/* /mnt/TheFuture/ 12) check with ls -al /mnt/ThePast/ if there are hidden file to copy 13) change /mnt/TheFuture/etc/fstab /boot/grub/grub.conf 14) rerun your bootloader install phase (if grub see before) reboot Try to boot each of your S.O. Warning the previous mentioned hda1 may be called hdaX from the partitioner, check it. Hint, groub admit editing of the boot parameters pressing e key, may be handy if there are any mistake in grub.conf Question extra :) : what tends to be bigger /etc or /usr ? check it yourself #du -sh /etc /usr usr is the bigger partition in the system usually Thanks, Fernando HIH, Francesco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT?] What's going on with X.org?
Holly Bostick wrote: [snip] Go, dev team! We believe in you! If anybody can manage this migration (relatively) painlessly, you can! have a preview, pasting from gentoo-dev: Donnie Berkholz wrote: |Donnie Berkholz wrote: | | I started a brief migrating to modular X howto, on popular demand. | Comments and additions would be appreciated. | | It's at | http://dev.gentoo.org/~spyderous/xorg-x11/migrating_to_modular_x_howto.txt | | Thanks, | Donnie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] backup restore solution?
Richard Fish wrote: Jarry wrote: Is it not possible to archive MBR too? That way I could save 5. and 6., and to automate it with some scripts... Technically, yes, I guess you could do this. Although, I don't know if I would really recommend it. If you are using a stage 1.5 with grub, you would need to archive the first 63 blocks of the disk (technically fewer than that, but you would have to check grub-install's output to be sure of the exact count, and 63 is the safe number). This is because grub embeds the stage1.5 loader after the mbr (first block) and the start of the first partition. If you are not using the stage 1.5, or you are using lilo, then you have little choice but to reinstall the boot loader. This is because some files in /boot are block mapped into the mbr, and the restore process may have changed the layout of these files, so the block map will be incorrect. I think the safest route is to always let the system write a fresh mbr. -Richard It make sense but is easily bypassable using hda1 as boot partition AND it's the first on disk, with a little help from fdisk and dd (## are shell commands # comm.inside fdisk): hikky trikky ##fdisk /dev/hda #Command (m for help): u Changing display/entry units to sectors #Command (m for help): p Disk /dev/hda: 40.0 GB, 40027029504 bytes 255 heads, 63 sectors/track, 4866 cylinders, total 78177792 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 63 979964 489951 83 Linux #Command (m for help): q ##dd if=/dev/hda of=MBR-boot.backup bs=512 count=489951 hikky trikky MBR-boot.backup now contain your MBR + the boot partition. now three question: a) I know noone that use this backup method, is it affidable ? b) What happen if it need to be restored on another disk c) HOW do I restore (hint man dd) Another hint: always try at least one restore after a choice of backup method, the rule is you never know . cheers Francesco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] backup restore solution?
Richard Fish wrote: Bastian Balthazar Bux wrote: Device Boot Start End Blocks Id System /dev/hda1 * 63 979964 489951 83 Linux #Command (m for help): q ##dd if=/dev/hda of=MBR-boot.backup bs=512 count=489951 You missed a few! :-) The actual number of 512-byte blocks is 979964 - 63 + 1 = 979902. Fdisk always reports 1k blocks in the Blocks column. Or if an odd number of 512-byte blocks, the number of 1k blocks with a '+' afterwards. Plus, you want the mbr as well, plus whatever is between blocks 0 and 63, so better option might be: yay, crossing eyes: s/so better option might be/the right option is/ dd if=/dev/hda of=parttbl+mbr+boot.backup bs=512 count=979965 -Richard Otherwise you can simply read the value under End (+1) instead of the one under Blocks ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Newbie - Missing IPtables
A. Khattri wrote: On Thu, 28 Jul 2005, Bastian Balthazar Bux wrote: In the newer kernels (= 2.6.10 ??) there is a search functionality callable with the key / . About time they had something like this! mm had them from ages. Do you rememeber when it reaches vanilla sources? Just curious. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Newbie - Missing IPtables
Tim Igoe wrote: cd /usr/src/linux make menuconfig edit the kernel options to set up the iptables parts needed in the kernel (can't rememebr where they are - not just at my normal box atm) then install the new kernel like you did originally Just a reminder here, all the answers are already in this thread ;) In the newer kernels (= 2.6.10 ??) there is a search functionality callable with the key / . so pressing / , Enter Keyword iptables will show something like this : | IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES) | Location: | - Device Drivers | - Networking support |- Networking support (NET) | - Networking options | - Network packet filtering (replaces ipchains) (NETFILTER) | - IP: Netfilter Configuration | Depends: | [...] when all is configured, save the configuration and type: #mount /boot ; make make modules_install make install or use your preferred kernelmaker program. emerge iptables to get the user space tools to control the kernel iptables chains. Eldon Ziegler wrote: I successfully installed my first gentoo but didn't get iptables. The HOWTO says, As for the kernel all you must do is enable iptable support. but not how to do that? Do I have to redo the complete install? (about 12 hours). Thanks Eldon Ziegler -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] automatic restart of crushed processes...
Jarry wrote: Greetings to all Gentoo-users! Is it somehow possible to check, whether a certain process is running, and if not, then start it? I would like to use it for some processes that crush sometimes (like teamspeak and some game-servers), and to mointor sshd, because it is critical for me (my server will be 300km away from me). I thought about writing some small shell-script, which would be run by cron at regular intervals, check if a process is running (something like ps -e | grep $PROCNAME, or maybe with pidof -s $PROCNAME) and if not, than it would start that process with its script in /etc/init.d. But if there is already something which would do the same, I don't want to work on inventing the wheel again. Moreover, my shell scripts are rather quick'n'dirty, so maybe I should start with reading Advanced Bash-Scripting Guide... Jarry emerge -pv sys-process/daemontools These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-process/daemontools-0.76-r4 -doc (-selinux) -static 36 kB -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Big data Cluster
David Busby wrote: I'm looking for reccomendations for storage clustering. I'd like to network together some Gentoo boxes which internally are SCSI+RAID5 and then be able to store data on these multiple boxes as though they are one big filesystem. Similar to what Isilon does but with Gentoo. I've been reading the web sites about the stuff in /usr/portage/sys-fs/ but I cannot tell which package is going to give me the right stuff. Can anyone point me in the right direction? try http://evms.sourceforge.net/ sys-fs/evms The idea is an evolution of the one of lvm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers
A. Khattri wrote: On Sun, 12 Jun 2005, Chad Leigh -- Shire.Net LLC wrote: yes, but most knowledgable people know that exim blows the pants off qmail and postfix. Now why would you want to start a flame war? Noone said package X is better than package Y - most of us are just saying what works well for us. His response came a pair of hour after mine, stating that postfix and qmail was the better MTA in opensource. So probably the first bad step come from me. Sorry for that. -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers
Antoine wrote: Hi, I have just realised that we have a dedicated mail server - that means that there are no legacy apps tying us to the doze OS that is currently running it :-). Basically, if I can convince the techie (who is a linux user, though not a fanatic like me ;-)) that there are free alternatives to what we have now (he said MailDaemon, if that is a brand and not just a mail daemon...) that are more reliable and stable alternatives then I can probably convince him (to convince the boss) to change. I would like to have people's opinions on the most stable, reliable, fastest, securest, lowest maintenance mail servers in *both* open source and proprietary worlds. Basically if there is a proprietary windoze server app that is much better, I will just keep my mouth shut. At the moment we have reboots every few weeks and mail sits there for ages sometimes before being delivered... There is only one real requirement apart from being the best (:-)), and that is that there is a fully featured web client (we are currently using WorldClient). We only have web access to our mail from offsite. Thanks for your time! Antoine ps. I guess there are extra issues like virus scanning (all our desktops and almost all our serveurs are running doze...), and whatnot - these are issues that I guess are taken for granted when recommending a best. pps. I know nothing about email! The following configuration is used for few hundreds users, with: 20 Mb message size limit 5000 files per message limit 5000 messages sent/day 7000 messages received/day The user database is shared with other applications. smtp : postfix + pop-before-smtp pop3, imap : courier antivirus : amavisd + clamd + H+BEDV AntiVir (twice scanned because we had unrecognized virus in the past) database : mysql webmail: horde/imp + php + imap (other server) antispam : -none- the iron under is amd64 dual opteron, used for _other_ heavy tasks To port the user from whatever mail daemon the most simply road is export them in a text file, then translate it to sql (INSERT INTO ...). IMHO the best MTA avaiable in opensource world are Postfix and Qmail, always IMHO the opensource MTA are better than the commercial alternatives. -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge -pv world error
Ramón Gutiérrez wrote: go to */ect/make.conf* and add *ACCEPTS_KEYWORDS=~x86 * case sensitive -- Ramon Gutierrez no don't go, stay with us -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] apache2 stopped logging referrers
Grant wrote: It seems that apache2 has stopped logging referrers. Where can I set it to log them again? - Grant into httpd.conf put something like this: ErrorLog logs/this.is.your.site.com_error CustomLog logs/this.is.your.site.com_log common CustomLog logs/this.is.your.site.com_referer referer -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: foomatic build(rebuild) broken
Stoian Ivanov wrote: On Monday 06 June 2005 18:24, Hans Hvelplund Odborg wrote: I think this may happen if you're emerging in parallel (e.g. emerge started on two consoles) Nope this is not the case: [EMAIL PROTECTED] ~ # grep MAKEOPTS /etc/make.conf MAKEOPTS=-j1 [EMAIL PROTECTED] ~ # Besides, a colegue of mine has the same problem while wondering why it's trying to access the floppy disk, you can try #FEATURES=-sandbox emerge foo/bar This will disable the cage into which run emerge permitting access to the whole filesystem while emerging (long story too short). Please fill a bug explaining it, if this is the ebuild behaviour it need to be modified. [snip] foomatic-printermap-to-gimp-print-xml mkinstalldirs --- ACCESS VIOLATION SUMMARY --- LOG FILE = /tmp/sandbox-net-print_-_foomatic-db-engine-3.0.2-13846.log open_wr: /dev/fd/3 (symlink to /proc/14225/fd/3) [EMAIL PROTECTED] ~ # -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Re: foomatic build(rebuild) broken
Stoian Ivanov wrote: On Monday 06 June 2005 20:09, Hans Hvelplund Odborg wrote: Stoian Ivanov wrote: Nope this is not the case: [EMAIL PROTECTED] ~ # grep MAKEOPTS /etc/make.conf MAKEOPTS=-j1 [EMAIL PROTECTED] ~ # That option does not mean that you can not start emerge in parallel. Is says that emerge should tell each instance of make to not compile in parallel. Which is not the same. What i meant is that you start emerge on one console and then before it is finished start emerge on another as well. Wow it is possible to have two consoles? Will you be so kind and tell me how do I start/switch to second one? BTW Is it possibe to have three of them or am I asking too much? outside X use Alt-F1 , Alt-F2 ... Alt-Fn inside X ctrl-alt-F1 ,... -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Unregister
Junk Funk wrote: Cant unregister this mailinglist Tried [EMAIL PROTECTED] and [EMAIL PROTECTED] With no result. GRRR Help /J it's in the headers of every message: List-Unsubscribe: mailto:gentoo-user+unsubscribe @ gentoo.org -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Programs not in /var/lib/portage/world
Ciaran McCreesh wrote: [...]They will **not** be added if you used emerge =whatever-1.23 (or any ranged dep) There are plans change this case? Is it a wanted behaviour ? -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] depclean
James wrote: Hello, Cleaning up a system, I ran emerge -pv depclean. The list looked fine, so I preceeded. The only problem I seem to have is 'updatedb' has disapeared. Any ideas how to get it back? eupdatedb still works fine, although I'm not sure they are equivalent? thoughts? James they are very different. To have updatedb again and with it locate command you need to emerge sys-apps/slocate -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge/build problem
Gerhard Hoogterp wrote: Hi, Since a few days, and after emerging a number of packages, emerge doesn't seem to be able to find libraries in the /usr/lib directory anymore. Or beter, as far as I can see it doesn't even look there. The problem shows while it looks for the openssl libraries. Already compiled programs know to find the libs quite nicely, ldconfig -v idem, but when emerging for example wget: Looking for SSL libraries in system-default checking for includes... not found Looking for SSL libraries in /usr/local/ssl checking for includes... not found Looking for SSL libraries in /usr/local checking for includes... not found Looking for SSL libraries in /opt checking for includes... not found ERROR: Failed to find OpenSSL libraries. So who can help me. Searching google and usenet didn't point me in any useful direction. Which program or configfile is responsible for the lib files which portages uses while emerging a file? Any other ideas or pointers? Or do I miss something in the errors and am I looking in all the wrong corners? Thanks! Gerhard try #env-update and check /etc/ld.so.conf it should be there, if not try to add it manually, run #ldconfig and reemerge sys-apps/baselayout. Also I've heared of problems with this last one lately try to check the forum ;) -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] The NPTL difference
Grant wrote: How do you tell an app to use linuxthreads instead? What is the point of +nptlonly? A more compact installation? A trick to make an app use linuxthreads is set LD_ASSUME_KERNEL=2.4.19 in the env your app will run in. -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
James wrote: I had not emerged a gentoo system for a while now / is filled up. Looking for large files to remove, I found in /proc: -r 1 root root 1073672192 May 13 22:31 kcore I guess this is not a good file to remove? Kernel images are only this big: -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B the kcore file is killing a 500 M partion. Ideas on what to do? James As sayd ignore it or understud it, you can look at /usr/src/linux/Documentation/filesystems/proc.txt . kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4)) another note: your kcore is very big (five times mine) ypu may want to optimize what is compiled in modifying the kernelconfig before to build it (and for this google is your friend ;) ciao francesco -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NPTL and glibc
Dave Nebinger wrote: I have recently built a new Gentoo 2005.0 box with a stage3 tarball. I set the NPTL flag (among others) and rebuilt the entire system. It does not appear that NPTL is sticking and I am not at all sure why; instead it has pulled in the linuxthreads package. Can anybody help out here? You probably have both. If you look at the output of the glibc build you'll see a note indicating that both NPTL and linuxthreads are built and installed by gentoo. All of my systems report linuxthreads although I too have NPTL installed. use the command # getconf GNU_LIBPTHREAD_VERSION NPTL 2.3.4 or check for the existence of /lib/tls directory, this one keep the files when both are installed -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
Edward Catmur wrote: On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote: Is this a feature or a bug? It seems that emerge -C will not remove any altered files from /etc/ once it has been changed. This really leaves some cruft in my /etc/ Is this due to config-protect or is it something else?? No, portage will not remove any files that have been changed (actually, had their mtime altered) wherever on the filesystem they reside. This is a feature. Files in /etc are never removed from portage, to force portage remove files under etc you can use : CONFIG_PROTECT_MASK=/etc/init.d -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc-4.0.0?
Jerry McBride wrote: Anyone done anything big with the new compiler yet? Like an emerge -e world? This bug : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21167 make some things difficult, anyway you can compile 95% of emerge -e but do it only in a thrashing ready environment. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Automatic process restarter
Patrick Marquetecken wrote: Hi, I need to monitor some processes on a server and if they die, they must be restarted. Before reinventing the wheel again (create my ons script) i search the internet and the most intresting soft i found was: procautostart http://www.yolinux.com/HOWTO/Process-Monitor-HOWTO.html Are some of you using other programs that are in the portage ? Patrick sure sys-process/daemontools -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: which FS (ext3,reiserfs,xfs,jfs)?
Pavel wrote: Since I put Gentoo on my workstation (2 years ago ) , never had segfaults with reiser3fs ;) I prefer ***CENSURED*** for my /usr/portage , reiserfs for my /usr,/var,/boot,/home and XFS for my isos and music ssshhh don't ever mind at that file system if ciaranm is around ;) -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Fax answerphone/voicemail server...
Steve [Gentoo] wrote: I am looking at cobbling together a replacement for my antiquated hardware answer phone... Ideally I'd use my existing Voice/Fax Modem - and have voice mail messages delivered to me as emails in some appropriate attachment - that way I can retrieve them wherever I happen to be. I've heard of Bayonne (but can't find that in portage); understand that [vm]gety is a very low-level approach (which sounds a fair bit of work) and of Asterisk (which sounds as if it supports lots of functionality I don't need - as well as not explicitly stating that it can use my existing (voice/fax/modem hardware). My ideal solution would get a basic answer-phone service up and running pretty quickly - but let me tweak it as I find time over the medium term. What do other gentoo users do for answer phone and/or fax services for a POTS line? years ago I used hylafax. Only as fax. It's (well) written in C so it's easy to patch. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge -uDv --newuse world want a lot of java (aka teach me DEPEND)
Ola' can someone explain what is trying to emerge the two blackdown java vm ? Also strange is that -java* Related stuff: a) The box (~x86) has finished yesterday the following sequence: # emerge -ev world # emerge --sync # emerge -uDv --newuse world # emerge -uDv --newuse world # revdep-rebuild # prelink -afm b) Today it want to emerge some java vm, look at this: (output truncated for readibility) # emerge -uDtv --newuse world --tree implies --pretend... adding --pretend to options. These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [ebuild R ] dev-util/subversion-1.1.4 +apache2 -bash-completion +ber [ebuild R ] net-mail/teapop-0.3.8-r1 +ipv6 -java* +ldap +mysql -post [nomerge ] dev-lang/pike-7.6.24 +crypt -debug -doc -fftw +gdbm +gif [ebuild R ] media-libs/pdflib-5.0.4_p1-r1 -java* -perl -python +tcl [ebuild R ] dev-libs/cyrus-sasl-2.1.20-r2 -authdaemond +berkdb +cryp [ebuild U ] net-dns/bind-9.2.5-r2 [9.2.5-r1] +berkdb -bind-mysql -dlz [nomerge ] app-office/koffice-1.3.5-r2 +arts -debug -kdeenablefinal [nomerge ] kde-base/kdelibs-3.4.0 -alsa +arts -cups -debug -doc -j [ebuild R ] net-dns/libidn-0.5.13 -doc -java* +nls 0 kB [nomerge ] gnome-extra/libgda-1.0.4 -debug -doc -firebird -freetds [nomerge ] gnome-base/gnome-vfs-2.8.4-r1 -debug -doc -gnutls -hal [ebuild U ] gnome-base/orbit-2.12.2 [2.12.1] -debug -doc +ssl 662 k [nomerge ] dev-db/jxtray-0.5 -doc -firebird -jikes -mssql +mysql -p [nomerge ] dev-java/xerces-2.6.2-r2 -doc -examples -jikes -source [nomerge ] dev-java/xalan-2.6.0-r2 -doc -jikes -source [nomerge ]dev-java/jakarta-regexp-1.3-r2 -doc -jikes -source vv [ebuild N] dev-java/blackdown-jre-1.4.2.01-r1 -mozilla 0 kB [ebuild N] dev-java/blackdown-jdk-1.4.2.01-r2 -doc -mozilla 0 k ^^ [nomerge ] sys-libs/libstdc++-v3-3.3.4 -debug +nls [nomerge ] sys-devel/gcc-3.4.3.20050110-r2 (-altivec) -bootstrap [nomerge ]sys-devel/gcc-config-1.3.10-r2 [nomerge ] sys-apps/portage-2.0.51.19 -build -debug (-selinux) [nomerge ] dev-lang/python-2.3.5 -X +berkdb -bootstrap -build [nomerge ] dev-libs/openssl-0.9.7e-r1 -debug -emacs (-uclibc) [nomerge ]dev-lang/perl-5.8.6-r4 +berkdb -debug -doc +gdbm [ebuild R ] sys-libs/db-4.2.52_p2 -bootstrap -doc -java* -no [nomerge ]sys-devel/binutils-2.15.92.0.2-r8 -debug -multislot - [ebuild U ] sys-devel/gnuconfig-20050324 [20050223] 35 kB any phothon of light much apreciated. Francesco -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Upgrading to 2005.0
Reno Romanin wrote: I recently updated my profile to 2005.0 by the simple rm /etc/make.profile ln -sf blah blah... Well, it didn't seem to go as smooth this time, now every time I try to emerge something, including '-u world' I get errors, specifically on gcc I get this *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) Created Makefile in /var/tmp/portage/gcc-3.3.5.20050130-r1/work/build using mt-frag gcc: installation problem, cannot exec `as': No such file or directory conftest.c:1: fatal error: error closing -: Broken pipe compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. *** The command 'gcc -o conftest -pipe -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. !!! ERROR: sys-devel/gcc-3.3.5.20050130-r1 failed. !!! Function gcc_do_configure, Line 1048, Exitcode 1 !!! failed to run configure !!! If you need support, post the topmost build error, NOT this status message. I'm sure, as usual, I was a bit too hasty and should have RTFM, but now I'm at a loss, and can' seem to find any fix on the forums. TIA --reno does #binutils-config 1 solves the problem ? -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: which FS (ext3,reiserfs,xfs,jfs)?
Volker Armin Hemmann wrote: Hi, On Sunday 17 April 2005 18:17, Jarry wrote: Up to now I always used ext2, but now I want to try some journaling fs for my 2x160GB ata-disks, fully in raid1 (partitions: / /boot /var /tmp /usr /opt /home and swap). for /boot (shouldn't be too big. 20mb is way enough for /boot) ext2 is good. Everything else is pure overkill and a waste of space. agree, use ext2 but with 20Mb you have space only for three 2.6 kernels, maybe 50 Mb is better For the rest reiserfs or ext3 should fit your needs. I am longtime reiserfs user, so my view might be biased, but I prefer reiserfs. agree again, totally, why to use 400 Mb for /usr/portage when you can have it in 120 Mb ? Reiser 4 is a hole for the moment but reiser 3 has demonstrated to be robust for non extreme usage. XFS has a habit of replacing 'damaged' files with zeros, after a crash. This is a 'security' feature, so one users data will not accidentally end in the data of another user, but it can damage your system very badly. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: which FS (ext3,reiserfs,xfs,jfs)?
Ciaran McCreesh wrote: On Sun, 17 Apr 2005 20:21:14 +0200 Bastian Balthazar Bux [EMAIL PROTECTED] wrote: | agree, use ext2 but with 20Mb you have space only for three 2.6 | kernels, maybe 50 Mb is better What, are these turn absolutely everything to Y kernels? Three compressed kernels in twenty megs leads to kernels which're so big they won't even boot. web boot # du -k * 133 Kerntypes-2.4.21-144-athlon 901 System.map 620 System.map-2.4.21-144-athlon 787 System.map-2.6.8.1-mm3 901 System.map-2.6.9-gentoo-r4 1 backup_mbr 0 boot 29 config 53 config-2.4.21-144-athlon 28 config-2.6.8.1-mm3 29 config-2.6.9-gentoo-r4 951 grub 973 initrd-2.4.21-144-athlon 849 initrd-2.6.8.1-mm3 1372initrd-2.6.9-gentoo-r4 2008kernel-2.6.9-gentoo-r4 12 lost+found 80 memtest.bin 1409vmlinux-2.4.21-144-athlon.gz 0 vmlinuz 1189vmlinuz-2.4.21-144-athlon 2008vmlinuz-2.6.8.1-mm3 2008vmlinuz-2.6.9-gentoo-r4 web boot # du -sh 16M . zcat /proc/config.gz | grep -v is not set | grep -v ^# \ | grep -v ^$ CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCALVERSION= CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_HOTPLUG=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_KALLSYMS=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_SHMEM=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_OBSOLETE_MODPARM=y CONFIG_KMOD=y CONFIG_X86_PC=y CONFIG_MK7=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_USE_3DNOW=y CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y CONFIG_X86_UP_APIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_TSC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y CONFIG_X86_MCE_P4THERMAL=y CONFIG_NOHIGHMEM=y CONFIG_MTRR=y CONFIG_REGPARM=y CONFIG_PM=y CONFIG_ACPI=y CONFIG_ACPI_BOOT=y CONFIG_ACPI_INTERPRETER=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SLEEP_PROC_FS=y CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_THERMAL=y CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_BUS=y CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_PCI=y CONFIG_ACPI_SYSTEM=y CONFIG_APM=y CONFIG_PCI=y CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y CONFIG_PCI_LEGACY_PROC=y CONFIG_PCI_NAMES=y CONFIG_PCMCIA=y CONFIG_YENTA=y CONFIG_CARDBUS=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_MISC=y CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=m CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_PC_CML1=m CONFIG_PARPORT_SERIAL=m CONFIG_PARPORT_PC_SUPERIO=y CONFIG_PARPORT_1284=y CONFIG_BLK_DEV_FD=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_CRYPTOLOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=8192 CONFIG_BLK_DEV_INITRD=y CONFIG_LBD=y CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDESCSI=y CONFIG_IDE_TASK_IOCTL=y CONFIG_IDE_TASKFILE_IO=y CONFIG_IDE_GENERIC=y CONFIG_BLK_DEV_CMD640=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_GENERIC=y CONFIG_BLK_DEV_RZ1000=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_AEC62XX=y CONFIG_BLK_DEV_ALI15X3=y CONFIG_BLK_DEV_AMD74XX=y CONFIG_BLK_DEV_HPT34X=y CONFIG_BLK_DEV_HPT366=y CONFIG_BLK_DEV_PIIX=y CONFIG_BLK_DEV_PDC202XX_OLD=y CONFIG_BLK_DEV_PDC202XX_NEW=y CONFIG_BLK_DEV_SIS5513=y CONFIG_BLK_DEV_SLC90E66=y CONFIG_BLK_DEV_TRM290=y CONFIG_BLK_DEV_VIA82CXXX=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDEDMA_AUTO=y CONFIG_SCSI=y CONFIG_SCSI_PROC_FS=y CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=y CONFIG_BLK_DEV_SR=y CONFIG_CHR_DEV_SG=y CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_AACRAID=m CONFIG_SCSI_AIC7XXX=m CONFIG_AIC7XXX_CMDS_PER_DEVICE=32 CONFIG_AIC7XXX_RESET_DELAY_MS=15000 CONFIG_AIC7XXX_DEBUG_ENABLE=y CONFIG_AIC7XXX_DEBUG_MASK=0 CONFIG_AIC7XXX_REG_PRETTY_PRINT=y CONFIG_SCSI_AIC7XXX_OLD=m CONFIG_SCSI_AIC79XX=m CONFIG_AIC79XX_CMDS_PER_DEVICE=32 CONFIG_AIC79XX_RESET_DELAY_MS=15000 CONFIG_AIC79XX_DEBUG_ENABLE=y CONFIG_AIC79XX_DEBUG_MASK=0 CONFIG_AIC79XX_REG_PRETTY_PRINT=y CONFIG_SCSI_SATA=y CONFIG_SCSI_SATA_SVW=m CONFIG_SCSI_ATA_PIIX=m CONFIG_SCSI_SATA_PROMISE=m CONFIG_SCSI_SATA_SIL=m CONFIG_SCSI_SATA_VIA=m CONFIG_SCSI_BUSLOGIC=m CONFIG_SCSI_DMX3191D=y CONFIG_SCSI_EATA=m CONFIG_SCSI_EATA_MAX_TAGS=16 CONFIG_SCSI_EATA_PIO=m CONFIG_SCSI_FUTURE_DOMAIN=m CONFIG_SCSI_GDTH=m CONFIG_SCSI_IPS=m CONFIG_SCSI_SYM53C8XX_2=m CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 CONFIG_SCSI_QLA2XXX=y
Re: [gentoo-user] 2005.0 server install
A. Khattri wrote: Jus doing my first server install with the 2005.0 release. Have a few questions: 1. Do you longer need to emerge e2fsprogs? (Seems to be already installed). Don't know but i think it has utility for ext3 too 2. Do I need udevtools? what's this?, it's not present on my boxes eix udev * app-text/uudeview [...] Installed: no [...] * sys-fs/udev [...] Installed: 056 [...] Found 2 matches 3. Do I need coldplug? yes it make some work in your place ... if u remember to enable it via rc-update Nice to see gentoo-source now using 2.6 kernels :-) -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2005.0 server install
A. Khattri wrote: On Sun, 17 Apr 2005, Bastian Balthazar Bux wrote: 2. Do I need udevtools? what's this?, it's not present on my boxes I guess I meant udev - I just checked and it looks like its already installed. you can avoid using it ... but why ? It's the /dev manager for 2.6 kernels, it replaces (well) devfs No more pain of MAKEDEV et similar, try it you will love it. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] difference between GENTOO_MIRRROS and SYNC
Al Bayrouni wrote: Hello, I just installed gentoo 3 days ago. I don't understand the difference between GENTOO_MIRRORS and SYNC when using emerge --sync. Thank you for your help. Al Bayrouni welcome, GENTOO_MIRRORS is used when downloading source packages *not* with emerge --sync Some servers host both rsync (used for syncing) and http/ftp (to download packages) but the things can be totally divided. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Fwd: sed: can't read /etc/make.profile/make.defaults: No such file or directory
Nelis Lamprecht wrote: Hi, Every time I open up a terminal(gnome-terminal or xterm) I get the message above. I've read up on the profile changes and made the change which I think is correct: lrwxrwxrwx 1 root root 46 Apr 8 08:39 /etc/make.profile - /usr/portage/profiles/default-linux/x86/2005.0 What is causing this ? Thanks. Regards, Nelis the only difference from your and mine is the path for the symlink: try: cd /etc/ rm make.profile ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile Relative paths are prefereable when you deal with chroot environments, so I always use them. Profiles are updated during emerge --sync , so try to issue one if things are still wrong. hih francesco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot with serial console
Eric S. Johansson wrote: I have a system with an apparently dead keyboard interface. is there any chance I could use the standard (or near standard) minimal boot CD and install everything via serial console? thanks, ---eric people has used the ps2 mouse attach too ;) some crazy boy that wanted to attach 3 monitors and keyboard to one pc. No idea on how to change default input in a boot cd. -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No MySQL 4.1 Support ?
Nelis Lamprecht wrote: Hi, Gentoo must be the only distribution on the planet that doesn't have support for MySQL 4.1, what's up with that ? Lack of interest from the community ? I see a 4.0 stable ebuild and 4.1 which has been masked but still can't understand why there isn't a stable ebuild for 4.1 ? Incidently this is my first gripe after using Gentoo for a little over a year. Regards, Nelis -- gentoo-user@gentoo.org mailing list http://bugs.gentoo.org/show_bug.cgi?id=83011 or http://www.francesco-riosa.com/gentoo/ -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to cause uniq(1) to filter this output ?
Maxim Vexler wrote: = $ man -k mkdir mkdir(1) - make directories mkdir(2) - create a directory mkdirhier(1x) - makes a directory hierarchy mkdir(1) - make directories mkdir(2) - create a directory mkdirhier(1x) - makes a directory hierarchy mkdir(1) - make directories mkdir(2) - create a directory mkdirhier(1x) - makes a directory hierarchy mkdir(1) - make directories mkdir(2) - create a directory mkdirhier(1x) - makes a directory hierarchy = I tried to run uniq(1) on it's but because the lines aren't following (i.e. there are some other lines between them I can't get uniq to filter the result's). What can be done ? Thank you. #sort a | uniq mkdir(1) - make directories mkdir(2) - create a directory mkdirhier(1x) - makes a directory hierarchy -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list