[gentoo-user] KDE4 transparent panel

2009-05-09 Thread Alan McKinnon
Hi all,

I was fiddling with Desktop Settings, and seem to have reverted my panel back 
to some default. Now I've lost my semi-transparent panel and it's replaced 
with some baby-blue thing. I've got lots of extra themes installed and can't 
find the one I used to have (doh...).Plus the logout dialog went back to 
standard.

Anyone know a theme that does this, and also actually puts the View Ignore 
text in Kopete's notification popups? There doesn't seem to be a transparency 
setting in the panel's own configuration, I reckon it's a theme thing?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KDE4 transparent panel

2009-05-09 Thread Volker Armin Hemmann
On Samstag 09 Mai 2009, Alan McKinnon wrote:
 Hi all,

 I was fiddling with Desktop Settings, and seem to have reverted my panel
 back to some default. Now I've lost my semi-transparent panel and it's
 replaced with some baby-blue thing. I've got lots of extra themes installed
 and can't find the one I used to have (doh...).Plus the logout dialog went
 back to standard.

 Anyone know a theme that does this, and also actually puts the View
 Ignore text in Kopete's notification popups? There doesn't seem to be a
 transparency setting in the panel's own configuration, I reckon it's a
 theme thing?

you can change the plasma themes in the workspace settings (right click on 
desktop) and search around. A lot of themes with transparency have some not-
so-nice looking mode when effects are turned off. (glaze for example - the bar 
at the bottom becomes greyish, other some kind of blue).




Re: [gentoo-user] KDE4 transparent panel

2009-05-09 Thread Alan McKinnon
On Saturday 09 May 2009 10:52:35 Volker Armin Hemmann wrote:
 On Samstag 09 Mai 2009, Alan McKinnon wrote:
  Hi all,
 
  I was fiddling with Desktop Settings, and seem to have reverted my panel
  back to some default. Now I've lost my semi-transparent panel and it's
  replaced with some baby-blue thing. I've got lots of extra themes
  installed and can't find the one I used to have (doh...).Plus the logout
  dialog went back to standard.
 
  Anyone know a theme that does this, and also actually puts the View
  Ignore text in Kopete's notification popups? There doesn't seem to be a
  transparency setting in the panel's own configuration, I reckon it's a
  theme thing?

 you can change the plasma themes in the workspace settings (right click on
 desktop) and search around. A lot of themes with transparency have some
 not- so-nice looking mode when effects are turned off. (glaze for example -
 the bar at the bottom becomes greyish, other some kind of blue).

I settled for Glassified eventually. It's not exactly what I had, but I can 
live with it. My top requirement is that notification popups with clickable 
buttons actually do have the text in them. Many third party themes out there 
simply do not do this, which makes the entire theme kinda pointless :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KDE4 transparent panel

2009-05-09 Thread Volker Armin Hemmann
On Samstag 09 Mai 2009, Alan McKinnon wrote:
 On Saturday 09 May 2009 10:52:35 Volker Armin Hemmann wrote:
  On Samstag 09 Mai 2009, Alan McKinnon wrote:
   Hi all,
  
   I was fiddling with Desktop Settings, and seem to have reverted my
   panel back to some default. Now I've lost my semi-transparent panel and
   it's replaced with some baby-blue thing. I've got lots of extra themes
   installed and can't find the one I used to have (doh...).Plus the
   logout dialog went back to standard.
  
   Anyone know a theme that does this, and also actually puts the View
   Ignore text in Kopete's notification popups? There doesn't seem to be
   a transparency setting in the panel's own configuration, I reckon it's
   a theme thing?
 
  you can change the plasma themes in the workspace settings (right click
  on desktop) and search around. A lot of themes with transparency have
  some not- so-nice looking mode when effects are turned off. (glaze for
  example - the bar at the bottom becomes greyish, other some kind of
  blue).

 I settled for Glassified eventually. It's not exactly what I had, but I can
 live with it. My top requirement is that notification popups with clickable
 buttons actually do have the text in them. Many third party themes out
 there simply do not do this, which makes the entire theme kinda pointless
 :-)

I use glaze which is very nice too ;)




Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Stroller


On 8 May 2009, at 14:38, Stroller wrote:

...
 if echo hello|grep --color=auto l /dev/null 21; then
   export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
 fi


I'm afraid this thread has run away from me. I'm drinking the day's  
first cup of tea  rubbing my eyes furiously in confusion. Wha?

I'm sure I'll comprehend the discussion better when I re-read later.
However, is there actually any need to parse whether the grep supports  
colour before setting it?


Let's say we use BSD grep or Schilling grep or whatever - is there  
actually any harm in exporting GREP_OPTIONS='--color=auto' in this case?


Having written the above (so I might as well now send this message) it  
occurred to me to test it:


$ GREP_OPTIONS='--not-suported'
$ grep -i rabbit Alice\ in\ Wonderland.txt
grep: unrecognized option '--not-suported'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
$

Presumably BSD grep  all other greps also support the GREP_OPTIONS  
environment variable?


Stroller




Re: [gentoo-user] can't stop the panic on eeepc

2009-05-09 Thread Stroller


On 8 May 2009, at 21:58, Dirk Heinrichs wrote:


Am Freitag, 8. Mai 2009 19:17:28 schrieb Daniel da Veiga:
On Fri, May 8, 2009 at 14:04, Dirk Heinrichs dirk.heinri...@online.de 


wrote:

Am Donnerstag, 7. Mai 2009 22:53:18 schrieb Alan McKinnon:
Mirrored - no problem. But how else would you boot off a  
striped / with

/boot not on a separate partition?


/boot is _always_ a separate partition, isn't it?


AFAIK, that's not a rule. Most people consider it the best option,  
but

its definetly not a rule...


This is Gentoo, so you as the user define the rules. And for _me_,  
it definitely

_is_ a rule.


Could you possibly explain why, please?

Stroller.




Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:15, Stroller wrote:
 On 8 May 2009, at 14:38, Stroller wrote:
  ...
   if echo hello|grep --color=auto l /dev/null 21; then
 export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
   fi

 I'm afraid this thread has run away from me. I'm drinking the day's
 first cup of tea  rubbing my eyes furiously in confusion. Wha?
 I'm sure I'll comprehend the discussion better when I re-read later.
 However, is there actually any need to parse whether the grep supports
 colour before setting it?

 Let's say we use BSD grep or Schilling grep or whatever - is there
 actually any harm in exporting GREP_OPTIONS='--color=auto' in this
 case?

Yes, because if the grep implementation in question supports GREP_OPTIONS 
but doesn't support --color, you'll get errors when it's run.

(The assumption the author made is that if --color is supported, then 
GREP_OPTIONS is too, which is reasonable and is what happens for GNU 
grep, although I cannot speak for other implementations).



Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Stroller


On 9 May 2009, at 11:41, Etaoin Shrdlu wrote:

...
Let's say we use BSD grep or Schilling grep or whatever - is there
actually any harm in exporting GREP_OPTIONS='--color=auto' in this
case?


Yes, because if the grep implementation in question supports  
GREP_OPTIONS

but doesn't support --color, you'll get errors when it's run.

(The assumption ... is that if --color is supported, then
GREP_OPTIONS is too, which is reasonable and is what happens for GNU
grep, although I cannot speak for other implementations).



So this keeps the .bashrc compatible with older versions of GNU grep.  
That hadn't occurred to me.


My question is:
Do BSD  other greps also support GREP_OPTIONS ?

Stroller.



[gentoo-user] Many dbus reject messages when starting KDE4

2009-05-09 Thread Robin Atwood
When I login to KDE 4.2 I instantly start getting zillions of messages from 
dbus rejecting send messages. It seems to affect many different components. 
This is a current Gentoo system. I tried on the forums but got no response.  
Has anyone here seen this?

May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.169 (uid=1001 pid=32590 
comm=/usr/kde/4.2/bin/kmixctrl --restore ) 
interface=org.freedesktop.DBus.Introspectable member=Introspect error 
name=(unset) requested_reply=0 destination=org.freedesktop.Hal (uid=0 
pid=13436 comm=/usr/sbin/hald --use-syslog --verbose=no ))
May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.169 (uid=1001 pid=32590 
comm=/usr/kde/4.2/bin/kmixctrl --restore ) 
interface=org.freedesktop.DBus.Introspectable member=Introspect error 
name=(unset) requested_reply=0 destination=org.freedesktop.Hal (uid=0 
pid=13436 comm=/usr/sbin/hald --use-syslog --verbose=no ))
May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.169 (uid=1001 pid=32590 
comm=/usr/kde/4.2/bin/kmixctrl --restore ) 
interface=org.freedesktop.DBus.Introspectable member=Introspect error 
name=(unset) requested_reply=0 destination=org.freedesktop.Hal (uid=0 
pid=13436 comm=/usr/sbin/hald --use-syslog --verbose=no ))
May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.170 (uid=1001 pid=32597 
comm=/usr/kde/4.2/bin/krunner ) 
interface=org.freedesktop.DBus.Introspectable member=Introspect error 
name=(unset) requested_reply=0 destination=org.freedesktop.Hal (uid=0 
pid=13436 comm=/usr/sbin/hald --use-syslog --verbose=no ))
May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.170 (uid=1001 pid=32597 
comm=/usr/kde/4.2/bin/krunner ) 
interface=org.freedesktop.DBus.Introspectable member=Introspect error 
name=(unset) requested_reply=0 destination=org.freedesktop.Hal (uid=0 
pid=13436 comm=/usr/sbin/hald --use-syslog --verbose=no ))
May  9 15:36:21 opal dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.170

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Peter Humphrey
Hello list,

I've acquired a DVD of a concert performance which I'd like to put on the 
choir's Web site. It's too big, though, at nearly 1 GB, so I wondered about 
extracting just the audio from it and putting that up instead.

Is there a Gentoo-ish way of doing this, or should I start messing about 
with bits of wire and other equipment?

-- 
Rgds
Peter



Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:43, Stroller wrote:

 My question is:
 Do BSD  other greps also support GREP_OPTIONS ?

A quick google search reveals that NetBSD and FreeBSD use GNU grep, while 
OpenBSD uses BSD grep, which (at least according to the man page - see 
http://tinyurl.com/cs2unf) does not support GREP_OPTIONS. It seems that 
work is underway to port the BSD grep to FreeBSD and NeetBSD.

See http://www.freebsd.org/cgi/man.cgi for a comprehensive list of manual 
pages for many popular unices. It seems that many greps do not support 
GREP_OPTIONS.



Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Mike Kazantsev
On Sat, 9 May 2009 11:15:30 +0100
Stroller strol...@stellar.eclipse.co.uk wrote:

 Presumably BSD grep  all other greps also support the GREP_OPTIONS  
 environment variable?

If it doesn't have support for the var then there should be no reason
to pollute environment by setting it, possibly confusing the user which
cares to look at it.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


/boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Dirk Heinrichs
Am Samstag, 9. Mai 2009 12:20:46 schrieb Stroller:

  This is Gentoo, so you as the user define the rules. And for _me_,
  it definitely
  _is_ a rule.

 Could you possibly explain why, please?

Because it eliminates the need for an initramfs (which I used until a few 
weeks ago), even if you've got your / on an encrypted logical volume. I simply 
put just enough userspace tools into /boot to be able to create the dmcrypt 
mapping and mount the real root fs, then run pivot_root and /sbin/init.

So in the end it's the same than using an initramfs, but with less hassle. And 
for consistency reasons, I also use this scheme on every machine.

Bye...

Dirk


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


Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Dale
Dirk Heinrichs wrote:
 Am Samstag, 9. Mai 2009 12:20:46 schrieb Stroller:

   
 This is Gentoo, so you as the user define the rules. And for _me_,
 it definitely
 _is_ a rule.
   
 Could you possibly explain why, please?
 

 Because it eliminates the need for an initramfs (which I used until a few 
 weeks ago), even if you've got your / on an encrypted logical volume. I 
 simply 
 put just enough userspace tools into /boot to be able to create the dmcrypt 
 mapping and mount the real root fs, then run pivot_root and /sbin/init.

 So in the end it's the same than using an initramfs, but with less hassle. 
 And 
 for consistency reasons, I also use this scheme on every machine.

 Bye...

   Dirk
   

Wasn't there a security reason for this setup at one time?  If you put
/boot  on a separate partition, then the only time it needed to be
mounted was to update the kernel or edit grub/lilo.  That was what I was
reading when I installed Gentoo oh so many ages ago.

Is this still true?

Dale

:-)  :-) 



Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Dirk Heinrichs
Am Samstag, 9. Mai 2009 14:46:39 schrieb Dale:

 Wasn't there a security reason for this setup at one time?  If you put
 /boot  on a separate partition, then the only time it needed to be
 mounted was to update the kernel or edit grub/lilo.  That was what I was
 reading when I installed Gentoo oh so many ages ago.

 Is this still true?

Of course, it needs to mounted rw for the few seconds needed to discover the 
LVs, ask the user for the passphrase and create the dmcrypt mapping. Then it's 
unmounted again and remounted ro during normal system boot. I don't consider 
this a security problem. If it was, I could also stop using Linux altogether, 
since there are also other filesystem on my system which need to be mounted rw 
if the system should do something useful.

Bye...

Dirk


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


Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Stroller


On 9 May 2009, at 13:41, Dirk Heinrichs wrote:


Am Samstag, 9. Mai 2009 12:20:46 schrieb Stroller:


This is Gentoo, so you as the user define the rules. And for _me_,
it definitely
_is_ a rule.


Could you possibly explain why, please?


Because it eliminates the need for an initramfs (which I used until  
a few

weeks ago), ...


I believed you could manage without either a /boot volume or an  
initramfs.


Perhaps I'm misunderstanding.

Stroller.




Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Dale
Dirk Heinrichs wrote:
 Am Samstag, 9. Mai 2009 14:46:39 schrieb Dale:

   
 Wasn't there a security reason for this setup at one time?  If you put
 /boot  on a separate partition, then the only time it needed to be
 mounted was to update the kernel or edit grub/lilo.  That was what I was
 reading when I installed Gentoo oh so many ages ago.

 Is this still true?
 

 Of course, it needs to mounted rw for the few seconds needed to discover the 
 LVs, ask the user for the passphrase and create the dmcrypt mapping. Then 
 it's 
 unmounted again and remounted ro during normal system boot. I don't consider 
 this a security problem. If it was, I could also stop using Linux altogether, 
 since there are also other filesystem on my system which need to be mounted 
 rw 
 if the system should do something useful.

 Bye...

   Dirk
   

I was talking about with just a plain file system.  I read in a install
guide somewhere when I was installing ages ago that having /boot on a
separate partition, and not always mounted, was a good security
practice.  That way no one could alter the kernel since it was not
mounted. 

I do agree that if a person was on the system and able to get root
access, they could them mount the /boot partition as well.  I never was
really sure why this was thought to work.  I used a separate /boot
because for a while I was dual booting Mandrake and Gentoo.  Old habit
now I guess.

Dale

:-)  :-) 



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Stroller


On 9 May 2009, at 11:48, Peter Humphrey wrote:

...
I've acquired a DVD of a concert performance which I'd like to put  
on the
choir's Web site. It's too big, though, at nearly 1 GB, so I  
wondered about

extracting just the audio from it and putting that up instead.


You would use something like mplayer.

I think undvd produces a separate audio track as a by-product of  
ripping the DVD to .avi or .mp4


You might try running that on the disk  looking at what's created  
during the process.


Stroller.




[gentoo-user] Re: /boot or not /boot

2009-05-09 Thread Dirk Heinrichs
Am Samstag, 9. Mai 2009 15:13:35 schrieb Stroller:

 I believed you could manage without either a /boot volume or an  
 initramfs.

Yes, of course you can. If you don't use an encrypted root fs, for example. 
That's the main reason I use it on my laptop, and on other machines because 
root fs is on a logical volume. If you don't this you can do fine without. 
However, I like the flexibility of having all (except 32M for /boot) filesystem 
on logical volumes, so all my machines are setup this way.

Bye...

Dirk


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


Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Joerg Schilling
Etaoin Shrdlu shr...@unlimitedmail.org wrote:

 On Saturday 9 May 2009, 12:15, Stroller wrote:
  On 8 May 2009, at 14:38, Stroller wrote:
   ...
if echo hello|grep --color=auto l /dev/null 21; then
  export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
fi
 
  I'm afraid this thread has run away from me. I'm drinking the day's
  first cup of tea  rubbing my eyes furiously in confusion. Wha?
  I'm sure I'll comprehend the discussion better when I re-read later.
  However, is there actually any need to parse whether the grep supports
  colour before setting it?
 
  Let's say we use BSD grep or Schilling grep or whatever - is there
  actually any harm in exporting GREP_OPTIONS='--color=auto' in this
  case?

 Yes, because if the grep implementation in question supports GREP_OPTIONS 
 but doesn't support --color, you'll get errors when it's run.

My grep is called match and it does not look at environment variables.

There are few commands that have codumented (by POSIX) environment variables for
options. I think of e.g. make, that needs this in order to pass options to
sub-makes.

A safe method in shell scripts is to use lower case variable names.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Alan McKinnon
On Saturday 09 May 2009 15:13:35 Stroller wrote:
 On 9 May 2009, at 13:41, Dirk Heinrichs wrote:
  Am Samstag, 9. Mai 2009 12:20:46 schrieb Stroller:
  This is Gentoo, so you as the user define the rules. And for _me_,
  it definitely
  _is_ a rule.
 
  Could you possibly explain why, please?
 
  Because it eliminates the need for an initramfs (which I used until
  a few
  weeks ago), ...

 I believed you could manage without either a /boot volume or an
 initramfs.

 Perhaps I'm misunderstanding.

I think you are. The need for an initramfs has nothing to do with whether 
/boot is a separate partition of not. grub is equally happy loading the kernel 
from (hd0,0)/vmlinux or (hd0,0)/boot/vmlinux

It has everything to do with making necessary kernel modules available at boot 
time. The kernel cannot load block device and filesystem drivers that are on 
the device it needs to read (chicken and egg). However, it can get them from a 
ram disk which is all an initrd is and which grub supports.

Simply compile the drivers into the kernel.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Florian Philipp
Peter Humphrey schrieb:
 Hello list,
 
 I've acquired a DVD of a concert performance which I'd like to put on the 
 choir's Web site. It's too big, though, at nearly 1 GB, so I wondered about 
 extracting just the audio from it and putting that up instead.
 
 Is there a Gentoo-ish way of doing this, or should I start messing about 
 with bits of wire and other equipment?
 

The way I do it usually:

mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
[wait]
a52dec -o wav  sound.ac3  sound.wav
oggenc sound.wav

e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
160?)

You'll need

media-video/mplayer USE=dvd a52
media-libs/a52dec
media-sound/vorbis-tools



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] really old box for a firewall

2009-05-09 Thread Mick
On Tuesday 28 April 2009, Yahya Mohammad wrote:
  Help would be appreciated, even if it's along the lines of turning the
  old box into a boat anchor, as it's not fit for purpose.

 I would say it's more efficient to use your old box as a boat anchor :)
 and get a cheap low power consuming embedded box like the popular
 WRT54GL or NSLU2. Those would be more reliable and you'd probably make
 up the cost in energy savings in a few months.

I'd second that unless the OP wants to learn how to install/configure Gentoo, 
in which case an old box would be a slow protracted process.

BTW, is it possible to install Gentoo in a NSLU2?  I thought that there was a 
problem with glibc ...
-- 
Regards,
Mick


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


[gentoo-user] Nokia PC Suite on VMware

2009-05-09 Thread Sergey A. Kobzar
Hello.

I have laptop running Gentoo and VMware Server on it. I need Nokia PC
Suite to manage my Nokia mobile phone.

Does anybody have Nokia PC Suite working on VMware or I need setup Win
on my laptop? - I'd want avoid this if possible...


-- 
Sergey




Re: [gentoo-user] Nokia PC Suite on VMware

2009-05-09 Thread Robert Bridge

Sergey A. Kobzar wrote:

I have laptop running Gentoo and VMware Server on it. I need Nokia PC
Suite to manage my Nokia mobile phone.

Does anybody have Nokia PC Suite working on VMware or I need setup Win
on my laptop? - I'd want avoid this if possible...


I don't, but I will suggest an alternative, which is trying gammu or 
gnokii. Both have GUIs (wammu and gnocky respectively) and claim to 
support most Nokia phones.


RobbieAB.



Re: [gentoo-user] Ripping audio from a video DVD

2009-05-09 Thread Peter Humphrey
On Saturday 09 May 2009 18:48:32 Florian Philipp wrote:

 The way I do it usually:

 mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
 [wait]
 a52dec -o wav  sound.ac3  sound.wav
 oggenc sound.wav

 e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
 160?)

 You'll need

 media-video/mplayer USE=dvd a52
 media-libs/a52dec
 media-sound/vorbis-tools

Thank you both. I'll look into those ideas tomorrow (it's evening here after 
a long week of short nights and much adrenalin).

-- 
Rgds
Peter



Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Neil Bothwick
On Sat, 09 May 2009 08:15:09 -0500, Dale wrote:

 I was talking about with just a plain file system.  I read in a install
 guide somewhere when I was installing ages ago that having /boot on a
 separate partition, and not always mounted, was a good security
 practice.  That way no one could alter the kernel since it was not
 mounted. 

That's a bit of a red herring IMO. If anyone can alter your kernel they
can mount the filesystem. The argument about protecting the kernel from
corruption is similarly spurious, since you always have a spare copy
in /usr/src/linux anyway. The main reason for doing this was because some
BIOSes could work past cylinder 1024 of a drive, so you needed to ensure
the kernel was on a filesystem fully within that area.

If it were a security issue, then the Gentoo handbook would have
recommended this practice for all architectures, not just x86-based ones.


-- 
Neil Bothwick

If you don't pay your exorcist, you get repossessed.


signature.asc
Description: PGP signature


Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Dale
Neil Bothwick wrote:
 On Sat, 09 May 2009 08:15:09 -0500, Dale wrote:

   
 I was talking about with just a plain file system.  I read in a install
 guide somewhere when I was installing ages ago that having /boot on a
 separate partition, and not always mounted, was a good security
 practice.  That way no one could alter the kernel since it was not
 mounted. 
 

 That's a bit of a red herring IMO. If anyone can alter your kernel they
 can mount the filesystem. The argument about protecting the kernel from
 corruption is similarly spurious, since you always have a spare copy
 in /usr/src/linux anyway. The main reason for doing this was because some
 BIOSes could work past cylinder 1024 of a drive, so you needed to ensure
 the kernel was on a filesystem fully within that area.

 If it were a security issue, then the Gentoo handbook would have
 recommended this practice for all architectures, not just x86-based ones.


   

That was my thoughts as well.  You have to be root to get to the kernel
and alter/copy it and if you are root, you can mount it anyway.  No real
point.

I do get the old BIOSes tho.  That was a issue for a good while.

Dale

:-)  :-) 



[gentoo-user] how to recover a portage that wasn't in use for very long time

2009-05-09 Thread Alexey Luchko

Hi!

I have a gentoo installed, but I wasn't updating it since late 2007, I  
suppose.

Today I've run emerge --sync. It worked! It's great ;)

But then I've got the following collision. Obviously, a portage update  
is required. But it is confused by dependencies:

colinux ~ # emerge portage --pretend --tree

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% - 
plugins%

[ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
[ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
[ebuild  N]  app-admin/eselect-news-20080320
[ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax%
[ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
[blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/ 
bash-3.2_p39)

colinux ~ #


How to get it out?


Regards,
Alexey.






Re: [gentoo-user] Nokia PC Suite on VMware

2009-05-09 Thread Paul Hartman
2009/5/9 Sergey A. Kobzar sergey.kob...@mail.ru:
 Hello.

 I have laptop running Gentoo and VMware Server on it. I need Nokia PC
 Suite to manage my Nokia mobile phone.

 Does anybody have Nokia PC Suite working on VMware or I need setup Win
 on my laptop? - I'd want avoid this if possible...

I think vmware server cannot by default access USB devices plugged
into the host, but you can possibly edit the vmx file to enable it. I
think it is something like:

usb.present = TRUE
usb.generic.autoconnect = FALSE

But i don't have vmware server to test it. PC Suite worked fine for me
in vmware workstation.

Depending on exactly what you need to accomplish with PC Suite, there
may be alternative methods of doing it without windows.



Re: [gentoo-user] how to recover a portage that wasn't in use for very long time

2009-05-09 Thread Mike Kazantsev
On Sun, 10 May 2009 03:58:41 +0300
Alexey Luchko luc...@gmail.com wrote:

 But then I've got the following collision. Obviously, a portage update  
 is required. But it is confused by dependencies:
 colinux ~ # emerge portage --pretend --tree
 
 These are the packages that would be merged, in reverse order:
 
 Calculating dependencies... done!
 [nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
 [ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% - 
 plugins%
 [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
 [ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
 [ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
 [ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
 [ebuild  N]  app-admin/eselect-news-20080320
 [ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax%
 [ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
 [blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/ 
 bash-3.2_p39)
 colinux ~ #
 
 
 How to get it out?

Try masking newer bash which blocks older portage, unmasking it after
the newer portage is in place.

If you have app-portage/gentoolkit installed, you can find out which
specific versions of bash it depends on using the following command:

  equery depgraph --depth 1 portage | grep bash

Otherwise you can use portage --tree or just look for DEPEND and
RDEPEND vars in the ebuild itself, which can be found in /var/db/pkg.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] how to recover a portage that wasn't in use for very long time

2009-05-09 Thread Mike Kazantsev
On Sun, 10 May 2009 07:54:34 +0600
Mike Kazantsev mike_kazant...@fraggod.net wrote:

 Otherwise you can use portage --tree or just look for DEPEND and
 RDEPEND vars in the ebuild itself, which can be found in /var/db/pkg.

I mean emerge --tree, of course ;)

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Loop-AES

2009-05-09 Thread meino . cramer

Hi,

loop-aes and aespipe are part of the gentoo-portage.
Is ciphers, which is also offered via loop-aes.sourceforge.net
also part of portage? I dont find it...
Or any other way to choose different cipher-algorithms to
be used with loop-aes?

Thank you very much for any help in advance!
Have a nice weekend!

Kind regards,
mcc


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.