Re: [gentoo-user] Re: Help finding a tv tuner card's chipset
On Sat, Sep 29, 2007 at 03:17:14PM -0500, forgottenwizard wrote: On 13:41 Sat 29 Sep , Grant Edwards wrote: On 2007-09-29, forgottenwizard [EMAIL PROTECTED] wrote: Since I'm using cable, I figure if I need to, in 17 month I can get a converter, or afford to buy a better card. If you're using cable, you may not need to. Cable companies are free to continue distributing analog signals as long as they want. -- Grant Edwards grante Yow! I need to discuss at BUY-BACK PROVISIONS visi.comwith at least six studio SLEAZEBALLS!! -- [EMAIL PROTECTED] mailing list Good to know. Right now I'm down to finding a working app (mplayer only seems to work so far, and it doesn't seem to work quite right). Grant is correct. The digital switch only applies to OTA (Over the Air). Cable operators could do whatever they want. Not sure why the PVR-150 isn't just working out of the box for you. I know there were some complaints about Hauppauge quietly putting another device in the box. And that's because of the switch over. As of March 1, 2007 manufacturers had to include a digital tuner if they included an analog tuner. This included computer interface cards as well. I believe the new Hauppauge is a PVR-1600 with dual tuner (NTSC ATSC). Good luck. Patrick pgpfla49QT9kd.pgp Description: PGP signature
[gentoo-user] Duplicate mails
Hi, I'm getting a lot of duplicate messages lately, especially from gentoo-users. I don't know if it's an error on my side or not. Did anyone else get 20+ copies of Grant's last mail, about backing up dot files in ~ ? alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On Sunday 30 September 2007, Volker Armin Hemmann wrote: On Sonntag, 30. September 2007, Grant wrote: Do you back up anything other than /etc and /home on a standard system? - Grant /var because with /var gone its complete-reinstall time. /usr/local too, otherwise you get to re-install everything in there as well alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Duplicate mails
On Sunday 30 September 2007, Alan McKinnon wrote: I'm getting a lot of duplicate messages lately, especially from gentoo-users. I don't know if it's an error on my side or not. Not here. I've never seen duplicates from any gentoo list. I /have/ seen several other folks on gentoo-user report that problem in the past though. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Duplicate mails
On Sunday 30 September 2007, Steve Dommett wrote: On Sunday 30 September 2007, Alan McKinnon wrote: I'm getting a lot of duplicate messages lately, especially from gentoo-users. I don't know if it's an error on my side or not. Not here. I've never seen duplicates from any gentoo list. I /have/ seen several other folks on gentoo-user report that problem in the past though. I guess that proves it then, the problem is somewhere between my mailbox provider and my machines. Time to get going on debugging alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gcc 3.3.6 [SOLVED]
Neil Bothwick wrote: Hello pat, I have cetrino processor and I want to update system, but it's not possible, because of gcc 3.3.6. What does this mean? What is GCC 3.3.6 doing that prevents your upgrading? Or do you mean that something wants to install gcc-3.3.6? If the latter, adding --tree to the emerge command will show what is pulling it in, and emerging sys-libs/libstdc++-v3 will probably prevent it. Hello Niel, Yes something wants this gcc, and pentium-m is not supported architecture in this gcc version. Emerging libstdc++-v3 is the solution. Thanks a lot. Pat -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] auto proxy config (Firefox, and more)
Ok, I'll try with IsInNet and patience..! Thanks ! Ben 2007/9/27, Willie Wong [EMAIL PROTECTED]: On Wed, Sep 26, 2007 at 05:26:44PM +0200, Penguin Lover Benjamin Graf squawked: Thanks for the answer ! How can I see what myIpAddress() returns ? I tried it in a simple html page (javascript) but it didn't work. Not being a javascript guru, I don't really know. Just tried with Venkman, and it seems that myIpAddress() is not standard?! (Can anyone more familiar with Javascript help?) One possibility might be that you should use the IsInNet function instead of just grepping the substring, but I really doubt that it would make a difference. One thing you can do to debug it is to use the IsInNet function and applying a large mask (like 240.0.0.0) and go downwards to find out what exactly the PAC file think your IP address is. Maybe that could shed light on what exactly is wrong. Best, W -- `Time is an illusion. Lunchtime doubly so.' `Very deep,' said Arthur, `you should send that in to the Reader's Digest. They've got a page for people like you.' - Ford convincing Arthur to drink three pints in ten minutes at lunchtime. Sortir en Pantoufles: up 293 days, 1:21 -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Steen Eugen Poulsen schrieb: Grant skrev: Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'd like to know which parts from /var are actually needed. Do we need anything more than /var/mail, /var/lib/portage/world and /var/log? /var/db seems to contain data about installed packages but since we don't back up /usr (when doing a minimal backup) we have to reemerge everything and these data should be regenerated automatically, don't you think? Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var I'd add /proc/config.gz to save the kernel config. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ext3 with errors
Arnau Bria schrieb: Hi, My system runs on several ext3 partitions. Last times I restart it, it has fs errors, so I have to fsck it. Now, I have a new disk and I want to set a RAID1, but first, I'm wondering what to do to save my fs consistency. So, I want to copy data from old disk to new disk, but I'm not sure if I must do a cp -a or a dd. I mean, if I do a cp -a my new disk will have a new journaling, and if I do a dd, new disk will have same. Am I right? What do you recommend? And, following with this, any guide to configure a RAID1 with a system already installed? TIA, Arnau Just a small note: When you are using cp -a, keep in mind that something like cp -a /home/user/* doesn't fetch files and folders that are hidden (for example .vimrc). I've lost all my settings that way when I migrated my /home :( -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ext3 with errors
Florian Philipp wrote: Arnau Bria schrieb: Hi, My system runs on several ext3 partitions. Last times I restart it, it has fs errors, so I have to fsck it. Now, I have a new disk and I want to set a RAID1, but first, I'm wondering what to do to save my fs consistency. So, I want to copy data from old disk to new disk, but I'm not sure if I must do a cp -a or a dd. I mean, if I do a cp -a my new disk will have a new journaling, and if I do a dd, new disk will have same. Am I right? What do you recommend? And, following with this, any guide to configure a RAID1 with a system already installed? TIA, Arnau Just a small note: When you are using cp -a, keep in mind that something like cp -a /home/user/* doesn't fetch files and folders that are hidden (for example .vimrc). I've lost all my settings that way when I migrated my /home :( That's odd, mine does. That's what I use to do back-ups on my system and it get all the .* files and directories. I have my back-up mounted at /mnt/gentoo and this is a list of my root user directory: [EMAIL PROTECTED] / # ls -al /mnt/gentoo/root/ total 1128 drwx-- 29 root root 4096 2007-09-29 00:54 . drwxr-xr-x 15 root root 4096 2007-09-29 01:26 .. -rw--- 1 root root 11467 2007-09-27 15:15 .bash_history -rw-r--r-- 1 root root 11 2006-10-01 21:39 .bash_login -rw-r--r-- 1 root root 11 2006-10-01 21:39 .bash_logout drwx-- 2 root root 4096 2007-05-03 07:21 .ccache -rwxr-xr-x 1 root root 4487 2004-05-10 07:37 CFLAGS-script -rw-r--r-- 1 root root 40304 2007-01-08 04:21 config drwx-- 3 root root 4096 2007-03-18 06:11 .config -rw-r--r-- 1 root root 43453 2007-06-25 23:09 config-2-6-20-r8 -rwxr-xr-x 1 root root 1045 2006-11-18 03:07 cruft.removal -rw-r--r-- 1 root root279 2005-12-20 13:57 dalek.revoke -rw-r--r-- 1 root root 1360 2007-08-29 06:38 Data.kdar -rw-r--r-- 1 root root 55 2007-09-27 17:47 .DCOPserver_smoker__0 lrwxrwxrwx 1 root root 27 2007-09-29 00:54 .DCOPserver_smoker_:0 - /root/.DCOPserver_smoker__0 -rw-r--r-- 1 root root 32520 2007-04-10 03:16 dead.letter drwx-- 2 root root 4096 2007-09-09 04:50 Desktop drwxr-xr-x 3 root root 4096 2007-01-19 04:56 .distcc -rwxr-xr-x 1 root root 10213 2006-09-04 04:03 elog -rwxr-xr-x 1 root root 3011 2006-10-30 03:25 elog-list -rw-r--r-- 1 root root877 2006-09-10 15:38 emerge-script drwxr-xr-x 2 500 500 4096 2005-07-18 15:59 enotice-0.2.9.1_alpha -rwxr-xr-x 1 root root 25347 2006-04-20 22:46 etc-portclean -rwxr-xr-x 1 root root768 2006-10-20 01:52 fahback -rwxr-xr-x 1 root root 153361 2006-10-18 01:43 finstall4.9 drwxr-xr-x 3 root root 4096 2006-10-20 01:52 foldingathome -rw-r--r-- 1 root root854 2007-01-29 17:41 .fonts.cache-1 -rwxr-xr-x 1 root root 1256 2006-08-22 00:12 fragck.pl drwx-- 2 root root 4096 2007-08-07 13:45 .gconf drwx-- 2 root root 4096 2007-08-07 13:59 .gconfd -rwxr-xr-x 1 root root 8240 2006-09-05 18:50 genscript.sh drwxr-xr-x 21 root root 4096 2007-09-18 22:41 .gimp-2.2 drwx-- 3 root root 4096 2006-12-09 14:17 .gnome2 drwx-- 2 root root 4096 2006-12-09 14:17 .gnome2_private drwx-- 2 root root 4096 2006-12-11 22:51 .gphoto drwxr-xr-x 2 root root 4096 2006-11-29 00:49 .gstreamer-0.8 -rw-r--r-- 1 root root 67 2007-09-23 21:34 .hplip.conf -rw-r--r-- 1 root root544 2007-07-31 06:58 .htoprc -rw--- 1 root root 2284 2007-09-27 17:47 .ICEauthority drwx-- 3 root root 4096 2006-11-27 00:03 .kde -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep -rw--- 1 root root 35 2007-07-30 04:05 .lesshst drwx-- 3 root root 4096 2006-09-14 04:03 .local drwx-- 3 root root 4096 2007-09-18 22:15 .macromedia drwxr-xr-x 3 root root 4096 2006-09-14 04:04 .mcop -rw--- 1 root root 31 2007-09-28 04:16 .mcoprc -rw-r--r-- 1 root root 35 2007-06-03 00:18 minicom.log drwx-- 3 root root 4096 2006-12-17 02:37 .mozilla drwxr-xr-x 2 root root 4096 2007-06-13 13:15 .mplayer drwx-- 3 root root 4096 2007-08-18 17:48 .ooo-2.0 -rwxr-xr-x 1 root root 23540 2004-05-10 08:20 prune-script drwxr-xr-x 2 root root 4096 2006-09-13 22:51 .qt -rw--- 1 root root 14491 2007-09-18 22:41 .recently-used -rwxr-xr-x 1 root root 31133 2007-05-02 13:18 recompile-remaining-packages drwxr-xr-x 2 root root 4096 2007-05-12 23:00 rep4.py -rw-r--r-- 1 root root 1232 2007-09-26 02:06 .revdep-rebuild.0_env -rw-r--r-- 1 root root 377327 2007-09-26 02:06 .revdep-rebuild.1_files -rw-r--r-- 1 root root 18877 2007-09-26 02:06 .revdep-rebuild.2_ldpath -rw-r--r-- 1 root root105 2007-09-26 02:10 .revdep-rebuild.3_rebuild -rw-r--r-- 1 root root 20 2007-09-26 02:10 .revdep-rebuild.4_ebuilds -rw-r--r-- 1 root root 2 2007-09-26 02:10 .revdep-rebuild.5a_status -rw-r--r-- 1 root root 2 2007-09-26 02:10 .revdep-rebuild.5b_status -rw-r--r-- 1 root root 20 2007-09-26 02:10 .revdep-rebuild.5_order -rw-r--r--
Re: [gentoo-user] ext3 with errors
Dale schrieb: Florian Philipp wrote: Arnau Bria schrieb: Hi, My system runs on several ext3 partitions. Last times I restart it, it has fs errors, so I have to fsck it. Now, I have a new disk and I want to set a RAID1, but first, I'm wondering what to do to save my fs consistency. So, I want to copy data from old disk to new disk, but I'm not sure if I must do a cp -a or a dd. I mean, if I do a cp -a my new disk will have a new journaling, and if I do a dd, new disk will have same. Am I right? What do you recommend? And, following with this, any guide to configure a RAID1 with a system already installed? TIA, Arnau Just a small note: When you are using cp -a, keep in mind that something like cp -a /home/user/* doesn't fetch files and folders that are hidden (for example .vimrc). I've lost all my settings that way when I migrated my /home :( That's odd, mine does. That's what I use to do back-ups on my system and it get all the .* files and directories. I have my back-up mounted at /mnt/gentoo and this is a list of my root user directory: [EMAIL PROTECTED] / # ls -al /mnt/gentoo/root/ total 1128 drwx-- 29 root root 4096 2007-09-29 00:54 . drwxr-xr-x 15 root root 4096 2007-09-29 01:26 .. -rw--- 1 root root 11467 2007-09-27 15:15 .bash_history -rw-r--r-- 1 root root 11 2006-10-01 21:39 .bash_login -rw-r--r-- 1 root root 11 2006-10-01 21:39 .bash_logout drwx-- 2 root root 4096 2007-05-03 07:21 .ccache -rwxr-xr-x 1 root root 4487 2004-05-10 07:37 CFLAGS-script -rw-r--r-- 1 root root 40304 2007-01-08 04:21 config drwx-- 3 root root 4096 2007-03-18 06:11 .config -rw-r--r-- 1 root root 43453 2007-06-25 23:09 config-2-6-20-r8 -rwxr-xr-x 1 root root 1045 2006-11-18 03:07 cruft.removal -rw-r--r-- 1 root root279 2005-12-20 13:57 dalek.revoke -rw-r--r-- 1 root root 1360 2007-08-29 06:38 Data.kdar -rw-r--r-- 1 root root 55 2007-09-27 17:47 .DCOPserver_smoker__0 lrwxrwxrwx 1 root root 27 2007-09-29 00:54 .DCOPserver_smoker_:0 - /root/.DCOPserver_smoker__0 -rw-r--r-- 1 root root 32520 2007-04-10 03:16 dead.letter drwx-- 2 root root 4096 2007-09-09 04:50 Desktop drwxr-xr-x 3 root root 4096 2007-01-19 04:56 .distcc -rwxr-xr-x 1 root root 10213 2006-09-04 04:03 elog -rwxr-xr-x 1 root root 3011 2006-10-30 03:25 elog-list -rw-r--r-- 1 root root877 2006-09-10 15:38 emerge-script drwxr-xr-x 2 500 500 4096 2005-07-18 15:59 enotice-0.2.9.1_alpha -rwxr-xr-x 1 root root 25347 2006-04-20 22:46 etc-portclean -rwxr-xr-x 1 root root768 2006-10-20 01:52 fahback -rwxr-xr-x 1 root root 153361 2006-10-18 01:43 finstall4.9 drwxr-xr-x 3 root root 4096 2006-10-20 01:52 foldingathome -rw-r--r-- 1 root root854 2007-01-29 17:41 .fonts.cache-1 -rwxr-xr-x 1 root root 1256 2006-08-22 00:12 fragck.pl drwx-- 2 root root 4096 2007-08-07 13:45 .gconf drwx-- 2 root root 4096 2007-08-07 13:59 .gconfd -rwxr-xr-x 1 root root 8240 2006-09-05 18:50 genscript.sh drwxr-xr-x 21 root root 4096 2007-09-18 22:41 .gimp-2.2 drwx-- 3 root root 4096 2006-12-09 14:17 .gnome2 drwx-- 2 root root 4096 2006-12-09 14:17 .gnome2_private drwx-- 2 root root 4096 2006-12-11 22:51 .gphoto drwxr-xr-x 2 root root 4096 2006-11-29 00:49 .gstreamer-0.8 -rw-r--r-- 1 root root 67 2007-09-23 21:34 .hplip.conf -rw-r--r-- 1 root root544 2007-07-31 06:58 .htoprc -rw--- 1 root root 2284 2007-09-27 17:47 .ICEauthority drwx-- 3 root root 4096 2006-11-27 00:03 .kde -rw-r--r-- 1 root root 0 2006-08-03 09:23 .keep -rw--- 1 root root 35 2007-07-30 04:05 .lesshst drwx-- 3 root root 4096 2006-09-14 04:03 .local drwx-- 3 root root 4096 2007-09-18 22:15 .macromedia drwxr-xr-x 3 root root 4096 2006-09-14 04:04 .mcop -rw--- 1 root root 31 2007-09-28 04:16 .mcoprc -rw-r--r-- 1 root root 35 2007-06-03 00:18 minicom.log drwx-- 3 root root 4096 2006-12-17 02:37 .mozilla drwxr-xr-x 2 root root 4096 2007-06-13 13:15 .mplayer drwx-- 3 root root 4096 2007-08-18 17:48 .ooo-2.0 -rwxr-xr-x 1 root root 23540 2004-05-10 08:20 prune-script drwxr-xr-x 2 root root 4096 2006-09-13 22:51 .qt -rw--- 1 root root 14491 2007-09-18 22:41 .recently-used -rwxr-xr-x 1 root root 31133 2007-05-02 13:18 recompile-remaining-packages drwxr-xr-x 2 root root 4096 2007-05-12 23:00 rep4.py -rw-r--r-- 1 root root 1232 2007-09-26 02:06 .revdep-rebuild.0_env -rw-r--r-- 1 root root 377327 2007-09-26 02:06 .revdep-rebuild.1_files -rw-r--r-- 1 root root 18877 2007-09-26 02:06 .revdep-rebuild.2_ldpath -rw-r--r-- 1 root root105 2007-09-26 02:10 .revdep-rebuild.3_rebuild -rw-r--r-- 1 root root 20 2007-09-26 02:10 .revdep-rebuild.4_ebuilds -rw-r--r-- 1 root root 2 2007-09-26 02:10 .revdep-rebuild.5a_status -rw-r--r-- 1 root root 2 2007-09-26 02:10 .revdep-rebuild.5b_status -rw-r--r-- 1 root root 20 2007-09-26 02:10 .revdep-rebuild.5_order
Re: [gentoo-user] ext3 with errors
On Sunday 30 September 2007, Florian Philipp wrote: Which shell do you use? Bash's default behavior (I don't know whether you can change that) is that it doesn't expand * to all files and directories but only the nonhidden. Just try the following: ls -l --directory --all ~/* On my system it only shows my a long lost of all directories and files without a dot at the beginning although, strictly speaking, the command should show all files, even the hidden ones. No, it should not (assuming the syntax of your example), unless bash dotglob option is on. One thing are the options to ls, another is how the shell expands wildcard characters. In your example, the tilde is expanded to the user's home dir (eg, /home/user), the asterisk is expanded to all the file and directory names under /home/user not starting with ., so what ls really sees is ls -l --directory --all /home/user/dir1 /home/user/dir2 /home/user/file1 /home/user/file2 etc. Since you gave the --directory (aka -d) option, and * expansion does not include names starting with ., nothing else is printed. The --all option does not come into play at all here. A different story would be if you did not use the -d option; then names at first level starting with . still would not have been shown (because * is expanded by the shell before ls sees the names), but directory contents would have been listed including names starting with ., due to the --all option. Another variation would be not using -d and giving only ~ as pathname to ls (ie, not ~/*). In that case, ls would see just /home/user and the --all option could do its job at the first level, listing all the names, even those starting with .. The bash option to have * expand to all the names, including those starting with ., is dotglob (eg, shopt -s dotglob). man bash explains it all. Is it possible that you mean regular expressions and not Bash's expansion feature? This is possible (well, sort of) enabling the extglob option in bash. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ext3 with errors
Sorry, I hit send too early; my answer is missing the last part. On Sunday 30 September 2007, Etaoin Shrdlu wrote: Is it possible that you mean regular expressions and not Bash's expansion feature? This is possible (well, sort of) enabling the extglob option in bash. But still, this is not directly related to whether * expansion includes names starting with . or not. Getting all the files, including those starting with . (but excluding . and ..) using standard bash is not really easy; an approximation could be taking the files matching *, .[^.]*, and ..[^$]*. These patterns still expand to their literal values if no files match, so at least the nullglob option would be useful to avoid error messages. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Do you back up anything other than /etc and /home on a standard system? - Grant /var because with /var gone its complete-reinstall time. What about splitting tar.gz files across multiple CDs? Can that be done? - Grant -- [EMAIL PROTECTED] mailing list A lot of things you're asking for can be accomplished with a script I've used (and successfully recovered with) called a stage 4 backup [1]. It's just your standard bash script that uses tar, gzip, bzip2, etc. to create manageable backups. I have my server set to backup once a month (I don't make significant changes to it very often). [1] http://gentoo-wiki.com/HOWTO_Custom_Stage4 That looks pretty slick. That will have to be the next step. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant /boot/grub/grub.conf too. Does anyone leave /boot mounted all the time? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Grant wrote: Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant /boot/grub/grub.conf too. Does anyone leave /boot mounted all the time? - Grant I do. I'm on dial-up so even if they can catch me online, they can't get anything big. It's to slow to upload to them and just as slow to send me something. 26K dial-up sucks but DSL is coming soon. Dale :-) :-)
Re: [gentoo-user] Backups
Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ext3 with errors
Etaoin Shrdlu schrieb: On Sunday 30 September 2007, Florian Philipp wrote: Which shell do you use? Bash's default behavior (I don't know whether you can change that) is that it doesn't expand * to all files and directories but only the nonhidden. Just try the following: ls -l --directory --all ~/* On my system it only shows my a long lost of all directories and files without a dot at the beginning although, strictly speaking, the command should show all files, even the hidden ones. No, it should not (assuming the syntax of your example), unless bash dotglob option is on. One thing are the options to ls, another is how the shell expands wildcard characters. In your example, the tilde is expanded to the user's home dir (eg, /home/user), the asterisk is expanded to all the file and directory names under /home/user not starting with ., so what ls really sees is ls -l --directory --all /home/user/dir1 /home/user/dir2 /home/user/file1 /home/user/file2 etc. Since you gave the --directory (aka -d) option, and * expansion does not include names starting with ., nothing else is printed. The --all option does not come into play at all here. A different story would be if you did not use the -d option; then names at first level starting with . still would not have been shown (because * is expanded by the shell before ls sees the names), but directory contents would have been listed including names starting with ., due to the --all option. That's exactly what I wanted to explain to Dale ;) Sorry if I puzzled you. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Grant schrieb: Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant I keep them on an USB-stick (udf filesystem, with the same settings like a CD-RW). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Do you back up anything other than /etc and /home on a standard system? In a Gentoo system nothing is really standard, so I backup everything from / and then have a small exclude list with things like: /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC. /var contains the most important files on a Gentoo system, if you loss the portage installed software information your in a heap of trouble. Goes both ways though backup of portages var information is less useful without backup of everything installed. I'm undecided about /usr/portage, I could save some time backing up /usr/portage/distfiles, but it is easily generated content. Minimal backup - if your willing to spend the hours on getting thing back up and running. /etc /root /home /usr/local /var For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? I'm OK with a full reinstall for now. - Grant Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant I keep them on an USB-stick (udf filesystem, with the same settings like a CD-RW). But where do you put the USB stick? If my apartment building burns to the ground while I'm away, I'll lose my systems and the backups. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On 30 Sep 2007, at 12:33, Grant wrote: Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant Offsite backups are a good idea if your data is important to you. I have several servers around the world so setting up rsync mirrors is pretty painless. Then I burn to DVD remotely.. (I have trained people enough so that when the tray opens they replace the DVD with a blank) You might want to look at doing a stage 4 backup and then sending that file to one of those online storage services. A quick google shows there are many out there offering 2-25GB of free storage. There are some non-free services designed specifically for backup where you don't pay to upload but do pay when you want to get your data (which given it is a backup I assume you would be highly motivated to pay if a restore is required) A few months back I looked into Amazon's S3 to automate offsite storage of backups. I never implemented anything though. I would encrypt anything sent to one of those online storage services. -- Christopher -- [EMAIL PROTECTED] mailing list
[gentoo-user] DRI with Radeon X850 on AMD64
Trying to get DRI working on a Radeon X850 on AMD64. In my Xorg log, Im seeing: (EE) AIGLX error: dlopen of /usr/lib64/dri/r300_dri.so failed (/usr/lib64/dri/r300_dri.so: cannot open shared object file: No such file or directory) (EE) AIGLX: reverting to software rendering And sure enough, there is no r300_dri.so in /usr/lib64/dri. The file IS present under /usr/lib32/dri. Can I simply link this driver to the lib64 directory? (I'm guessing not.) Is there a different 64 bit package/driver? Do I have an incorrect flag set or one not set? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On Sunday 30 September 2007, Grant wrote: I keep them on an USB-stick (udf filesystem, with the same settings like a CD-RW). But where do you put the USB stick? If my apartment building burns to the ground while I'm away, I'll lose my systems and the backups. I can't believe you actually asked that. Think, man, think. Here's some ways to start: Leave it at your mum's house where you have dinner every second day Leave it at your girlfriend's house Leave it in a safety box at the post office/your bank Leave it at a friend's house Leave it in the desk drawer at work Hang it off your keyring so it's always on your person Mail the data to your gmail account Upload the data to your off-site web/ftp/whatever server Store the backups in your car boot alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant Offsite backups are a good idea if your data is important to you. I have several servers around the world so setting up rsync mirrors is pretty painless. Then I burn to DVD remotely.. (I have trained people enough so that when the tray opens they replace the DVD with a blank) You might want to look at doing a stage 4 backup and then sending that file to one of those online storage services. A quick google shows there are many out there offering 2-25GB of free storage. There are some non-free services designed specifically for backup where you don't pay to upload but do pay when you want to get your data (which given it is a backup I assume you would be highly motivated to pay if a restore is required) A few months back I looked into Amazon's S3 to automate offsite storage of backups. I never implemented anything though. I would encrypt anything sent to one of those online storage services. Encryption yeah. How do you encrypt your stuff? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
I keep them on an USB-stick (udf filesystem, with the same settings like a CD-RW). But where do you put the USB stick? If my apartment building burns to the ground while I'm away, I'll lose my systems and the backups. I can't believe you actually asked that. Think, man, think. But hindsight is so much clearer than foresight. Good suggestions BTW. - Grant Here's some ways to start: Leave it at your mum's house where you have dinner every second day Leave it at your girlfriend's house Leave it in a safety box at the post office/your bank Leave it at a friend's house Leave it in the desk drawer at work Hang it off your keyring so it's always on your person Mail the data to your gmail account Upload the data to your off-site web/ftp/whatever server Store the backups in your car boot alan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Hello Grant, Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? I use rsync.net, offsite backups using duplicity for GPG encryption. -- Neil Bothwick Anything is good and useful if it's made of chocolate. signature.asc Description: PGP signature
Re: [gentoo-user] Backups
Hello Grant, For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? Other data in /var/lib. For example, any databases kept in /var/lib/mysql. -- Neil Bothwick Every morning is the dawn of a new error... signature.asc Description: PGP signature
Re: [gentoo-user] Backups
On Sunday 30 September 2007 12:31:51 pm Grant wrote: Do you back up anything other than /etc and /home on a standard system? snip... Just my two cents worth here. Often I find a need to generate a duplicate of an existing gentoo installation and to ease the build process I run this script via cron... #!/bin/sh rm /portage.list/*.* emerge -pe --color=n system /portage.list/system.list emerge -pe --color=n world /portage.list/world.list Basicly it generates a list of installed ebuilds for both the system and world model. In my normal backup routines I add /portage.list... A great way to help rebuild an exact duplicate of an existing gentoo box. Cheers... -- From the Desk of: Jerome D. McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo User Guide XML error : solved ?
Hi, On Sat, 29 Sep 2007 16:34:19 -0400 Philip Webb [EMAIL PROTECTED] wrote: On Thu, Sep 27, 2007 at 12:10:17AM -0400, Philip Webb wrote Following the usual procedure in such cases of trying simple changes, I changed the file extension to '.html' Epiphany now has no problem. Does anyone have any comment on this strange sequence of events ? With HTML, the philosophy is that the parser tries to carry on, even with lots of errors in the HTML code. XML is much stricter and an error is much more likely to be treated as fatal. Well in that case (raises eyebrows), one has to ask (1) why does Gentoo offer its docs in such a strict format It offers it in text/html (MIME type as transmitted by the web server) (2) why there is a bug in the XML sufficient to stall the browsers. It's not XML (there's no real file name extension concept in URI-land). You probably saved it under a file name resembling the URI, thus leading your browser to the assumption it might be XML - and it has to make assumptions for file:// requests, since there's no Content-Type on plain file systems. The conceptual failure is the part that circumvents this (unreliable) detection algorithm by saving that file by a name ending in .xml (my browser doesn't even offer .xml as a preset for the file format when trying to save the HTML page of the user guide). -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] emerge xine-ui fails at ffmpeg
Hi group, This one is still giving me grief: [EMAIL PROTECTED] ~ $ emerge -pv xine-ui These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-video/ffmpeg-0.4.9_p20070330 [0.4.9_p20060302] USE=X%* encode ieee1394 mmx ogg oss sdl truetype vorbis zlib -a52 -aac (-altivec) -amr -debug* -doc -dts -imlib* -network -test -theora -threads -v4l -x264 -xvid 0 kB [ebuild N] media-libs/xine-lib-1.1.4-r2 USE=X alsa arts dvd esd gtk ipv6 mad opengl oss sdl truetype vorbis win32codecs xv -a52 -aac -aalib (-altivec) -debug -directfb -dts -dxr3 -fbcon -flac -gnome -imagemagick -libcaca -mmap -mng -modplug -musepack -nls -pulseaudio -samba -speex -theora -v4l -vcd -vidix -wavpack -xcb -xinerama -xvmc 6,856 kB [ebuild N] media-video/xine-ui-0.99.5 USE=X ncurses readline -aalib -curl -debug -libcaca -lirc -nls -vdr -xinerama 2,546 kB Total: 3 packages (1 upgrade, 2 new), Size of downloads: 9,402 kB Barfs at ffmpeg. From the log: snip eContext' is deprecated (declared at /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcod ec/avcodec.h:2447) /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2463: warning: `ImgReSamp leContext' is deprecated (declared at /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcod ec/avcodec.h:2447) i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o null.so -shared -Wl,-soname,null.so null.o i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o fish.so -shared -Wl,-soname,fish.so fish.o i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o ppm.so -shared -Wl,-soname,ppm.so ppm.o i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o watermark.so -shared -Wl,-soname,watermark.so watermark.o i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o imlib2.so -shared -Wl,-soname,imlib2.so imlib2.o `imlib2-config --libs` i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat -Wl,-rpath-link,/var/tmp/portage/media-video/ffmpeg-0.4.9_p 20070330/work/ffmpeg/libavutil -g -o drawtext.so -shared -Wl,-soname,drawtext.so drawtext.o `freetype-config --libs` make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/vhook' !!! ERROR: media-video/ffmpeg-0.4.9_p20070330 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ffmpeg-0.4.9_p20070330.ebuild, line 169: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/media-video:ffmpeg-0.4.9_p20070330:20070928-013511.lo g'. Perhaps someone can look at their log of ffmpeg and tell where mine went off the rails. Maxim Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On Sunday 30 September 2007, Neil Bothwick wrote: Other data in /var/lib. For example, any databases kept in /var/lib/mysql. Rather than backup MySQL's or Postgres' binary storage I prefer to use the relevant tool (mysqldump, pgdump[all]) to backup the database to /root/backups/ just prior to running the real backup job. This has the advantage that you can generally restore onto any version of the database server, rather than the specific version that was running when the backup was taken. I'm not 100% sure but I thought this method of dumping the database is the only way to guarantee consistency of the snapshot without having to stop the database server for the duration of the backup. From what I understand when backing up a live database Postgres guarantees the consistency using MVCC but MySQL may be a little less careful if INSERTs/UPDATEs happen during the backup. For keeping a hot-spare failover database server closely in sync with realtime changes I'd suggest Slony1. Unless the database contains blobs I prefer to dump as plain text INSERTs and compress using gzip patched with --rsyncable support which leads me to... After backing up the database I /always/ backup to a remote machine, sometimes two, using rdiff-backup. It does point-in-time recovery and supports ACLs and xattr. The backup is not in some odd file format; it's stored in a subfolder of your filesystem just like any other tree of files so it is instantly available. A subfolder called rdiff-backup-data stores all the rollbacks and also all the acl/xattr/other metadata so the destination filesystem doesn't need to support them. There was even a GSoC project to provide a FUSE interface to mount the backup folder as it appeared at the time of some previous backup. This is all /very/ nice for when used in combination with Linux-VServer. With a little thought about XIDs you can start a backed-up VServer on your development box ;-) This is the essence of what I run in a cron job on the machine needing to be backed up: #!/bin/bash #/root/backup_mysql.sh #/root/backup_postgres.sh mount /boot /dev/null 2 /dev/null rdiff-backup --force --remove-older-than 90d \ [EMAIL PROTECTED]::~/backups/myhostname/ echo time rdiff-backup \ -v2 --print-statistics \ --exclude /mnt \ --exclude /media \ --exclude /dev \ --exclude /proc \ --exclude /tmp \ --exclude /var/tmp \ --exclude /var/cache/squid/ \ --exclude /var/cache/http-replicator/ \ --exclude /var/lib/mysql/ \ --exclude /var/lib/postgresql/data/base/ \ --exclude /var/lib/postgresql/data/global/ \ --exclude /var/lib/postgresql/data/pg_clog/ \ --exclude /var/lib/postgresql/data/pg_subtrans/ \ --exclude /var/lib/postgresql/data/pg_tblspc/ \ --exclude /var/lib/postgresql/data/pg_xlog/ \ --exclude /sys/ \ --exclude /usr/portage/ \ --exclude /usr/portage/distfiles \ / [EMAIL PROTECTED]::~/backups/myhostname/ umount /boot /dev/null 2 /dev/null -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Hello Jerry McBride, Just my two cents worth here. Often I find a need to generate a duplicate of an existing gentoo installation and to ease the build process I run this script via cron... #!/bin/sh rm /portage.list/*.* emerge -pe --color=n system /portage.list/system.list emerge -pe --color=n world /portage.list/world.list Basicly it generates a list of installed ebuilds for both the system and world model. Why not just backup the world list itself, /var/lib/portage/world? Your method doesn't distinguish between packages in world and their dependencies, emerging from this would result in a screwed world file. The system list is contained in your profile, so you just need a note of where /etc/make.profile points, which you will already have is you backup /etc. -- Neil Bothwick If you smoke after sex, you're doing it too fast. signature.asc Description: PGP signature
Re: [gentoo-user] Backups
On Sunday 30 September 2007 06:02:30 pm Neil Bothwick wrote: Hello Jerry McBride, Just my two cents worth here. Often I find a need to generate a duplicate of an existing gentoo installation and to ease the build process I run this script via cron... #!/bin/sh rm /portage.list/*.* emerge -pe --color=n system /portage.list/system.list emerge -pe --color=n world /portage.list/world.list Basicly it generates a list of installed ebuilds for both the system and world model. Why not just backup the world list itself, /var/lib/portage/world? Your method doesn't distinguish between packages in world and their dependencies, emerging from this would result in a screwed world file. It doesn't have too. The files I listed plus a backup of /etc is all you need... The system list is contained in your profile, so you just need a note of where /etc/make.profile points, which you will already have is you backup /etc. -- From the Desk of: Jerome D. McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Hello Jerry McBride, Why not just backup the world list itself, /var/lib/portage/world? Your method doesn't distinguish between packages in world and their dependencies, emerging from this would result in a screwed world file. It doesn't have too. The files I listed plus a backup of /etc is all you need... So how do you create your world file? And why do you need a list of system files when you have already backed up /etc? -- Neil Bothwick Top Oxymorons Number 37: Sanitary landfill signature.asc Description: PGP signature
Re: [gentoo-user] ext3 with errors
Florian Philipp wrote: That's exactly what I wanted to explain to Dale ;) Sorry if I puzzled you. I just know that -a means all files including hidden ones. I like to keep it simple, so I can understand it. LOL Dale :-) :-) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] diskless booting [solved, I hope]
On Sat, 29 Sep 2007 09:55:40 -0230 Roger Mason [EMAIL PROTECTED] wrote: Well, the configs were the same as the diskless install docs on the Gentoo alt-install page, with suitable modifications of the ip and MAC addresses in the dhcpd.conf. I _was using pxegrub but, on a whim, I tried syslinux instead as per the Gentoo diskless howto and, without any further reconfiguration beyond pointing the client at pxelinix.0, it booted first time. After some tweaking of the client fstab and hosts files it now works fine. I was going to suggest you avoid pxegrub, but I guess you figured that out for yourself. Thanks for the offer. I'm planning to add some more clients now that I have one working system. I'm almost certain to get stuck so I'll probably be back asking again. Let me know. By the way, if you're looking for performance enhancements to your diskless hosts, let me know. I have found some, and am also always looking for more. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Sat, 29 Sep 2007 06:31:58 -0500 Albert Hopkins [EMAIL PROTECTED] wrote: On Fri, 2007-09-28 at 22:41 +0300, Thanasis wrote: How can we set the xdm/gdm not to start before the agetty processes (during the boot phase)? I actually run /etc/init.d/xdm manually after a boot because, chances are, if I've rebooted my machine there's stuff I'm gonna want to do from the command line before I start a desktop. Or as a previous poster said. # rc-upate del xdm # echo '/etc/init.d/xdm start' /etc/conf.d/local.start I don't think you'd need to add anything to local.stop but you may wanna verify that. -- Albert W. Hopkins You might want to stop XDM gracefully rather than pulling the rug out from under its feet with the TERM signal. I don't know why it would matter, but I bet you'll end up with artifacts in /tmp, ~/, or something otherwise. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On Sat, 29 Sep 2007 21:35:42 -0400 Kenneth Prugh [EMAIL PROTECTED] wrote: On Sat, 29 Sep 2007 16:28:36 -0700 Grant [EMAIL PROTECTED] wrote: Does something like '--exclude /home/user/.*' work with tar? - Grant Yes you may exclude files from being included. From the tar man page: --exclude PATTERN exclude files based upon PATTERN -X, --exclude-from FILE exclude files listed in FILE However, don't exclude files you want, such as .bash*, .xsession, and so on. Generally these files aren't large and are important to the private storage of uesr-specific info for many programs. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On Sun, 30 Sep 2007 20:15:04 +0100 Neil Bothwick [EMAIL PROTECTED] wrote: Hello Grant, For now I think I'll do /etc, /root, /home, /var/lib/portage/world, /usr/src/linux/.config, and anything specific I might need in /usr/local. What else am I missing out on in /var? Other data in /var/lib. For example, any databases kept in /var/lib/mysql. BIND, Apache, various mailing programs, at, Xauth, logs if you want to know what happened on a particular computer six months from now (hard to foresee this kind of thing). I think you can clear out /var/tmp if you wish. Also many of the logs can be cleared and such. After clearing all the data you don't need (be careful; some data is important to portage), you shouldn't have too much more than a few hundred megs, pretty much all highly compressable text. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Duplicate mails
On 10:26 Sun 30 Sep, Alan McKinnon wrote On Sunday 30 September 2007, Steve Dommett wrote: On Sunday 30 September 2007, Alan McKinnon wrote: I'm getting a lot of duplicate messages lately, especially from gentoo-users. I don't know if it's an error on my side or not. Not here. I've never seen duplicates from any gentoo list. I /have/ seen several other folks on gentoo-user report that problem in the past though. I guess that proves it then, the problem is somewhere between my mailbox provider and my machines. May I suggest the following simple procmail rule? # Dupes? Nuke'em! :0 Wh: msgid.lock | $FORMAIL -D 8192 msgid.cache That and fetchmail and you'll nerver see those dupes again ;-) Aleks PS: there's a similar rule for maildrop: `reformail -D 8000 duplicate.cache` if ( $RETURNCODE == 0 ) exit Time to get going on debugging alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list pgpKzsE0FOC6d.pgp Description: PGP signature
Re: [gentoo-user] Backups
On Sat, 29 Sep 2007 15:26:07 -0700 Grant [EMAIL PROTECTED] wrote: Do you back up anything other than /etc and /home on a standard system? - Grant Don't forget to back up stuff that can help you rebuild the system quickly. Like /proc/config.gz, or better yet just the kernel and modules you need so you don't have to rebuild at all or generate the sources. Another thing that I think is highly valuable to back up, and very often ignored, is the output of 'fdisk -l'. If your drive dies it's very nice to have a reminder of how it was formatted. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Users in passwd/shadow
On Sun, 30 Sep 2007 04:30:11 +0200 Bertram Scharpf [EMAIL PROTECTED] wrote: Hi, I'm fetching the users from the files '/etc/passwd' and '/etc/shadow'. (I use a simple Ruby script.) def users fn ; File.open fn do |f| f.map { |l| l[ /^[^:]*/] } end ; end pw = users /etc/passwd sh = users /etc/shadow Now I detect there are users in passwd that don't have a shadow entry... that makes sense, because some users aren't allowed to log in. For example: | man:x:13:15:man:/usr/share/man:/bin/false the man user can't log in. the shell is /bin/false. and even shadowed users that don't appear in passwd: pw - sh = [man, smmsp, portage, cvs] sh - pw = [games, guest, cvsd] now that I can't explain. But I have games and guest myself, although I don't use CVS. So my guess is it's not a bug and you've not been hacked. Does this have any meaning or is it a bug? Bertram -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
Dan Farrell wrote: On Sat, 29 Sep 2007 15:26:07 -0700 Grant [EMAIL PROTECTED] wrote: Do you back up anything other than /etc and /home on a standard system? - Grant Don't forget to back up stuff that can help you rebuild the system quickly. Like /proc/config.gz, or better yet just the kernel and modules you need so you don't have to rebuild at all or generate the sources. Another thing that I think is highly valuable to back up, and very often ignored, is the output of 'fdisk -l'. If your drive dies it's very nice to have a reminder of how it was formatted. In order to be able to restore a system (relatively) quickly, I use the appropriate fs dump tool (xfsdump in my case) to make level 0 backups of /boot, / , /usr, /var after a major configuration change (e.g emerge --sync;emerge -u world), along with output from df -m. This does not take too long (/usr does take a while), but really speeds up a restore (I have sufficient packages installed to make an emerge world take 10 hours). For a modern server with minimal software actually installed, the time aspect for this method may not be too different from an install from scratch, but it also guarantees that the restored system is the same as it was before (modulo last backup obviously), which can save a lot of time! Cheers Mark P.s : Actually rebuilding from these saved dumps requires a little thought - I'll post the steps if anyone new to dumps is interested in using this method for themselves. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Sun, 2007-09-30 at 19:43 -0500, Dan Farrell wrote: # rc-upate del xdm # echo '/etc/init.d/xdm start' /etc/conf.d/local.start I don't think you'd need to add anything to local.stop but you may wanna verify that. -- Albert W. Hopkins You might want to stop XDM gracefully rather than pulling the rug out from under its feet with the TERM signal. I don't know why it would matter, but I bet you'll end up with artifacts in /tmp, ~/, or something otherwise. What I meant is that I think the shutdown/reboot process will automagically runs a '/etc/init.d/xdm stop' even if you start it via local.start. I know it does so if you start it manually. Anyway nothing in my /tmp survives a reboot. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge xine-ui fails at ffmpeg
On Sun, Sep 30, 2007 at 02:38:31PM -0700, Penguin Lover maxim wexler squawked: eContext' is deprecated (declared at /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcod ec/avcodec.h:2447) /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2463: warning: `ImgReSamp leContext' is deprecated (declared at /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcod ec/avcodec.h:2447) i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec -Wl,-rpath-link,/var/tmp/portage/media-vide o/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat snip Can't help with the problem, but may I suggest that when you post snips from logs please disable line-wrapping? Having the text breaking at the middle of words also doesn't help. The way your log is presented is almost impossible for me to read, and I am sure also create more work for other people who are potentially capable of helping you. Best of luck, W -- Every man who is high up loves to think that he has done it all himself; and the wife smiles, and lets it go at that. -- Sir James M. Barrie Sortir en Pantoufles: up 297 days, 1:06 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Fri, 28 Sep 2007 22:41:52 +0300 Thanasis [EMAIL PROTECTED] wrote: How can we set the xdm/gdm not to start before the agetty processes (during the boot phase)? Just an idea for a possible direction to point your investigation to... /etc/config-archive/etc/conf.d/xdm: === # Tell X to always start on VT7. Otherwise it autodetects the first available # VT, which means it has to wait until all gettys are started so it doesn't suck # up a VT that should have had a login prompt (very slow). # If XSTATICVT is on, the login manager will start as soon as possible during # the boot process. If you want X to dynamically start on the first unoccupied # VT after all gettys have started and you are using xdm, also remove the vt7 # from /etc/X11/xdm/Xservers. XSTATICVT=yes === I'm not sure if it is still valid because the new xdm file is different. /etc/conf.d/xdm: === # We always try and start X on a static VT. The various DMs normally default # to using VT7. If you wish to use the xdm init script, then you should ensure # that the VT checked is the same VT your DM wants to use. We do this check to # ensure that you have't accidently configured something to run on the VT # in your /etc/inittab file so that you don't get a dead keyboard. CHECKVT=7 === /etc/conf.d/xdm is provided by x11-apps/xinit HTH -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list