Re: [gentoo-user] Strange mplayer symbols on a terminal

2007-09-19 Thread Boyd Stephen Smith Jr.
On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] Strange mplayer symbols on a terminal':
On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote:
 When I launch mplayer from aterm I get this type of symbols on my
 terminal:

I get them too, and have always chalked it up to some locale problem
not worth solving.  I just ran it with stdout redirected to a temp
file which I attach here.

The attached file looks fine to me:
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Компилиран за x86 процесори с разширения: MMX MMX2 SSE SSE2
Възпроизвеждане на u-flatworld/fLnCDTWB2S0.flv.
libavformat формат.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  320x240  0bpp  15.000 fps0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==
Отваряне на видео декодер: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==
==
Отваряне на аудио декодер: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000-88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Започва възпроизвеждането...
VDec: заявка на vo config - 320 x 240 (preferred csp: Planar YV12)
Не е открит подходящ цветови формат - повторен опит с -vf scale...
Отваряне на видео филтър: [scale]
VDec: using Planar YV12 as output csp (no 0)
Не са дефинирани пропорции - без предварително мащабиране.
[swscaler @ 0x87d2698]SwScaler: using unscaled yuv420p - rgb32 special 
converter
VO: [ggi] 320x240 = 320x240 BGRA 
[ggi] input: 320x240x32, output: 1408x1050x32
Излизане от програмата... (Изход)

It is in a foreign language, though.  Something with a Cyrillic script that 
I do not read.

I'm not sure how mplayer has decided you want that language.  Could you 
post the output of:
env | grep -E '^L(C_|ANG)'
so I can see the environment variables that affect gettext and POSIX 
message catalogs?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Strange mplayer symbols on a terminal

2007-09-19 Thread Boyd Stephen Smith Jr.
On Wednesday 19 September 2007, Mick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Strange mplayer symbols on a terminal':
On Wednesday 19 September 2007, Boyd Stephen Smith Jr. wrote:
 On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re:
 [gentoo-user] Strange mplayer symbols on a terminal':
On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote:
 When I launch mplayer from aterm I get this type of symbols on my
 terminal:

I get them too.  I just ran it with stdout redirected to a temp
file which I attach here.

 The attached file looks fine to me.
 It is in a foreign language, though.
 I'm not sure how mplayer has decided you want that language.  Could you
 post the output of:
 env | grep -E '^L(C_|ANG)'

I assume that you refer to felix's attachment, rather than my terminal
 output.

Yes.

$ env | grep -E '^L(C_|ANG)'
$

Hrm, in that case applications are supposed to fall back to the C locale, 
IIRC.  However, it's possible that mplayer is trying to guess your 
language and getting it wrong.

Try doing:
LANG=en_US; export LANG
before your mplayer command and see if that helps.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Boyd Stephen Smith Jr.
On Tuesday 11 September 2007, Grant [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] SSH won't restart':
How does my host get root access like that?

Physical access to the box = root in many cases.
Also, if it's some vserver type setup, root on the host can get root access 
on the guest machines.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Monday 27 August 2007, Shaochun Wang [EMAIL PROTECTED] wrote 
about '[gentoo-user] linux desktop search engines are ugly!':
Can you imagine what makes a software
 consumes five hundrend Megabits of memory?

1. Unused memory is wasted.

2. 64MiB ( 512Mb) is not that much in the modern era.  Or did you mean 
500MiB instead of 500Mb?  Memory is generally measured in bytes, and 
generally uses the binary SI prefixes; bandwidth is usually the opposite 
(bits and decimal SI).

3. http://bugs.kde.org/show_bug.cgi?id=148385

4. Have you used an application based of the Strigi indexer?  That's what's 
going to be used for KDE 4.0, and I really haven't heard many complaints 
about it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Uwe Thiem [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] linux desktop search engines are ugly!':
Last time I did a file count in my home directory, it
 came up with 170,000 files (including sub-directories). It's a pain to
 keep that amount of data organised in a hierarchical filesystem. Better
 let the computer do the hard work.

$ find /home/bss | wc -l
158254
$ du -sh /home/bss
2.6T/home/bss
$ du -s /home/bss
2695039198  /home/bss

Desktop search would be a useless waste of resources for me.  I don't spend 
much time organizing files, but I do think about where to put them when I 
create/save them.  I know where all my data is already.

It might not be the right tool for you and me, but there are lots of
 users out there for whom it is the right thing - if it doesn't use too
 much of system resources. KDE4 will hopefully get it right.

As long as I can turn it off, I think providing a feature many users want 
(3 of the 4 Linux users in my house) is a good use of developer resources.

Heck, I might even like it once I try it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Steen Eugen Poulsen [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] linux desktop search engines are ugly!':
Desktop search engines is this centuries wheel invention.

It's simply put a major breakthrough in how we work with our desktop.

LOL

Wow, I've got my dose of hype for the next month (or more).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Uwe Thiem [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] linux desktop search engines are ugly!':
Think of secretaries who aren't interested in computers but need to use
 them. Think of musicians who want to use computers for composing without
 really under them. Think of any person who just uses computers without
 actually knowing what a file or a directory is. Computers aren't for
 geeks only.

Computers are tools, and thus, have some required knowledge to use them.  
If you don't know what a file or (directory/folder) is, you should stay 
away from them -- you might hurt yourself.

You don't use power tools or even cars without training for the same 
reason.

 Using those search engines is like reinventing the wheel or programing
 embedded devices with java... ;)

Or like inventing the next generation wheel.  Think of people using a
microwave for heating up food. They know they can do that. They don't
 need to know that only water, fat and sugar actually heat up in a
 microwave as long as they stick to food. If they start to experiment
 with other things ... well, they have to understand how microwaves work.

I don't expect my users to be able to write a filesystem in C, design an 
IC, or understand the OSI 7 layer model.

I do expect them to be able to use files and folders (a.k.a. directories).  
Especially since most office workers, and quite a few non-office workers 
use files and folders to mange their paperwork every day.

I'm sure DSE will be a feature many users will like and probably even 
become dependent on.  It's NOT the next generation wheel, it's not even 
something I'll use, but it has it's place.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] possible MBR corruption?

2007-08-27 Thread Boyd Stephen Smith Jr.
On Monday 27 August 2007, Neil Bothwick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] possible MBR corruption?':
Alternatively, ditch a separate /boot altogether, it really isn't needed
with modern hardware.

Unless you want to use LVM.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Suggestion re: expat problems

2007-08-26 Thread Boyd Stephen Smith Jr.
On Sunday 26 August 2007, Michael J. Barillier 
[EMAIL PROTECTED] wrote about '[gentoo-user] Suggestion re: 
expat problems':
I suggest that packages have
optional Portage release notes, and when an `emerge --sync' is
performed, any release notes of the updated packages are cat'ed together
and displayed to the user (with `less' or another configured viewer).

The eselect news module is supposed to handle this.  IIRC, notices / news 
were part of GLEP 42.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] torrent issue

2007-08-20 Thread Boyd Stephen Smith Jr.
On Monday 20 August 2007, ionut cristian cucu [EMAIL PROTECTED] wrote 
about '[gentoo-user] torrent issue':
 i have a strange issue with torrent clients: they freeze my computer.
 Sometimes i just start the legal download and my computer stops
 responding, other times at some point while downloading. Everything
 else works just fine. I did a memtest nothing came out wrong. I'm
 using an ~amd64 box  with 2.6.21-gentoo-r3. Whether I use a C or a
 python client it crashes my system bad(only a hard reset works), even
 if X is not started a console client will freeze my computer. I used
 torrents before and worked fine but now, well now they don't. Do you
 have any ideea?

Check dmesg for anything related to your network (the hw specifically, but 
software could be at fault, too), before the crash occurs.  (Even better 
if you sync-log it so you'll have it after the system crashes.)

Assuming it's not your memory it is most likely the network card.

You might want to check your memory with something other than memtest -- I 
know there have been some scripts posted to this list that claim to catch 
timing issues much better than memtest.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] torrent issue

2007-08-20 Thread Boyd Stephen Smith Jr.
On Monday 20 August 2007, Mick [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] torrent issue':
 sync-log ?

Set it up to be logged synchronously (without buffering).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] no standalone jre?

2007-08-19 Thread Boyd Stephen Smith Jr.
On Sunday 19 August 2007, Bo Ørsted Andresen [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] no standalone jre?':
 On Sunday 19 August 2007 16:57:17 Ralf Stephan wrote:
  when installing jre, a full jdk is downloaded (57M).
 
  Is this a bug?

 I don't really recall the reason for virtual/jdk to be the default
 provider of virtual/jre but you can find it somewhere on bugs.gentoo.org
 if you care... ;)

It's probably the fact that Gentoo is source-based, so java packages 
normally require a jdk (for javac) anyway.  That said java in the browser 
only requires a jre, even on Gentoo.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] No title bars in gnome!

2007-08-19 Thread Boyd Stephen Smith Jr.
On Sunday 19 August 2007, Michael Sullivan [EMAIL PROTECTED] wrote 
about '[gentoo-user] No title bars in gnome!':
 I logged into GNOME, no programs
 had title bars, and I couldn't Alt+TAB between them.  How can I fix
 this?  How can I even find out exactly what package is causing the
 problem?  When I log in, I get a message - something about
 accessibility, but everything else seems normal except for the lack of
 title bars.

This is usually caused by a missing/crashing/failing window manager.  The 
default window manager in Gnome is metacity (IIRC).  If you use 
compiz/beryl/compiz-fusion, this may be separated into a different program 
called the window decorator.  The perferred window decorator for Gnome is 
heliodor (IIRC).

Since your KDE window manager seems to work, you should be able to start 
gnome and then start:
kwin --replace
on the same display to get a more functional Gnome desktop.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] how to enable hard masked USE flags like (-altivec)?

2007-08-17 Thread Boyd Stephen Smith Jr.
On Friday 17 August 2007, Wang, Baojun [EMAIL PROTECTED] wrote 
about '[gentoo-user] how to enable hard masked USE flags like 
(-altivec)?':
 altivec is hard masked by x86_64(amd64), how
 can I enable it temporaly? Thanks!

/etc/portage/profile/use.unmask, IIRC.

You'll probably have to create that file, and may need to create some of 
the directory structure.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Boyd Stephen Smith Jr.
On Wednesday 15 August 2007, Matthew R. Lee [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] pendrive mounting problem':
 On Wednesday 15 August 2007 18:38, Xav' wrote:
  You can see here that codepage cp437, which is needed by FAT to mount
  your key, is not found.
  So you have to compile it in your kernel as module or builtin, as you
  wish, by activating the option under
  File Systems -- Native Language Support -- M Codepage 437 (United
  States, Canada)
  After recompile your kernel,reboot and enjoy mounting your key ;)

 As I stated in earlier posts, the NIS support is compiled into my
 current kernel, atleast that's what the .config states

Okay, but there a over a dozen modules for specific character sets that all 
depend on the main nls support option.  You don't seem to have the cp437 
driver.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Internet bridge

2007-08-14 Thread Boyd Stephen Smith Jr.
On Monday 13 August 2007, Uwe Thiem [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user]  Internet bridge':
 On 13 August 2007, Mateus Interciso wrote:
  but since I really need Level 2 Routing, I can't afford doing
  this with nat.

 I beg your pardon? NATting and masquerading takes place on layer 2 (IP).

Actually, NAT takes place at level 3 (IP).
The levels are:
1. Physical (Cat5, Coax, Fiber, et. al.)
2. Link (Ethernet, ARP, etc.)
3. Address/Routing (IP)
4. Connection (TCP/UDP)
5. Session (Um, TLS, maybe?)
6. Presentation (Not really used at all)
7. Application (HTTP et. al.)
8. User (ID ten T errors)
9. Bureaucracy

Okay, I made up 8 and 9.  Oh, I might have gotten 6/7 swapped, but I don't 
think so.

You probably don't want level 2 routing.  What are you trying to do that 
makes you think you need it?

 AFAIK, this will never work. If you really need incoming connections on
 certain ports you can use port forwarding with NAT on your firewall.
 Bridging is not for this kind of thing.

Yeah, port forwarding is probably what you want.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] GHC and documentation

2007-08-14 Thread Boyd Stephen Smith Jr.
On Tuesday 14 August 2007, Iván Pérez Domínguez 
[EMAIL PROTECTED] wrote about '[gentoo-user] GHC and 
documentation':
 Shouldn't its documentation be included as a different
 package?

That may be the way Debian does things, but gentoo does not split 
documentation, header files, or debug information into separate packages.  
Instead, documentation is controlled by a USE flag, header files are 
always installed, and debug information is controlled by FEATURES.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] OT: Receiving your own emails

2007-08-14 Thread Boyd Stephen Smith Jr.
On Tuesday 14 August 2007, Florian Philipp [EMAIL PROTECTED] 
wrote about '[gentoo-user] OT: Receiving your own emails':
 Is Gmail filtering these messages or what's going on?

They are received, and I think they are even stored but, gmail doesn't show 
your own mails to you by default.  I'm not sure how to change that.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-13 Thread Boyd Stephen Smith Jr.
On Monday 13 August 2007, Mick [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] CXXABI error after gcc upgrade':
 # emerge -C -p -v gcc

Wrong-ish command line.

Try emerge -aP gcc

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set up drupal with postgres

2007-08-09 Thread Boyd Stephen Smith Jr.
On Thursday 09 August 2007, Mick [EMAIL PROTECTED] wrote 
about '[gentoo-user] Set up drupal with postgres':
 USE mysql;

\c postgres

 INSERT INTO user (host, user, password, select_priv, insert_priv,
 update_priv) VALUES ('localhost', 'drupal', PASSWORD('passwd'), 'Y',
 'Y', 'Y');

CREATE USER 'drupal';

 CREATE database drupal; 

(unchanged)

 USE drupal;

\c drupal

 GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'passwd';

Probably easiest to just make the drupal user the owner of the drupal 
database.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set up drupal with postgres

2007-08-09 Thread Boyd Stephen Smith Jr.
On Thursday 09 August 2007, Mick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Set up drupal with postgres':
 On Thursday 09 August 2007 20:29, Boyd Stephen Smith Jr. wrote:
  On Thursday 09 August 2007, Mick [EMAIL PROTECTED] wrote
   GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY
   'passwd';
 
  Probably easiest to just make the drupal user the owner of the drupal
  database.

 Thank you Boyd!  I'll try this out - although it seems that the default
 script already created a drupal database owned by postgres.  :@

You can do something like:
CREATE DATABASE 'drupal' WITH OWNER 'drupal';

 a) how do you create different vhosts (I only have localhost
 under /var/www/locahost/).

All of this a apache (or other httpd) configuration, you should be able to 
pattern your vhost(s) off of the default one installed by the package.

 b) how do you run/access drupal (the drupal files seem to be
 under /usr/share/webapps/drupal/5.2/htdocs).

man webapp-config

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Unknown Tool hd

2007-08-07 Thread Boyd Stephen Smith Jr.
On Monday 06 August 2007 02:13:58 pm Linux wrote:
 I have a problem with a script refering to several tools, one is hd

hd is the short name for hexdump.  (When hexdump is invoked as hd, it assumes 
certain options.)

Gentoo's hexdump package does not provide the short name, but you can make a 
sym or hardlink after installing that package.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpQpQ1UVB2Kg.pgp
Description: PGP signature


Re: [gentoo-user] rescrict command to certain dirs

2007-08-04 Thread Boyd Stephen Smith Jr.
On Thursday 02 August 2007 08:54:21 am Martin Gysel wrote:
 I have a webserver running for multiple 'endusers'. No I want to give
 some costumers access to certain files as user WEBSERVER for easy
 editing configuration file owned by the webserver.

 it should do something like jail the user to
 /var/www/vhosts/DOMAIN/httpdocs/DIRtoFILES and let him perform some
 commands (rm, less, nano, etc) there as user WEBSERVER.

As long as WEBSERVER isn't root, you should be able to use a combination of 
sudo/su and chroot.  There are some ways to escape a chroot, but I *think* 
they all depend on being root inside the chroot, or exploiting other service 
running outside the chroot.  (E.g. if connections from localhost 
are trusted.)

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpOJywobtH7X.pgp
Description: PGP signature


Re: [gentoo-user] distcc with other distro (Debian)

2007-08-04 Thread Boyd Stephen Smith Jr.
On Friday 03 August 2007 01:34:37 am Ric de France wrote:
 There may be a gotcha of glibc (or other)
 incompatibilities / inconsistencies between Gentoo and Debian, but I'm
 sure others on this list can advise you better.

distcc only farms out the actual compiling.  Pre-processing is done locally, 
so it uses your local header files.  Linking is also done locally, so it will 
use your local libraries. [1]

That said, if you have incompatible compilers (e.g. gcc-3.3 vs. gcc-3.4) you 
may have issues, and they may or may not be caught at link time.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

[1] distcc tries to be smart when passed a command-line that would do both 
compiling and (pre-processing or linking), but when it can't separate the 
stages, it will end up using your local compiler.


pgpjHFBj0tQZO.pgp
Description: PGP signature


Re: [gentoo-user] Thanks to the user community

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 12:25:47 am Iain Buchanan wrote:
 On Sun, 2007-07-29 at 23:43 -0500, Boyd Stephen Smith Jr. wrote:
  On Sunday 29 July 2007 11:06:44 pm Iain Buchanan wrote:
   On Fri, 2007-07-27 at 08:13 -0500, Albert Hopkins wrote:
But seriously, shouldn't we be waiting until November to say this?
;-)
  
   why, what happens in November?
 
  In the U.S., Thanksgiving.

 ahh.  cheekAnd you can't be thankful except at thanksgiving?/cheek

Are you suggesting undermining a great Amurican Holly-Day?  Why do you hate 
freedom? ;)

 politics, n.:
   A strife of interests masquerading as a contest of principles.
   The conduct of public affairs for private advantage.
   -- Ambrose Bierce

:)

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpcJnW6TpRCi.pgp
Description: PGP signature


Re: [gentoo-user] insert text onto a PDF

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 04:49:47 am Pavel Sanda wrote:
 ACCEPT_KEYWORDS=~x86 emerge pdfedit

OP, Please don't do this or your next emerge world will be (more) painful.  
You may also end up getting more unstable packages than you absolutely need.

Pavel, please don't suggest this is a sane way to run emerge in the future.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpfGZR9q7Hq6.pgp
Description: PGP signature


Re: [gentoo-user] program autostart from another user

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 03:29:36 am Aleksey V. Kunitskiy wrote:
 I want to auto start some programs on startup, using init
 My local.start looks like:
 sudo -u user_name screen program

 My question is - is it the right way?

You don't have to use screen, but that should work.

 How can I attach next program to existing screen session (by creating new
 buffer in screen session)?

Reading over the manpage, something like this (but sudo -ud) should work:
# Create a new screen session, detached, with name
screen -d -m -S system-autostart-foo
# In a named window in that session, run bar
screen -S system-autostart-foo -X at cmd-bar# bar
# In a named window in that session, run baz
screen -S system-autostart-foo -X at cmd-baz# baz

But, I've never tried to use screen in this way, no this is just a guess.  I'm 
sure it's possible to use screen the way you want.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpFwKiWm5eij.pgp
Description: PGP signature


Re: [gentoo-user] Re: reiserfsprogs

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007, Kent Fredric [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Re: reiserfsprogs':
 On 7/30/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
  5) If (2) indicates corruptions that can only be corrected by
  --rebuild-tree
 b) Begin praying.

 This guy knows his stuff. Last time I used reiser I didn't pray enough
 to keep it going

All joking aside, I've recovered reiserfs much more often than I've gotten 
anything useful out of a bad ext2/3 filesystem.

You have to know it's limitations, but I've had a growing reiserfs file 
system for over two years now that I've had to --rebuild-tree on at least 
3 times and never lost a drop of data.

My ext2/3 boot patition has died a similar number of times, and no amount 
of e2fsck gave me any data back (but luckily, /boot is fairly easy to 
rebuild).

I swear *by* reiser much more often than I swear *at* reiser, but I've done 
both.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: reiserfsprogs

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007, James [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: reiserfsprogs':
 Volker Armin Hemmann volker.armin.hemmann at tu-clausthal.de writes:
  Neil wrote:
   If all else fails,
   and provided you have enabled CONFIG_MAGIC_SYSRQ in your kernel,
   hold down Alt and SysReq/PrtScr and press S, U and B in turn to
   reboot (reasonably) cleanly. Pausing a couple of seconds between
   each key is probably a good idea.

 Interesting idea however this laptop does not have this key
 SysReq/PrtScr.

Every keyboard has a SysRq button.  On most, it is shared with PrtScrn.  
However, I've also seen it shared with either an F key or ScrollLock or by 
itself.  Also, I've seen laptops where you had to hold the Fn key to get a 
key that acts like SysRq.

I guarantee you've got one, although I suppose it might not be labeled 
SysRq at all.

  E, I, S, U, B
 
  so everything is killed, and nothing trying to write to disk, when
  unmounting them.

 Hmm, I do not think you understand, when I exit X/kde the entire system
 is latched up tight. None of the keys work, nothing is echoed to the
 screen, the system is latched up tight.

Please *try* the Alt+SysRq instructions if you haven't already.  Those are 
handled directly by the kernel at a fairly high priority.  I've had 
everything else be ignored, including C+A+Del, and had Alt+SysRq save my 
filesystems.  It is possible that you might not see anything happen after 
E, I, S, and U, especially if you were previously in X, since the kernel 
is trying to write to the text-mode console but things are happening 
unless your kernel has crashed.

All other keystrokes travel to user-space to be processed, so if your 
kernel is busy, they won't do anything.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Thanks to the user community

2007-07-29 Thread Boyd Stephen Smith Jr.
On Sunday 29 July 2007 11:06:44 pm Iain Buchanan wrote:
 On Fri, 2007-07-27 at 08:13 -0500, Albert Hopkins wrote:
  But seriously, shouldn't we be waiting until November to say this? ;-)

 why, what happens in November?

In the U.S., Thanksgiving.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpoPs3XRVRyQ.pgp
Description: PGP signature


Re: [gentoo-user] Running Scripts

2007-07-28 Thread Boyd Stephen Smith Jr.
On Saturday 28 July 2007, Kent Fredric [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Running Scripts':
 On 7/29/07, Uwe Thiem [EMAIL PROTECTED] wrote:
  On 28 July 2007, Kent Fredric wrote:
   try a plain old bash script and see if that works, and try this and
   see if it works:
  
   cat  testrun.c
   #include stdio.h
   int main(int argc, int* argv)
   {
 printf(helloworld);
   }
   ( press ctrl+d here )
  
   make testrun
 
  Without writing a Makefile, make won't build the program. ;-)

 funny, it did for me :P

 $ls -l testrun.c Makefile
 ls: cannot access Makefile: No such file or directory
 -rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c

 $make testrun
 cc testrun.c   -o testrun

That cool, but don't count on it to work on all makes.

I'm fairly sure an empty Makefile is valid, since there already suffix 
rules required by the standard -- there's just no default target.  I guess 
GNU make takes that to the logical conclusion and lets you run entirely 
without a Makefile as long as you specify a target.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] emerge masked pidgin with flagedit

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, maximuswork [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] emerge masked pidgin with flagedit':
 Thufir пишет:
  --- Invalid atom in /etc/portage/package.keywords: net-im/pidgin-2.0.2

Aha!  See there's a problem with your /etc/portage/package.keywords.

  localhost ~ # cat /etc/portage/package.keywords
  net-im/pidgin-2.0.2 ~x86

Oh, that first part is an invalid atom.  The proper systax for atoms is in 
the ebuild manpage, IIRC.  In any case, your problem is that you've 
specified a version, without a comparator.

You probably want '~net-im/pidgin-2.0.2' instead of 
just 'net-im/pidgin-2.0.2'.  The tilde indicates that version, or any 
ebuild revisions (e.g. -r1) or the same version.  You could use '=' 
instead of tilde, if you really don't want any other ebuild revisions.

 ACCEPT_KEYWORDS=~x86  emerge pidgin

Um, no.  Not unless the OP wants ~x86 dependencies to be brought in, and 
all that downgraded to x86 when they do their next emerge world.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] A Thank you to the Developers for the Free Software

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Ow Mun Heng [EMAIL PROTECTED] wrote 
about '[gentoo-user] A Thank you to the Developers for the Free Software':
 I just wanted to take some time to officially say *Thank You* for all
 the good things which you guys/gals have made to my(/our) benefit.

+1

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Running Scripts

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Greg Lindstrom [EMAIL PROTECTED] wrote 
about '[gentoo-user] Running Scripts':
 -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied
 running /usr/bin/python brings up the python shell, so that's in place.

which env

ls -l /usr/bin/env
ls -l /usr/bin/python

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] emerge masked pidgin with flagedit

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Thufir [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] emerge masked pidgin with flagedit':
 Didn't I do that?  For some things, the equals sign doesn't seem to be
 required when using flagedit, for others it seems to be.

Yes, because it is expecting an ebuild atom. Do
man 5 ebuild
and read the section on 'DEPEND Atoms', they have a simple but precise 
syntax.

BTW, if the wiki is broken, just fix it.  I'm not sure it's an official 
source of documentation anyway.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] The Future of the Gentoo Foundation

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Dan Cowsill [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] The Future of the Gentoo Foundation':
 Then the idea that the Gentoo Foundation might 'cease to exist as an
 entity' isn't really bad news?

It's bad news, but not as bad as you think.

 Some clarification might be in order.

The foundation serves an a single legal entity that can do and own things 
on behalf of Gentoo.  However, before the foundation things were done and 
owned by the volunteers that make up Gentoo.  This is not ideal, which is 
why the foundation was created, but Gentoo could certainly run like that 
again until the foundation could be reformed under management that knows 
how to file paperwork.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Notebook/laptop recommendations?

2007-07-22 Thread Boyd Stephen Smith Jr.
On Sunday 22 July 2007, Crayon Shin Chan [EMAIL PROTECTED] 
wrote about '[gentoo-user] Notebook/laptop recommendations?':
 I'm looking for a new notebook (to run Gentoo of course). I don't want
 the latest nor the best (too expensive), but it needs to have Core 2
 Duo. Are there any particular manufacturers/models where it just works
 in terms of driver support? 2 items that I would like for it to just
 work with the minimum of fuss are the wlan and the hibernation. So
 anything I should look out for or avoid, to make installing Gentoo as
 painless as possible?

I've had very good luck with my dellbuntu system.  System 76 also goes out 
of the way to make sure their hardware is linux friendly.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] gcc 4.2 and Core 2 Duo

2007-07-20 Thread Boyd Stephen Smith Jr.
On Friday 20 July 2007, Boyd Stephen Smith Jr. [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] gcc 4.2 and Core 2 Duo':
 If they have the same value, or -march is listed after -mtune, yes. 
 -march implies -mtune, but you might do something like

-march=686 -mtune=native

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-19 Thread Boyd Stephen Smith Jr.
On Thursday 19 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] 2 to 3??':
  -Original Message-
  From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED]
  If you don't like the GPLv3, you probably didn't
  *really* like the GPLv2 and might be more interested
  in licensing anything you contribute under something
  like MIT/X11/BSD.
 
  Those licenses allow others to take your code, cripple
  it, and sell it to you (perhaps even on a device) for
  $100.  Oh, and offer you an upgrade to (_the same device_
  running) your original code (which still has a few bugs, you
  might want a support contract) for $1.

 I can't agree with your statements here.  Unless you have
 no understanding of copyright law, you should realize that
 YOUR code cannot be crippled regardless of the license that
 you put it under.

Not true.  Say you release code into the public domain [1].  Now, evil 
corporation X takes that code, strips out some features, sign it and put 
it on a cell phone.  They sell you the phone for $300 (free with 2 year 
contract) or a version with your original software on it (the exact same 
hardware) for $600 (no discount available).  They pull a TiVo can ensure 
that you can't load modified software on it -- or you can but then the 
phone refuses to do anything put print This phone needs service.  Please 
take this phone to your local retailer for service.  They don't even tell 
you it's your code -- someone in Turkey found that out and emailed you in 
broken English. ;)

Your code is locked up and you can no longer upgrade it (or even use ALL of 
the features that YOU wrote) without paying $$$.

Sure, you can still upgrade and release your code, but you can't run it on 
a device YOU PAID for that is ALREADY running YOUR code, UNMODIFIED.  You 
also can't help other people using these phones that THEY paid for, even 
though your code runs unmodified.

The GPL has always been engineered to prevent this behavior.  The GPLv1 and 
GPLv2 both concentrated on the way to prevent this through copyright law.  
However, this has proven to be not enough.  After bring cases to count 
(and settling because the case was so clear-cut) multiple times, it became 
fairly clear to all parties that GPLv2 was overly difficult, if not 
impossible, to be simply attacking with copyright law.  So, entities 
that would rather not contribute, have attacked with technological and 
patent-law methods to restrict users' freedoms and the GPLv3 meets those 
attacks head on.  I hope RMS and the FSF will act even more quickly 
(either with aggressive litigation or further license revisions) to future 
attacks on the freedoms that are meant to be preserved throughout the Free 
Software ecosystem.

 The code that YOU write and release under an Open Source or
 Free Software license will still be available under that
 license even after someone else uses it in a project of their own.

Yes.

 If you use a license that allows for relicensing or closing
 of the code and someone does so, then it only effects THEIR
 Version of the code.  Yours is still intact, and unharmed.

With the BSD lincese and public domain, we get into case case where the 
freedom of the code depends on where you take the measurement (see above).  
RMS witnessed such things happening and preventing the free code from 
always free.  Thus, he wrote the GPLv1 with the goal of making sure Free 
Software was free everywhere and to everyone.

 The MIT/BSD/etc licenses have the advantage that a person
 can if they so desire CHOOSE whether or not they wish to
 make THEIR code and modifications available.  This is a choice.

They ALSO get to choose whether they give their users your code and can 
even prevent users from knowing what code they are running, especially if 
your are prolific.

The GPL also covers (read: places restrictions on) derivative works, 
something that is your right as a copyright holder.  BSD/MIT/X11 don't, 
and LGPL makes only minimal requirements on derivative works to ensure the 
original work remains free.

 Many of us WILL release our own code even under those terms,
 but it is a choice to do so.  I am not saying that the idea
 of GPL is wrong.  Different developers have different desires
 for their code.  I am simply saying that the Open Source route
 is just as valid as the Free Software route.

But the GPL has *always* been about Free Software, not just Open Source.  
By accepting the terms of the GPLv2, TiVo should have been prepared to 
honor the Free Software definition and not attempt to restrict their 
users' freedoms.

As a user I wish *every* piece of software I received was under the terms 
of the GPLv3.  As a developer, I understand the allure of the BSD 
license -- it's great to be able to grab others' stuff with a few strings 
attached as possible.  However, since I'll always end up using more code 
than I write, I prefer to release under the GPLv3.

 As for selling it back to you.  It is up to every person to
 take

Re: [gentoo-user] Re: grub chainloader

2007-07-19 Thread Boyd Stephen Smith Jr.
On Thursday 19 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] Re: grub chainloader':
 I have seen many of them that the man page and the
 info page were identicle.  More often though it looked
 like they made a decent man page, and coppied it to info.

info automatically pulls man pages an reformats them if there not info page 
for that node and there exists a man page with that name.  I'm fairly sure 
most info-viewers (including kio_info) do so.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Alan McKinnon [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] 2 to 3??':
 On Tuesday 17 July 2007, Boyd Stephen Smith Jr. wrote:
   The TiVo thing was completely within the word and spirit of the
   GPL.
 
  It was *barely* within the word, and definitely not within the spirit
  of the GPL.  Don't beleive me?  Ask anyone at the FSF or RMS himself.
   They wrote the thing.

 TiVo did just that and got the A-OK signal and thumbs up from the FSF's
 lawyers.

That's because you *could* swap out the software on early TiVos.

 Sometime later, someone had a hissy fit, FSF reversed their 
 stated position and suddenly Tivo becomes spawn of satan.

Because they started artificially limiting users' freedoms 0, 1, and 
partially 3.

 Tivo had no option, their content providers would never have given them
 a license to redistribute content without the mods they did

It's not my (or my community's, or my code's) job to support your business 
model.  If you can't play by the license, then you can't use the software.

 It's not the software that is crippled, it's the hardware.

No, it's the software because they haven't given it all to us.  For 
software to run on the device it was *designed* to run on it's required to 
be signed; therefore, the signature is part of the binary and a derivative 
of a GPLv2 work.  That work distributed presumably under the GPLv2, which 
means the source (preferred format for making modifications) must be 
provided, and TiVo has not yet published the necessary tools for us to 
generate our own signatures.

They are therefore limiting freedom 1, which limits freedom 0, and 
indirectly freedom 3, because the community cannot benefit.

 So, in what way have Tivo removed people's freedom as
 granted by the GPL?

Artificially limiting freedoms 0, 1, and 3.  The restriction is 
fundamentally different from a RAM or HD space limit; a binary that does 
nothing but play pong (well within the hardware capabilities of the TiVo) 
is still not allowed to run without the signature.

Personally, I think TiVo COULD be called out for violating GPLv2, but IANAL 
and Eben is and declined to file suit against them.  Under the GPLv3, 
users' freedoms are better protected, and it's quite clear that TiVo 
would/will be in violation of that license.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, b.n. [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] 2 to 3??':
 What should I do, in your opinion?

Probably LGPLv3, which will allow GPLv2 (and proprietary) projects to use 
it without requiring the combined work to be GPLv3.

Actually, I'm probably going to take a pen to the LGPLv3 in the future and 
turn it into something along the lines of GPLv3 or, if your larger work 
is licenced under any version of the GPL, LGPLv3, but that's for the 
future and I'll want to run the license by the FSF first before using it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Stroller [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] 2 to 3??':
 However, this is not the point.

 The point is that Tivo SOLD people hardware

This is the salient point for me, too.  If hardware was still owned by TiVo 
(in reality, not just in name) I'd have no problem with them deciding what 
can run on it and taking steps to prevent tampering.

I'm not sure Stallman would agree with me -- users may or may not own the 
device their software runs on, and Stallman is all about users.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Volker Armin Hemmann 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 2 to 
3??':
 a) nobody is forced to buy a tivo. If you don't like it, don't buy it
 and you don't have problems.

TiVo isn't forced to use GPLv3 licensed code -- if they don't use it, they 
don't have problems.

 b) AFAIR Linus owns a Tivo himself.

Yes, I believe he does.

 c) it is morally wrong to try to dictate HARDWARE licence problems with
 a SOFTWARE licence

There's no requirement on the hardware that runs GPLv3 software.  You just 
have to provide the whole source (preferred format for modification) to 
the full binary (everything that must be in place to run the software on 
the device it was designed for).

 d) If I can't use the software freely anymore one of the key freedoms is
 gone.

Yes, which is why the GPL v3 is necessary.

 This is the same stupidity like anti-terror law. Lets take away freedom
 and free speech to protect freedom and free speeach

Except that the anti-terror laws don't protect freedom or free speech in 
any way, just life (and it's questionable that they do that).  It's more 
like the laws that say you can be thrown in prison for unlawfully 
imprisoning others.  Your freedom will be restricted (you can't use the 
software) if you attempt to restrict the freedoms (namely, the four 
freedoms) of others.

 e) Linus is not alone. You should read what Jesper Juhl wrote in one of
 the lenghty discussions on lkml. Very interessting.
 http://marc.info/?l=linux-kernelm=118211628209101w=2

1) This concerns draft versions, as the final version wasn't available.
2) Mr. Juhl admits there are downsides to allowing tivoization.

The question really remains -- do you want your code to be able to be 
locked up or not?

BSD is available for those that don't care if the code is locked up.
GPLv3 is available for those that want the maximum level of protection 
against their code (or derivatives) from being locked up.
There are a quite a few other Free Software licenses between those two 
extremes, including GPLv2.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007 06:48:38 pm Volker Armin Hemmann wrote:
 On Donnerstag, 19. Juli 2007, Stroller wrote:
  On 18 Jul 2007, at 18:40, Volker Armin Hemmann wrote:
 [C]ould
 ANYBODY claim to be surprised by say Tivo?

Yes they can, since the move to DRM/TPM/etc. devices was unannounced and a 
change from previous generations of the hardware.  There's also the fact that 
the code the TiVo runs *must have a signature as one of it parts* and like 
any GPLv2 derivative, distributors (like TiVo) must provide the full and 
complete source (preferred form for modification) of all the parts, which 
they have not.

This signature requirement is implicit in the GPLv2 and explicit in the 
GPLv3.  So was the patent license stuff.  The GPLv3 is just a stronger, more 
well-specified GPLv2.  If you don't like the GPLv3, you probably didn't 
*really* like the GPLv2 and might be more interested in licensing anything 
you contribute under something like MIT/X11/BSD.

Those licenses allow others to take your code, cripple it, and sell it to you 
(perhaps even on a device) for $100.  Oh, and offer you an upgrade to (_the 
same device_ running) your original code (which still has a few bugs, you 
might want a support contract) for $1.

 Plus, people who are discussing 'ethical' problems with locked hardware
 tend to forget, that there is enough hardware out there that a) needs an
 update once in a while but b) has to be temper proof by the user! You might
 want to read up about clinical equipment or FCC rules. Just for fun.

Actually, during the GPLv3 process, both these points (FCC and medical 
equipment) were brought up and experts were brought in.  It was determined 
that there is no legal requirement to make such devices tamper-proof, if 
upgrades are allowed at all.

Equipment distributors are already protected from lawsuits (and the like) once 
a device is tampered with as long as they give the tamperer sufficient 
warning.

There is no legal reason why devices must be upgradable by their distributor 
but not by their owner, including devices under the auspices of the FCC or 
medical devices.

 Some people need to realize that there is a fundamental difference between
 code and hardware.

The FSF knows there's a difference between code and hardware.  However, there 
is no difference between code on a HD and code on an EEPROM.  (It's all just 
readable and writable bits.)  There's also no difference between code on a CD 
and code on a ROM chip. (It's all just reabable bits.)

 And telling someone what he can do with HIS hardware is 
 just wrong. You don't like the terms of the hardware vendor? Fine. Don't
 buy it. But buying it and than complaining is just lame.

If they sell it to me it is no longer their hardware.  It's MINE.  That's why 
DRM shouldn't be allowed AT ALL, completely independent of the software 
distribution requirements (not hardware requirements) that the GPLv3 
specifies.

If TiVo was renting (really renting, not just in name like $129 lets you 
rent the device for 99 years) the devices, I would probably be on the other 
side of this discussion.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


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


Re: [gentoo-user] 2 to 3??

2007-07-17 Thread Boyd Stephen Smith Jr.
On Tuesday 17 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] 2 to 3??':
 TiVo did not allow modified, and therefore potentially
 Compromised, devices connect to their network.

More than that -- they don't allow the compromised devices to boot.  Of 
course, that's *required* to lay down the restrictions they want, since 
one the device is booted from freely modified code, there's no method of 
remote attestation to guarantee your aren't just pretending to be 
a genuine device.

 This does not sound like theft of code, it sounds like sound network
 protocol.

So, sound network protocol validates the data sent, it doesn't require the 
other end to be arbitrarily trusted.  Remember trusted is just DoD 
speak for allowed to violate security policy.

 If you wish to maintain a secure environment that is stable 
 for thousands of users, and has a lot of money riding on it, you do
 not allow compromised devices to connect.  It is that simple.

BS.

Second life allows any client to connect as long as they follow the 
protocol.  There's a wide variety of WoW hacks that modify the running 
executable (a binary patch applied at runtime) that, while not allowed 
under the EULA, work quite well on the real servers and have not increased 
the number of server crashes or scheduled restarts.

Securing the network is not done by securing the remote devices.  (You 
don't need to trusted ethernet card to connect to a cisco router, or a 
cable modem.)  It is done by validating the data sent, having a 
well-defined network protocol, and disconnecting clients that provide bad 
data.

 The TiVo thing was completely within the word and spirit of the GPL.

It was *barely* within the word, and definitely not within the spirit of 
the GPL.  Don't beleive me?  Ask anyone at the FSF or RMS himself.  They 
wrote the thing.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-17 Thread Boyd Stephen Smith Jr.
 to effectively remove users' 
freedoms.  The GPLv3 is all about freedom -- but freedom is only realized 
by restricting the ability to limit freedom.  (Your freedom to swing your 
fist ends an inch from my face.)

 That is why I shy away from the GPL licenses.  I like the
 LGPLv2, but GPLv3 is kind of scary.  I want code that I make
 free to be free.  :P  I don't want to say, It is free if you
 are a broke penniless college kid that plans to stay that way.

Sounds like you want the GPL then -- since it explicitly allows commercial 
use as long as the four freedoms are preserved to all users.

 LGPLv2 allows wide use of code, without heavy demands.

LGPL does do one thing that can be nice, and it prevents the viral nature 
of copyright law from affecting your code -- that is it allows others the 
freedom to license their original work under whatever license they choose 
(as you did), combine it with your work, and distribute the whole as long 
as they follow your license for your stuff.

It's a very good license, and I think that it is normally the better 
license to choose *unless* your goal is to have all software be Free 
Software.

 If I by some miracle produce a chunk of code that propels another
 entity to the top of their industry, then I have achieved something
 Whether I get anything in return from them or not.  If they
 are able to take what I have produced and make it useful, then
 more power too them.  If they give back to the community in the
 form of code, cash, or even morale support, then that is them
 playing the game by our rules.

Not if you follow the GPLv2 or the spirit of the GPL.  That *requires* the 
code to remain in the community.  The GPLv3 strengthens this requirement.  
If you want other to be able to lock away your code (or derivative works 
of your code) you should use the BSD license.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Boyd Stephen Smith Jr.
On Monday 16 July 2007, Volker Armin Hemmann 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 2 to 
3??':
 On Montag, 16. Juli 2007, Jerry McBride wrote:
  On Monday 16 July 2007 08:15:43 am Mark Shields wrote:
  Personally... reading what I have about the gpl 3.0 , I'd be pretty
  comfortable having Gentoo/Portage moved to it.
 
  It offers a lot of protection that gpl 2. does not.
 
  Anyway, if it makes Microsoft catch up then it must be good.

Actually, we should encourage commercial entities to participate the in 
Free Software movement, including letting them retain the ability to 
charge for providing software, as long as they are willing to let users of 
the software retain their four freedoms.  Microsoft has made some movement 
in this direction...

 it takes away freedom - I am not sold to that 'must be good' aspect.

Okay, this is off-topic, but it only takes away the freedom to take away 
users' freedoms, something the GPL has always done.  BSD doesn't take away 
any freedoms, but I'm unconvinced that it's a good thing for Free Software 
to be able to be locked up.

*I* think the GPLv3 is better, and that it would be good to move KDE toward 
GPLv3/LGPLv3 licensing. However, that is a decision that the project will 
have to make as a group and it would require reimplementing or relicensing 
all the code licensed to the under the GPLv2.  That's a tough sell.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 3D Acceleration With Laptop - Radeon Xpress 1100 IGP

2007-07-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 July 2007, Drew Tomlinson [EMAIL PROTECTED] wrote 
about '[gentoo-user] 3D Acceleration With Laptop - Radeon Xpress 1100 
IGP':
 [W]hen loading the fglrx.ko
 module, I get an error about ...taints the kernel.  Thus I suspect I
 have some option set in my kernel that conflicts with the fglrx module?

No that just means that the binary you are running (kernel + modules) is 
not Free Software or, in this case, distributable at all.

See http://www.kroah.com/log/images/ols_2006_keynote_12.jpg , part of 
http://www.kroah.com/log/linux/ols_2006_keynote.html which is full of high 
level information about the kernel.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] FEATURES=test -- Should this work?

2007-06-26 Thread Boyd Stephen Smith Jr.
On Tuesday 26 June 2007, Mike Edenfield [EMAIL PROTECTED] wrote 
about '[gentoo-user] FEATURES=test -- Should this work?':
 I recently enabled the test feature on Portage

I use paludis,. which does testing by default, and I've seen a number of 
packages fail tests.  I simply mask those specific versions.  Last time I 
checked, bug reports coming from alternative package manager users were 
closed fairly quickly.  Since you are using portage, your bugs may get a 
little more attention, but I think the general consensus is that tests 
aren't important so they generally get dropped to low priority, ignored 
until the next release, then closed with a refile if it affects the 
current release message.

Then again, perhaps I'm just feeling a bit jaded toward the Gentoo 
developers this morning.  grumpy/

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Where is wxWidgets/wxPython 2.8?

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007, Grant Edwards [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Where is wxWidgets/wxPython 2.8?':
 wxWidgets/wxPython 2.8 has been out for about 6 months now, but
 hasn't even made it into testing yet.  The most recent
 version available in portage is 2.6.3.  Is there some problem
 with wxWidgets/wxPython 2.8?  Is there anything we users can do
 to help?

Hrm, your message seems directed at the developers.  If that's the case, 
you sent it to the wrong mailing list.  (You want -devel, next door).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] (sin asunto)

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007 12:48:03 Matthias Guede wrote:
 2007/6/25, Roberto Bermejo Martinez [EMAIL PROTECTED]:
  Davi escribió:
   Em Segunda 25 Junho 2007 14:01, Roberto BErmejo Martinez escreveu:
   What stage can I use  with a Intel Core 2 duo??
  
 Intel still be 64 bits... As AMD. So, you can use AMD64 too.
 
  I probe with x86, ia64 and amd64 and already don't  work.

 Looks like you try to install from an 32bit OS. Using the amd64 Gentoo
 LiveCD and the adm64 stage3 should work.

If you don't want a 64-bit kernel (and therefore no 64-bit applications), you 
can go the 32-bit route and use the (i[[:digit:]]|x)86 liveCD and stage.  I 
don't recommend this, but it may be preferred if you use software that is (a) 
non-portable (and not ported) or (b) only available in binary form 
(non-Free).

It is possible you are running into some problem with the liveCD, but as you 
other messages indicate you are able to see your drives and partition them, 
you simply can't perform the chroot -- which should only be an issue if (a) 
you are using a 64-bit stage from as 32-bit liveCD or (b) the stage tarball 
is corrupt or broken.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] usb device mp3 playlist maker

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007, maxim wexler [EMAIL PROTECTED] wrote 
about '[gentoo-user] usb device mp3 playlist maker':
 I have a generic mp3 usb 256M player. Does anybody
 know of a program or script that will load it with
 tunes, in a random arrangement from a dir full of
 mp3s?

Does it show up as a usb block device?  If so, you can copy files however 
you choose.  AmaroK should be able to generate a random playlist of X 
songs, and may be able to do one of X MiB.

If not, you'll have to figure out if there's a driver for it, and see what 
methods are available using that driver.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set a network quota per eth device?

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 05:22:21 [EMAIL PROTECTED] wrote:
 You can use iptables counters and some scripting on bash. Most of the
 people do it by hands, because writing huge billing system is to
 comprehensive :)

You could do it that way, but it rather silly since the kernel has all kinds 
of support for traffic control and shaping.

Shorewall may be able to handle the task, and it is fairly friendly.

If shorewall can't do what you need you'll need to look into the CLI to the 
kernel's traffic control/shaping/queuing tables: tc.  Some examples and 
discussion are in the Linux Advanced Routing  Traffic Control HOWTO.  It's 
part of The Linux Documentation Project so it can be found either there [ 
http://tldp.org/HOWTO/Adv-Routing-HOWTO/ ] or at it's own little corner of 
the web [ http://lartc.org/ ].  It's old, but still mostly useful.

I can also send you some scripts built around tc for my own little home 
network that *might* be useful as examples.

Also, foringer:
A: Because it reverses the order of the conversation.
Q: Why is top-posting so annoying?
A: Top-posting.
Q: What's the most annoying thing on mailing list and newsgroups?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] /boot without space.

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 16:11:42 Ricardo Bevilacqua wrote:
 I was installing a boot splash when i got this message

 //
 o Creating initramfs image..
 mv: writing «/boot/fbsplash-livecd-2007.0-1024x768»: There is no space
 left on the device.
 //

 I was surprised so I checked the /boot partition

Try using:
du -xa /boot | sort -rn
as root to locate the space hogs, which may be hidden files.  (du does lie 
sometimes though, because the assumptions it makes about file size aren't 
always true.)

You might also fire up filelight and/or the file size view of konqueror 
(either would also need to be as root) if you prefer a graphical view.  (They 
will suffer from the same limitations as du, but their assumptions my be 
different.)

Oh, I'm not sure while filesystem you are using, but reiserfs reserves some 
space for the block usage bitmap and misc. metadata, and that takes up a 
number of MB.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] where is libnetsnmp-devel? (needed for hplip)

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 19:40:23 Allan Gottlieb wrote:
 Which package contains libnetsnmp-devel?

$eix -c snmp
[...]
[I] net-analyzer/net-snmp ([EMAIL PROTECTED]/28/2006): Software for generating 
and 
retrieving SNMP data
[...]

Probably that one, but that's just a guess.

Gentoo doesn't separate packages into -devel versions -- you get all the 
development stuff as part of the base package (since it's usually required to 
compile, as Gentoo does, pacakges that depend on it).

There isn't a libnetsnmp package in gentoo, nor a netsnmp package in any 
of the *-libs categories.  Naming something netsnmp seems a bit redundant 
to me anyway, I'm fairly sure the N of sNmp stands for network, so I 
just searched for snmp.  14 hits.  1 is in a *-libs category, but the short 
description says it's specifically for KDE, not what you are looking for I 
think.  1 (other) has lib in the name of the package, but it's specifically 
for ruby, again, I was fairly sure that wasn't what you were looking for.  
Also, other distros generally but ruby in the package name of ruby libraries.  
Down to 12 packages.

I threw out packages in dev-perl and perl-python, again, because of other 
distros naming practices.  1 package was in sec-policy which is definitely 
not the place for a lib.  1 package was a plugin for something else, so I 
decided that was also probably not what you want.  Down to 4 packages.

At that point, I decided the most likely package was net-snmp because of the 
name.  bsnmp says it's a library (whereas net-snmp doesn't) so that would 
probably be a good second choice.  snmpmon (a tool) and snmptt could also 
ship that library, but that's probably a stretch.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 12:27:10 Jan-Hendrik Zab wrote:
 'strace -f su - jonsnow':

 [pid  4117] execve(/bin/zsh, [-su], [/* 6 vars */]) =
 -1 EACCES (Permission denied) 

Note that the trace clearly shows that /bin/zsh isn't returning an error code 
(in which case pid 4117 would immediately die) but rather the execve call is 
returning an error code and the fork()ed copy of su continues executing 
(writes an error to stderr and then dies).

According to http://www.die.net/doc/linux/man/man2/execve.2.html EACCES is 
only returned by this function for a few reasons:

1) Search permission is denied on a component of the path prefix of filename 
or the name of a script interpreter. (See also path_resolution(2).)

(So, make sure /bin and / are executable by uid 1000.)

2) The file or a script interpreter is not a regular file. 

(So, make sure /bin/zsh is not a symlink, evidently that doesn't work.)

3) Execute permission is denied for the file or a script or ELF interpreter.

(So, make sure that /bin/zsh and /lib/ld-linux.so* are executable.  
If /bin/zsh is a script make sure the interpreter listed after #! is 
executable.  Proceed recursively if THAT is a script.)

(Also, is it possible that you don't have the right /lib/ld-linux.so?  See the 
above link for some detail [the paragraph just above RETURN VALUE].  ldd 
should be able to show you which one you need.)

4) The file system is mounted noexec.

(So, make sure that you filesystem is currently mounted exec.)

If all of those check out, I think you'll have to use the source, luke.

 Permissions of '/':

   drwxr-xr-x 20 root root 4096 2007-06-17 16:21 //

That looks a little weird, but only because of the extra '/'.

On my system:
$ ls -ld /
drwxr-xr-x 23 root root 664 2007-06-11 20:27 /

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 14:03:20 Jan-Hendrik Zab wrote:
 I really dislike this problem :D

/me agrees.

My locally installed man page doesn't provide any other explanations for that 
return code, so I'm still betting it's one of those things.  However, someone 
more skilled than I might be able to spend some time digging through libc 
and/or the kernel to determine an alternative cause.

Does you dmesg show any kernel faults/backtraces?  Sometimes they can muck up 
things enough to cause weird errors but not enough to crash the system.  If 
so, I'd recommend capturing it and rebooting.  Then, report the fault as a 
bug.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Sync and glsa-check from cron

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 17:18:45 Nick wrote:
 So, I'm planning to run sudo emerge --sync and sudo glsa-check -f
 new from a cron job, perhaps once a week.

 I can set up the sudoers part all fine, but is there anything I
 should watch out for / consider when running these maintenance tools
 from a cron job?

Not these two, they shouldn't depend significantly on your environment 
variables.  Just make sure you are in the right group to run cron jobs.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Sync and glsa-check from cron

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 17:26:15 Joshua Doll wrote:
 Nick wrote:
  I can set up the sudoers part all fine, but is there anything I
  should watch out for / consider when running these maintenance tools
  from a cron job?

Oh, and I forgot to mention it in my other direct reply:  You'll probably need 
to specify the full path to those commands.  $PATH is generally different or 
unset when tasks are run from cron.

 I think cron can run jobs as root.

Yes, /etc/cron.{hourly,daily,weekly,monthly} contains scripts to be run as 
root.  Also, some (most? all?) cron daemons allow root to have a crontab 
separate from the system crontab.  If you have root access you can even 
fiddle with the system crontab, but that's not the preferred solution.

Many cron daemons also allow jobs to be run as a user by maintaining a crontab 
for each user and su-ing to the correct user (and cleaning/setting the 
environment) before running the task.  If I'm reading the question correctly, 
he will be adding these actions to his user's crontab and then sudo-ing to 
run the script.  sudo can be set up to allow users to run tasks as root 
without a password.  sudo also cleans the environment by default, but that 
can be turned off or made less strict.

However, tasks run by cron (either as root or as another user) will have 
different environment variables set.  e.g. /etc/profile and $HOME/.profile 
are not sourced in the shell (generally cron jobs aren't run in a shell at 
all).  They will also generally not have a tty associated with them.  Again, 
if I'm reading the OP correctly, (s)he was wondering if those changes will 
affect those two commands.  Some commands / scripts are quite sensitive to 
the environment and may give different results (or not work at all) when run 
from a cron job.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Help me reboot X

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 12:22:59 Kevin O'Gorman wrote:
 On 6/18/07, Neil Bothwick [EMAIL PROTECTED] wrote:
  On Sun, 03 Jun 2007 21:16:58 -0400, Ken wrote:
   If you have physical access to the machine and have support for the
   Magic SysRq built into your kernel, you can kill the X server by
   pressing ALT + SysRq + K. This will kill all processes running on the
   current terminal.

Hrm, I thought this killed ALL processes, but I could be wrong.  Is that maybe 
Alt+SysRq+e or Alt+SysRq+i?

  If you are accessing via SSH, you can still use this with
 
  echo k /proc/sysrq-trigger

 Nice.  However, I'm still wondering -- neither of my keyboards has a keytop
 labelled sysreq.  What is it?

My laptop has a specific key for it.  IIRC, (my desktop is not in front of 
me), it shares a key with 'Print Screen'.  On both (again, IIRC) it's usually 
shortend to just 'SysRq'.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 14:36:05 Neil Bothwick wrote:
 I have most of KDE installed here, yet
 only 67 kde-base packages in world.

I run fairly light, I have about half that many:

$ grep -c ^kde /var/db/pkg/world
31

I do have a number of KDE applications installed from other parts of the tree 
though, like kmplayer, kaffeine, ktorrent, etc.

 You could reduce that sill further 
 by using more than the two meta packages I currently have.

Again, since I prefer to just install the apps I want, I only pulled in 1 meta 
package.

$ grep ^kde /var/db/pkg/world | grep -e '-meta$'
kde-base/kdeartwork-meta

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 16:36:38 Peter Ruskin wrote:
 On Monday 18 June 2007, Boyd Stephen Smith Jr. wrote:
  /var/db/pkg/world

 I think your system may need updating - the world file has lived
 in /var/lib/portage for some time now.

Paludis prefers it @ /var/db/pkg/world.  I have both on my system; one is just 
a symlink to the other.

My system was fully updated (~amd64) around 8a this morning, right before I 
left for work.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Re: Finer grained kde*-meta packages

2007-06-16 Thread Boyd Stephen Smith Jr.
On Saturday 16 June 2007, Alexander Skwar [EMAIL PROTECTED] 
wrote about '[gentoo-user]  Re: Re: Finer grained kde*-meta packages':
 · Boyd Stephen Smith Jr. [EMAIL PROTECTED]:
  Right, because kde*-meta is supposed to replace, and act as much as
  possible like the monolithic kde* package.  If you don't want all of
  kdenetwork you don't install kdenetwork-meta, you install individual
  applications from kdenetwork.

 Well, but as kdenetwork-meta is a dependency of kde-meta, this
 solution means, that about 300 packages should be manually
 listed, just because one package is not wanted.

No, because as I covered in my other reply, you can still use kdebase-meta, 
kdepim-meta, etc. to pull is all the packages from those parts of kde and 
only list individual applications from the parts you don't want everything 
from (in your case you should be able to use every kdefoo-meta 'cept for 
kdenetwork-meta).  For your particular use case it's still  30 packages, 
not 300.

Sure, maybe that's still too many.  Perhaps a recommends/suggests 
dependency type (all recommends would be post-dependencies) to allow a 
package to install even if all of the packages that satisfy one of it's 
recommend atoms are masked would be better, but you'll have to take that 
up with the developers responsible for specifying the EAPI levels.  
Careful how you phrase any suggestion though or you'll just get shouted 
down by Gentoo isn't Debian replies.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] lvm without initrd

2007-06-16 Thread Boyd Stephen Smith Jr.
On Saturday 16 June 2007, Florian Philipp [EMAIL PROTECTED] wrote 
about '[gentoo-user] lvm without initrd':
 I'd like to know which parts of my system need to stay on traditional
 partitions and which directories can be moved to an lvm if I don't want
 to use initrd and still be able to boot.

Anything 'cept / (and /boot of course) can live on LVM without the need for 
an initrd.  Of course, /lib and /etc can't be on separate block devices 
from /.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Make portage assume, that a package is installed

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Make portage assume, that a package is installed':
 Good morning!

 On my system, I did not install net-dialup/ppp.
 But I'd now like to install kde-base/kde-meta, which will
 pull in kde-base/kdenetwork-meta, which will pull in kde-base/kppp
 and this will finally pull in net-dialup/ppp.

 Can I now make it somehow so, that I am able to install kdenetwork-meta,
 but NOT install kppp  ppp?

 So I tried to create the file in /etc/portage. Contents:

 --($:~)-- cat /etc/portage/package.provided
 kde-base/kppp-3.5.7
 net-dialup/ppp-2.4.4-r8

 Obviously, I'm doing something wrong.

 How do I do it right?

As Peter Alfredsen mentioned, overrides for your profile should go 
in /etc/portage/profile instead of /etc/portage.

However, I suggest that a cleaner method would be to not install kde-meta 
or kdenetwork-meta at all but instead just install the KDE applications 
that you require.

For example:
$ grep -i kde /var/db/pkg/world
dev-util/kdesvn
kde-base/akregator
kde-base/kalzium
kde-base/kaudiocreator
kde-base/kcharselect
kde-base/kdeartwork-kscreensaver
kde-base/kdeartwork-kwin-styles
kde-base/kdeartwork-styles
kde-base/kdebase-startkde
kde-base/kdm
kde-base/kget
kde-base/kgpg
kde-base/kicker-applets
kde-base/klipper
kde-base/kmahjongg
kde-base/kmail
kde-base/kmenuedit
kde-base/kmix
kde-base/kompare
kde-base/konq-plugins
kde-base/konqueror-akregator
kde-base/konsole
kde-base/kontact
kde-base/korganizer
kde-base/kpager
kde-base/kpdf
kde-base/kscreensaver
kde-base/kstars
kde-base/ksysguard
kde-base/kwalletmanager
kde-base/kwin
kde-base/superkaramba
kde-misc/kdiff3
kde-misc/filelight

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages (was: Make portage assume, that a package is installed)

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Finer grained kde*-meta packages (was: Make portage 
assume, that a package is installed)':
 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
  However, I suggest that a cleaner method would be to not install
  kde-meta or kdenetwork-meta at all but instead just install the KDE
  applications that you require.

 Actually, I disagree.

 This would (obviously *g*) mean, that kde-meta cannot be installed
 (just as you say).

Yes, because the upstream kde includes, in particular, kppp.

 This means, that a whole shit load of packages 
 would need to be manually installed. And all that, just because you
 don't want one or two packages?

Yep.  You get kde-meta or individual kde packages or you get your own 
ebuild that depends on a number of KDE packages.  The Gentoo developers do 
quite a bit of work just to give us kde-meta.  Be glad they don't stick 
you with the monolithic ebuilds.

 Nah. IMO that's the wrong way around. IMO the correct way would
 be to enhance the kde*-meta packages so, that they support USE flags,
 which allow the user to select what's to be installed.

I suppose that's a good idea in the future.  Perhaps you should file an 
enhancement bug.  That said, I would prefer kde-meta install all the 
packages that are part of KDE's upstream packaging by default.

 Eg. a ppp flag to select that ppp related stuff is to be installed.
 Or filesharing to disable filesharing related stuf

Do you suggest a global flag?

If so, what packages do you recommend this flags modify the behavior of?

If not, shouldn't it have a less ambiguous name?

 I mean, what's the advantage of the kde*-meta packages over the kde
 package, when the kde*-meta require just as much junk, as the
 kde package does? Hm, really, what's the use of the kde*-meta package
 anyway?

The kde-meta package is meant to replace the kde package.  The is no 
advantage (and without a workable confcache, at least one disadvantage) to 
running split ebuilds.  The advantage of split ebilds is that you have the 
choice to install only the kde applications you want, by using the 
individual ebaulds, without dragging in all of kde (which is what old 
style kde packages pulled in as a dependency.)

Are the monolithic ebuilds still available?  They need to be purged from 
the tree ASAP.

- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Finer grained kde*-meta packages

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: Finer grained kde*-meta packages':
 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
  On Friday 15 June 2007, Alexander Skwar [EMAIL PROTECTED]
 The ppp flag is already known to portage.

 --($:~/tmp)-- euses -i ppp
 net-dialup/capi4k-utils:pppd - Installs pppdcapiplugin modules

That's pppd, not ppp

 But maybe dialup might be good. But that's details.

Yes, much easier to understand.

  I mean, what's the advantage of the kde*-meta packages over the kde
  package, when the kde*-meta require just as much junk, as the
  kde package does? Hm, really, what's the use of the kde*-meta package
  anyway?
 
  The kde-meta package is meant to replace the kde package.  The is no
  advantage (and without a workable confcache, at least one
  disadvantage) to running split ebuilds.  The advantage of split ebilds
  is that you have the choice to install only the kde applications you
  want, by using the individual ebaulds, without dragging in all of kde
  (which is what old style kde packages pulled in as a dependency.)

 But with using the kde*-meta package, this advantage doesn't
 exist.

Right, because kde*-meta is supposed to replace, and act as much as 
possible like the monolithic kde* package.  If you don't want all of 
kdenetwork you don't install kdenetwork-meta, you install individual 
applications from kdenetwork.

Of course, any USE flags available on the old monolithic packages, as well 
as any use configure options from upstream, should be exposed.

  Are the monolithic ebuilds still available?

 Yes. Eg. kdemultimedia-3.5.7.ebuild

  They need to be purged from
  the tree ASAP.

 Have phun with bugzilla :)

 Or where should something like this actually be brought
 up?

Probably the developer list, I'm sure someone from the kde herd would hear 
you there.

  -

 Your signature is delimited in a wrong way.

Odd, I must have accidentally cut one of the -s.  Kmail properly uses -- 
\n as this message and my first in the thread can attest.  It does let 
you edit you signature and the separator, and I must have mistakenly taken 
advantage of that.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Finer grained kde*-meta packages

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: Finer grained kde*-meta packages':
 Suppose you've got the following use case: Install all of
 KDE, but leave out PPP stuff.

 How would you solve that?

Intall all the kde*-meta packages except kde-meta (I want to customize my 
kde install) and kdenetwork-meta (Specifically, I want to adjust network 
[ppp] support).  Install any packages I need but don't have yet via the 
split ebuilds.

Just because kde-meta doesn't satisfy your needs you don't have to forgo 
using the -meta ebuilds entirely.  In your case it will probably be  30 
packages you need to install, not  300.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login on Courier-imap server

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007 03:38:58 Johannes Skov Frandsen wrote:
 I have installed Courier-imap on my server and I'm trying to test it,
 which is not going that well...

 When I try to telnet in to it I can connect but I can't log in.

 Am I using the right commands when I test?

Yes, but you are using the wrong format.  All IMAP commands and responses are 
prefixed by a 4-character string and a space.  This way a command can have 
multiple responses and multiple commands can be sent before the response for 
the first is received.  (The client matches responses to commands based on 
matching prefixes.)

So, you'll probably want your first line to be something like:
 login your_username

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007, Aleksey Kunitskiy [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] M$ Excel document converter':
 On Wednesday 13 June 2007 14:02, Bertram Scharpf wrote:
  There's a Ruby package `parseexcel' which seems to work as
  far as I can test here.
 
http://raa.ruby-lang.org/project/parseexcel/

 I'm not a ruby programmer :(

I am.

Here's a script that will dump a worksheet as a csv.  Save, chmod a+x, and 
invoke like name_of_script name_of_excel_file worksheet_number  csv_file 
(e.g. ./convertxls price_list.xls 0  price_list.csv):

#! /usr/bin/ruby
require 'parseexcel'

wb = Spreadsheet::ParseExcel.parse(ARGV.shift)
ws = workbook.worksheet(ARGV.shift.to_i)
ws.each { |row|
  puts row.collect { |cell|
'' + cell.to_s.gsub(//, '') + ''
  }.join(',')
}

Clearly, all the heavy lifting is done by that library, which you will need 
to run this script.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007, Aleksey Kunitskiy [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] M$ Excel document converter':
 On Wednesday 13 June 2007 15:04, Boyd Stephen Smith Jr. wrote:
  I am.
 
  Here's a script that will dump a worksheet as a csv:
 
  #! /usr/bin/ruby

 This script doesn't work for me :(

Bogus. :(

Well, try Bertram's suggestion.  I just wrote the script on the fly without 
testing it.

I'll install parseexcel and see what I did wrong and post a script that 
works for me later.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Double network cards

2007-06-11 Thread Boyd Stephen Smith Jr.
On Monday 11 June 2007, dexter [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] Double network cards':
 Marco Calviani pisze:
  Hi list,
i would like some technical advice concerning the possibility of
  mounting two network devices on the same desktop computer. One network
  card (which is binded to a fixed IP) allows me to allow the machine to
  be visible on the public network, while the second one (faster, the
  one i've installed now) is used to work.

 Hello
 If You are going to use both devices to access the same address space
 then afaik it is not possible.
 I think it could be done with static routing, but You would require
 properly configured router.

Which (surprise!) is the same thing as a properly configured linux box. :P

Basically, you simply need to make sure you configure routing for 
the internet at large correctly.  This will generally involve some sort 
of source-based routing and/or some custom dhclient scripts and/or 
assigning proper metrics to your routes and telling the kernel how to use 
those metrics when there are multiple routes to a single IP.

We have two networks here at the house: the cable internet (9Mbps/1Mbps, 
but those speeds can't be counted on, dynamic IP) and the DSL 
(1.5Mbps/512Kbps, I think, block of static IPs).  I've got two NICs so I'm 
on both of them.  Virtually all traffic uses the cable connection (http 
requests, bittorrent, etc.), but the DSL connection is available for 
traffic (ssh, local mail server [on the same subnet], etc.). Here's the 
relevant parts of my setup:

/etc/conf.d/net:
config_eth0=( dhcp )
modules_eth0=( pump )
pump_eth0=
config_eth1=( 69.154.123.205/29 brd 69.154.123.207 )
modules_eth1=( !plug )

/etc/iproute2/rt_tables:
127 dsl

/etc/conf.d/local.start:
sbr-init

/usr/local/sbin/sbr-init:
#!/bin/bash

# Clear tables
ip route flush table dsl 2-

# Fill tables
ip route add 69.154.123.200/29 dev eth1 table dsl
ip route add 0.0.0.0/0 via 69.154.123.206 table dsl

# Reset rules
ip rule del pref 16000 from 69.154.123.205 2-

# Set rules
ip rule add pref 16000 from 69.154.123.205 table dsl

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] DVD 2.4 to DVD5

2007-06-11 Thread Boyd Stephen Smith Jr.
On Tuesday 12 June 2007 00:19:20 Nicola Degl'Innocenti wrote:
 I have bought a new camcorder with minidvd, and i need to convert this mini
 dvd to the standard video dvd (4.7Gb) preferibly without addictional
 compression and in a simply way :-)

Can you read the mini-dvds in your computer's DVD drive?

If so, you just need to copy the data to a new disk -- k3b should be able to 
do this if you have enough free space in your temporary directory.  You can 
do it in two (or three) steps as well, if you want or need to store the image 
on your HD.  You'll rip the content with cp, dd, dvdbackup, or k3b.  This 
will either create an iso or directory; you can loopback mount the iso to get 
a directory or use genisoimage to get an iso from the directory.  Finally 
burn the iso/directory using growisofs or k3b.

If not, the first thing is you need to find a library/program that can read 
the A/V off the mini-dvd.  For that task, I can provide no aid.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, Karl Haines [EMAIL PROTECTED] wrote about 'Re: 
FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love 
with colorized output?!?':
 Color is pretty ;) lol. It makes things interesting! I agree however
 that there might need to be some way to turn it off easily.

It should also be turned off by default for anything that's not a terminal. 
or a terminal whose termcap/terminfo/etc. doesn't support the ANSI color 
feature. One of the most annoying things I've ever seen is ANSI escape 
codes in emails and/or log files.  Gentoo is fairly good about that now, 
but I'm still having problem with RoR misbehaving in this way.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: FeatureRequest Was: Re: Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, Grant Edwards [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: FeatureRequest Was: Re: Why are gentoo people so 
in love with colorized output?!?':
 I don't care how you label it, white-on-black is nasty. ;)

I feel the same way about black-on-white terminals.  Acually, I'd prefer 
black-on-white for everything but I haven't found a good KDE theme for 
that yet.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: FeatureRequest Was: Re: Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, Boyd Stephen Smith Jr. [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user]  Re: FeatureRequest Was: Re: Why are gentoo 
people so in love with colorized output?!?':
 Acually, I'd prefer
 black-on-white

I meant white-on-black.  Dark backgrounds are just easier on my eyes.

 for everything but I haven't found a good KDE theme for 
 that yet.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


[OT] Ubuntu isn't the devil (was: Re: [gentoo-user] Again: Critical bugs considered invalid)

2007-06-08 Thread Boyd Stephen Smith Jr.
On Friday 08 June 2007, Hemmann, Volker Armin 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 
Again: Critical bugs considered invalid':
 On Samstag, 9. Juni 2007, b.n. wrote:
  Kent Fredric ha scritto:
   On 6/8/07, b.n. [EMAIL PROTECTED] wrote:
   ( probably releated to it being a
   generally harder distro to use that *cough* ewwbuntu *cough*
   unlinspired *cough*  or *cough* deadrat *cough* )
 
  OT: Ubuntu distros (Kubuntu, expecially) are really, really shiny and
  slick pieces of software. I just installed Kubuntu 7.04 at work and
  it's the more polished, ready-to-go, easy to use Linux distro I've
  ever seen. I use Gentoo on my home desktop for various reasons and
  because I have different needs, but the Linux community has only to
  learn from the Ubuntus.

 what to learn? How to make kcontrol worse?

I think many find ksystemsettings to be better a better interface than 
kcontrol.  I don't, so I just use kcontrol.  It is a little stupid that 
they don't install the desktop icon for it, but it's trivial to fix.

 The slowest boot of all 
 times?

My Gentoo boots more slowly, but that's probably related to the large delay 
mounting a 3TiB reiserfs.  Ubuntu can also be very quick to boot *if* all 
files read on startup fit into system ram throughout the startup sequence, 
on my laptop this isn't the case, so my booting is somewhat delayed.

 A braindead installer?

How exactly is it braindead?  I've used it multiple times and while it's 
error handling could be better, it's allowed me to do all the setup I need 
before the install starts and generally gets me run-and-running much 
faster and Gentoo.

 A patched-to-death kpdf?  

Yeah, ubuntu patches KDE left and right and it's a bit annoying, especially 
when they reduce usability for no good reason.  E.g. the search toolbar 
forces the cursor to the end of it's contents from time to time, and 
doesn't properly submit searches with parenthesis in them -- both issues 
make the search bar on Gentoo much better.

 Yes, there is something to learn from the ubuntus. Like: don't make
 their mistakes.

Their mistakes made them the most popular linux distribution in a 
incredibly small amount of time.  Their mistakes continue to drive user 
and developers toward the project in flocks.  Their mistakes lead to 
Dell shipping home systems with Ubuntu pre-installed.

I love Gentoo.  I love Debian.  I still think Ubuntu does some things 
better and some things worse.  On my laptop, I'd prefer not to configure 
anything -- and Ubuntu provides a usable system with no hassles.  Servers 
@ work -- Debian.  Desktop @ home -- Gentoo.  I don't think I'd change any 
of them.

 Or: there is a difference between userfriendly and made 
 for idiots.

Ubuntu being neither. ;)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup

2007-06-06 Thread Boyd Stephen Smith Jr.
On Wednesday 06 June 2007, Dan Farrell [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] Changing primary monitor on dual-monitor X.org setup':
 On Wed, 6 Jun 2007 19:42:59 +0300
 Aleksey Kunitskiy [EMAIL PROTECTED] wrote:
 Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  DefaultDepth24
  SubSection Display
  Modes   1280x1024
  Depth   24
  EndSubSection
 EndSection
 
 Section Screen
  Identifier Screen1
  Device Card1
  MonitorMonitor1
  DefaultDepth24
  SubSection Display
  Modes   1280x1024
  Depth   24
  EndSubSection
 EndSection

 Just switch the Monitor lines here, and switch the plugs.

Or, just switch the Device lines.  Each device is a single DVI port (at 
least on my NVidia setup).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-30 Thread Boyd Stephen Smith Jr.
On Wednesday 30 May 2007 07:20:45 Bo Ørsted Andresen wrote:
 On Wednesday 30 May 2007 05:39:01 Boyd Stephen Smith Jr. wrote:
  However, paludis does have some missing features that may be critical for
  your environment:
  a revdep-rebuild equivalent (although this can be hacked around)

 With the ruby use flag there's check_linkage.rb.

I didn't know about that.  I've been using revdep-rebuild, but having it 
pass cat-egory/package as an additional argument to emerge, which cause the 
emerge to fail.  I then run paludis using packages from one of 
revdep-rebuild's temporary files.  Finally I remove revdep-rebuild's 
temporary files.  It's a nasty hack, but it has worked so far.

I found check_linkage.rb, but it's not installed (or linked) to any of the 
standard $PATH directories.  Instead, it's in a demo directory.  Is it 
fully functional?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpNAZg34RJwf.pgp
Description: PGP signature


Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-30 Thread Boyd Stephen Smith Jr.
On Wednesday 30 May 2007 21:20:52 Bo Ørsted Andresen wrote:
 On Thursday 31 May 2007 04:09:10 Boyd Stephen Smith Jr. wrote:
  I found check_linkage.rb, but it's not installed (or linked) to any of
  the standard $PATH directories.  Instead, it's in a demo directory.  Is
  it fully functional?

 Yes. You run it with ruby.

Yeah, I figured a .rb was run with ruby. :P

If it's really useful, it should be chmod'd +x and installed or linked 
into /usr/sbin.  I can do that myself (in that case /usr/local/sbin), but 
such wonderful utilities shouldn't be hidden. :)

 It does still lack a couple of features though. 
 Namely --library and the ability to pick another version when the ebuild
 for an installed version has been removed. At least the latter is soon to
 come.

I noticed it was also trying to reinstall all my binary-only packages: 
sun-jdk, blackdown-jdk, skype, and emul-linux-x86-compat.  I guess 
revdep-rebuild has some blacklist that prevents it from doing so.

 But at least it will never use the horrible hack that revdep-rebuild uses
 with --package-names because of the lack of support for the
 =category/package-version:slot syntax in portage-2.0* which it still
 supports.. :)

You mean that portage actually supports slot deps now?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpr0zqBz2ntK.pgp
Description: PGP signature


Re: [gentoo-user] why multiple versions of java-config, automake, and autoconf?

2007-05-30 Thread Boyd Stephen Smith Jr.
On Wednesday 30 May 2007 21:23:00 Denis wrote:
 Why are there multiple versions of java-config, autoconf, and
 automake shown on my system?

They are incompatible, slotted, and each slot is individually required (or was 
at some time).

 There could be other multi-version 
 packages...  Is this normal for portage that is configured to
 autoclean?

Yes.  Autoclean doesn't uninstall versions in a different slot.  I'm not sure 
about depclean.

 If so, I find it rather interesting that packages would 
 depend on so many different versions of automake, for instance!

HA.  autohell is that way because there's little backward or forward 
compatibility.  (Well, that and m4.)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpGlwvJ7LX05.pgp
Description: PGP signature


Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-29 Thread Boyd Stephen Smith Jr.
On Tuesday 29 May 2007 06:51:12 Bo Ørsted Andresen wrote:
 On Tuesday 29 May 2007 10:32:23 Daevid Vincent wrote:
  *  mail-mta/exim
Latest version available: 4.67
Latest version installed: 4.54
Size of downloaded files: [no/bad digest]
Homepage:http://www.exim.org/
 
  So I have this in my package.mask:
  =mail-mta/exim-4.55

 [SNIP]

  [nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9]
  [ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper

 vixie-cron has a run-time dependency on virtual/mta which can be satisfied
 by both exim and ssmtp (and 8 other packages in the tree). ssmtp is the
 default provider.  It matters despite
 the nomerge because it's a run-time dependency rather than build-time.

 You have at least four options.

Another, less tenable, option is to use paludis as your package manager.  It 
will satisfy dependencies (including virtuals) with installed packages.  
Also, paludis's --show-reasons summary option is usually easier to understand 
and more informative than emerge/portage's --tree option.

However, paludis does have some missing features that may be critical for your 
environment: binary packages (both building and using) and a revdep-rebuild 
equivalent (although this can be hacked around) AND you can't simply switch 
between using paludis and emerge/portage; they use the same VDB, but 
repositories are configured differently and paludis can perform some caching 
that emerge/portage will not use/update.  It also runs the ebuild test phase 
by default which results in more merge failures and thus more required 
interaction; you can turn that off if you desire.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp5UWuEL5RKe.pgp
Description: PGP signature


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Boyd Stephen Smith Jr.
On Tuesday 29 May 2007 09:01:39 Denis wrote:
 I'm curious to know your approach to keeping your Gentoo box current
 without it becoming a full-time job.  I'm not talking about
 maintaining servers - just your daily driver, so to say.

In server-land I would perform all upgrades on a test system before rolling to 
production anyway.

 How often do you sync with the current portage tree and compare it
 your versions in world?

I sync, update system and world, and then revdep-rebuild daily.  I run ~amd64.
Unfortunately, this can get you into some sticky situations: my pdns still 
doesn't like my new postgres.

If you are running stable, it's much less likely to result in bad situations, 
and you should be able to put off upgrades much longer.  A daily (or weekly) 
sync is still a good idea IMHO; having an up-to-date tree is rarely a 
disadvantage.

 How often to you update major components, like Xorg, kernel, and
 system tool chain?

I live on the edge and treat them like any other package.  Well, 'cept the 
kernel, which I only actually compile and reboot into occasionally.  If you 
don't have time to wrestle with issues, but off the upgrade.  Nothing sucks 
worse than not having the time to fix X, but needing it to work/play and 
having to broken.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp07TFMJOymi.pgp
Description: PGP signature


Re: [gentoo-user] multilib vs. no-multilib in 64-bit environment

2007-05-27 Thread Boyd Stephen Smith Jr.
On Saturday 26 May 2007, Denis [EMAIL PROTECTED] wrote 
about '[gentoo-user] multilib vs. no-multilib in 64-bit environment':
 I think I'll attempt to set up one of my EM64T boxes in 64-bit Gentoo
 environment, so I've been reading some docs about it.

*cough*AMD64*cough*

 I understand 
 that the multilib profile allows for having 32-bit libraries and being
 able to run 32-bit binaries,

Being able to run 32-bit binaries requires two things.  x86_32 support in 
the kernel (which (no-)multilib doesn't affect) and all the libraries for 
the binaries being available in a 32-bit version, particularly ld.so and 
libc.so.6; multilib the multilib profile causes (not allows -- if you 
use multilib profile it is not optional) the most fundamental 32-bit 
libraries (like those required for *building* a 32-bit library) to be 
installed.

 whereas no-multilib restricts you to a 
 purely 64-bit environment with no 32-bit compatibility.

That's true as far as libraries go.  (A fully statically linked 32-bit 
executable could still run if the kernel has support for x86_32.)

 What would be some of the reasons for setting up a no-multilib
 profile?

Saves disk space and compilation time.

 Perhaps for a computational workstation that doesnt need any 
 fancy toys or a development system?

Very few F(L)OSS programs are unavailable in 64-bit land, so if your 
computer lives in the Free (Software) world you won't have problems no 
matter what you use the computer for.

If you need/want proprietary binaries, multilib is the only way to go.

 Are any of you here running on a 
 no-multilib 64-bit profile?

Not I.  I'm still leaning on my wine/cedega crutch for some things.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Unusal emerge error concerning x11-misc/xnview

2007-05-26 Thread Boyd Stephen Smith Jr.
On Saturday 26 May 2007, [EMAIL PROTECTED] wrote about '[gentoo-user]  
Unusal emerge error concerning x11-misc/xnview':
 Trying to emerge x11-misc/xnview:
 | root # emerge -vvp * x11-misc/xnview

See that * in your command, that's going to be expanded by your shell to 
the name of every (non-hidden) file in the current directory, unless 
there aren't any.

 Apparently something is being passed to emerge somewhere I can't see.

It's easy to catch if you actually understand how the POSIX shell works.  
(Hint: /very/ different from MS Windows's cmd.exe)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 02:12:49 [EMAIL PROTECTED] wrote:
 My question is this, If I enabel 64 bit support in the kernel,

You mean run a 64-bit kernel with 32-bit support.  There's no such thing as a 
32-bit kernel with 64-bit support (at least not in x86-land).

 is that 
 likely to cause any issues with running the 32bit compiled software?

No, it won't, but it's a little bit tricky to set up.  You'll want to use an 
i686 stage3, and set ARCH to x86 or ~x86.  Then, you'll have to install a 
cross compiler (and binutils, IIRC) and cross-compile your kernel.

You could always just use a 32-bit kernel.  Do you have 3G or more RAM or need 
to run 64-bit programs?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp0Ettis9NAS.pgp
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 04:09:00 [EMAIL PROTECTED] wrote:
 So, unless I need the upper memory support, it may be better for me to
 just not click the flag for 64bit memory support, and move on?

IIRC, that's for PAE, which you definitely shouldn't use unless you have 4G of 
RAM or greater.

Ticking that box doesn't make your kernel 64-bit though, anymore than 
supporting 64-bit file offsets makes a kernel 64-bit.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpD5BreX3tMd.pgp
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 04:53:26 [EMAIL PROTECTED] wrote:
 What makes the difference between a 64 bit kernel, and a 32 bit kernel?

Use of 64-bit machine code [*], particularly instructions that make use of 
64-bit native[**] registers[***].

* Defining this is more difficult, since that does not mean instruction 
requiring 64-bits to represent as many architectures have variable length 
instructions.

** Native is a difficult term to define, but I'm explicitly excluding the 
floating-point registers that have been 64-bit or 80-bit from my vague notion 
of native

*** I guess this makes the Cell processor 128-bit?  BTW, if the 
term register doesn't mean anything to you it's the fastest memory in your 
computer, closer to the ALU (etc.) than L1 cache, very small and expensive 
that are addressed differently than all other memory.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpSnyjmncIjE.pgp
Description: PGP signature


Re: [gentoo-user] Changing libaries

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007, Florian Philipp [EMAIL PROTECTED] wrote 
about '[gentoo-user] Changing libaries':
 Another user had some trouble because Kaffeine couldn't play .ogg-files.
 In the end we found out that he activated the necessary USE-flag and
 re-emerged xine-lib but Kaffeine kept using the old lib which was still
 in RAM, I presume.

 Naturally, the problem was solved when he rebooted but I wonder how I
 could achieve the effect without rebooting.

For most applications you simply have to restart the application.  Next 
time the process starts perform dynamic linking, which accesses the 
filesystem and picks up the new library.

KDE applications started under the standard KDE environment have dynamic 
linking done for them by kdeinit though, so shared libraries stay loaded 
(but possibly swapped out) persist for as long as the kdeinit process 
lives.  So, you'll have to restart the kdeinit process, this usually 
involves logging out and logging back in, although kdm might (I don't 
think so, but might) require you to restart X.

Alternatively, you might be able to get around this by prelinking, or at 
least telling KDE that things are prelinked (even if they aren't) I 
believe kdeinit drops this behavior if KDE_IS_PRELINKED=1 or 
KDE_IS_PRELINKED=true is in the environment when kdeinit starts.

You can NOT simply kill the kdeinit process unless you want KDE 
applications started by it to start mysteriously dying.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007, maxim wexler [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user]  Re: two identical /etc/sudoers -- only one works':
 strace:
 ...
 open(/etc/sudoers, O_RDONLY)  = -1 EACCES
 (Permission denied)

FS corruption.  Check dmesg for any errors, but fsck the filesystem 
containing this file ASAP even if you don't see anything.

I'd seen the same behavior (albeit on a different file) on some of my 
reiserfs filesystems -- files that no one, including root, could access 
due to Permission denied.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Copy/Paste Functionality in Konsole

2007-05-23 Thread Boyd Stephen Smith Jr.
On Thursday 31 May 2007, Dan Cowsill [EMAIL PROTECTED] wrote 
about '[gentoo-user] Copy/Paste Functionality in Konsole':
 I really like the copy/paste functionality you find in the Linux console
 and in PuTTY where you just highlight the text you want to copy and when
 you release the mouse button, it is copied.  Then, you can just right
 click to paste it into the input line.

 How would I engineer such functionality in Konsole?

Have you tried it yet?  It works here w/o any special settings.

IIRC, there might be a global KDE setting that affects the selection (and 
clipboard) behavior, but I set up KDE so long ago that I don't remember 
it.

/me reads message again.

Oh, you want right-click to paste the selection?  Hrm, try using 
middle-click and you'll get what you want albeit on another button.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't start apache [solved]

2007-05-17 Thread Boyd Stephen Smith Jr.
On Thursday 17 May 2007, Johannes Skov Frandsen [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Can't start apache [solved]':
 Well not entirley happy it turns out as I can't get apache to handle
 php.

 I added '-D PHP5' to APACHE2_OPTS in /etc/conf.d/apache2

 but when I restart apache i get this error:

 # /etc/init.d/apache2 restart
  * Apache2 has detected a syntax error in your configuration files:
 apache2: Syntax error on line 495 of /etc/apache2/httpd.conf: Syntax
 error on li
 ne 4 of /etc/apache2/modules.d/70_mod_php5.conf: API module structure
 `php5_modu
 le' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps
 this is not
  an Apache module DSO?

Did you install php before or after apache?  It probably needs to be 
recompiled against your current version.  I'm stuck with a mod_ruby that 
gives the same error and won't recompile right now.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-17 Thread Boyd Stephen Smith Jr.
On Thursday 17 May 2007, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] Gentoo gets as bad SuSE: Circular 
dependencies [WAS: Thank you Gentoo devs]':
 Come on, Enrico, you KNOW you're acting like the typical mailing list
 troll, so, would you please unsbuscribe, shut up, or something like
 that? You definitely need to read HOWTO Critize (constructively).

 And I could use some support from the rest of the list here :)

He's got *some* points, but he's being intentionally antagonistic and 
taking a my way or the highway attitude.  [Actually, maybe his position 
would be better stated a 'the Debian way' or the highway, but I 
digress.]  So, yeah he's a troll, but at least it's a good troll.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Managing my kernel

2007-05-15 Thread Boyd Stephen Smith Jr.
On Tuesday 15 May 2007, Dan Farrell [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] Managing my kernel':
 On Tue, 15 May 2007 09:21:17 +0200
 Etaoin Shrdlu [EMAIL PROTECTED] wrote:
  On Tuesday 15 May 2007 03:57, Dan Farrell wrote:
   On Tue, 15 May 2007 12:33:22 +1200
   Mark Kirkwood [EMAIL PROTECTED] wrote:
2/ disables loadable modules completely
  
   But Why?  What's the benefit?
 
  [S]ome rootkits
  use LKMs, and removing loadable modules support might help to prevent
  such attacks.

 I'd never heard of LKM rootkits, although the
 concept is I suppose a good one, as far as defeating security goes.  I
 must say I'm not going to start worrying about it, but point taken

The (GPL'd) rootkit I was able to look at didn't even use LKMs, it simply 
patched the kernel live via /proc/kcore.  The version I saw probably 
wouldn't work anymore, but LKMs aren't the only way a rootkit can take 
hold.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Real time video streaming (was: Help playing simultaneously splitted videos (sort of))

2007-05-13 Thread Boyd Stephen Smith Jr.
On Sunday 13 May 2007, Grant Edwards [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: Real time video streaming (was: Help playing 
simultaneously splitted videos (sort of))':
 On 2007-05-13, Javier Krausbeck [EMAIL PROTECTED] wrote:
  mkfifo f1
  mkfifo f2
  mkfifo f3
  mplayer  whatever_options_you_want_and_make_it_write_to_stdout  | tee
  f1
 
  | tee f2 f3
 
  Just one caveat, mplayer does not do output to stdout,

 So use another fifo.

To elaborate:

mkfifo queue
mkfifo vo1
mkfifo vo2
mkfifo vo3
mplayer lots_of_options_and_write_output_to queue 
tee vo1  queue | tee vo2  vo3 

or similar.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] I copied a Gentoo VM and now networking doesn't work.

2007-05-09 Thread Boyd Stephen Smith Jr.
On Wednesday 09 May 2007 02:55:42 Daevid Vincent wrote:
 I have a Gentoo VM that I've used for years (XP Host. Workstation 5.5.3).
 Works great.

 I copied the .vmdk and .vmx files to a new directory called LAMP. I
 edited the .vmx file changing the appropriate paths. Now when I start the
 new VM, my networking fails. (I changed nothing inside the linux VM).

 ifconfig eth0 says:
 eth0: error fetching interface information: Device not found

Check for other devices.  udev now establishes persistent network device names 
based on MAC address (unless you add some of your own rules).  It's very 
likely that the MAC address of the virtual device changed, and the new 
device is eth1 (or higher).

This isn't really Gentoo specific.  It's bit me on at least 2 other distros as 
well.  (Mainly due to the network cards in one of my systems being broken 
so that the MAC is randomized by the kernel on each boot.)

This new behavior is odd to me, but in the long run I think it'll improve 
usability of Linux in general.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp7LzQ3nbOPL.pgp
Description: PGP signature


Re: [gentoo-user] Separate /usr [was: Clock is way off]

2007-05-09 Thread Boyd Stephen Smith Jr.
On Wednesday 09 May 2007, Neil Bothwick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Separate /usr  [was: Clock is way off]':
 Hello Daniel Iliev,

  Some say it gives performance boost (I'm not sure about it), but more
  importantly it gives (partial) protection from file system damage.

 You could also argue that /usr needs the least protection from
 filesystem damage, because it contains no data. /usr can be repaired
 with
 a reinstall, unlike /var, /home or /etc.

That's my view, which is why /usr (fast, RAID0) is separate from / 
(containing /etc; RAID6) on my machine.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: cdrtools incomplete?

2007-05-08 Thread Boyd Stephen Smith Jr.
On Tuesday 08 May 2007, Alexander Skwar [EMAIL PROTECTED] wrote 
about '[gentoo-user]  Re: cdrtools incomplete?':
 Leonhard Gruener [EMAIL PROTECTED] wrote:
  Am Montag, 7. Mai 2007 schrieb Kevin O'Gorman:
  On 5/6/07, Philip Webb [EMAIL PROTECTED] wrote:
   070506 Kevin O'Gorman wrote:
I'm trying to burn a CD for the first time in a long while.
It's not going well.  I've got cdrtools-2.01.01-alpha10
installed. The description says it includes cdrecord, but I
cannot find it.
 
  So install cdrkit.

 The real cdrecord
 is from cdrtools, though.

I'm pretty sure the one in cdrkit is real.  Either that or I'm only 
imagining that I burned and used my last rescue CD. *boggle*

:)

Just to be clear, cdrkit is a fork off of an older version of cdrtools that 
was made because Debian doesn't believe cdrtools to be distributable by 
anyone other than the copyright holder since parts are licensed under the 
GPL and parts are under the (GPL-incompatible) CDDL.  The issue is further 
since the work isn't from an single author (contributions licensed under 
the GPL from others have been integrated) AND at least one party involved 
believes the GPL and CDDL to be compatible.

That doesn't make cdrkit less real, but it does mean that you'll probably 
have fewer issues using cdrtools.  (I use cdrkit and have never had any 
problems with it; YMMV.)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Wesnoth version

2007-05-06 Thread Boyd Stephen Smith Jr.
On Saturday 05 May 2007, Marko Kocić [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Wesnoth version':
 [I]f let's try to rename ebuild and see what
 happens when the new version is released, I'll be glad to help by
 sending reports to this list.

Better to file version-bump bugs to b.g.o.  Reporting/complaining here is 
less likely to produce results.  Remember to wait 2-3 days after the 
official release date before filing a bug; give the maintainer a little 
time to do the bump him/herself.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


  1   2   3   4   5   6   >