Re: [gentoo-user] PDF Editor
On 26 September 2006 22:16, b.n. wrote: Mauro Faccenda wrote: On Tuesday 26 September 2006 12:39, sean wrote: Hello All, Can anyone recommend an application to edit a pdf file, and I am running 64 bit Gentoo, so it needs to be compatible? kword can import from .pdf files. hope it helps. I don't think this is what the OP wanted but... wow. Why not? Import PDF - Edit - Export PDF (well, print as PDF). Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unmasking a cvs-version - a mystery ?
On Monday 25 September 2006 16:26, Helmut Jarausch wrote: Hi how can I unmask a cvs version of a package I'd like to build x11-wm/enlightenment-0.16. As a *very* happy e17 user I can give you some tips. This is a longish reply, hopefully it'll save you some of the mistakes I made :-) I had endless hassles with the enlightenment-0.16. snapshots a while back - not everything was always available as a snapshot and other miscellaneous issues. But that's not important - what is is that I switched to e- (the current CVS, not snapshots) and everything works like a dream. I update at least weekly and for two months now I've had no breakages (not bad for current cvs stuff). The best docs are at get-e (I don't have the url handy, but visit www.enlightenment.org and the link is near the bottom of the left panel). There you will find e17 and efl user guides with gentoo sections contributed by vapier. Read that for the full info. I'll give you the short version, snipped out of my local copy of the faqs: To install just the window manager: (Note: the ebuilds do not resolve all dependencies reliably. You have to remerge all packages each time you want to update e17). Add these to /etc/portage/package.keywords: x11-wm/e -* x11-libs/evas -* dev-libs/eet -* x11-libs/ecore -* media-libs/edje -* dev-libs/embryo -* to Then run emerge eet evas ecore embryo edje e and update your x startup scripts/display manager to run the enlightenment-0.17 binary ** To install the full efl and everything else that comes with it (do this instead of the above, not in addition to it): Add these to /etc/portage/package.keywords: x11-wm/e -* x11-misc/engage -* x11-libs/ewl -* x11-libs/evas -* media-libs/imlib2 -* dev-libs/eet -* dev-db/edb -* x11-libs/ecore -* media-libs/etox -* media-libs/edje -* dev-libs/embryo -* x11-libs/esmart -* media-libs/epsilon -* media-libs/epeg -* app-misc/examine -* net-news/erss -* x11-misc/entrance -* app-misc/evidence -* media-libs/emotion -* media-gfx/elicit -* media-gfx/entice -* dev-libs/engrave -* media-video/eclair -* then run: emerge eet dev-db/edb imlib2 evas ecore epeg embryo edje epsilon esmart emotion ewl engrave * These emerge commands will download the latest cvs and emerge the packages in the correct order. Don't try and change the order in future updates, this breaks stuff :-) Always remerge everything. It takes about 45 minutes to do the whole lot on my reasonable speedy laptop The x11-plugins/e_modules ebuild is currently broken as several modules don't compile - raster dropped the gadman code in the module system and replaced it with something new (gadcon). e_modules is mostly 3rd party stiff and not all of it is updated yet. The other standard modules, those included with the wm itself, all work just fine. These are the ones that are broken in e_modules: bling, calendar, devian, engage, evolume, mbar, monitor, mount and rss. You can either write your own ebuild for the remaining modules that work, or copy /usr/portage/distfiles/cvs-src/e_modules somewhere and run ./autogen.sh make make install in each sub-directory. Done as a user it installs the modules to ~/.e/e/modules/module_name/. As root they go in /usr/lib/enlightenment/module_name/ You might find it more convenient (as I do) to download the cvs once and then experiment with compile options without having to be online and connect to the cvs server with every emerge: cvs -d:pserver:[EMAIL PROTECTED]:/var/cvs/e login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/var/cvs/e co * Do subsequent emerges like this: ECVS_SERVER=offline emerge This will skip the CVS checkout step and just use the local copy as is. I'm sure there's a better way to do this, I'm just too lazy to find it out. This will download *everything* related to e for your compilation pleasure :-) Not everything has an ebuild and not all of it compiles. Once you get e17 running do yourself a big favour and emerge evidence, then edit /etc/rc.conf appropriately and run /etc/init.d/xdm restart. Do this just once and I promise you, you will likely never want to see standard xdm/gdm/kdm on your personal machine ever again :-) share and enjoy :-) alan -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: ghostscript fails to build during revdep-rebuild
On Tuesday 26 September 2006 23:45, Grant wrote: I'm getting the following when trying to emerge ghostscript via revdep-rebuild: jbig2_huffman.c:(.text+0x37): undefined reference to `rpl_malloc' ./obj/jbig2_huffman.o:jbig2_huffman.c:(.text+0x366): more undefined references to `rpl_malloc' follow /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make: *** [bin/gs] Error 1 !!! ERROR: app-text/ghostscript-esp-8.15.1_p20060430 failed. Can anyone help with this or should I file a bug? Try to emerge net-print/cups before running revdep-rebuild as that's the library that's causing trouble. It should have been updated before ghostscript but revdep-rebuild is known to mix up the order. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sftplogging USE flag in openssh
On Tuesday 26 September 2006 19:20, Daniel Iliev wrote: Dave V wrote: Here's how to find out: $ grep sftplogging /usr/portage/profiles/use.* /usr/portage/profiles/use.local.desc:net-misc/openssh:sftplogging - Enables sftp logging patch Dave Here is my let's say more gentooish way for the same thing: [EMAIL PROTECTED] ~ # euse -i sftplogging global use flags (searching: sftplogging) no matching entries found local use flags (searching: sftplogging) [-] sftplogging (net-misc/openssh): Enables sftplogging patch Thank you All, I use euse for this purpose myself, however, the message is not self explanatory enough for my understanding. Is this flag useful for logging ssh handshake info during logon to a sftp server? Is it for logging ssh info about other clients logging onto a server running on this host? Both? -- Regards, Mick pgpuUaBeVLHcS.pgp Description: PGP signature
[gentoo-user] Re: sftplogging USE flag in openssh
On Wednesday 27 September 2006 09:03, Mick wrote: I use euse for this purpose myself, however, the message is not self explanatory enough for my understanding. Is this flag useful for logging ssh handshake info during logon to a sftp server? No, sftp is encapsulated in ssh so this doesn't affect the regular ssh sessionlogging. Is it for logging ssh info about other clients logging onto a server running on this host? Care to rephrase that? ssh logs no matter what kind of client is used. sftplogging is for logging file transfers. Which client started a sftp session, which files, how many times, how many data, which action (mkdir, rm etc.) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pppoe-start problem
Hi Boyd, Gentoo_amd64 gnome-light I belive you'll need to have a net.eth0 that is a symlink to net.lo as well as a net.ppp0 that is a symlink to net.lo. Before we go any further, what version of baselayout are you using? # equery l baselayout [ Searching for package 'baselayout' in all categories among: ] * installed packages [I--] [ ] sys-apps/baselayout-1.12.5 (0) * * * end * * * Not installed. B.R. SL -- gentoo-user@gentoo.org mailing list
AW: [gentoo-user] Question about the dcop utility: How to use it from a remote computeR?
Hi, Von: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED] Gesendet: Di 9/26/2006 3:56 An: gentoo-user@lists.gentoo.org Betreff: Re: [gentoo-user] Question about the dcop utility: How to use it from a remote computeR? snip I've never used DCOP, but I figured this was probably related to environment variables, so I did an strace on a simple dcop invocation to try and figure out why it can't find the (presumably) running dcop server on O. On my system communication with the local DCOP server is via ~/.DCOPserver_hostname__0, and I'm fairly sure the _0 at the end corresponds to part of my DISPLAY setting, :0, indicating a local X server. You may need to set your DISPLAY environment variable on O before you do the dcop invocation. Assuming O is a standard desktop machine and you are the only one logged on to it, you should be able to do something like: ssh O env DISPLAY=:0.0 dcop to get the standard dcop output. THANK YOU! That worked like a charm! Problem solved.. The only sure-fire way to determine the correct DISPLAY setting is to pull it from the X session you want to connect to. E.g.: $ env | grep ^DISPLAY DISPLAY=:0.0 -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh winmail.dat
[gentoo-user] Backups... a very general question...
I've recently been thinking about backup strategy... following a painful re-install after dropping a clanger during a kernel upgrade. While this seems a very basic topic, I can find surprisingly little documentation about this on-line. I need to address several entirely different kinds of backup: 1. A backup of my root boot partitions in a working state. This should be a backup to DVD-RW(s) - and would not contain any user-data... but would provide a recovery point to get a working server as quickly as possible in the event of a drive failure. It would be fantastic if, in addition to this. there were some means to track which packages had been merged/updated since the backup was made - and a copy to be made of any configuration changes... The list of updated packages (and the versions to which they've been updated) and any changes to configuration files would be tiny and hence easy to backup via another approach. It would be fantastic if the backup DVDs were bootable and doing so would restore the backup. 2. I've many gigabytes of MP3 files stored in Artist/[year]Album/*.* hierarchy... which I extend sporadically. I'd like a backup of this (as organising it took lots of time) but a different approach is necessary here... I'd like to pack as many whole albums onto DVDRs as would fit, which I'd then number, and given a list detailing which albums are on which DVDs, I could also play albums from a DVD player attached to a hi-fi. I'd like to be prompted to backup each time N-Mb of new data has been added to my MP3 directory - and that the most recent DVD-R should be authored with minimum user intervention. 3. My home directory; subversion repositories and DBMS catalogues are backed-up to a remote account. I currently do this with a cron-job which takes dumps; creates tar files; AES encrypts then uploads using SSH to the remote site... which manages a history of 3 backups using a simple shell-script. This works OK, but it is very ad-hoc... and it won't scale as every backup requires that I upload a new copy - even if I've only made a trivial change to my data. It would be far better if an incremental update were possible - though I'm not willing to give up encryption of data I send off-site. Are there any packages which would make any (or all) of these tasks more straightforward or more efficient? -- gentoo-user@gentoo.org mailing list
[gentoo-user] /etc/portage/package.keywords '/'
I ve heard about /etc/portage/package.keywords directory instead of file. So now what is the read priodity for files in ? Cheers -- Cordialement, KiORKY Linux BSD powered -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: sftplogging USE flag in openssh
On Wednesday 27 September 2006 09:55, Harm Geerts wrote: sftplogging is for logging file transfers. Which client started a sftp session, which files, how many times, how many data, which action (mkdir, rm etc.) Thank you. It is clearer now to me. Is it logging sftp sessions that remote clients initiate on this host which acts as a server, or sessions that client(s) on this host initiate on remote machines? -- Regards, Mick pgpcwO9c0tJQc.pgp Description: PGP signature
Re: [gentoo-user] Backups... a very general question...
On Wed, 27 Sep 2006 14:04:26 +0100, Steve [Gentoo] wrote: 3. My home directory; subversion repositories and DBMS catalogues are backed-up to a remote account. I currently do this with a cron-job which takes dumps; creates tar files; AES encrypts then uploads using SSH to the remote site... which manages a history of 3 backups using a simple shell-script. This works OK, but it is very ad-hoc... and it won't scale as every backup requires that I upload a new copy - even if I've only made a trivial change to my data. It would be far better if an incremental update were possible - though I'm not willing to give up encryption of data I send off-site. Does your remote site use rsync? I use Strongspace and have a directory on the server set up with encfs. I tried mounting it with sshfs and then encfs but found it very slow, so what I now do is have a local directory, mounted with encfs. I backup from my home directory to that, using rsync, then I rsync that encrypted directory with the one on the server, so I am transferring pre-encrypted files. I can still mount the remote directory using sshfs and encfs if I need to, and if I need to, the lack of speed won't be my main concern. -- Neil Bothwick Bother said Rue, for no apparent reason signature.asc Description: PGP signature
Re: [gentoo-user] pysol problems
On 9/26/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Wednesday 27 September 2006 04:44, Mark Knecht wrote: [SNIP] __main__.TclError: this isn't a Tk applicationunknown color name Black [SNIP] All ideas appreciated. How about? https://bugs.gentoo.org/show_bug.cgi?id=96933#c15 -- Bo Andresen Hi Bo, I'm assuming you are pointing me at the comment about a bad RgbPath that worked for fixing your issue? I do not seem to have RgbPath in xorg.conf on that machine: dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath dragonfly ~ # Just in case it was a capitalization issue I also did some searching in the file but no luck finding anything so far. If I've misinterpreted your pointer here please clarify. I do agree that this may well be an X11 problem. If I'm sitting on that machine pysol fails as I've shown. However if I ssh into that machine from my AMD64 box pysol will run when displayed on my PC. Seems like an X11 issue? Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pysol problems
On Wednesday 27 September 2006 16:08, Mark Knecht wrote: __main__.TclError: this isn't a Tk applicationunknown color name Black [SNIP] All ideas appreciated. How about? https://bugs.gentoo.org/show_bug.cgi?id=96933#c15 Hi Bo, I'm assuming you are pointing me at the comment about a bad RgbPath that worked for fixing your issue? Yep, it was this line that was causing my issue: # grep RgbPath /etc/X11/xorg.conf #RgbPath/usr/lib/X11/rgb I do not seem to have RgbPath in xorg.conf on that machine: dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath dragonfly ~ # Are you certain that you are actually using /etc/X11/xorg.conf? # grep xorg.conf /var/log/Xorg.0.log (==) Using config file: /etc/X11/xorg.conf [SNIP] I don't really have other ideas (short of filing a bug). Maybe others do. -- Bo Andresen pgpZAazg7k9z2.pgp Description: PGP signature
Re: [gentoo-user] cups-pdf configuration?
Am Mittwoch 27 September 2006 04:08 schrieb Mark Knecht: Hi, Short version: Where does the cups-pdf printer put output files by default? I emerged cups-pdf and installed a printer using it. No problems setting up a PDF printer (as far as I can tell) but I cannot find any output when I print a test page. I did restart cups to ensure the new printer was really enabled. eix cups-pdf points me at this web site: http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf Looking there indicates we are supposed to copy a config file to /etc/cupsd but the file isn't there after the emerge, nor is it in /etc/conf.d as far as I can tell. Is it required? I would assume so but maybe the docs are out of date? Thanks in advance for any pointers you can provide. Hi Mark, cups-pdf uses /var/spool/cups-pdf/$USER as output-directory. I extended my .bashrc with following line: test -e $HOME/PDF || ln -s /var/spool/cups-pdf/$USER $HOME/PDF So I can use $HOME/PDF to access my PDFs. If you want to change output-directory you may also edit '/etc/cups/cups-pdf.conf'. -- Michael Gisbers http://www.lugor.de pgp6gcxHTIYV9.pgp Description: PGP signature
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
If the problem is that your device is not mounted automatically you can simply try mount /dev/sda1 /mnt/whatever with the appropriate device and folder as root. Apart from that you could check /etc/fstab for the auto-argument. Or if this doesn't work you can check dmesg to see what happens to your device. Apart from this: You SHOULD do emerge -u world. However emerge -uD world might be smarter... Also don't forget to update your config-files with dispatch-conf or etc-update. hth Paul sdoma wrote: Hi, there is it again ... I've upgraded my system and things stop working. :((( After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Thanks Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
On 9/27/06, sdoma [EMAIL PROTECTED] wrote: I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Hi, Did you do etc-update? If yes try if revdep-rebuild says anything is broken. Anyways it sounds like udev or hal. You should have a look at the output of dmesg to see how far it does/does not work. Hope this helps. Cheers, Friedrich Göpel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /etc/portage/package.keywords '/'
On Wednesday 27 September 2006 15:20, kiorky wrote: I ve heard about /etc/portage/package.keywords directory instead of file. Yes, that's documented in `man portage` ... So now what is the read priodity for files in ? I have no clue what you mean by this question! Do you have a problem?? -- Bo Andresen pgpajrPuFwlOD.pgp Description: PGP signature
Re: [gentoo-user] pysol problems
On 9/27/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Wednesday 27 September 2006 16:08, Mark Knecht wrote: __main__.TclError: this isn't a Tk applicationunknown color name Black [SNIP] All ideas appreciated. How about? https://bugs.gentoo.org/show_bug.cgi?id=96933#c15 Hi Bo, I'm assuming you are pointing me at the comment about a bad RgbPath that worked for fixing your issue? Yep, it was this line that was causing my issue: # grep RgbPath /etc/X11/xorg.conf #RgbPath/usr/lib/X11/rgb I do not seem to have RgbPath in xorg.conf on that machine: dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath dragonfly ~ # Are you certain that you are actually using /etc/X11/xorg.conf? # grep xorg.conf /var/log/Xorg.0.log (==) Using config file: /etc/X11/xorg.conf [SNIP] I don't really have other ideas (short of filing a bug). Maybe others do. -- Bo Andresen Yes, I do seem to be using xorg.conf: dragonfly ~ # grep xorg.conf /var/log/Xorg.0.log (==) Using config file: /etc/X11/xorg.conf dragonfly ~ # I've not searched the forums yet so I'll go there before filing a bug. Thanks for your help! Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /etc/portage/package.keywords '/'
On Wednesday 27 September 2006 18:50, kiorky wrote: I ve heard about /etc/portage/package.keywords directory instead of file. So now what is the read priodity for files in ? There is no priority file. You can use package.keywords file itself. The directory feature is to give more flexibility. For example, I had separate files inside package.keywords directory for KDE, xgl, java, XFCE etc. IIRC, the files will be concatenated and interpreted as a single file by portage. HTH. -- Mrugesh Karnik GPG Key 0xBA6F1DA8 Public key on http://wwwkeys.pgp.net pgptGmkHiYbgi.pgp Description: PGP signature
RE: [gentoo-user] Should we NEVER do an ``emerge -u world''?
-Original Message- From: sdoma [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 10:22 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Should we NEVER do an ``emerge -u world''? Hi, there is it again ... I've upgraded my system and things stop working. :((( After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Thanks Frank -- gentoo-user@gentoo.org mailing list Sounds to me like something got modified by etc-update I would check there first TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
On 27 September 2006 16:21, sdoma wrote: Hi, there is it again ... I've upgraded my system and things stop working. :((( After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Did you do an etc-update? Watch out for udev rules an such. Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] postfix: how to disable local delivery
Hi, everyone! My question is not Gentoo related but, well, I'm used to this list so I ask here. Please, forgive me the off-topic. I decided to try postfix. My question is how do I disable the local delivery and use only virtual domains? It seemed to me that the right thing to do is to put myorigin=localhost, mydestination=localhost and additionally define virtual domain(s). This worked w/o problem until I tried to subscribe to gentoo-amd64 list. Then I got bounce from gentoo mail reading that it required a real domain name, not localhost'. My first thought was to make mydestination=the.virtual.domain.name but it appears to be forbidden. If I have the virtual domain example.com I can't set mydestination=example.com. As workaround I put an additional name in the DNS and set mydestination=new-name.example.com. Then the bounce from gentoo mail was that my postfix says 550 no such local user - Yeah, right, absolutely correct! The user is [EMAIL PROTECTED], not [EMAIL PROTECTED] The only way I found to make things work was to create a local user w/ nologin and nohome: *useradd -d /dev/null -s /bin/false xxx* and make an alias for him: *echo xxx: [EMAIL PROTECTED] /etc/mail/aliases* newaliases postfix reload This way is clumsy! Please, advise me how to do it right. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /etc/portage/package.keywords '/'
On Wed, 27 Sep 2006 20:36:48 +0530, Mrugesh Karnik wrote: I ve heard about /etc/portage/package.keywords directory instead of file. So now what is the read priodity for files in ? There is no priority file. You can use package.keywords file itself. The directory feature is to give more flexibility. For example, I had separate files inside package.keywords directory for KDE, xgl, java, XFCE etc. IIRC, the files will be concatenated and interpreted as a single file by portage. I suspect the OP was asking in which order they are read. It could be an issue in the case that you have different entries that match the same package in two files. In this case, how would portage handle it? With the single file, at least i the case of package.use, portage took the last entry. It would be better if it gave a warning instead, this sort of thing is rarely intended. -- Neil Bothwick WinErr 00C: Memory hog error - More Ram needed. More! More! More! signature.asc Description: PGP signature
Re: [SOLVED - MAYBE]: [gentoo-user] pysol problems
On Wednesday 27 September 2006 18:06, Mark Knecht wrote: Hi. I searched around more in Google and found this link link which seemed related to my problem: [SNIP] It seems on my wife's machine, as well as on my AMD64 machine, neither of us has the Rgb.txt file. Using slocate I did find a copy in /usr/share/X11 however. [SNIP] So, I copied the version I found in /usr/share/X11 to the path in the Xorg man page and now pysol works. I am not exactly sure why my AMD64 machine worked when the IA32 machine didn't. It seems that neither machine has an RGB path in xorg.conf. That part is leaving me confused, but at least my wife can now play solitaire and I'm not so much on the hot seat. # grep -i rgbpath /var/log/Xorg.0.log (==) RgbPath set to /usr/share/X11/rgb # equery files x11-apps/rgb | grep rgb.txt /usr/share/X11/rgb.txt # equery check x11-apps/rgb [ Checking x11-apps/rgb-1.0.1 ] * 9 out of 9 files good I guess the correct solution if it doesn't work without the RgbPath specified is to specify it correctly in xorg.conf... Note that my problem was that I had specified the wrong path. Section Files RgbPath/usr/share/X11/rgb [...] EndSection -- Bo Andresen pgpNOcDC0E0nO.pgp Description: PGP signature
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
On Wed, Sep 27, 2006 at 04:21:50PM +0200, Penguin Lover sdoma squawked: After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Which kernel are you running? I had a similar problem a couple months ago (if I plug in a USB drive the dmesg shows that something is detected but somehow the appropriate entry does not get created in /dev), and it turns out that it was because my kernel (2.6.10.something) was too old compare to the newer udev. Upgrading to 2.6.15.something fixed the problem. HTH, W -- I teleported home one night With Ron and Sid and Meg. Ron stole Meggie's heart away And I got Sidney's leg. - A poem about matter transference beams. Sortir en Pantoufles: up 33 days, 10:18 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
Non-sense On Wed, 2006-09-27 at 16:41 +0200, Paul Sebastian Ziegler wrote: If the problem is that your device is not mounted automatically you can simply try mount /dev/sda1 /mnt/whatever with the appropriate device and folder as root. Apart from that you could check /etc/fstab for the auto-argument. Or if this doesn't work you can check dmesg to see what happens to your device. Apart from this: You SHOULD do emerge -u world. However emerge -uD world might be smarter... Also don't forget to update your config-files with dispatch-conf or etc-update. hth Paul sdoma wrote: Hi, there is it again ... I've upgraded my system and things stop working. :((( After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Thanks Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
no device node appears On Wed, 2006-09-27 at 16:40 +0100, Neil Bothwick wrote: On Wed, 27 Sep 2006 16:21:50 +0200, sdoma wrote: After the upgrade there is no device coming up if I plug in an USB device. Do you mean no device node appears in /dev or that the device does not automount? For the latter, you have to be in the plugdev group. I don't know when this changed for stable, but it is mentioned in the ebuild output. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
I'm running 2.6.17.6. It worked before the upgrade On Wed, 2006-09-27 at 12:50 -0400, Willie Wong wrote: On Wed, Sep 27, 2006 at 04:21:50PM +0200, Penguin Lover sdoma squawked: After the upgrade there is no device coming up if I plug in an USB device. I'm on a stable (x86) system and I would need my USB disks just now. Any way to fix this quick? Which kernel are you running? I had a similar problem a couple months ago (if I plug in a USB drive the dmesg shows that something is detected but somehow the appropriate entry does not get created in /dev), and it turns out that it was because my kernel (2.6.10.something) was too old compare to the newer udev. Upgrading to 2.6.15.something fixed the problem. HTH, W -- I teleported home one night With Ron and Sid and Meg. Ron stole Meggie's heart away And I got Sidney's leg. - A poem about matter transference beams. Sortir en Pantoufles: up 33 days, 10:18 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
On Wed, 27 Sep 2006 18:48:20 +0200, sdoma wrote: I'm running 2.6.17.6. It worked before the upgrade Which upgrade? emerge -u world could update one package or a hundred. Which packages were upgraded? Please don't top-post. -- Neil Bothwick Are you sure this isn't the time for a colorful metaphor? signature.asc Description: PGP signature
Re: [gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data?
On Tue, 2006-26-09 at 14:09 +0200, Wolfgang Illmeyer wrote: try running reiserfsck, with --rebuild-sb and/or --rebuild-tree, as needed. But keep a copy of the partition around (as mentioned in the other posting), just in case you find a better way to rescue your files Good suggestion, Wolfgang. I did manage to recover a very small number of useful files that way. I didn't back up the partition because it is just too big to have hanging around taking up disk space. The reiserfsck man page says that if you have used a repartioning tool you need to find the correct start of the partition. I had guessed that it would be where it was before, but it looks like I was wrong. What I cannot find anywhere is any instructions on how actually to find the start of the partition. If anyone knows the answer then please post it. It won't help me, but it might help someone else with the same problem. Thanks Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
I've tried to get documentoin for Tcl/tk, put 'doc' into the package.use for these files and re-emerged tcl and tk (BTW: no docs for these packages came up). emerge told me, that there is a new version of portage available and that it is HIGHLY recommended to upgrade portage. I did so and 87 packages where upgraded, amongst this glibc to 2.4, what hurts me now because I planned to install Oracle, which requires glibc2.3. Seems x86 or ~x86 doesn't make much a difference. I reinstalled the system not so long ago with x86 fo this reason. I remember the same problems a couple of times in the past. /etc/fstab was upgraded to the initial one (the one with /dev/BOOT and dev/ROOT inside resulting in a not booting system), networking stopped working letting me on my own, stopping hotplug (and historical coldplug-nonsense) functionality, udev.rules where replaced by some initial one for a syntax change in udev (using ``sed'' would be a better choice here) ... Just a minor thing, before I realized the USB problem, I was working on 'localhost:unknown-domain' after the upgrade. I'm really sick of solving the same problems again and again. Seems Gentoo is a system for students not needing their comps to be working. For me it looks at this point like: Every other distribution is a better choice for somebody who needs his machine for work. I don't like to say that, but this is my expirience. :(( Regards Frank PS: X-cuse me top-posting. This is a really exportant issue, and I'm disturbing it. ;-( PS 2: Co work with LFS! They have the same target (get people to know the functionality of Linux). I'll install some working distro which is conform with other POSIX compliant systems ... with a tear in my eye. : On Wed, 2006-09-27 at 18:31 +0100, Neil Bothwick wrote: On Wed, 27 Sep 2006 18:48:20 +0200, sdoma wrote: I'm running 2.6.17.6. It worked before the upgrade Which upgrade? emerge -u world could update one package or a hundred. Which packages were upgraded? Please don't top-post. -- gentoo-user@gentoo.org mailing list
[gentoo-user] gentoo in /etc/group
Hello, A couple of week ago, I installed a system using 2006.1 Livecd To day, I took a look at the /etc/group file and found 'gentoo' listed in several groups, including wheel (wheel audio cdrom usb users games) to be specific. I do not remmeber this before. In fact looking at several other systems, I do not see the word 'gentoo' in any /etc/group file. I'm thinking this must be a vestige of the liveCD 2006.1 install. Can anyone confirm this? Is this a bug I should report? curious, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo in /etc/group
Do you see the user in /etc/passwd? Thanks, Brian james wrote: Hello, A couple of week ago, I installed a system using 2006.1 Livecd To day, I took a look at the /etc/group file and found 'gentoo' listed in several groups, including wheel (wheel audio cdrom usb users games) to be specific. I do not remmeber this before. In fact looking at several other systems, I do not see the word 'gentoo' in any /etc/group file. I'm thinking this must be a vestige of the liveCD 2006.1 install. Can anyone confirm this? Is this a bug I should report? curious, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
Again top-posting :) One thing for you before I leave: I know that it is possible to avoid installation of unwanted upgrades using portage, but I don't like to have to say my comp what NOT TO DO. I await from my comp to do what I say it TO DO because I'm (mostly) knowing what I'm doing. F. PS: Imagine you send your wife buying some food. What is more applicable? Telling her what to buy or telling her what not to buy? On Wed, 2006-09-27 at 20:04 +0200, sdoma wrote: I've tried to get documentoin for Tcl/tk, put 'doc' into the package.use for these files and re-emerged tcl and tk (BTW: no docs for these packages came up). emerge told me, that there is a new version of portage available and that it is HIGHLY recommended to upgrade portage. I did so and 87 packages where upgraded, amongst this glibc to 2.4, what hurts me now because I planned to install Oracle, which requires glibc2.3. Seems x86 or ~x86 doesn't make much a difference. I reinstalled the system not so long ago with x86 fo this reason. I remember the same problems a couple of times in the past. /etc/fstab was upgraded to the initial one (the one with /dev/BOOT and dev/ROOT inside resulting in a not booting system), networking stopped working letting me on my own, stopping hotplug (and historical coldplug-nonsense) functionality, udev.rules where replaced by some initial one for a syntax change in udev (using ``sed'' would be a better choice here) ... Just a minor thing, before I realized the USB problem, I was working on 'localhost:unknown-domain' after the upgrade. I'm really sick of solving the same problems again and again. Seems Gentoo is a system for students not needing their comps to be working. For me it looks at this point like: Every other distribution is a better choice for somebody who needs his machine for work. I don't like to say that, but this is my expirience. :(( Regards Frank PS: X-cuse me top-posting. This is a really exportant issue, and I'm disturbing it. ;-( PS 2: Co work with LFS! They have the same target (get people to know the functionality of Linux). I'll install some working distro which is conform with other POSIX compliant systems ... with a tear in my eye. : On Wed, 2006-09-27 at 18:31 +0100, Neil Bothwick wrote: On Wed, 27 Sep 2006 18:48:20 +0200, sdoma wrote: I'm running 2.6.17.6. It worked before the upgrade Which upgrade? emerge -u world could update one package or a hundred. Which packages were upgraded? Please don't top-post. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: gentoo in /etc/group
Brian Davis bridavis at comcast.net writes: Do you see the user in /etc/passwd? No James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo in /etc/group
james wrote: Hello, A couple of week ago, I installed a system using 2006.1 Livecd To day, I took a look at the /etc/group file and found 'gentoo' listed in several groups, including wheel (wheel audio cdrom usb users games) to be specific. I do not remmeber this before. In fact looking at several other systems, I do not see the word 'gentoo' in any /etc/group file. I'm thinking this must be a vestige of the liveCD 2006.1 install. Can anyone confirm this? Is this a bug I should report? curious, James Are there any users in this group? If not and if I were you I would utilize the program groupdel and forget about the case. ;-) -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
[gentoo-user] Packet writing a drive that works please
Hi all I've been trying to get packet writing to work with my old cd-rw drive. Although I can read the content of any file from a disk produced with InCd running on WinXP I can only mount the disk read only. I assume that my old cd-rw drive just isn't compatible with packet writing. I looked at a list of compatible drives , a very short list it has to be said and I can't find any of them for sale. Does anyone know of a modern dvd-rw drive that will work. TIA Stewart -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] rsync locks up and doesn't continue
Hi Don't know if this will help but I had a similar problem when I set up my archiving system. The problem was that I set it to use ssh which needs it own password and the password file was only used by rsync. the answer was to not use ssh and just use rsync client to rsync server. This was just over my lan but it solved the problem. HTH Stewart. Iain Buchanan wrote: Hi all, I have a script that downloads my distfiles from machines on our LAN before going over the internet. It uses rsync over ssh to get files locally, then defaults to wget for internet downloads. The command line is basically this: /usr/bin/rsync -avzP --password-file=filename rsync://user@host/path filename which works fine most of the time, so I know the syntax, password and permissions are correct. However, sometimes rsync dies (the download process just stops) and I get this sort of message: Password: *password sent* receiving file list ... rsync: link_stat /usr/portage/distfiles/Net-DNS-0.59.tar.gz failed: No such file or directory (2) 0 files to consider sent 8 bytes received 21 bytes 58.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at main.c(1298) [receiver=2.6.8] And the download won't continue - nor do I get the prompt back because rsync seems to lock the script up at this point by not returning. This is really annoying when it stops at 3 of 50! I don't mind killing it, but sometimes this is supposed to run unattended... Now fair enough, if the file doesn't exist, I can't rsync it, but most of the time, this makes rsync just exit, and the script continues. All I can get from google and docs is that code 23 is a general error, meaning some read / write / delete failed. I'm not out of disk space. can anyone shed light on this issue? thanks! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
Am Mittwoch, 27. September 2006 20:21 schrieb sdoma: Again top-posting :) One thing for you before I leave: I know that it is possible to avoid installation of unwanted upgrades using portage, but I don't like to have to say my comp what NOT TO DO. I await from my comp to do what I say it TO DO because I'm (mostly) knowing what I'm doing. F. PS: Imagine you send your wife buying some food. What is more applicable? Telling her what to buy or telling her what not to buy? So where's your problem? You say emerge -u world, and it updates world... You can also try --pretend to see what you're doing before it's too late. And seemingly, you also told etc-update to overwrite your fstab, and it did ;) /Wolfgang -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pppoe-start problem
On Wednesday 27 September 2006 05:18, Stephen Liu [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] pppoe-start problem': Before we go any further, what version of baselayout are you using? # equery l baselayout [ Searching for package 'baselayout' in all categories among: ] * installed packages [I--] [ ] sys-apps/baselayout-1.12.5 (0) * * * end * * * Not installed. ??? Your output clearly shows that sys-apps/baselayout-1.12.5 is installed. So, you are using version 1.12.5 of baselayout. In that case my advices are correct. Please configure your ppp0 device in /etc/conf.d/net following the documentation in /etc/conf.d/net.example are respond with any specific questions. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpWCQ0ZZjyU0.pgp Description: PGP signature
Re: [gentoo-user] gentoo in /etc/group
Daniel Iliev wrote: james wrote: Hello, A couple of week ago, I installed a system using 2006.1 Livecd To day, I took a look at the /etc/group file and found 'gentoo' listed in several groups, including wheel (wheel audio cdrom usb users games) to be specific. I do not remmeber this before. In fact looking at several other systems, I do not see the word 'gentoo' in any /etc/group file. I'm thinking this must be a vestige of the liveCD 2006.1 install. Can anyone confirm this? Is this a bug I should report? curious, James Are there any users in this group? If not and if I were you I would utilize the program groupdel and forget about the case. ;-) Hi, IMHO this is some cruft left from the 2006.1 install config (stage3). After an install with livecd-2006.1 and some upgrades afterwards grpck/grpconv complained about some redundant 'gentoo' entries - i let it fix them, problem solved. Just a hint here, haven't checked more. HTH.Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] custom ebuild questions
I've resolved the libphp5.so problem, it was putting it into /usr/lib/apache2/modules while apache was looking in /usr/lib/apache/modules. A quick copy and that fixed the issue. Also had to modify the php ebuild to put it there.Now when compiling php-5.1.6-r4 pear and pecl don't compile. Here's a copy of my post from the following url: http://forums.gentoo.org/viewtopic-t-502331.htmlI'm having some issues when building php with a custom ebuild and eclass. There are some things that I need to have built into php in order for my application to work. While I have php compiled and built as a module for apache the modules load, pear and pecl are not compiled so I cannot add my pear and pecl modules. Here's what I've done so far: Code:mkdir -p /usr/local/portage/dev-lang/php/files cp -r /usr/portage/dev-lang/php /usr/local/portage/dev-lang/php cp /usr/portage/eclass/php5_1-sapi.eclass /usr/portage/eclass/php5_1-sapi.eclass-old I copied the eclass over as I wanted to have an original after modifying it with the ./configure line required from our old slackware build, it reads as this now: Code:e-path=/etc/apache --enable-safe-mode --with-openssl --with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype --with-gdbm --enable-dbase --enable-ftp --with-exif --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --with-gmp --enable-mbstring --without-curl --with-gettext=shared,/usr --with-expat-dir=/usr --with-xml --enable-wddx --with-mm=/usr --enable-trans-sid --enable-shmop --enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit --with-tsrm-pthreads --without-iconv --enable-shared --disable-debug --enable-sqlite-utf8 --enable-soap --with-mysqli=shared,/usr/bin/mysql_config --with-mysql=shared,/usr/bin --disable-ipv6 --with-pear --enable-pear --with-zlib=/usr --with-apxs2=/usr/sbin/apxs2What would be causing pear and pecl not to compile with that? Here's what emerge -pv php outputs: Code:emerge -pv php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-lang/php-5.1.6-r4 [5.0.5-r5] -adabas -apache +apache2* +bcmath* +berkdb -birdstep +bzip2 +calendar* -cdb -cgi -cjk +cli -concurrentmodphp +crypt +ctype* +curl +curlwrappers* -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob +exif* -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd* -gd-external +gdbm +gmp* -hardenedphp -hash -hyperwave-api +iconv* -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit +mhash -ming -msql -mssql +mysql +mysqli* +ncurses +nls -oci8 -oci8-instant-client -odbc +pcntl* +pcre -pdo +pdo-external* -pic +posix* -postgres -qdbm +readline -recode +reflection -sapdb -sasl +session -sharedext -sharedmem -simplexml +snmp* +soap* +sockets* -solid +spell +spl +sqlite* +ssl -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer +truetype +unicode* -vm-goto -vm-switch -wddx +xml -xmlreader -xmlrpc -xmlwriter -xpm +xsl* -yaz -zip +zlib 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portageAlso in /etc/portage/package.use is the following: Code:dev-lang/php apache2 sockets mysql mysqli cli xml xsl pcre pdo-external session sqlite curl gd iconv jpeg pcntl pear png posix soap snmp ssl zlib bzip2 bcmath ctype calendar curlwrappers gdbm exif dbm unicodeI have taken the custom configure line out and it appears that the /etc/portage/package.use is compiling in all the modules I need. Yet pear and pecl still won't compile in with the package.I'm completely lost on this one, anyone?On Sep 26, 2006, at 4:01 PM, nate wrote:Another thing to add to this, pear does not appear to compile with the apache build.I have this in my /etc/portage/package.use: dev-lang/php apache2 sockets mysql mysqli cli xml xsl pcre pdo-external session sqlite curl gd iconv jpeg pcntl pear png posix soap snmp ssl zlib bzip2 bcmath ctype calendar curlwrappers gdbm exif dbm unicodeAccording to this url: http://gentoo-wiki.com/HOWTO_PHP_5_with_PEAR all that pear needs in order to compile are the following USE flags: cli pcre xml zlib. Maybe I'm a little out of it, but if you use the ebuild command does it use /etc/portage/package.use or is that only for emerge?On Sep 26, 2006, at 3:31 PM, nate wrote: I'm not sure if this is the proper list, if it is not I apologize and if someone could tell me which I should use it would be appreciated.I'm having a few issues, and I'm not exactly sure where these are exactly.First off I built a custom apache-2.0.58 ebuild from the one in the portage tree. It seems to have compiled just fine, and reads all of our previous apache configs, it even loads up php just fine and dandy. The reason for this custom build was we needed a specific layout that we have created, which was used during the compiling of apache.Next onto php. Since our application relies heavily on php for the back end
[gentoo-user] Re: sftplogging USE flag in openssh
On Wednesday 27 September 2006 15:32, Mick wrote: On Wednesday 27 September 2006 09:55, Harm Geerts wrote: sftplogging is for logging file transfers. Which client started a sftp session, which files, how many times, how many data, which action (mkdir, rm etc.) Thank you. It is clearer now to me. Is it logging sftp sessions that remote clients initiate on this host which acts as a server, or sessions that client(s) on this host initiate on remote machines? Ah, it's the first. So it only provides server side logging. -- gentoo-user@gentoo.org mailing list
Re: [SOLVED - MAYBE]: [gentoo-user] pysol problems
On 9/27/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: SNIP # grep -i rgbpath /var/log/Xorg.0.log (==) RgbPath set to /usr/share/X11/rgb # equery files x11-apps/rgb | grep rgb.txt /usr/share/X11/rgb.txt # equery check x11-apps/rgb [ Checking x11-apps/rgb-1.0.1 ] * 9 out of 9 files good It seems that at this point both machine look the same. dragonfly was the machine having the problem: [EMAIL PROTECTED] ~ $ su - Password: lightning ~ # grep -i rgbpath /var/log/Xorg.0.log (==) RgbPath set to /usr/share/X11/rgb lightning ~ # equery files x11-apps/rgb | grep rgb.txt /usr/share/X11/rgb.txt lightning ~ # equery check x11-apps/rgb [ Checking x11-apps/rgb-1.0.1 ] * 12 out of 12 files good lightning ~ # lightning ~ # ssh dragonfly Password: Last login: Wed Sep 27 08:38:28 2006 from lightning dragonfly ~ # grep -i rgbpath /var/log/Xorg.0.log (==) RgbPath set to /usr/share/X11/rgb dragonfly ~ # equery files x11-apps/rgb | grep rgb.txt /usr/share/X11/rgb.txt dragonfly ~ # equery check x11-apps/rgb [ Checking x11-apps/rgb-1.0.1 ] * 12 out of 12 files good dragonfly ~ # I guess the correct solution if it doesn't work without the RgbPath specified is to specify it correctly in xorg.conf... Note that my problem was that I had specified the wrong path. Yes, that was not my situation. Thanks for the help! Cheers, Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] Cups
Hi, I have my linux servers integrated with LDAP. I'm planning to setup cups in order to store printers configurations on the LDAP server and manage them. Is it a good alternative? How about printing quota, I want to limit the number of pages printed per user in each month, is it possible to do this using cups? []s Leandro. -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Universidade Federal de Campina Grande - UFCG O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
On Wednesday 27 September 2006 13:04, sdoma [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?': I've tried to get documentoin for Tcl/tk, put 'doc' into the package.use for these files and re-emerged tcl and tk (BTW: no docs for these packages came up). What do you mean came up? The doc USE-flag doesn't add to the output of the emerge (generally) and certainly isn't going to open some window with documentation in it! You can use equery to see what files a package installed but, generally, docs are installed to /usr/share/docs emerge told me, that there is a new version of portage available and that it is HIGHLY recommended to upgrade portage. I did so and 87 packages where upgraded So, you think upgrade portage means to execute emerge -u world? That's wrong, and you would have known that if you'd have read the documentation. amongst this glibc to 2.4, what hurts me now because I planned to install Oracle, which requires glibc2.3. Well, emerge does provide -p (--pretend) and -a (--ask) options so that you can see what changes it suggests. Portage also reads /etc/portage/package.mask to determine your local preferences for what not to install. Seems x86 or ~x86 doesn't make much a difference. I reinstalled the system not so long ago with x86 fo this reason. That true, with the new gcc being stable, the new glibc has become stable. ~x86 got this upgrade before x86, but even x86 gets upgrades from time to time. I remember the same problems a couple of times in the past. /etc/fstab was upgraded to the initial one (the one with /dev/BOOT and dev/ROOT inside resulting in a not booting system), By, default that file in is a CONFIG_PROTECT-ed directory, which means portage will not overwrite it. You have either (a) CONFIG_PROTECT_MASK-ed that directory (a horrible idea) or (b) explicitly *told* etc-update, dispatch-conf, or some other configuration file management tool to replace your old version; that tool just did what you told it to. networking stopped working letting me on my own, stopping hotplug (and historical coldplug-nonsense) functionality, udev.rules where replaced by some initial one for a syntax change in udev All of these sound like you made some mistake when managing your configuration files. Perhaps by using the -5 option in etc-update, an almost universally bad idea. It is available because it might be useful to people who read the documentation. Just a minor thing, before I realized the USB problem, I was working on 'localhost:unknown-domain' after the upgrade. Again, sounds like a run with etc-update, although it might be related to some of the changes in how your hostname and domainname are set. I'm really sick of solving the same problems again and again. Seems Gentoo is a system for students not needing their comps to be working. Odd. I've been running testing (~ARCH) Gentoo since the 2004.3 release, and I don't get that impression. There are some things that need to be fixed. The way package configuration is done is not one of them. For me it looks at this point like: Every other distribution is a better choice for somebody who needs his machine for work. I don't like to say that, but this is my expirience. :( I'm sorry your Gentoo doesn't work the way you expect right now. If you'd like, I can help your fix your issues, although it may take some time, and it will definitely both effort and care on your part. Hopefully, we'll also learn how to prevent those issues from reoccurring. We might even find things Gentoo can do better, but be prepared to defend any proposed changes and also realize that all the developers are volunteers so no one can force them to implement any change. PS: X-cuse me top-posting. This is a really exportant issue, and I'm disturbing it. ;-( I'm not sure what this is supposed to mean, but when using your mailer (Evolution, I think) there's no excuse for top-posting. PS 2: Co work with LFS! They have the same target (get people to know the functionality of Linux). That's not Gentoo's goal. Gentoo's goal (if there is a single goal) is to be a tool instead of a mindset. Do do what you want and get out of the way. I'll install some working distro which is conform with other POSIX compliant systems Like Gentoo? -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgp2z7V6ea6G0.pgp Description: PGP signature
[gentoo-user] Re: Konqueror-OOo odd behaviour when loading docs from USB stick
On Monday 25 September 2006 22:41, Mick wrote: I am trying to open some documents on a USB CF. When I click on the document name in Konqueror OOo launches with its splash screen and progress bar, and then nothing else happens. Once the progress bar completes, there's nothing more happening. To troubleshoot this problem I started the application from a terminal. Then I noticed that the document name had spaces in it, which I enclosed in single quotes. OOo writer launched without any problem and loaded the document. Why is it that through Konqueror OOo trips over itself, but loading it through the CLI works fine? How does Konqueror call OOo and how does it treat file names with spaces in them? OK I looked a bit more into it. It's something to do with Konqueror, or the way my USB stick is being mounted. Documents on the USB stick will not open when I click on them in Konqueror. Documents on the hard drive open happily. Why is that? I have no problem opening the docs on the USB stick, via the Open popup from the oowriter menu. This is the case irrespective of running hald and dbus. The entry in my fstab is: == /dev/sda/mnt/sdaauto,vfat,msdos noauto,user,noatime 0 0 /dev/sda1 /mnt/sda1 auto,vfat,msdos noauto,user,noatime 0 0 == to cater for my different usb sticks and the way they are recognised by the system. -- Regards, Mick pgpHIYDb1bNdC.pgp Description: PGP signature
Re: [gentoo-user] Re: sftplogging USE flag in openssh
On Wednesday 27 September 2006 21:21, Harm Geerts wrote: On Wednesday 27 September 2006 15:32, Mick wrote: Thank you. It is clearer now to me. Is it logging sftp sessions that remote clients initiate on this host which acts as a server, or sessions that client(s) on this host initiate on remote machines? Ah, it's the first. So it only provides server side logging. Cool! I feel totally and fully informed now. I love this list! :) Thank you. -- Regards, Mick pgpiZ6niAu1zv.pgp Description: PGP signature
[gentoo-user] Re: Should we NEVER do an ``emerge -u world''?
· Neil Bothwick [EMAIL PROTECTED]: If you don't understand exactly what the -5 option in etc-update will do, don't use it. If you do understand, you probably won't use it anyway. Uhm, I've got to disagree. I use -5 quite often. I have a look at the list of files and if I *KNOW* that I did not touch those files, I'm very happy -5'ing etc-update, so to say. So, yes, if you do understand, you probably will use it. Alexander Skwar -- See, these two penguins walked into a bar, which was really stupid, 'cause the second one should have seen it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Should we NEVER do an ``emerge -u world''?
Hi Frank, On Wednesday 27 September 2006 19:04, sdoma wrote: I've tried to get documentoin for Tcl/tk, put 'doc' into the package.use for these files and re-emerged tcl and tk (BTW: no docs for these packages came up). A search in Gmane on this ML, or the Gentoo forums will provide you with an answer and a way forward for this problem (I'm not using it myself so I am not sure what the answer is). emerge told me, that there is a new version of portage available and that it is HIGHLY recommended to upgrade portage. Yes, it is generally good practice to upgrade portage when it tells you to do so. I did so and 87 packages where upgraded, amongst this glibc to 2.4, what hurts me now because I planned to install Oracle, which requires glibc2.3. There was a recent update of gcc and glibc and there have been detailed instructions on the gentoo documentation (gcc), on this ML (both gcc glibc) and the forums. With regards to Oracle, you may need to temporarily upgrade to an unstable package while devs catch up with the upgraded system tools - search the ML and forums because I'm afraid do not use Oracle to know what's the solution with this problem. Seems x86 or ~x86 doesn't make much a difference. I reinstalled the system not so long ago with x86 fo this reason. It does make a difference if you update often (on average you will be emerging many more packages running a ~ARCH). Less so if you update once in a blue moon. Also, a stable system is aheam 'stable'? Well, most of the time it is more stable than running on the bleeding edge. I remember the same problems a couple of times in the past. /etc/fstab was upgraded to the initial one (the one with /dev/BOOT and dev/ROOT inside resulting in a not booting system), networking stopped working letting me on my own, stopping hotplug (and historical coldplug-nonsense) functionality, udev.rules where replaced by some initial one for a syntax change in udev (using ``sed'' would be a better choice here) ... No critical configuration files are blindly updated/upgraded. I do not know of /etc/fstab ever being updated automatically without first *asking* you what you want to do. etc-update, dispatch-conf et al will always ask what to do with /etc/fstab (unless you have tweaked the list of directories/files that they are checking). Just a minor thing, before I realized the USB problem, I was working on 'localhost:unknown-domain' after the upgrade. /etc/conf.d/net changed as part of a new baselayout upgrade. I'm really sick of solving the same problems again and again. Seems Gentoo is a system for students not needing their comps to be working. For me it looks at this point like: Every other distribution is a better choice for somebody who needs his machine for work. I don't like to say that, but this is my expirience. :(( I actually do use my machine for work. I upgrade little and often (every 2-3 days), except for big system upgrades which I save for the weekend just in case things go tits-up. I have broadly found Gentoo's updates and upgrades when managed intelligently to be less disruptive than re-installing afresh Fedora, or SUSE every six months (I haven't tried other distros). Furthermore the choice of Gentoo applications and their ability to intelligently handle a plethora of dependencies makes it much easier to run an updated machine, than at least the other two distros I have just mentioned. Regards Frank PS: X-cuse me top-posting. This is a really exportant issue, and I'm disturbing it. ;-( Until people eventually give up trying to help you. PS 2: Co work with LFS! They have the same target (get people to know the functionality of Linux). I'll install some working distro which is conform with other POSIX compliant systems ... with a tear in my eye. : The Gentoo meta-distribution provides greater freedom of choice in shaping your system to your preferences. The trade-off is the user time that needs to be invested in implementing it. On the other hand if one of the numerous distros offered by the wider Linux community fits your needs better straight out of the box - then go for it! WRT your comment on LFS, I would not think that Gentoo's primary driver is the same like LFX, although greater knowledge of Linux and Gentoo is a much welcomed side effect (at least by some of us ;) -- Regards, Mick pgpxoR8mc4suw.pgp Description: PGP signature
Re: [gentoo-user] Re: ghostscript fails to build during revdep-rebuild
I'm getting the following when trying to emerge ghostscript via revdep-rebuild: jbig2_huffman.c:(.text+0x37): undefined reference to `rpl_malloc' ./obj/jbig2_huffman.o:jbig2_huffman.c:(.text+0x366): more undefined references to `rpl_malloc' follow /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' /usr/X11R6/lib/libcups.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make: *** [bin/gs] Error 1 !!! ERROR: app-text/ghostscript-esp-8.15.1_p20060430 failed. Can anyone help with this or should I file a bug? Try to emerge net-print/cups before running revdep-rebuild as that's the library that's causing trouble. It should have been updated before ghostscript but revdep-rebuild is known to mix up the order. Rebuilding cups fixed it. Thanks! - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Should we NEVER do an ``emerge -u world''?
On Wed, 27 Sep 2006 22:44:40 +0200, Alexander Skwar wrote: If you don't understand exactly what the -5 option in etc-update will do, don't use it. If you do understand, you probably won't use it anyway. Uhm, I've got to disagree. I use -5 quite often. I have a look at the list of files and if I *KNOW* that I did not touch those files, I'm very happy -5'ing etc-update, so to say. So, yes, if you do understand, you probably will use it. Not in the way that causes the problems, of -5ing everything. When i used etc-update, I wuld go through the list, accepting some changes and rejecting others, then -5 the remainder, which were often example configs. That's not the same as -5ing everything, which is what I was referring to and the easy way to toast /etc/fstab. -- Neil Bothwick I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Should we NEVER do an ``emerge -u world''?
On Wednesday 27 September 2006 5:10 pm, Neil Bothwick wrote: That's not the same as -5ing everything, which is what I was referring to and the easy way to toast /etc/fstab. Can you give an example of *any* situation that would make updating fstab sensible? Should never even be considered or an option, IMO. Important etc files should be placed in .example form and the user warned that editting is required. Etc-update has always been the thorn in Gentoo. Again, IMO. -jm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cups
Am Mittwoch, 27. September 2006 22:38 schrieb Leandro Melo de Sales: I have my linux servers integrated with LDAP. I'm planning to setup cups in order to store printers configurations on the LDAP server and manage them. Is it a good alternative? How about printing quota, I want to limit the number of pages printed per user in each month, is it possible to do this using cups? Try pykota http://www.pykota.com AFAIK it's a commercial program, but there's some free version available. It also has an ebuild: net-print/pykota /Wolfgang -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Should we NEVER do an ``emerge -u world''?
On Wed, 27 Sep 2006 17:59:55 -0500, Joe Menola wrote: Can you give an example of *any* situation that would make updating fstab sensible? Should never even be considered or an option, IMO. Important etc files should be placed in .example form and the user warned that editting is required. Etc-update has always been the thorn in Gentoo. Again, IMO. I've always felt that fstab, along with a couple of others, should not be in baselayout, since it should never be upgraded. There was a patch for dispatch-conf that allowed you to freeze some files so it would never even offer to update them, but it hasn't been updated for nearly two years and doesn't work with more recent versions. http://bugs.gentoo.org/show_bug.cgi?id=68618 -- Neil Bothwick Celery is not food. It is a member of the plywood family. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Should we NEVER do an ``emerge -u world''?
On Wednesday 27 September 2006 17:59, Joe Menola [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Re: Should we NEVER do an ``emerge -u world''?': On Wednesday 27 September 2006 5:10 pm, Neil Bothwick wrote: That's not the same as -5ing everything, which is what I was referring to and the easy way to toast /etc/fstab. Can you give an example of *any* situation that would make updating fstab sensible? No, which is why shipping /etc/fstab as part of baselayout should go away. Surely there's a solution that provides examples for new user/installs, but doesn't bug me to update a file that upstream cannot possibly know good contents for. Important etc files should be placed in .example form and the user warned that editting is required. Yeah, but imagine if every configuration file has a .example? I don't want a bunch of unused files cluttering my filesystem. (I guess I could INSTALL_MASK them if there was a naming policy.) Etc-update has always been the thorn in Gentoo. Which is why I use dispatch-conf. ;) -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpjOO6JFXgRm.pgp Description: PGP signature
Re: [gentoo-user] {OT} Video cataloging software
Griffith looks awesome. I wish it was in portage. http://bugs.gentoo.org/show_bug.cgi?id=13 Even better :) http://packages.gentoo.org/search/?sstring=griffith - Grant -- gentoo-user@gentoo.org mailing list
[gentoo-user] Need help with bootsplash not showing
I used to have fbsplash or bootsplash or whatever it's called these days working back around 2.6.14 or earlier. Then it broke in 2.6.15 (as per wiki) and I never built a new kernel till now with .17 This is on a Dell Inspiron 8200 notebook. I'm following along here: http://gentoo-wiki.com/HOWTO_fbsplash And also looked here: http://dev.gentoo.org/~spock/projects/gensplash/troubleshooting.php But basically nothing happens when I reboot. :-\ This works fine: # splash_manager --theme=livecd-2006.1 --cmd=set --tty=1 And if I do this, it also works: # splash_manager --theme=livecd-2006.0 --cmd=set --tty=12 Here are some relevant parts. I don't use genkernel. dmesg: vesafb: unrecognized option mtrr vesafb: NVidia Corporation, NV17 () Board, Chip Rev A2 (OEM: NVidia) vesafb: VBE version: 3.0 vesafb: protected mode interface info at c000:f200 vesafb: pmi: set display start = c00cf245, set palette = c00cf2ca vesafb: pmi: ports = b4c3 b503 ba03 c003 c103 c403 c503 c603 c703 c803 c903 cc03 ce03 cf03 d003 d103 d203 d303 d403 d503 da03 ff03 vesafb: VBIOS/hardware doesn't support DDC transfers vesafb: no monitor limits have been set vesafb: scrolling: ywrap using protected mode interface, yres_virtual=2400 Console: switching to colour frame buffer device 200x75 vesafb: framebuffer at 0xe000, mapped to 0xf888, using 7500k, total 32768k fb0: VESA VGA frame buffer device title Gentoo Linux [resume framebuffer splash 1600] root=(hd0,0) kernel=(hd0,0)/boot/vmlinuz ro root=/dev/hda3 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] splash=silent,theme:livecd-2006.1,tty:12 quiet CONSOLE=/dev/tty1 hdb=ide-scsi resume=/dev/hda6 pmdisk=/dev/hda6 netdev=5,0xec80,eth0 initrd (hd0,0)/boot/fbsplash-livecd-2006.1-1600x1200 boot # ll total 20891 drwxr-xr-x 4 root root2048 Sep 19 01:52 . drwxr-xr-x 25 root root4096 Sep 19 01:57 .. lrwxrwxrwx 1 root root 27 Sep 19 01:52 System.map - System.map-2.6.17-gentoo-r8 -rw-r--r-- 1 root root 1012871 Sep 19 01:52 System.map-2.6.17-gentoo-r8 lrwxrwxrwx 1 root root 31 Sep 19 01:52 System.map.old - System.map-2.6.17-gentoo-r8.old lrwxrwxrwx 1 root root 1 Sep 4 2004 boot - . -rw-r--r-- 1 root root 2171904 Feb 21 2006 bzImage lrwxrwxrwx 1 root root 23 Sep 19 01:52 config - config-2.6.17-gentoo-r8 -rw-r--r-- 1 root root 41997 Sep 19 01:52 config-2.6.17-gentoo-r8 -rw-r--r-- 1 root root 42751 Feb 21 2006 config-new -rw-r--r-- 1 root root 649657 Sep 19 01:43 fbsplash-livecd-2006.1-1600x1200 -rw-r--r-- 1 root root 2262456 Apr 12 2005 fbsplash.tgz drwxr-xr-x 2 root root1024 Sep 19 01:46 grub -rw-r--r-- 1 root root 41895 Feb 27 2004 splash.initrd lrwxrwxrwx 1 root root 24 Sep 19 01:52 vmlinuz - vmlinuz-2.6.17-gentoo-r8 -rw-r--r-- 1 root root 2893125 Sep 19 01:52 vmlinuz-2.6.17-gentoo-r8 locutus ~ # rc-update show splash | boot default ÐÆ5ÏÐ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 64-bit system?
But besides that - my AMD64 3000+ just rocks. I had definitely much more problems with 64-bit XP, but since getting rid of it (XP not problems) I am fully 64-bit positive :D Getting a bit Off-Topic but I'm extremely disappointed with XP x64. I upgraded from Pro (32) thinking I'd basically get XP but with a few broken apps (nothing I run). Turns out ActiveSync won't run in x64 despite M$ saying it does and HP won't write drivers for my LaserJet 1012 which is funny given the hpijs driver I thought was supported(sorta) by HP (a couple of HP techs work on the prject I thought). This means I have to use a Generic LaserJet driver that doesn't give me the feature set I expect from my printer.. On the flip side, with the fresh install, VMware is actually quite snappy. I can now compile X in VMware, listen to a mp3 stream in winamp, and play The Sims 2 all at once without lag. Of course 2GB of RAM will do that to ya. :) -Drew -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MythTV 0.20 ebuild
I've had it up for a couple of days. Nothing seriously wrong yet. Although, watching live TV on my box is a little choppier now... for some reason. The chmod +s mythfrontend did help, but its still not fluid on the live tv playback (i have pvr-250). Speaking of Mythtv, does anyone else have problems with mythbackend starting ONLY with the init scripts (if i call it manually it starts just fine)? bryce David Grant wrote: So the MythTV ebuild is no longer masked and is now ~x86. Has anyone tried it? I'm very interesting in hearing the initial reports. Since I have a tried and true system that is working perfectly I don't want to upgrade just yet. Hopefully some of you are adventurous enough or are making a new system and have tried 0.20. -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
[gentoo-user] Router 3rd and 4th net interface problem
I have a Gentoo router with eth0 connected to the WAN (DSL modem/router) and ath0 connected to the LAN. It works perfectly. I've added two ethernet cards and I'm trying to connect from another machine to one of the new cards (eth1 and eth2). ifconfig shows the cards are detected just fine, but dhcp always fails when trying to obtain an IP address. I have the following /etc/conf.d/net: config_eth0=192.168.1.2 netmask 255.255.255.0 routes_eth0=default via 192.168.1.1 config_ath0=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 mode_ath0=master essid_ath0=mynetwork config_eth1=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 config_eth2=192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 and the following in /etc/dnsmasq.conf: interface=ath0 interface=eth1 interface=eth2 I've started net.eth1 and net.eth2 (both are links to net.lo) and restarted dnsmasq. I thought it might be a problem with my iptables settings which don't take the new interfaces into account, but stopping iptables doesn't seem to help. Can anyone help me out? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] I have 146,000 files in lost+found. How do I sort them?
Thanks for the detailed advice. And thanks, Richard for your advice too. In the end (before I received your posts) I managed to move all the files into enough smaller directories that I could browse them in Nautilus. From what I saw it looked very much to me like most of the files were ones that had been deleted by emerge before the big disaster. I didn't look at every single one obviously, but it soon became obvious that I wasn't going to find much of any use. And thanks for giving a practical example of how to use find. I have always found the man page rather heavy going, so this is the first time I have felt I have half an idea how to use it. Robert On Tue, 2006-26-09 at 08:20 -0500, Boyd Stephen Smith Jr. wrote: On Monday 25 September 2006 22:55, Robert Persson [EMAIL PROTECTED] wrote about '[gentoo-user] I have 146,000 files in lost+found. How do I sort them?': Am I likely to find many usable files in that /lost+found directory? Maybe. I tried to recover a corrupted ext3 boot recently and was unable to pull anything useful out of lost and found that was larger than a symlink. :( If a number of files NOT in lost+found were corrupt, it's likely most of the files in lost+found are corrupt as well. That said, /boot data is generally easy to replace, so I put no effort into recovering files that were corrupted. If the data was valuable, if might be worth it to spend some time sorting those out. If I can, how can I best sift through them? Carefully. :) Is there a utility, or something I could drop into a simple bash script, that would look at the first few bytes of the file and, say, identify it as a jpeg or an xml file, so that it could be given an appropriate file extension, deleted or moved? As the other poster mentioned, the file utility is useful for identifying the type of file. Keep in mind though that is only looks at the first few bytes of the file, if there's corruption later on file won't notice. Or is there one that could distinguish a text file from a binary? Of course, file does this to some extent. A MIME type of text/* is generally text, while anything else is binary. But, file's output (by default) isn't a simple binary or text string. Some of the GNU utilities that are meant for text files will complain before operating on a binary file, so you could use those for this task, possibly. (I'm thinking of less and grep.) In particular, grep '[^[:print:]]' should return true when run against a file that contains non-printable characters (like control characters or NUL, and, depending on locale, non-7-bit-clean characters). Are there any other strategies I could use to sift through these files (assuming it would be worth doing)? Well, before you write some sort of bash script around file to rename stuff, you'll probably want to remove anything that is clearly trash, like device nodes or 0-length files. Something like: find lost+found \! \( -type f -o -type d \ -o -type l \) -o -empty -delete should work if you are using GNU find. -- gentoo-user@gentoo.org mailing list
[gentoo-user] another mistakenly deleted partition to recover :(
In the aftermath of my recent disaster in which I accidentally reformatted my root partition I have been trying to install a new system. Unfortunately this has led to some more partitions being accidentally deleted and one of them had important data on it I need to recover. Unlike last time, this time the error was not mine. It was a fault either in the Gentoo Linux Installer or in whichever utility it uses to deal with partitions. This is what happened. I booted the live CD with evms enabled. At the start there were two primary partitions on the disk in question, followed by one extended one. The extended one in turn had four logical partitions. When I started the installer I went through all the screens and told it what I wanted. When it came to partitioning I told it to delete the first primary partition and replace it with one the same size, and to delete the first logical partition and replace it with one the same size also. This one was to be formatted reiserfs. I then saved my settings before setting the installer to work. It appeared from the messages that the installer had reformatted deleted and replaced the first logical partition (although I don't know whether it formatted it or not), but it borked when it came to the first primary partition, saying that it was in use by the system. It wasn't mounted so I suspected this might have had something to do with evms, but that didn't make sense to me because both of the partitions in question had entries in /dev/evms, but only one could be deleted and not the other. I decided not to use evmsn to edit them and instead to try again with the gentoo installer. I started up the installer a second time (well, a fifth time actually) and reloaded my settings from before. I was a bit puzzled when it came to the partitioning screen because there was no easy way to tell whether the partition diagram it displayed was how things actually were, or was how things were supposed to be after various operations were carried out. However I didn't want to spend all night choosing my use flags over and over again each time the installer failed so I went ahead with the settings from previously. This time the installer complained that it couldn't have two partitions in the same place, or something like that. I don't remember exactly. So I started the installer again, reloaded my settings and found that the three partitions after the logical partition I wanted replaced had now all been deleted. When I looked at the partition layout in parted I was surprised to find that the logical partition I had wanted replaced was now larger than it had been. It had been around 98GB or 99GB, but now it was 105GB. This would be large enough to extend into the space occupied by the second and third logical partition, but not the fourth, which was nonetheless deleted too. parted listed no file system type for the remaining logical partition, so I don't know whether it has been formatted (with reiserfs) or not. I suppose I should have tried to mount it -ro to check, I can go back and do that if it would be useful. Anyway, the partition I now need to recover would be the third logical partition (the one that the remaining logical partition just overlaps). Am I right in thinking that if the remaining logical partition has in fact been formatted, that the only changes that will have been made to the disk will have been at the beginning of that partition, and that therefore the data from the third partition ought to be intact? Presumably then I simply need to find out where the beginning of that partition would have been and to create another one of a sufficient size starting in the same place (having deleted the first logical partition of course). Is that right? If so, how can I determine where the beginning would have been of that deleted partition? It was, in its former life, an ext3 partition. Many thanks Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MythTV 0.20 ebuild
On 9/27/06, Bryce Verdier [EMAIL PROTECTED] wrote: I've had it up for a couple of days. Nothing seriously wrong yet.Although, watching live TV on my box is a little choppier now... forsome reason. The chmod +s mythfrontend did help, but its still not fluid on the live tv playback (i have pvr-250).Hmm, I have never heard of the chmod +s mythfrontend trick. Speaking of Mythtv, does anyone else have problems with mythbackendstarting ONLY with the init scripts (if i call it manually it startsjust fine)?Mine will start with the init script or without, just fine. Dave-- David Granthttp://www.davidgrant.ca
[gentoo-user] Looking for a non-ndiswrapper USB NIC
Can anyone recommend a good non-ndiswrapper USB wireless 802.11g NIC?Thanks,-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] rsync locks up and doesn't continue
On Wed, 2006-09-27 at 20:03 +0100, Stewart Taylor wrote: Hi Don't know if this will help but I had a similar problem when I set up my archiving system. The problem was that I set it to use ssh which needs it own password and the password file was only used by rsync. the answer was to not use ssh and just use rsync client to rsync server. This was just over my lan but it solved the problem. thanks for the tip, but it works some of the time - it's only the occasional (1 out of 10?) times that it locks up, so I'm assuming it's not a password problem. The rsync is all coming from one machine, so I don't know why it's only failing some of the time - I would guess if it's a password problem, it would fail all the time! thanks, -- Iain Buchanan iaindb at netspace dot net dot au Goto, n.: A programming tool that exists to allow structured programmers to complain about unstructured programmers. -- Ray Simard -- gentoo-user@gentoo.org mailing list