Re: [gentoo-user] glsa-check question

2008-05-31 Thread PaulNM

Marco Simeone wrote:

Hello.
Do you know why glsa-check tells me to update sun-jdk, even if it's alredy
updated ?

# glsa-check -p $(glsa-check -t all)
This system is affected by the following GLSAs:
Checking GLSA 200705-23
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06)

Checking GLSA 200702-07
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06)

Checking GLSA 200701-15
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06)

On my system there are installed sun-jdk-1.6.0.06 and sun-jdk-1.4.2.17
(required by eclipse-sdk-3.2),  but not sun-jdk-1.5.0.15.

Thanks,
Marco.

It's not saying what you think. Glsa-check wants to update java by 
downgrading it. See bug http://bugs.gentoo.org/show_bug.cgi?id=222861


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



Re: [gentoo-user] K3b complains about my locale

2008-05-31 Thread Mick
On Saturday 31 May 2008, Kevin O'Gorman wrote:

 I did not have 02locale in /etc/env.d/dir, although there was a lot of
 other stuff in that directory.
 I added the two lines.
 I ran env-update
 I ctl-alt-backspace restarted my KDE/X system
 I clicked k3b on the Multimedia submenu

 It barked at me again about x3.4-1968.

 So something isn't getting set up.

 I have a feeling about 02locale being so specific.  Why 02.  Back in
 the days when I had
 a similar thing going on with SysV Init, we had such stuff in our rc.d
 directory for run levels.
 Most of those files got installed by particular owning packages.  Would
 anyone who has
 this file, and does not think they created it from scratch, please find out
 what package
 it belongs to?  Thanks.

I can't comment on the 02locale, because I have not used it.  However, on my 
machine setting up either the LANG=en_GB, or LC_ALL=en_GB does the trick and 
k3b does not complain about charset ANSI_X3.4-1968 and what not.  

Just a thought - have you run # locale-gen first?
-- 
Regards,
Mick


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


Re: [gentoo-user] Java default Swing stile

2008-05-31 Thread Florian Philipp
On Fri, 30 May 2008 22:04:55 +0200
Dirk Uys [EMAIL PROTECTED] wrote:

 On Fri, May 30, 2008 at 9:20 PM, Florian Philipp
 [EMAIL PROTECTED] wrote:
  Hi list!
 
  I've recently started both programming and using some Java
  applications (not that I would have a choice ...).
 
  Well, anyway, as it seems the default style for Swing is set to
  Metal, Java's own rather ugly and non-conforming variant. Is there
  a way to set this to GTK, QT or whatever I have here other than
  through the functionality in the programs themeselve?
  Or is it really the Java-VM who's dictating what's the default for a
  given platform (Windows/Linux)?
 
  Thanks in advance!
 
  Florian Philipp
 
 
 I think the JVM defaults to motif, it's supported on most platforms. I
 found this on the web:
 
 start-quote
 Yes, it is possible.
 
 In the ~/java/lib dir, create / edit a file with name
 swing.proprierties:
 
 Change the line:
 
 swing.defaultlaf=com.sun.java.swing.plaf.CURRENTLO OKANDFEEL
 
 to
 
 swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLo okAndFeel
 /end-quote
 
 Don't know if it works though?

No, unfortunately not. I also tried ~/.java
and /opt/sun-jdk-1.6.0.06/ but it's just ignored.

Thanks anyway!


signature.asc
Description: PGP signature


Re: [gentoo-user] chroot problem

2008-05-31 Thread Peter Humphrey
On Thursday 29 May 2008 10:50:59 [EMAIL PROTECTED] wrote:
 Wolf Canis [EMAIL PROTECTED]
  Only for verification, have you under /mnt/rescue /bin/bash?
  Or with other words have this /mnt/rescue/bin/bash?
  And with the appropriate permissions?

Yes, I said so the first time.

  W. Canis

 Just in case, you'll also need proper permissions for /mnt/rescue/lib and
 libraries inside there. Bash dinamically loads libraries, so the user
 running it must have execution perms over invoked libraries.

 That puzzled me for two weeks till I finally fixed it last saturday :-P

No, that isn't it either. I'm doing everything as root, as one would when 
installing or repairing the system. I never have got chrooting working as 
an ordinary user.

I installed both the rescue system and the main system from the current 
installation CD, whichever that was - 2007.1, I think. In each case, I 
continued the installation to build the system I wanted: KDE on the main 
system and only a few tools on the rescue system. I didn't mess about with 
essential system components like bash.

Is it possible that chrooting from one bash version to another is my 
problem? I think they're the same, and it'll take me some time to check.

Or maybe the problem is in the chroot function in the system I'm leaving.

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



Re: [gentoo-user] chroot problem

2008-05-31 Thread Peter Humphrey
On Thursday 29 May 2008 10:28:40 Dirk Heinrichs wrote:
 Am Donnerstag, 29. Mai 2008 schrieb ext Peter Humphrey:
  What am I doing wrong?

 Just a wild guess: /mnt/rescue mounted with noexec?

No, that isn't it.

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



Re: [gentoo-user] chroot problem

2008-05-31 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Humphrey wrote:
[...]
 # cd /mnt/rescue
 # mount -tproc proc proc
 # mount -obind /dev dev

I mean that the mount commands should be:

# mount -tproc proc /mnt/rescue/proc
# mount -obind /dev /mnt/rescue/dev

I just build a mini chroot environment. My working
directory is /root.
I create under /root a directory x. The contents under x
is:

# ls -R
x:
bin  dev  lib  proc

x/bin:
bash

x/dev:

x/lib:
ld-linux.so.2  libc.so.6  libdl.so.2  libncurses.so.5

x/proc:

Then my mount commands:

# mount -tproc proc x/proc
# mount -obind /dev x/dev

Then chroot:

# chroot /root/x /bin/bash
wolf-di6400 0(0) 10:38 AM  / #


Hope that helps.

W. Canis
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhBKyMACgkQKT9zBKF0twWttgCffzjUSQZAxNBZcAwf9avjvZYa
YDoAn1Rw5y18equ4b+27hAhCnboyfF0x
=Um4X
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] glsa-check question

2008-05-31 Thread Justin

Marco Simeone schrieb:

Hello.
Do you know why glsa-check tells me to update sun-jdk, even if it's 
alredy updated ?


# glsa-check -p $(glsa-check -t all)
This system is affected by the following GLSAs:
Checking GLSA 200705-23
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06 http://1.6.0.06)

Checking GLSA 200702-07
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06 http://1.6.0.06)

Checking GLSA 200701-15
The following updates will be performed for this GLSA:
 dev-java/sun-jdk-1.5.0.15 (1.6.0.06 http://1.6.0.06)

On my system there are installed sun-jdk-1.6.0.06 and sun-jdk-1.4.2.17 
(required by eclipse-sdk-3.2),  but not sun-jdk-1.5.0.15.


Thanks,
Marco.
I noticed this a while ago and reported it to the sec herd. They say 
that this something related to the way the glsa check works. That means 
every new version has to proofed to be not affected. If you do


   $ glsa-check -d 200705-23

you find this Vulnerable:1.6.0.01. So glsa-check found 
version 1.6.0.6 to be affected and report this to you.



Reported it directly to the Sec herd or make a bug report to get this fixed.

Probably you like to ask why a package is marked stable but not be 
proofed to be not affected by reported glsa's!? 



As an easy work around you can inject them,

glsa-check -i 200705-23.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] chroot problem

2008-05-31 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolf Canis wrote:
 Peter Humphrey wrote:
 [...]
 # cd /mnt/rescue
 # mount -tproc proc proc
 # mount -obind /dev dev
 
 I mean that the mount commands should be:
 
 # mount -tproc proc /mnt/rescue/proc
 # mount -obind /dev /mnt/rescue/dev

Ooops, I overlooked your cd command. Therefore the
mount command is of course correct. :-[

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhBSZgACgkQKT9zBKF0twXnmgCeKd9BcrcinpSFZYlYHH6JkYmJ
TAUAnjVNmHArsqLbx3nclUPDhIZqQzbW
=nt4b
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] K3b complains about my locale

2008-05-31 Thread Kevin O'Gorman
On Sat, May 31, 2008 at 12:53 AM, Mick [EMAIL PROTECTED] wrote:

 On Saturday 31 May 2008, Kevin O'Gorman wrote:

  I did not have 02locale in /etc/env.d/dir, although there was a lot of
  other stuff in that directory.
  I added the two lines.
  I ran env-update
  I ctl-alt-backspace restarted my KDE/X system
  I clicked k3b on the Multimedia submenu
 
  It barked at me again about x3.4-1968.
 
  So something isn't getting set up.
 
  I have a feeling about 02locale being so specific.  Why 02.  Back in
  the days when I had
  a similar thing going on with SysV Init, we had such stuff in our rc.d
  directory for run levels.
  Most of those files got installed by particular owning packages.  Would
  anyone who has
  this file, and does not think they created it from scratch, please find
 out
  what package
  it belongs to?  Thanks.

 I can't comment on the 02locale, because I have not used it.  However, on
 my
 machine setting up either the LANG=en_GB, or LC_ALL=en_GB does the trick
 and
 k3b does not complain about charset ANSI_X3.4-1968 and what not.

 Just a thought - have you run # locale-gen first?
 --

 Just to be sure, I re-ran locale-gen just now.  It reported two problems
with a Polish
locale (that I do not use):

treat ~ # locale-gen
 * Generating 6 locales (this might take a while) with 1 jobs
 *  (1/6) Generating en_US.ISO-8859-1 ...  [ ok ]
 *  (2/6) Generating en_US.UTF-8 ...  [ ok ]
 *  (3/6) Generating es_MX.ISO-8859-1 ...   [ ok ]
 *  (4/6) Generating fr_FR.ISO-8859-1 ... [ ok ]
 *  (5/6) Generating [EMAIL PROTECTED] ... [ ok ]
 *  (6/6) Generating pl_PL.ISO-8859-15 ...
/usr/share/i18n/locales/pl_PL:2130: LC_MONETARY: unknown character in field
`currency_symbol'
/usr/share/i18n/locales/pl_PL:2161: LC_TIME: unknown character in field
`day'  [ !! ]
 * Generation complete
treat ~ #


I then ran env-update, restarted X, chose K3B from a KDE menu, and it
complained again.
So: no joy.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] K3b complains about my locale

2008-05-31 Thread Neil Bothwick
On Sat, 31 May 2008 07:05:14 -0700, Kevin O'Gorman wrote:

 Just to be sure, I re-ran locale-gen just now.  It reported two
 problems with a Polish locale (that I do not use):

Then remove it from /etc/locale.gen. you can remove the Spanish and
French ones too, if you don't use those languages.


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


signature.asc
Description: PGP signature


[gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Marc Blumentritt

Hi,

I want to modify the PATH variable for every user by adding this file in 
/etc/env.d :


hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

The dir /bblinks does exist, but my PATH variable is not changed. I did 
run env-update  . /etc/profile : No change, reboot: no change.


What am I doing wrong?

Thanks for any advice.
Marc


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



[gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Marc Blumentritt

Hi,

I want to modify PATH for every user by adding this file in /etc/env.d:

hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

Neither env-update  . /etc/profile nor a reboot adds /bblinks to my PATH.

Any advice?
Marc

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



Re: [gentoo-user] chroot problem

2008-05-31 Thread Alexander Meinke

Wolf Canis wrote:

# mount -tproc proc /mnt/rescue/proc
# mount -obind /dev /mnt/rescue/dev


Ooops, I overlooked your cd command. Therefore the
mount command is of course correct. :-[


Hi,

I think this is, although the 'cd' command is executed, necessary as the mount 
command looks at /etc/fstab and if e.g. 'proc' is specified at command line 
mount uses information from fstab.

However, I think this problem is whether mount nor bash related. Try

# mount -tproc proc /mnt/rescue/proc
# mount -obind /dev /mnt/rescue/dev
# chroot /mnt/rescue /bin/bash

Especially check the permissions of /mnt/rescue/bin/bash and /bin/bash. They 
should be at least 0755. In case of there are several permission problems last 
time on my system ('up-to-date-system', no ~*) rebuild the package that include 
'chroot' so that right permissions are set for the program and its libs.


I hope this helps in any way and excuse me for that bad English.


Regards,

acm.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] quickcam pro 4000

2008-05-31 Thread Paul Sobey

James wrote:


I have this usb camera installed (or so I think):

lsbus:
Bus 004 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000

/etc/udev/rules.d/40-video.rules has this entry:
KERNEL==video[0-9]*,  NAME=v4l/video%n, SYMLINK+=%k, GROUP=video


So what is a good application to view the live video with?


This used to work really well with the pwc set of drivers, but support 
was removed from the kernel, and thus Gentoo, a few months ago. I ended 
up buying a Logitech Quickcam 9000 to replace mine, which has much 
better picture, and is supported by the uvc set of drivers - these seem 
to be under more active development.



Sorry I don't have a better answer!

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



Re: [gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Stroller


On 31 May 2008, at 21:01, Marc Blumentritt wrote:


Hi,

I want to modify PATH for every user by adding this file in /etc/ 
env.d:


hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

Neither env-update  . /etc/profile nor a reboot adds /bblinks to  
my PATH.


Any advice?


$ grep ^PATH /etc/env.d/*
/etc/env.d/00basic:PATH=/opt/bin
/etc/env.d/05gcc-i386-pc-linux-gnu:PATH=/usr/i686-pc-linux-gnu/gcc- 
bin/4.1.1
/etc/env.d/05gcc-i686-pc-linux-gnu:PATH=/usr/i686-pc-linux-gnu/gcc- 
bin/4.1.2
/etc/env.d/20java:PATH=/opt/sun-jdk-1.4.2.17/bin:/opt/sun- 
jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws

$ grep PATH .*
.bashrc:export PATH=/bin:/sbin:/usr/bin:/usr/sbin:${PATH}
$

The path in my .bashrc adds to the existing path, but maybe you have  
something else there?


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



Re: [gentoo-user] K3b complains about my locale

2008-05-31 Thread Kevin O'Gorman
On Sat, May 31, 2008 at 12:38 PM, Neil Bothwick [EMAIL PROTECTED] wrote:

 On Sat, 31 May 2008 07:05:14 -0700, Kevin O'Gorman wrote:

  Just to be sure, I re-ran locale-gen just now.  It reported two
  problems with a Polish locale (that I do not use):

 Then remove it from /etc/locale.gen. you can remove the Spanish and
 French ones too, if you don't use those languages.

 I did, just as an experiment.  It made no difference to the main issue: no
locale is defined
for programs started from KDE menus, and K3B is complaining about the
resulting
ASCII (1968) definition.

I'd rather that the locale-gen worked, but that's a side issue.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] quickcam pro 4000

2008-05-31 Thread Statux
On Sat, 2008-05-31 at 23:15 +0100, Paul Sobey wrote:
 James wrote:
 
  I have this usb camera installed (or so I think):
  
  lsbus:
  Bus 004 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
  
  /etc/udev/rules.d/40-video.rules has this entry:
  KERNEL==video[0-9]*,  NAME=v4l/video%n, SYMLINK+=%k, GROUP=video
  
  
  So what is a good application to view the live video with?

I use ekiga with gnome for conferencing and camorama with the same
camera you have. I haven't found a video capturing program yet, though.
I hope someone knows of a nice one :-)

 This used to work really well with the pwc set of drivers, but support 
 was removed from the kernel, and thus Gentoo, a few months ago. I ended 
 up buying a Logitech Quickcam 9000 to replace mine, which has much 
 better picture, and is supported by the uvc set of drivers - these seem 
 to be under more active development.
 

PWC support was added back into the kernel a long time ago under the V4L
version 1 section of the configuration.

The licensing for the proprietary drivers was dropped way back (those
were the extra drivers that got you higher framerates and better quality
images, etc) and yes, the support was yanked from the kernel but said
support has been returned, which made me happy because, as I noted, I
too have one of these cameras.

 Sorry I don't have a better answer!
 
 Paul

-Statux


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



Re: [gentoo-user] K3b complains about my locale

2008-05-31 Thread Daniel Pielmeier

Kevin O'Gorman schrieb:

On Sat, May 31, 2008 at 12:38 PM, Neil Bothwick [EMAIL PROTECTED] wrote:


On Sat, 31 May 2008 07:05:14 -0700, Kevin O'Gorman wrote:


Just to be sure, I re-ran locale-gen just now.  It reported two
problems with a Polish locale (that I do not use):

Then remove it from /etc/locale.gen. you can remove the Spanish and
French ones too, if you don't use those languages.

I did, just as an experiment.  It made no difference to the main issue: no

locale is defined
for programs started from KDE menus, and K3B is complaining about the
resulting
ASCII (1968) definition.

I'd rather that the locale-gen worked, but that's a side issue.



Do you have something like LINGUAS=en in /etc/make.conf?

You can try to use the unicode charset [1] in /etc/env.d/02locale, maybe
k3b wants this.

LANG=en_US.utf8
LC_ALL=en_US.utf8


I also suggest going through the guide again and read thoroughly, often
there is only a tiny mistake a typo or something which makes things fail.

Can you tell us the output of:

locale
locale -a
cat /etc/locale.gen


[1] http://www.gentoo.org/doc/en/utf-8.xml

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