Re: [gentoo-user] portage/firewall

2008-03-29 Thread Per-Erik Westerberg
fre 2008-03-28 klockan 09:21 + skrev Mick:
 On Thursday 27 March 2008, Neil Bothwick wrote:
  On Thu, 27 Mar 2008 20:33:53 +0200, Uwe Thiem wrote:
I'd say, try http.
  
   Jeez. You didn't read the original posting, did you? It's FTP, period.
 
  It's FTP, which is blocked by the firewall, so use only HTTP mirrors
  in /etc/make.conf. There is no requirement to use FTP for downloads. If
  rsync is also blocked, use emerge-webrsync to update the portage tree
  over HTTP.
 
  export ftp_proxy=XXX.XX.XXX.XX:80  emerge -uaDv world, should do what 
 you're after.  You can also try export http_proxy of course.  It assumes that 
 you know the LAN IP address of your web gateway/firewall at work - i.e. that 
 your work's MSWindows configuration allows plain users to view the MSIE 
 Internet Settings, or your sysadmin will let you know what the address is.  
 If 
 not, boot a LiveCD on a works computer, mount its MSWindows C:\ drive and 
 search for proxy.  It should lurk somewhere in the registry settings.  
 BartsPE CD will also help you find that, as it can search natively the 
 registry.
 
 BTW, if this is anything like my work, then only outbound connections to port 
 80 are allowed and rsync will not work.  Follow the webrsync advice above.
 
 HTH.

Hi,

You should also set RSYNC_PROXY to hostname:port in order for emerge
--sync to work.

  BR / P-E

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OOo 2.4 and Java [SOLVED/WORKAROUND]

2008-03-29 Thread Pongracz Istvan
I did the following:

sed -i
's/XINERAMA/FAKEEXTN/g' /opt/sun-jdk-1.6.0.05/jre/lib/i386/xawt/libmawt.so

After this I got Sun JRE working on my ~x86 with OOo.

It is interesting, how the hell should I find out this solution
Thanks for Chris Mayo.


The original post from the gentoo bug site:

--- Comment #10 From Chris Mayo 2008-03-29 09:18:55  [reply]
---

For me this has been (not new with the latest OpenOffice or jdk) an
example of:
http://bugs.freedesktop.org/show_bug.cgi?id=11390
http://bugs.sun.com/bugdatabase/view_bu ... id=6532373

doing:

sed -i 's/XINERAMA/FAKEEXTN/g'
/opt/sun-jdk-1.6.0.05/jre/lib/amd64/xawt/libmawt.so

fixes it for me, not sure what other damage it does though.

-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] gnome 2.22

2008-03-29 Thread wd
I have install gnome 2.22 , it works nice, but only gnome-volume-manager
seemes did't work as befor, it didn't show my disk partition on desktop.

2008/3/29, darren kirby [EMAIL PROTECTED]:

 quoth the Stéphane ANCELOT:

  I have tried to find it , but by the way how to enable gnome 2.22 in
  gentoo ??



 http://planet.gentoo.org/developers/remi/2008/03/28/the_road_to_gnome_2_22_part_2

 -d

 --
 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
 ...the number of UNIX installations has grown to 10, with more
 expected...
 - Dennis Ritchie and Ken Thompson, June 1972

 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] portage/firewall

2008-03-29 Thread Mick
On Saturday 29 March 2008, Per-Erik Westerberg wrote:
 fre 2008-03-28 klockan 09:21 + skrev Mick:
  On Thursday 27 March 2008, Neil Bothwick wrote:
   On Thu, 27 Mar 2008 20:33:53 +0200, Uwe Thiem wrote:
 I'd say, try http.
   
Jeez. You didn't read the original posting, did you? It's FTP,
period.
  
   It's FTP, which is blocked by the firewall, so use only HTTP mirrors
   in /etc/make.conf. There is no requirement to use FTP for downloads. If
   rsync is also blocked, use emerge-webrsync to update the portage tree
   over HTTP.
 
   export ftp_proxy=XXX.XX.XXX.XX:80  emerge -uaDv world, should do what
  you're after.  You can also try export http_proxy of course.  It assumes
  that you know the LAN IP address of your web gateway/firewall at work -
  i.e. that your work's MSWindows configuration allows plain users to view
  the MSIE Internet Settings, or your sysadmin will let you know what the
  address is.  If not, boot a LiveCD on a works computer, mount its
  MSWindows C:\ drive and search for proxy.  It should lurk somewhere in
  the registry settings. BartsPE CD will also help you find that, as it can
  search natively the registry.
 
  BTW, if this is anything like my work, then only outbound connections to
  port 80 are allowed and rsync will not work.  Follow the webrsync advice
  above.
 
  HTH.

 Hi,

 You should also set RSYNC_PROXY to hostname:port in order for emerge
 --sync to work.

I've tried that and had no success behind my work's firewall, but the OP may 
be luckier.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Kevin O'Gorman
I cannot emerge world any more because portage keeps barfing on some random
java ebuild.
Java's not even in the list of things to emerge, but here's what I see:

Total: 14 packages (14 upgrades), Size of downloads: 99,898 kB

Would you like to merge these packages? [Yes/No] yes
 Verifying ebuild Manifests...

!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
treat init.d #


I've tried deleting the offending file and re-syncing, but the same error
occurs.

Help???

++ kevin

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Mark Knecht
On Sat, Mar 29, 2008 at 9:10 AM, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 I cannot emerge world any more because portage keeps barfing on some random
 java ebuild.
 Java's not even in the list of things to emerge, but here's what I see:

 Total: 14 packages (14 upgrades), Size of downloads: 99,898 kB

 Would you like to merge these packages? [Yes/No] yes
  Verifying ebuild Manifests...

 !!! Digest verification failed:
 !!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
 !!! Reason: Failed on RMD160 verification
  !!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
 !!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
 treat init.d #


 I've tried deleting the offending file and re-syncing, but the same error
 occurs.

 Help???

 ++ kevin

 --
 Kevin O'Gorman, PhD


For now mask java above whatever revision is currently installed and
move on. When your emerge is complete remember to remove the mask.
When they fix the file/digest/whatever is causing the problem it will
start working again.

Hope this helps,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Kevin O'Gorman
I've got a problem with the colors that are used in Gentoo stuff.
I run KDE, and my terminals are generally konsoles.
The colors used by portage, ls and vim always seem to have
portions that are unreadable because of low contrast -- the
text blends into the background.

I've tried different konsole schemata, and find that different things
work for different purposes, but there's no one schema  that I
can just leave in place and forget.

I use 'light paper' for starters.  The 'linux colors' scheme is good
for some things, but I the darker colors don't show up well on it
(blue in particular), and I pretty much avoid dark backgrounds
when I can because I think they're depressing and they give
me eyestrain.

Does anyone have a suggestion?

++ kevin

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Neil Bothwick
On Sat, 29 Mar 2008 09:30:04 -0700, Kevin O'Gorman wrote:

 I've got a problem with the colors that are used in Gentoo stuff.
 I run KDE, and my terminals are generally konsoles.
 The colors used by portage, ls and vim always seem to have
 portions that are unreadable because of low contrast -- the
 text blends into the background.

http://gentoo-wiki.com/TIP_Remap_Portage_Colors


-- 
Neil Bothwick

Don't cry because it's over. Smile because it happened.


signature.asc
Description: PGP signature


Re: [gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Etaoin Shrdlu
On Saturday 29 March 2008, 17:30, Kevin O'Gorman wrote:

 Does anyone have a suggestion?

You can remap the colors used by portage. 
man color.map
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Kevin O'Gorman
On Sat, Mar 29, 2008 at 9:23 AM, Mark Knecht [EMAIL PROTECTED] wrote:

 On Sat, Mar 29, 2008 at 9:10 AM, Kevin O'Gorman [EMAIL PROTECTED]
 wrote:
  I cannot emerge world any more because portage keeps barfing on some
 random
  java ebuild.
  Java's not even in the list of things to emerge, but here's what I see:
 
  Total: 14 packages (14 upgrades), Size of downloads: 99,898 kB
 
  Would you like to merge these packages? [Yes/No] yes
   Verifying ebuild Manifests...
 
  !!! Digest verification failed:
  !!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
  !!! Reason: Failed on RMD160 verification
   !!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
  !!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
  treat init.d #
 
 
  I've tried deleting the offending file and re-syncing, but the same
 error
  occurs.
 
  Help???
 
  ++ kevin
 
  --
  Kevin O'Gorman, PhD
 

 For now mask java above whatever revision is currently installed and
 move on. When your emerge is complete remember to remove the mask.
 When they fix the file/digest/whatever is causing the problem it will
 start working again.


Unfortunately, that puts portage into a proper tizzy because my current
version is not longer listed
as available (sun-jdk-1.6.0.03).  Portage therefore goes into a fit of
downgrades, which I do not want.
I find that I can get stuff emerged by doing --pretend, then emerging
everything except java.
This, of course, is not the Way It Should  Be (TM), but may get me through
the rough patch.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Mark Knecht
On Sat, Mar 29, 2008 at 9:41 AM, Kevin O'Gorman [EMAIL PROTECTED] wrote:

 On Sat, Mar 29, 2008 at 9:23 AM, Mark Knecht [EMAIL PROTECTED] wrote:


 
 
 
  On Sat, Mar 29, 2008 at 9:10 AM, Kevin O'Gorman [EMAIL PROTECTED]
 wrote:
   I cannot emerge world any more because portage keeps barfing on some
 random
   java ebuild.
   Java's not even in the list of things to emerge, but here's what I see:
  
   Total: 14 packages (14 upgrades), Size of downloads: 99,898 kB
  
   Would you like to merge these packages? [Yes/No] yes
Verifying ebuild Manifests...
  
   !!! Digest verification failed:
   !!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
   !!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
   !!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
   treat init.d #
  
  
   I've tried deleting the offending file and re-syncing, but the same
 error
   occurs.
  
   Help???
  
   ++ kevin
  
   --
   Kevin O'Gorman, PhD
  
 
  For now mask java above whatever revision is currently installed and
  move on. When your emerge is complete remember to remove the mask.
  When they fix the file/digest/whatever is causing the problem it will
  start working again.
 

 Unfortunately, that puts portage into a proper tizzy because my current
 version is not longer listed
 as available (sun-jdk-1.6.0.03).  Portage therefore goes into a fit of
 downgrades, which I do not want.
  I find that I can get stuff emerged by doing --pretend, then emerging
 everything except java.
 This, of course, is not the Way It Should  Be (TM), but may get me through
 the rough patch.

 ++ kevin

Yeah, that's a drag. Not the way it's supposed to work but clearly it
happens once in awhile.

Typically I don't do emerge -DuN world anymore but rather run emerge
-pvDuN world, pick an app that has some dependencies, emerge that app
to pick up stuff and work my way through the list until I'm down to
just a few. I never emerge everything I see in the list since most are
dependencies themselves and I don't want to add them to my world file.

Good luck,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Cryptfs

2008-03-29 Thread Florian Philipp
Hi list!

I think I have problems understanding the way /etc/conf.d/cryptfs works.

My goal is to open a Luks-mapping for /var with a gpg-encrypted file
on /boot and then open a mapping for /var/tmp with a plaintext file
on /var.

I thought it would work with the following settings:

/etc/conf.d/cryptfs

target=var
source='/dev/mapper/vg-crypt_var'
key='/boot/key.gpg:gpg'

target=var_tmp
source='/dev/mapper/vg-crypt_var_tmp'
key='/var/lib/tmp_key'

___

/etc/fstab

/dev/mapper/var /varreiserfs [...]
/dev/mapper/var_tmp /var/tmpreiserfs [...]

___

I've read the warning in /etc/conf.d/cryptfs about /usr on a separate
partition and followed their advice.

However, the setup doesn't work. I'm not asked for the passphrase, the
mappings are not created. What did I forget? 

Thanks in advance!

Florian Philipp


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Boot Gentoo to clean windows

2008-03-29 Thread Stroller


On 28 Mar 2008, at 22:12, Alan Milnes wrote:

On 28/03/2008, Stroller [EMAIL PROTECTED] wrote:

Your note is excellent but I disagree with this bit:-


If the PC is still slow then check disk-space, pagefile settings
(allow the system to manage pagefile size for me, click set)


unless as a temporary workaround you should always have the paging  
file set as a fixed size to avoid worsening the chronic  
fragmentation problem on Windows.



I'm not arguing with you, but for me it depends on the user  usage   
stuff. Several years ago, before XP, I used to be a Windows power  
user - I kept my pagefile on a separate disk and set it's size  
manually. I even monitored usage in Task Manager (or was it one of  
the utilities under Administrative Tools?) to see what actual  
amount of swap was used, but was never convinced of the accuracy of  
the results (it seemed so little). Whilst a pagefile of fixed size on  
a separate disk may be the best way to configure a swap file, I  
don't think it's optimal for most users.


There are times when someone else may work on the PC, and having the  
swapfile on C: is simply what they'd expect to find, if they ever  
need to mess with it. I generally like to have systems that I  
configure for my Joe Sixpack customers to generally look normal and  
standard, so that there's ease of maintenance and so that  
everything just makes sense if anyone else (probably less  
experienced than I) works on it in the future.


Take, for example, partitioning - it's quite logical and correct to  
have a separate partition for the C: drive and another, D:, for  
users' files  folders; this protects users' documents on D: if  
filesystem corruption occurs on C:, or if a Windows reinstall is  
otherwise needed. But unfortunately this configuration needs more  
maintenance in the future if one of the partitions becomes full -  
experience tells me that there's always one user in the household who  
will not understand to use D:, and that users will try uninstalling  
programs and deleting their letters to free up space, if the system  
starts complaining that the C: drive is full. I would prefer they  
call me, so that I can delete something that's REALLY consuming  
space, or resize partitions appropriately, but they often do not do  
so, and with 5% or less free space the partition gets rapidly  
fragmented and slows down considerably (to the extent that  
defragmenter may be unable to do its job). When short of disk space  
other users may right-click on the drive properties and choose  
compress files on this drive to save space - this slows down the  
system even more!


But I admit that - if the system has two drives installed already -  
then putting the swapfile on the second drive is probably less of a  
problem than my partitioning example. (Although, having said that, if  
this user _does_ choose to have a D: drive and intends to use it for  
something, then a pagefile.sys scattered amongst their music or video  
files might be confusing, or simply considered clutter).


Just because you set the swapfile to a fixed size doesn't mean it's  
not fragmented - admittedly, if you do set it to a fixed size, then  
boot from another disk and defrag the drive then the pagefile should  
never fragment in the future, but I'm not convinced of the cost- 
benefit of doing so. A fragmented swapfile is only  going to be a  
problem (I think - please correct me if I'm wrong) if the system is  
writing out a page of memory that spans multiple fragments. If the  
swapfile is contained in only (for example) two fragments then how  
often will this occur? I have no idea - and one of the reasons I gave  
up Windows on my own machines is its the sort of thing that's  
completely undocumented - but I'll bet it's not too often.


A swapfile of a fixed size is a compromise between consumption of  
disk-space and the risk of running out of pagefile. I have customers  
I don't see for two years, so what seems perfectly adequate for a  
swapfile now may seem silly small when I next see them. Although I  
don't tend to monitor swapfile sizes  usage, Windows memory  
requirements have bloomed in that time - 2 years ago one might've  
gotten away with 256megs of RAM, but I'm certainly recommending at  
least 768meg now.


Considering the size of hard-drives these days I guess I'm being  
silly in not simply allocating a fixed-size swapfile of 2gig (or even  
4!) and trusting that that'll be adequate for the life of the  
machine, but I don't like to waste space unnecessarily, and I'd just  
far rather the machine said out of virtual memory, increasing swap  
file size if it needs it.


To generalise, I have two kinds of customers - those who fragment  
once a month, and those who never do. I don't think the slight  
penalty of a fragmented swapfile is noticeable to either category.  
Either their machine is quick enough, anyway, or it tends to  
horrendous slowness. The risk / hassle of running out of swap 

Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Norberto Bensa
Mark Knecht wrote:
 I never emerge everything I see in the list since most are
 dependencies themselves and I don't want to add them to my world file.


emerge -1 what-ever-dep-you-dont-want-in-world


bye,
norberto
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Mark Knecht
On Sat, Mar 29, 2008 at 10:46 AM, Norberto Bensa [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
   I never emerge everything I see in the list since most are
   dependencies themselves and I don't want to add them to my world file.
  

  emerge -1 what-ever-dep-you-dont-want-in-world

Of course, if I Want to figure out which 10 items shouldn't be in my
world file. I'm doing that right now with an openmotif emerge. However
I was saying that if I see a big list of items, do equery depends one
of the items, see something like k3b or even gnome, then emerging
gnome picks up the dependencies even easier than using -1. At least I
feel that way, but that's just me.

- Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-29 Thread Stroller


On 28 Mar 2008, at 19:13, Francesco Talamona wrote:


On Friday 28 March 2008, Stroller wrote:

I deal with h0sed Windows installations for my customers all the
time. I regularly boot a Knoppix CD and copy the whole C: drive to a
  portable disk so that I have a complete backup. I find it
reassuring to use Linux for this purpose because I feel confident
that cp or rsync will copy _every file on the drive_ without just
silently ignoring those marked with the hidden flag, or bitching
about permissions.


I prefer to save the entire partition with PING (Partimage Is Not  
Ghost)

or equivalent tools to avoid gotchas with charsets.
rsync and cp are excellent, but you have to mount the partition  
with the

right options not to loose coherence in file naming.


Thanks! I'll look into PING. The documentation on PING's homepage  
seems a little scanty, but I'm sure a Google will be a bit more  
forthcoming.


There are a couple of reasons I appreciate copying on a file-by-file  
basis - I don't know if PING would allow me the same flexibility.


Firstly, if I undertake a full format-and-install of XP, I like to  
copy back _every file_ from the old system back into a folder called  
C:\Old Stuff (and place a shortcut to this on the user's desktop).  
I find this more reassuring than, say, copying just My Documents  
because occasionally programs save their data somewhere stupid. For  
instance, I recently discovered that the software for a Canon camera  
- which offers to automagically import one's photos when the camera  
is plugged in - stores the pictures in Program Files/Canon/PhotoEx/ 
Library.


When I return the PC to the customer I open Old Stuff, find the old  
My Documents and copy the contents into their new My Documents. I  
then right-click on the Old Stuff desktop shortcut and choose  
search - I find their internet Favourites folder, and show them how  
one would find (for example) a file called letter, so that anything  
I've missed they can (hopefully) find for themselves.


In the case of the family photos in the Canon folder, I was very glad  
to have the whole original contents of the drive available!! I was  
able to subsequently copy them to My Photos and tell the software to  
use this as its library, but it might have been inconvenient had I  
used a tool that backed up the partition as a single image - I don't  
think I'd have been able to recover single files from that once back  
onsite at the customer's house and booted into XP?


I tend to take this copy-every-file-on-the-system approach so that if  
ever there is a problem with a file missing from backup I can put my  
hand on my heart and say, if it was on your PC before, then you  
still have a copy of it. I tend to delete only temp, temporary  
internet files, recycled, recycler and system volume  
information directories, plus the old hiberfile (spelling?)   
pagefile. Ideally, when a Windows reinstall is required, I suppose I  
would prefer to preserve completely the original hard-drive, and to  
do the new reinstall on a brand new hard-disk. However disks are  not  
yet quite cheap enough that one could normally justify the additional  
expense to a domestic customer, and besides, it would rather seem  
like a waste to consume a perfectly good hard-drive as a backup that  
is unlikely ever to be referenced.


I also find discrete-file copying useful when a computer needs a  
repair-install of XP, but the PC OEM has configured it with some  
stupid partitioning scheme (probably packaged with a System Restore  
partition) that is unrecognised by a Microsoft installation CD. In  
this case one may be able to back up all the files on the disk,  
delete the partition table, create a new single primary NTFS   
partition, copy the files back, (edit the boot.ini, if necessary) and  
then repair install over the top (which also creates the master boot  
record). There are times when an unbootable system may be recovered  
to a perfectly usable state, complete with all the users' files   
settings intact (and consequently, with little disruption for the  
user). `ntfsclone` might well allow me to do this same thing - as  
might PING? - however I haven't yet explored its possibilities - I  
wonder about how (well) an ntfscloned secondary-partition might be  
restored as a primary, for example.


I have experienced file-copy failures using `rsync` and `cp`, and  
this was quite disconcerting until I discovered the cause likely to  
be the charset-related problem you mention. I now redirect stderr to  
a file when copying  review this afterwards - I don't know whether  
I'm fortunate with the charset used in the UK, but so far I might  
typically find that only 1 or 3 files from Temporary Internet Files  
fail (amongst the thousands on a Windows hard-drive), so it has not  
(yet) been a problem here.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Mike Edenfield

Mark Knecht wrote:

On Sat, Mar 29, 2008 at 10:46 AM, Norberto Bensa [EMAIL PROTECTED] wrote:
  

Mark Knecht wrote:
  I never emerge everything I see in the list since most are
  dependencies themselves and I don't want to add them to my world file.
 

 emerge -1 what-ever-dep-you-dont-want-in-world



Of course, if I Want to figure out which 10 items shouldn't be in my
world file. I'm doing that right now with an openmotif emerge. However
I was saying that if I see a big list of items, do equery depends one
of the items, see something like k3b or even gnome, then emerging
gnome picks up the dependencies even easier than using -1. At least I
feel that way, but that's just me.

- Mark
  
I usually do this too, unless the number of ports to upgrade is very 
small.  One tip that might save you time, add --tree to your emerge call 
and you can tell at a glance when an ebuild with a lot of dependencies 
is in your list.

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-29 Thread Stroller


On 28 Mar 2008, at 16:43, 7v5w7go9ub0o wrote:


Stroller wrote:
snip important, informative stuff
Be aware that sometimes Windows isn't cleanly fixable. Although I  
try to avoid it until I've exhausted avenues for a clean repair,  
sometimes the best thing to do is simply to back-up  reinstall.


Think this is a great write up.

The last paragraph seems most important - given today's
professionally-authored compromises, the best thing to do may be  
presume
that you've been rooted with redundancy, and simply be prepared to  
quickly rebuild the box from scratch.


Especially if you use the computer for business or other sensitive  
matters.


Certainly. I have a number of machines which use roaming-profiles on  
a Windows domain, mail stored on an IMAP server, and I would have no  
hesitation in reinstalling if I thought it necessary.


So arguably, one should use the second OS (Linux or Windows) as a  
diagnostic tool to determine if it's compromised or not, and except  
for something simple (e.g. an infection vector caught before  
activation by an AntiTrojan scanner in a browser cache, mail  
letter, etc.), one should simply rebuild the box.


I take your point on board - it depends upon how paranoid you want to  
be over the particular PC and its use.


I don't mean paranoid in a negative way, here, of course.

So to the above, I'd add a have a rebuild strategy  i.e. copies  
of data (not executables), addresses, passwords, etc. that can be  
quickly returned to a rebuilt OS. Windows benefits greatly from  
rebuilding - a rebuilt box will seem quicker and faster than ever  
before, and won't have lingering relics from earlier maintenance  
levels.


Yes, this is great if you can. Unfortunately many of the most-hosed  
Windows PCs tend to come from home users who have no backup regimen  
in place. How can one be sure that _all_ data is restored? Many times  
my customers - those that use Outlook or Outlook Express - have no  
idea of their email password or wireless-network key, having had the  
remember box ticked since they set the machine up 2 years ago.


I would attribute most of the breakage I see not to sophisticated  
viruses, but to poorly-written sponsorware. to adware removers  
that may delete files arbitrarily, to Windows bugs and to filesystem  
corruption (for instance: because the user likes to switch their PC  
off at the wall-socket, and was too impatient when it was shutting  
down!).


Oftentimes, a Windows reinstall gives as much performance improvement  
as buying a new PC would do, and many users are very glad to get a  
new machine that is so clean and fresh (this is characterised by  
the reduced number of icons on the desktop - from 30+ to about 5!).  
But this has to be compromised against disruption to the user's  
environment - they may be very familiar with the way everything's set  
up, and all their favourite software is installed. With a not-booting- 
but-otherwise-fairly-clean PC this may tip the balance. Unfortunately  
one often cannot tell whether reinstall or repair is the best  
solution until one has already made a good attempt at repairing the  
system!! And you often don't discover which software - amongst all  
the crud of different p2p, photo programs and whatnot - that users  
depend on, until you after return the machine and they complain my  
icon is missing (with usually only a very generic description of  
what the icon does).


One of my biggest bugbears against reinstalling is drivers. Dell   
Sony are wonderful! You just enter the tag or model number on their  
website and the correct drivers are listed. Advent - and here, in the  
UK, other brands of computer which are only available exclusively  
from PC World - can be a royal PITA, and once every month or two I  
encounter a machine for which it takes HOURS to find the correct  
drivers for all devices.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: rhythmbox plays silently

2008-03-29 Thread Stroller


On 28 Mar 2008, at 22:01, Hal Martin wrote:

Michael Schmarck wrote:

Alan McKinnon [EMAIL PROTECTED] wrote:

Now, onto your actual problem. It is exceptionally hard to even  
attempt
to provide a solution unless someone else fixed the exact same  
problem

before, as you have not provided any configuration at all and very
little useful information.


What would you have wanted to see? I wrote that sound works. You
don't need more information.


Hence your post was as much noise as mine
was.


That's why other people, or at least Andrey, was able to help,  
where as

you were just a moron.


Not to dig up this unpleasantness again, but there are some things I'd
like to point out for future reference (for all people, including me,
who will post questions with hopes of getting useful answers.)

...

Great, and now you've noticed that Totem, another GStreamer program,
isn't outputting sound. Therefore, instead of just blowing off the



previous poster, you could actually include that information.


Hi there,

I, too, thought about saying something like this at the time. I'm  
glad you have done so and I agree with all your points.




Michael:

Alan's reply was harmless. You're not entitled to pick on him unless  
you posted correctly in the first place.


You're asking for help - provide as much information as possible and  
please don't antagonise people (especially because they may be able  
to help you!).


If you want help then it's YOUR responsibility to provide as much  
information as possible. Help people to help you, and make it easy  
for them to do so. Providing a dearth of information requires  
respondents to type more, making suggestions which accommodate all  
the possibilities which you've failed to eliminate.


Oftentimes, just making the effort to demonstrate your problem  
correctly - for example showing permissions with `ls -l /dev/audio`  
and `grep audio /etc/group` - will show you the problem lies. You'll  
slap your forehead, curse yourself, take a little pride in having  
solved the problem yourself, learn something, and save you troubling  
others with your problem.


Othertimes making a post can take hours, compiling relevant  
information from a terminal window. But I speak from experience when  
I tell you that this may provoke a very quick response which  
immediately diagnoses your problem and provides a resolution that can  
be applied in minutes.



I, too, know what it's like to receive a reply to one of my questions  
which I find to be unhelpful and aggravating. However, two wrongs  
don't make a right and no-one benefits from an angry response.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Neil Bothwick
On Sat, 29 Mar 2008 10:56:37 -0700, Mark Knecht wrote:

I never emerge everything I see in the list since most are
dependencies themselves and I don't want to add them to my world
file. 
 
   emerge -1 what-ever-dep-you-dont-want-in-world
   
 Of course, if I Want to figure out which 10 items shouldn't be in my
 world file.

There's nothing to figure out, packages that need to be in your world
file are already there, so an update never needs to add anything and you
can safely use --oneshot with all the packages you pick from the emerge
-up world output.


-- 
Neil Bothwick

I have had a perfectly wonderful evening, but this wasn't it.


signature.asc
Description: PGP signature


[gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Michael Schmarck
Hal Martin hal.martin at gmail.com writes:

 
 Michael Schmarck wrote:
  Alan McKinnon alan.mckinnon at gmail.com wrote:
 

  Now, onto your actual problem. It is exceptionally hard to even attempt
  to provide a solution unless someone else fixed the exact same problem
  before, as you have not provided any configuration at all and very
  little useful information.
  
 
  What would you have wanted to see? I wrote that sound works. You
  don't need more information.
 

  Hence your post was as much noise as mine 
  was. 
  
 
  That's why other people, or at least Andrey, was able to help, where as
  you were just a moron.

 Not to dig up this unpleasantness again, but there are some things I'd
 like to point out for future reference (for all people, including me,
 who will post questions with hopes of getting useful answers.)

  Nonetheless I shall try, so please provide the following: 
  
 
  How nice from you, now that the problem has been solved.

 Yes, I'm aware that this particular problem has been solved, however I'd
 still like to highlight a few things about it.

  1. the output of lspci as it relates to audio so we can see what
  hardware you have
  
 
  Why should that matter? After all, sound playback works (in other
  programs).

 It doesn't matter, but it's information people care about. 

Fine. Do you also care about the size of my shoes? It's a german
46 - and yes, I *do* think, that it is just as important. :)

 It helps us
 to do our voodoo stuff and get back to you with an answer (it's quantity
 over quality at this point of the answering stage.)

  2. What engine does rhythmbox use? gstreamer? If so, do other gstreamer
  apps work correctly on your box?
  
 
  That was the million dollar question.

 Great, and now you've noticed that Totem, another GStreamer program,
 isn't outputting sound. Therefore, instead of just blowing off the
 previous poster, you could actually include that information.

You mean Alan? He hasn't been helpful at all. I don't see, why such
people should not be blown off.

First he tried to be funny with his snide KDE remark. Then he
wrote non-helpful (and as it turned out: wrong) comments about
some non-existant circular dependencies. And he also failed to
correctly read the gst-plugins-meta ebuild. No, he was not helpful
at all.


  3. With what options did you compile rhythmbox and gstreamer (if
  applicable)?
  
 
  Does not matter.

 Actually, it does.

No, it does not. It doesn't have any USE flags that would matter
there.

Anyway, it's been compiled with these flags:

[ebuild   R   ] media-sound/rhythmbox-0.11.2-r1  USE=-daap dbus -debug -doc 
-flac hal -ipod -keyring libnotify -lirc mad -musicbrainz python tagwriting 
vorbis 3,454 kB 

No, there's no important information. As I said, rb was able to play
the file. There just wasn't any sound.

 Contrary to your belief that programs have the
 ability to read your mind 

Just don't assume that I'm doing that, just because you're so naive.

 and compile with all the flags they need to
 function in every foreseeable way, real world applications need flags.

Oh, really? Tell news! But you know what, rb doesn't need any additional
flags. And you already knew that.

 Posting them with your question allows for the quantity of answers to go
 down, while the quality of the remaining ones to improve greatly.
 Knowing from the beginning that you compiled GStreamer with -oss but not
 alsa would've helped greatly.

What? I have alsa set. And -oss. But this information was not necessary,
because the problem was caused by the bug that rb used to depend on
gst-plugins-base and that -base used to have alsa/oss/what-not use flags.
That's no longer the case. Instead applications now need to depend on
gst-plugins-meta - and that's the case with rhythmbox of Gnome 2.22.

  4. Lastly, this is out on left field, please confirm that rhythmbox is
  indeed using alsa and not oss
  
 
  Question 2 covers that.

 No, it doesn't.

Yes, it does.

 You just deferred your answer instead of actually
 confirming that the rhythmbox *engine* used either ALSA or OSS.

Because it doesn't matter. rb uses gst. gst may use either engine.
No engine was installed. Reason: Missing dependencies (but that's
rectified in rhythmbox 2.22, per what Marduk wrote).

  Michael
 

 Not trying to start a flame war between anywhere here, but I'm just
 trying to make a point. Posting information, no matter how useless it
 may seem to you, helps us help you. For example,

No, that's not good. Only relevant information should be posted.
It's no good to flood people (or supporters) with unrelated
and not important information. Instead, it's good to only send 
important information.

 Again, not trying to restart any disagreements previously stemming from
 this topic, I'm just trying to establish a clear method for reporting
 problems so that we cut out all the guess work on the part of 

[gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Michael Schmarck
Stroller stroller at stellar.eclipse.co.uk writes:


 Hi there,
 
 I, too, thought about saying something like this at the time. I'm  
 glad you have done so and I agree with all your points.

I don't. I disagree with his most important point: It's no good
to post as much information as possible. Instead, the amount of
information posted should be condensed to only the important
pieces.

 Michael:
 
 Alan's reply was harmless. You're not entitled to pick on him unless  
 you posted correctly in the first place.

So, I *am* entitled. Thanks!

 You're asking for help - provide as much information as possible and  
 please don't antagonise people (especially because they may be able  
 to help you!).

Now, please go back and read Alans first post in the thread. It
absolutely did not sound, as if he even wanted to help.

 If you want help then it's YOUR responsibility to provide as much  
 information as possible. 

Well, no, not as possible, but rather as required. And that's been
done.

 Help people to help you, and make it easy  
 for them to do so.

Yes. That's been done. Once more: The problem was, because rhythmbox
of Gnome 2.20 is missing an (indirect) dependency on gst-plugins-alsa.
That's fixed in 2.22.

 I, too, know what it's like to receive a reply to one of my questions  
 which I find to be unhelpful and aggravating. However, two wrongs  
 don't make a right and no-one benefits from an angry response.

Oh, so it's now my fault for responding to a flamebait? Nice. It's
not the aggressor who's doing something wrong?

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Alan McKinnon
On Saturday 29 March 2008, Michael Schmarck wrote:
  I, too, know what it's like to receive a reply to one of my
  questions   which I find to be unhelpful and aggravating. However,
  two wrongs don't make a right and no-one benefits from an angry
  response.

 Oh, so it's now my fault for responding to a flamebait? Nice. It's
 not the aggressor who's doing something wrong?

I started this, so I guess I have the right to make the following 
request:

Can we drop this sub-thread now, please?

Michael, I don't see how you could read my original post as flamebait. 
You were not supposed to respond, I did not intend you to take offence 
and it was a harmless joke. Where I come from it's a self-deprecating 
in-joke and it goes like this:

Q: Hmmm, app xyz is broken. What could be wrong?
A: It's software. Come now, you really didn't expect it to work did you? 

You have every right in the world to take away from this thread whatever 
you want, and I have now explained publicly what I meant. If we still 
disagree, then that's 100% fine by me but I think we should get this 
out of these other fine folk's inbox.

You have an answer and a solution that appears to suit you. That's a 
good point to end this at.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Alan McKinnon
On Saturday 29 March 2008, Kevin O'Gorman wrote:
 I've got a problem with the colors that are used in Gentoo stuff.
 I run KDE, and my terminals are generally konsoles.
 The colors used by portage, ls and vim always seem to have
 portions that are unreadable because of low contrast -- the
 text blends into the background.

 I've tried different konsole schemata, and find that different things
 work for different purposes, but there's no one schema  that I
 can just leave in place and forget.

 I use 'light paper' for starters.  The 'linux colors' scheme is good
 for some things, but I the darker colors don't show up well on it
 (blue in particular), and I pretty much avoid dark backgrounds
 when I can because I think they're depressing and they give
 me eyestrain.

I've always used Linux Colours, on crt and on lcd displays. Contrast 
works fine for me. What display device do you use?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] ffmpeg ffserver problems

2008-03-29 Thread dexters84
I'm trying to create a streaming server using ffmpeg, and I'm stuck, so 
please advise if You can.

I've tested :

   * *ffmpeg-0.4.9_p20080326*
   * *ffmpeg-0.4.9_p20070616*

Both versions behave the same way. This is my emerge -pv ffmpeg
/media-video/ffmpeg-0.4.9_p20080326  USE=a52 aac amr bindist debug doc 
encode imlib mmx mp3 network theora threads x264 xvid zlib -X (-altivec) 
-hardcoded-tables -ieee1394 -ipv6 -sdl -test -truetype -vorbis/


This command:
*# ffmpeg -r 25 -s 352x288 -y -f video4linux2 -vc 1 -i /dev/video0 -f 
oss -itsoffset 00:00:00.500 -i /dev/dsp -isync -vcodec wmv1 -acodec 
wmav1 /tmp/test.wmv

*gives me a perfect wmv file created from bt878 card and audio card

Unfortunatelly when I run:
*# ffserver -f /etc/ffserver/ffserver.conf
# ffmpeg -r 25 -s vga -y -f video4linux2 -vc 1 -i /dev/video0 -f oss 
-itsoffset 00:00:00.500 -i /dev/dsp -isync http://localhost:8090/feed.ffm*
I get no viewable steam from ffserver, although everything is encoding 
like it should (at least that is what shell tells me)


My ffserver.conf : (the important parts atleast)

#
Port 8090
BindAddress 0.0.0.0
MaxClients 1000
MaxBandwidth 2
CustomLog /var/log/ffserver/access_log

Feed feed.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
/Feed

Stream stream.asf
Feed feed.ffm
Format asf
AudioBitRate 64
AudioChannels 1
AudioSampleRate 22050
VideoBitRate 256
VideoBufferSize 400
VideoFrameRate 15
VideoSize 160x128
VideoGopSize 25
AudioCodec wmav1
VideoCodec wmv1
VideoQMin 3
VideoQMax 16
Preroll 15
StartSendOnKey
/Stream
###


Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Stroller


On 29 Mar 2008, at 20:39, Michael Schmarck wrote:

Stroller stroller at stellar.eclipse.co.uk writes:


I, too, thought about saying something like this at the time. I'm
glad you have done so and I agree with all your points.


I don't. I disagree with his most important point...


Yes, but you're demonstrating yourself to be a clueless idiot.


Alan's reply was harmless. You're not entitled to pick on him unless
you posted correctly in the first place.


So, I *am* entitled. Thanks!


No, you're not.


You're asking for help - provide as much information as possible and
please don't antagonise people (especially because they may be able
to help you!).


Now, please go back and read Alans first post in the thread. It
absolutely did not sound, as if he even wanted to help.


That doesn't matter. Please don't antagonise people, full-stop.


I, too, know what it's like to receive a reply to one of my questions
which I find to be unhelpful and aggravating. However, two wrongs
don't make a right and no-one benefits from an angry response.


Oh, so it's now my fault for responding to a flamebait? Nice. It's
not the aggressor who's doing something wrong?


It was NOT flamebait. It was HARMLESS.

Grown up!

Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -aDNvu world fails

2008-03-29 Thread Gregory Shearman
Kevin O'Gorman wrote:

 I cannot emerge world any more because portage keeps barfing on some
 random java ebuild.
 Java's not even in the list of things to emerge, but here's what I see:
 
 Total: 14 packages (14 upgrades), Size of downloads: 99,898 kB
 
 Would you like to merge these packages? [Yes/No] yes
 Verifying ebuild Manifests...
 
 !!! Digest verification failed:
 !!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
 !!! Reason: Failed on RMD160 verification
 !!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
 !!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
 treat init.d #
 
 
 I've tried deleting the offending file and re-syncing, but the same error
 occurs.
 
 Help???
 
 ++ kevin
 

https://bugs.gentoo.org/show_bug.cgi?id=215288

[]

Workaround:
remove EBUILD line from Manifest
remove /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild

[...]


-- 
Regards,

Gregory.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Michael Schmarck
Alan McKinnon alan.mckinnon at gmail.com writes:

 
 On Saturday 29 March 2008, Michael Schmarck wrote:
   I, too, know what it's like to receive a reply to one of my
   questions   which I find to be unhelpful and aggravating. However,
   two wrongs don't make a right and no-one benefits from an angry
   response.
 
  Oh, so it's now my fault for responding to a flamebait? Nice. It's
  not the aggressor who's doing something wrong?
 
 I started this, so I guess I have the right to make the following 
 request:
 
 Can we drop this sub-thread now, please?
 
 Michael, I don't see how you could read my original post as flamebait. 

You don't see, how your KDE comment can be seen as a flamebait? Well,
too bad.

 You were not supposed to respond,

You were not supposed to post such a comment in the first place.

 I did not intend you to take offence 
 and it was a harmless joke.

If it was indeed supposed to be a joke, then it was a very bad
one, especially as it was not visibile as a joke.

 You have an answer and a solution that appears to suit you.

Not just me. As it turned out, the problem I had was due to a 
bug in the Gentoo rhythmbox-2.20 package. It lacked proper
dependencies. That is fixed in 2.22. Everything is fine.

 That's a 
 good point to end this at.

Yes. 

Michael



-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rhythmbox plays silently

2008-03-29 Thread Michael Schmarck
Stroller stroller at stellar.eclipse.co.uk writes:

 On 29 Mar 2008, at 20:39, Michael Schmarck wrote:
  Stroller stroller at stellar.eclipse.co.uk writes:
 
  I, too, thought about saying something like this at the time. I'm
  glad you have done so and I agree with all your points.
 
  I don't. I disagree with his most important point...
 
 Yes, but you're demonstrating yourself to be a clueless idiot.

And why's that? As shown, the problems were due to the way the
rhythmbox (or totem) package was built. I'm now an idiot because
I've been biten by such a bug? And in how far am I clueless? Just
because you see things differently then I do?

  Alan's reply was harmless. You're not entitled to pick on him unless
  you posted correctly in the first place.
 
  So, I *am* entitled. Thanks!
 
 No, you're not.

But you said, that I am. Could you please stop changing your mind?

  You're asking for help - provide as much information as possible and
  please don't antagonise people (especially because they may be able
  to help you!).
 
  Now, please go back and read Alans first post in the thread. It
  absolutely did not sound, as if he even wanted to help.
 
 That doesn't matter. Please don't antagonise people, full-stop.

Yes, it absouletly does matter. It makes all of a difference.

  I, too, know what it's like to receive a reply to one of my questions
  which I find to be unhelpful and aggravating. However, two wrongs
  don't make a right and no-one benefits from an angry response.
 
  Oh, so it's now my fault for responding to a flamebait? Nice. It's
  not the aggressor who's doing something wrong?
 
 It was NOT flamebait.

It was. Even if it maybe was not the intention. And you can see that
it was, if you have a look at the subthread.

 It was HARMLESS.

Yes.

In your world, an aggressor is doing nothing wrong? Do I understand
that right?

Well, that's something were we seem to disagree.

 Grown up!

Get real.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list