Re: [gentoo-user] [OT] Secure remote backup

2006-11-05 Thread Dan Johansson
On Saturday 04 November 2006 17:19, Neil Bothwick wrote:
> On Sat, 4 Nov 2006 13:56:04 +0100, Dan Johansson wrote:
> > Me and a friend are looking into the possibility to do
> > cross-site-remote-backups (I'm backing up my data to a directory in his
> > box and he on mine). We want the connection and remote-storage to
> > encrypted and we do not want to open too many ports in our firewalls.
> > Any suggestions on how this could be accomplished?
>
> I use a combination of sshfs and encfs to keep my backups encrypted at
> Strongspace. You can use this with any online backup or web hosting
> services as long as they allow ssh file transfers (you don't need ssh
> login).

This sounds like an interesting approach, would you mind sharing some more 
details about your setup/configuration?

Tanks,
-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***


pgpW1ih5zMrPx.pgp
Description: PGP signature


Re: [gentoo-user] WinXP under VMWare: no sound

2006-11-05 Thread Sergio Polini
Richard Fish:
> The workaround to this is to use a wrapper such as aoss or
> vmware-dsp that fakes out the application when it tries to open
> /dev/dsp and uses another audio API instead (alsa for aoss, esd or
> artsd for vmware-dsp).

Since vmware-dsp (which is ~amd64) doesn't compile, I have:
- emerged alsa-oss
- chmod +s /usr/lib/libaoss.so.*
- created a script:

#!/bin/bash
LD_PRELOAD=libaoss.so exec /opt/vmware/workstation/bin/vmware &

Now:
i) if I run the script as myself, sound doesn't work and I get
ERROR: ld.so: object 'libaoss.so' from LD_PRELOAD cannot be preloaded: 
ignored.
I get the same result if I run "aoss vmware".
As to ldd /usr/lib/libaoss.so.0.0.0:
libalsatoss.so.0 => /usr/lib/libalsatoss.so.0 
(0x2b09ff97f000)
libc.so.6 => /lib/libc.so.6 (0x2b09ffa89000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x2b09ffcb4000)
libm.so.6 => /lib/libm.so.6 (0x2b09ffe8b000)
libdl.so.2 => /lib/libdl.so.2 (0x2b09fffe)
libpthread.so.0 => /lib/libpthread.so.0 (0x2b0a000e4000)
/lib64/ld-linux-x86-64.so.2 (0x4000)

ii) if I run the script as root, sound works!

So, it looks like a matter of permissions, but I can't guess what I 
should change. I hope that you can ;-)

Cheers
Sergio
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] distfiles on samba and 2.6.18

2006-11-05 Thread Dave Oxley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Since upgrading to the 2.6.18 kernel I get this on my client machine
when trying to emerge. I have distfiles mapped to a server samba share
and this works if I boot back up into 2.6.17. Does anyone have any ideas
how to stop this happening?

>>> Emerging (1 of 16) sys-libs/zlib-1.2.3-r1 to /
 * zlib-1.2.3.tar.bz2 MD5 ;-) ...
  [ ok ]
 * zlib-1.2.3.tar.bz2 RMD160 ;-) ...
  [ ok ]
 * zlib-1.2.3.tar.bz2 SHA1 ;-) ...
  [ ok ]
 * zlib-1.2.3.tar.bz2 SHA256 ;-) ...
  [ ok ]
 * zlib-1.2.3.tar.bz2 size ;-) ...
  [ ok ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
emerge_main()
  File "/usr/bin/emerge", line 4044, in emerge_main
myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3584, in action_build
mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 2048, in merge
prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 2893, in doebuild
if need_distfiles and not fetch(
  File "/usr/lib/portage/pym/portage.py", line 2273, in fetch
portage_locks.unlockfile(file_lock)
  File "/usr/lib/portage/pym/portage_locks.py", line 159, in unlockfile
locking_method(myfd,fcntl.LOCK_UN)
IOError: [Errno 13] Permission denied
Error in sys.exitfunc:


Server Samba config:
[distfiles]
comment = Portage distfiles
path = /usr/portage/distfiles
valid users = root
public = yes
writable = yes
write list = @portage
printable = no
create mask = 0664
directory mask = 2775

Client fstab:
//server/distfiles /usr/portage/distfiles cifs username=root,password=pw

Cheers,
Dave.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFTeKCx43ifHzpDVURAqXwAJ91lMHuv0tRFDLgJILn2inJMxC1kQCdFrDs
J/7gYKOO82A8RvlXYiD8kCM=
=AHfa
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Changing accellerator keys in gnome-terminal

2006-11-05 Thread Michael Sullivan
Is it possible to change the accellerator keys in gnome-terminal?  I
would like to change

Copy from Cntrl+Shift+C to Cntrl+C
Paste from Cntrl+Shift+P to Cntrl+P

(like it is in just about every other gnome app).  I was looking at the
source code for gnome-terminal, at a file called terminal-accels.c and I
see a function:

static KeyEntry edit_entries[] =
{
  { N_("Copy"),
KEY_COPY, ACCEL_PATH_COPY, 0, 0, NULL, FALSE },
  { N_("Paste"),
KEY_PASTE, ACCEL_PATH_PASTE, 0, 0, NULL, FALSE },
};

I think this is what I need to edit; the problem is that I'm not very
experienced with C and I'm not experienced at all with GTK.  From
cross-referencing what I see above with both the rest of the current
file and the accompanying header file I see 

#define KEY_COPY CONF_KEYS_PREFIX"/copy"
#define KEY_PASTE CONF_KEYS_PREFIX"/paste"

#define ACCEL_PATH_COPY ACCEL_PATH_ROOT"/copy"
#define ACCEL_PATH_PASTE ACCEL_PATH_ROOT"/paste"

I know these commands are declaring constants, and I know that CONF_KEYS_PREFIX 
eventually translates into CONF_PREFIX, which translates into 
"/apps/gnome-terminal" in terminal-profile.h, but I have no idea what 
/apps/gnome-terminal does in this context (isn't that what I'm trying to build 
here?)  Am I even close?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] KDE eating ram

2006-11-05 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!
I had a very noise problem since a month (when I changed graphic card 
from ati to nvidia), but never found the cause...
If I stay logged enough time, the X process uses all my ram and swap 
until killing all x-dependency process and locking keyboard (a reboot 
via graphical interface is not possible too).
Now, I used only KDE (3.5.2-3.5.5) until yesterday, and today I tried 
blackbox (to find what is the cause). After 24 h I saw to "eating 
effect".
I think could be some problem with use flags in combination nvidia-kde. 
Could be?
My /etc/make.conf:

CFLAGS="-O3 -march=athlon64 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/";
USE = "3dnow 3dnowex X a52 aac aalib acpi addbookmarks aim alias alsa 
arts audiofile autoreplace avi bash-completi
n -berkdb bmp browserplugin bzip2 bzlib cairo cdparanoia cdr 
connectionstatus contactnotes crypt cscope cups dbus 
ga dio directfb divx4linux dv dvb dvd dvdr dvdread emacs encode -esd 
exif fame fortran f77 fam fbcon fdftk -freetd
 ffmpeg fftw flac flash ftp gadu -gcj gif -gnome gtk gtk2 hal highlight 
history icq id3 ieee1394 imagemagick imlib
ipv6 irc jack java jikes jingle joystick jpeg justify kde kdeenablefinal 
kdehiddenvisibility kerberos kernel_linux
krb4 lame latex lcms -ldap lirc live lm_sensors lzo mad matroska mbox 
memlimit mime ming mjpeg mmx mng mono motif 
mozilla mp3 mpeg mpeg2 mp4live mplayer msn mssql mule multilib 
musicbrainz mysql mysqli ncurses netmeeting nls nom
c nowlistening nptlonly nsplugin nvidia objc on-the-fly-crypt ogg 
oggvorbis openal opengl oscar -oss pam pcre pdfl
b perl player png posix ppds python qt qt3 qt4 quicktime readline samba 
sametime sdl sensord sharedmem skey sndfil
 sox speex spell sse ssl statistics svg svga subtitles swat sysfs szip 
tcltk test tetex texteffect theora threads 
iff tk translator truetype unicode usb userlocales utf8 v4l v4l2 vcd 
videos vorbis webpresence winpopup wsconvert 
xwindows xanim xine xinerama xml2 xosd xpm xprint xscreensaver xv xvid 
x264 yahoo yv12 zlib zvbi"
FEATURES="ccache sandbox"
AUTOCLEAN="yes"
CCACHE_SIZE="3G"
LINGUAS="it en de bg pt_BR"
PKGDIR="/usr/portage/packages"
#PORTDIR_OVERLAY=/usr/local/portage
ALSA_CARDS="emu10k1 via82xx"
ALSA_TOOLS="as10k1 via82xx"
INPUT_DEVICES="keyboard mouse penmount joystick"
VIDEO_CARDS="nvidia vesa v4l nv"
LIRC_DEVICES="serial"

Thanks,
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFTgRDHmkkjmM/hrcRAuREAJ9n5lclZUqS40+AnuxsqgwvqMTRtgCdFnwP
5qljtNcySRiy/WZ2uBkiluE=
=bvvo
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Changing accellerator keys in gnome-terminal

2006-11-05 Thread Markus Schönhaber
Michael Sullivan wrote:
> Is it possible to change the accellerator keys in gnome-terminal?  I
> would like to change
>
> Copy from Cntrl+Shift+C to Cntrl+C
> Paste from Cntrl+Shift+P to Cntrl+P
>
> (like it is in just about every other gnome app).  I was looking at the
> source code for gnome-terminal, at a file called terminal-accels.c and I
> see a function:
>
> static KeyEntry edit_entries[] =
> {
>   { N_("Copy"),
> KEY_COPY, ACCEL_PATH_COPY, 0, 0, NULL, FALSE },
>   { N_("Paste"),
> KEY_PASTE, ACCEL_PATH_PASTE, 0, 0, NULL, FALSE },
> };
[...]

Why don't you simply use "Keyboard Shortcuts..." from gnome-terminal's "Edit" 
menu?

BTW: I wouldn't call it a good idea to map Ctrl-C to something in a terminal 
emulator, since Ctrl-C is normally used to interrupt the running program in 
the shell. I wouldn't want to sacrifice this ability.

Regards
  mks
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Changing accellerator keys in gnome-terminal

2006-11-05 Thread Michael Sullivan
On Sun, 2006-11-05 at 16:40 +0100, Markus Schönhaber wrote:
> Michael Sullivan wrote:
> > Is it possible to change the accellerator keys in gnome-terminal?  I
> > would like to change
> >
> > Copy from Cntrl+Shift+C to Cntrl+C
> > Paste from Cntrl+Shift+P to Cntrl+P
> >
> > (like it is in just about every other gnome app).  I was looking at the
> > source code for gnome-terminal, at a file called terminal-accels.c and I
> > see a function:
> >
> > static KeyEntry edit_entries[] =
> > {
> >   { N_("Copy"),
> > KEY_COPY, ACCEL_PATH_COPY, 0, 0, NULL, FALSE },
> >   { N_("Paste"),
> > KEY_PASTE, ACCEL_PATH_PASTE, 0, 0, NULL, FALSE },
> > };
> [...]
> 
> Why don't you simply use "Keyboard Shortcuts..." from gnome-terminal's "Edit" 
> menu?
> 
> BTW: I wouldn't call it a good idea to map Ctrl-C to something in a terminal 
> emulator, since Ctrl-C is normally used to interrupt the running program in 
> the shell. I wouldn't want to sacrifice this ability.
> 
> Regards
>   mks

Could I map Cntrl+C for abort to something more intuitive?  Like Esc?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ntp-client doesn't start

2006-11-05 Thread John Blinka
Hi,

I have a very old Dell P150ST laptop that I try to maintain Gentoo on. 
Every time I boot it,
it complains "ERROR: cannot start ntp-client as net.eth0 could not be
started".

The laptop is old enough that the ethernet connection is by a Xircom
pcmcia card, and this
works well except for ntp-client.  The claim that "net.eth0 could not be
started" puzzles
me since, after the machine boots, ifconfig gives

eth0  Link encap:Ethernet  HWaddr 00:10:A4:FE:EC:4C 
  inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:445 errors:0 dropped:0 overruns:0 frame:0
  TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:70632 (68.9 Kb)  TX bytes:8288 (8.0 Kb)
  Interrupt:3 Base address:0x300

loLink encap:Local Loopback 
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:46 errors:0 dropped:0 overruns:0 frame:0
  TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:3207 (3.1 Kb)  TX bytes:3207 (3.1 Kb)

Thinking that the error message means that ntp-client is being started
before eth0 is completely
configured, I have followed the advice in
http://gentoo-wiki.com/HOWTO_NTP and modified my
depend() in /etc/init.d/ntp-client to

depend() {
before cron portmap
need net
after net.eth0
use dns logger
}

but this has had no effect.

I would appreciate any thoughts on what the error message means, and how
to get ntp-client
working.

Thanks,

John Blinka
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Changing accellerator keys in gnome-terminal

2006-11-05 Thread Markus Schönhaber
Michael Sullivan wrote:
> On Sun, 2006-11-05 at 16:40 +0100, Markus Schönhaber wrote:
> > BTW: I wouldn't call it a good idea to map Ctrl-C to something in a
> > terminal emulator, since Ctrl-C is normally used to interrupt the running
> > program in the shell. I wouldn't want to sacrifice this ability.
>
> Could I map Cntrl+C for abort to something more intuitive?  Like Esc?

You'd have to check the docs of the application running inside 
gnome-terminal - propably your shell - to find out if this is at all 
possible. I don't know.

Regards
  mks

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Span data DVD

2006-11-05 Thread reader
Hans-Werner Hilse <[EMAIL PROTECTED]> writes:

> In order to give a more specific advice, please tell us about the kind
> of data you want to put on that DVD. I remember that there were tools
> that calculate an optimum distribution of files of different sizes so
> that a given amount of media space is optimally used. Probably
> something in Perl, but unfortunately I don't remember...

The data in this case consistes of thousands of photos in various
formats in a structured directory system.

It would be good not to split a single top level directory across 2
DVD.  In fact I guess that would be nearly a requirement else one
might have to mount more than one DVD to view a single directory and
would never know which ones.

So sonething smart enough to judge the sizes of dierctories and put
only as much as the DVD will hold but not splitting a directlry.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Win4Lin

2006-11-05 Thread Michael Sullivan
Does anybody know what happened to Win4Lin in portage?  The package
itself seems to be masked, and sys-kernel/win4lin-sources is completely
gone...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sanba mount on host machine

2006-11-05 Thread reader
Is this possible withou really negative impact of some sort.

Install as many HDD as mobo allows maybe adding a few more with pci
controllsers. (all sata if possible)

Install Gentoo as host OS on a smallish partition or drive.  Mount all
remaining drives as CIFS mounts accessable from samba or smb from host
or windowsXP clients.  All this over gigabit ethernet.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Secure remote backup

2006-11-05 Thread Neil Bothwick
On Sun, 5 Nov 2006 11:40:46 +0100, Dan Johansson wrote:

> > I use a combination of sshfs and encfs to keep my backups encrypted at
> > Strongspace. You can use this with any online backup or web hosting
> > services as long as they allow ssh file transfers (you don't need ssh
> > login).  
> 
> This sounds like an interesting approach, would you mind sharing some
> more details about your setup/configuration?

Initially I tried mounting the remote directory using sshfs and then
creating an encfs mount on it. however, this ran exceptionally slowly so
I tool a different approach.

I creating a local encfs mount with
encfs /path/to/data-enc /path/to/data-plain

Then used rsync to backup the required directories to /path/to/data-plain
which left encrypted versions of them in /path/to/data-enc. Then I simply
used rsync to sync the encrypted directory to the remote backup server.
Each backup run now consists of

encfs /path/to/data-enc /path/to/data-plain
rsync /src/dir /path/to/data-plain
rsync -a /path/to/data-enc/ [EMAIL PROTECTED]:/backups/
fusermount -u /path/to/data-plain

This is done via cron each night.

I can access individual files from the encrypted backup with

sshfs -o idmap=user [EMAIL PROTECTED]:/backups /path/to/data-enc
encfs [EMAIL PROTECTED]:/backups /path/to/data-plain

I also needed to put my SSH public key in .ssh/authorized_keys to avoid
giving passwords every time the backup ran.

The sshfs and encfs documentation is quite good, but feel free to ask if
you need any more info.


-- 
Neil Bothwick

Check three friends. If they're OK, you're it.


signature.asc
Description: PGP signature


[gentoo-user] compiling libsynce from svn

2006-11-05 Thread Iain Buchanan
Hi all,

I wanted to compile synce from source, because I have windows mobile 5
(yeuch... but that's another story...)

I decided to join up with the SynCE-WindowsMobile5 mailing list (wanting
not to bother gentoo-users with such a specific query :) but they
haven't replied yet :(

So, please help if you can. If you can't, then sorry for the kind-of OT!

Essentially, I'm following
http://www.synce.org/index.php/Building_SynCE_with_Windows_Mobile_2005_support_from_Subversion#librapi2

libsynce compiles and installes fine.  However, when I get to librapi2,
I get some undefined messages.

Also, the howto says I need:
libtool  (got it)
libslang-dev (emerged sys-libs/slang-1.4.9-r2 ??)
libdbus-dev  (??)

do I have the right libraries?

So, here's the error from compiling librapi2.  any help would be
appreciated!

make[3]: Entering directory `/usr/src/wm5/librapi2/tools'
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support
-I/usr/local/include   -Wall -Wsign-compare -Wno-long-long  -MT
pcommon.o -MD -MP -MF .deps/pcommon.Tpo -c -o pcommon.o pcommon.c
mv -f .deps/pcommon.Tpo .deps/pcommon.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support
-I/usr/local/include   -Wall -Wsign-compare -Wno-long-long  -MT pcp.o
-MD -MP -MF .deps/pcp.Tpo -c -o pcp.o pcp.c
mv -f .deps/pcp.Tpo .deps/pcp.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -I/usr/local/include
-Wall -Wsign-compare -Wno-long-long-o pcp pcommon.o
pcp.o ../src/librapi.la 
mkdir .libs
gcc -I/usr/local/include -Wall -Wsign-compare -Wno-long-long
-o .libs/pcp pcommon.o pcp.o  ../src/.libs/librapi.so
pcommon.o: In function `adjust_remote_path':
pcommon.c:(.text+0xd3): undefined reference to `wstr_append'
pcommon.c:(.text+0xf0): undefined reference to `wstr_append'
pcommon.c:(.text+0x101): undefined reference to `wstr_free_string'
pcommon.c:(.text+0x12f): undefined reference to `_synce_log_wstr'
pcommon.c:(.text+0x13d): undefined reference to `wstrdup'
pcommon.o: In function `anyfile_remote_open':
pcommon.c:(.text+0x2bd): undefined reference to `wstr_from_current'
pcommon.c:(.text+0x385): undefined reference to `synce_strerror'
pcommon.c:(.text+0x3b4): undefined reference to `_synce_log'
pcommon.c:(.text+0x3f1): undefined reference to `wstr_free_string'
pcp.o: In function `handle_parameters':
pcp.c:(.text+0xa6): undefined reference to `synce_log_set_level'
pcp.o: In function `main':
pcp.c:(.text+0x4a3): undefined reference to `synce_strerror'
pcp.c:(.text+0x61a): undefined reference to `wstrlen'
pcp.c:(.text+0x64e): undefined reference to `wstr_to_current'
pcp.c:(.text+0x6af): undefined reference to `wstr_free_string'
../src/.libs/librapi.so: undefined reference to `synce_socket_close'
../src/.libs/librapi.so: undefined reference to `synce_password_send'
../src/.libs/librapi.so: undefined reference to `synce_socket_free'
../src/.libs/librapi.so: undefined reference to `synce_info_new'
../src/.libs/librapi.so: undefined reference to
`synce_socket_get_descriptor'
../src/.libs/librapi.so: undefined reference to `synce_socket_write'
../src/.libs/librapi.so: undefined reference to
`synce_socket_connect_proxy'
../src/.libs/librapi.so: undefined reference to
`synce_password_recv_reply'
../src/.libs/librapi.so: undefined reference to `synce_socket_connect'
../src/.libs/librapi.so: undefined reference to `synce_info_destroy'
../src/.libs/librapi.so: undefined reference to `synce_socket_read'
../src/.libs/librapi.so: undefined reference to
`filetime_from_unix_time'
../src/.libs/librapi.so: undefined reference to `synce_socket_new'
../src/.libs/librapi.so: undefined reference to `synce_socket_wait'
collect2: ld returned 1 exit status
make[3]: *** [pcp] Error 1
make[3]: Leaving directory `/usr/src/wm5/librapi2/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/wm5/librapi2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/wm5/librapi2'
make: *** [all] Error 2

thanks,
-- 
Iain Buchanan 

Everything you read in newspapers is absolutely true, except for that
rare story of which you happen to have first-hand knowledge.
-- Erwin Knoll

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Mini Gentoo in VMWare

2006-11-05 Thread Trenton Adams

Yes, VMWare is fit for the task, simply because I would be using it on
a windows machine.  Unless there is something better for a windows
machine?

Thanks for the hints.

On 11/3/06, Harm Geerts <[EMAIL PROTECTED]> wrote:

On Friday 03 November 2006 06:43, Trenton Adams wrote:
> Hi Guys,
>
> Has anyone here played with minimalizing everything for use in vmware?
>
> Basically what I want to do is create a series of VERY tiny VMs that
> are all independent of each other, which provide one service.  For
> instance, I might put apache on one VM, and tomcat on another, and so
> on.  Obviously, I would want their memory usage to be absolutely
> minimized, seeing that I would like to run them all on one computer.
> I would probably provide them 64M-128M of RAM each, for their specific
> service.  Perhaps a little more if really required.
>
> Is there really anything that I should worry about?  Perhaps I should
> just DO IT?

Nick[1] made a post about minimizing Gentoo a while back.
But that topic was mainly about the disk usage.
I suppose you would benefit from a system that uses the -Os flag to create
small binairies.

But do you think vmware is fit for such a task?
vmware is a big strain on resources itself.
You might want to have a look at xen[2] instead.

[1] http://thread.gmane.org/gmane.linux.gentoo.user/160899/focus=160903
[2] http://www.xensource.com/xen/xen/index.html
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] conf.d/net aliases using iproute2

2006-11-05 Thread 3ric Johanson

Hi there,

As part of my firewall/shorewall config, I'd like to use aliased 
interfaces.. this is working fine:


config_eth2=(
"x.254.18.119/24"
"x.254.18.120/24"
"x.254.18.121/24"
)

 # ip addr show dev eth2
4: eth2:  mtu 1500 qdisc cbq qlen 1000
link/ether 00:x:27:85:11:x brd ff:ff:ff:ff:ff:ff
inet x.254.18.119/24 brd 216.254.18.255 scope global eth2
inet x.254.18.120/24 brd 216.254.18.255 scope global secondary eth2
inet x.254.18.121/24 brd 216.254.18.255 scope global secondary eth2

.. this is great.   However, in order for me to setup different rules for 
these incoming sub-interfaces (aliased).. I need to label them using ip 
route2 commands, such as:


# ip addr add x.254.18.120/24 brd x.254.18.255 dev eth2 label eth2:1

How can I have the ifup script create these labeled aliases via ip route2?

I guess I could pull down the interfaces and add them back by hand or 
script.. but that seems really ghetto.


Help?

Cheers,
3ric Johanson

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntp-client doesn't start

2006-11-05 Thread Roger Mason
John Blinka <[EMAIL PROTECTED]> writes:

> The laptop is old enough that the ethernet connection is by a Xircom
> pcmcia card, and this
> works well except for ntp-client.  The claim that "net.eth0 could not be
> started" puzzles
> me since, after the machine boots, ifconfig gives
>
> eth0  Link encap:Ethernet  HWaddr 00:10:A4:FE:EC:4C 
>   inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0

I may be leading you astray, but that IP address looks like one for a private 
net.  Is ntp-client
looking on that private net for a time-server?

Roger Mason

-- 
gentoo-user@gentoo.org mailing list