[gentoo-user] Ebuild for a Ruby package

2006-08-01 Thread Jose Gonzalez Gomez
Hi there,I would like to create an ebuild for a Ruby based package. Is there any place with documentation regarding this? The ruby eclass seems to execute the install.rb file included in the source tarball I download, but my first attempt ended with a sanbox violation, so I guess I'm missing something, or maybe I have to create a custom 
install.rb that installs the package to the sandbox instead of doing it directly to the target directories.Thanks in advance, best regardsJose


Re: [gentoo-user] How to create my own linux distribution

2006-07-24 Thread Jose Gonzalez Gomez
2006/7/18, David Corbin [EMAIL PROTECTED]:
Not wanting to hijack the thread from the OP, but this subject interests mefor the following reason. I work on a software system where one customer hasabout 1 systems at about 500 locations.Remote systems are categorized
as one of 3 types/configurations.Automated management of them is essential,including upgrades, but seldom upgrades to the latest and greatest asstability is very important.Upgrades need to just work, and not require
manual intervention.Currently, they're all on Windows in one form oranother (ugh!).The systems in question have very limited capabilities, andthe people on site have very limited permissions.Other potential customers have similar size systems, and I certainly expect
someone to realize the value of Linux for this.I'd like to have a solutionin my mind when the time comes.I've considered the idea of a custom distribution to do this.There is nodoubt in my mind, that any such distribtuion would be based on an existing
one, with tweaks that deal with where updates come from, and what packagesare availble, etc.Gentoo or Debian are the two likely candidates.I'm not*sure* a customized distribution is appropriate.
I think you should take a look at:http://www.reductivelabs.com/projects/puppet/index.htmlhttp://www.cfengine.org/
Best regardsJose


[gentoo-user] Cannot remove files: operation not permitted

2006-07-14 Thread Jose Gonzalez Gomez
Hi there,

I was trying to make a clean install on a disk with a previous
installation of Gentoo on a reiserfs partition, but I wanted to keep
some files. I thought I would be able to boot with the LiveCD, mount
the partition, remove everything except the files I wanted to keep
(moving them to a temporal directory) and then copy a stage3 to the
partition.

After mounting the partition and trying to rm -rf a directory I got a
Cannot remove ... operation not permitted. After googlong a while I
found about chattr, and although it seems this is a ext2/3 tool I tried
it and I was able to remove some files after doing a chattr -ia on
them. Any way, there are some files I'm not able to delete, and they
seem to be non regular files (links, linux sockets,...). Any idea why
this is happening?

Thanks in advance, best regards
Jose


[gentoo-user] USB digital video capture from camcorder?

2006-06-02 Thread Jose Gonzalez Gomez
Hi there,I've recently purchased a Panasonic GS75 (MiniDV) camcorder and I'd like to download and edit videos on linux (if possible). The camera comes with an USB cable, so I tried to find something to get the videos out from the camera. The recommended application for this seems to be kino, but it seems that is only able to capture from ieee1394 devices, is this correct?
So, is there any way to capture or download videos from the camera using the provided USB cable? Should I buy a DV cable (the camera has DV output)?Thanks in advance, best regardsJose


Re: [gentoo-user] Por qué eres tan maravilloso Gentoo

2006-02-15 Thread Jose Gonzalez Gomez
I'll try to translate it, please forgive (or correct) any mistake, see inline2006/2/11, Rafael Fernández López [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Buenas,
Hi there Pues esta vez no escribo porque tenga ninguna duda, ni porque tenga
algún problema relacionado con mi sistema. Sencillamente, escribo porquequiero mostrar mi agradecimiento a todas las personas que hacen posibleun sistema como es Gentoo GNU/Linux, que brindan su esfuerzo y tiempo
libres en poder permitir que todos seamos iguales y que lo que nosdiferencie no sea el dinero, sino las ganas de conocer y de aprender,una curva maravillosa.This time I post neither because I have any doubt nor because I have any problem related with my system. I simply write because I want to show my gratitude to all those people that make possible a system like Gentoo GNU/Linux, people who offer their effort and spare time to help us to be equal and only being different not on our money but only on our interest in knowledge and learning, a wonderful curve. 
Desde hace tiempo vengo defendiendo muy fuertemente todo el pensamiento
GPL así como las licencias CC (Creative Commons). ¿Por qué puedo teneryo un libro que valga 80 euros [y tener acceso a ese conocimiento] yalguien que no tenga esos 80 euros no pueda tener acceso nunca a esa
información? El conocimiento es un bien común, que interesa se expanda,y que se debe compartir, sin apartar a nadie del acceso al mismo.Dejemos que el conocimiento se expanda y nos inunde a todos, es algo quenos beneficia de lejos.
Since some time ago I've been strongly supporting all the GPL philosophy as well as CC (Creative Commons) licenses. ¿Why can I have a 80 euros book (and have access to that knowledge) while somebody without those 80 euros will never be able to access that information? Knowledge is a shared good, something that should spread and be shared, without moving anybody away from it. Let the knowledge spread and flood us all, that's something that is clearly beneficial.
El tiempo nos ha dado la razón. Un sistema privativo no es más seguro
por el hecho de tener el código oculto [de hecho se ha comprobadoexperimentalmente xD]. Se han podido desarrollar sistemas como Samba oWine, que sin saber nada a priori [sobre el código] se ha permitidoemular, otro punto a favor de las mentes abiertas.
Time has proven us right. A privative system is not more secure just for having hidden code (this has even been  proved experimentally xD). Systems like Samba or Wine have been developed without any prior knowledge of the system to emulate, another success of open minds.
En definitiva quiero agradecer a todas las personas que se toman un
minuto para ayudar a otros con su conocimiento, por escaso que sea.Quiero agradecer a todos los developers que se preocupan de que lo quetienen entre manos sea de una calidad como lo que todos nosotros tenemos
instalados en nuestro disco duro, y también quiero agradecer cómo no almaestro Robbins su genial idea de un sistema tan particular como Gentoo.In short I want to thank all those people that take a minute of their time to help others with their knowledge, even if that knowledge falls short. I want to thank all those developers that work to have a quality product to be installed in our computers, and I also want to thank master Robbins for such a great idea of a system like Gentoo.
Como última nota, es como un sentimiento que tengo acerca de Gentoo, no
se si lo compartiréis. Me ocurre con Gentoo y LFS (Linux From Scratch).¿Por qué Gentoo y no Debian u otra distro? Porque para mí es como ir aun restaurante y que me sirvan el vino en la mesa, que lo abran delante
mía. Es una cuestión de educación. Prefiero que mi sistema se baje elcódigo, aplique parches (según directivas que YO controle, y nadie más),y me cree la aplicación a mi medida. Para mí un sistema de paquetes
binarios es como que abran la botella de vino en la cocina.Finally, I want to share my feeling about Gentoo, maybe you feel something similar. Gentoo and LFS (Linux From Scratch) make me feel this way. Why Gentoo and not Debian or whatever else? For me it's kind of going to a restaurant and having the wine served at my table, opening the bottle in my presence. It's a question of being polite. I prefer that my system downloads the code, applies patches (using guidelines *I* control, and nobody else), and creates the application that fits my needs. For me a binary package system is like opening the bottle at the kitchen.
Un saludo y muchísimas gracias,Best regards and thanks a lot 
Rafael Fernández López.-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2
 (GNU/Linux)Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.orgiD8DBQFD7lRP9RRlaicc3IERAi3KAKCDHI0mGE3e0m7zRMyFFSY3NS7iVgCZAeuql4wCS2gQePZQvRj+r5cBa2g=
=GJoU-END PGP SIGNATURE---gentoo-user@gentoo.org mailing list


Re: [gentoo-user] ldap vs. pam

2006-01-13 Thread Jose Gonzalez Gomez
2006/1/13, John Jolet [EMAIL PROTECTED]:
On Jan 13, 2006, at 11:45 AM, Allan Spagnol Comar wrote: thanks. I believe I am starting to understand this. I was seeing that ldap can authenticate in a lot of types, like , databases, files, and PAM do some things like that too or am I
 wrong ?as far as I know you are wrong.ldap is an authenticationmechanism.it stores usernames, passwords, and much more.
LDAP is *not* an authentication mechanism. LDAP stands for Lightweight
Directory Access Protocol, so LDAP is a protocol you use to access data
stored in a structured way, called directory. An LDAP directory is a
directory that may be accessed using LDAP. An LDAP server is a server
that serves its data using LDAP. LDAP servers are used for a lot of
things, and two of them may be single sign on or centralized
authentication (they are different although related things).

To access data in a directory you may have to authenticate to access
the data. This authentication can be done in several ways, and one of
them is called simple bind: in this case you provide a path to locate
an object in the directory and a password and the server compares the
password provided with the password stored in the specified object.
IIRC the PAM-LDAP module uses simple bind to authenticate an user
trying to gain access to the system. This is, the PAM module takes the
provided user and password and tries to authenticate itself against the
LDAP server using the simple bind mechanism, translating the user into
a path to locate the object representing that user in the directory.

BIG WARNING: Don't do this unless you're using simple bind over SSL
protected connections unless you want your passwords to travel
(almost?) as clear text through the network.

HTH
Jose


Re: [gentoo-user] How to control permissions on / ?

2006-01-11 Thread Jose Gonzalez Gomez
2006/1/10, Michael Kintzios [EMAIL PROTECTED]:
 -Original Message- From: Michael Sullivan [mailto:[EMAIL PROTECTED]] Sent: 10 January 2006 15:15 To: 
gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to control permissions on / ? There's a Gentoo installer?I thought that was called Me!Ha, ha!Yes, ME TOO!:-D
Well, then there are two Gentoo installers, ME and http://www.gentoo.org/proj/en/releng/installer/ :o)
Although I am convinced that ME TOO is a bit buggy. :-))With regards to the original post isn't this perhaps controlled from theumask setting in /etc/profile?I am not currently at my machine tocheck what's what, but I ran up to a permissions problem while trying to
emerge sox (http://bugs.gentoo.org/show_bug.cgi?id=83331).Still notsure why the permissions of the particular directory were not as theyshould have been on an old installation of mine, while everything went
fine on a newer box.umask is set to 022, that seems to be perfectly correct. I don't know where did those permissions came from, but I'm quite sure I didn't set them.Best regards
Jose


Re: [gentoo-user] How to control permissions on / ?

2006-01-11 Thread Jose Gonzalez Gomez
2006/1/10, kashani [EMAIL PROTECTED]:
Jose Gonzalez Gomez wrote: Did you use the Gentoo installer?IIRC I used the regular manual install with 2005.1 media, but not2005.1-r1 which I've used since. However I don't see how anything other
than a PEBKAC could have caused it. I don't think the stage3 wouldchange permissions on /mnt/gentoo when expending out which is the onlyother logical idea I can come up with it.Well, as I told in another post, I'm quite sure I didn't change those permisssions to such an strange combination, at least I wasn't aware I did it, if I did it at all... but I'll have to admit a PEBKAC for this.
Best regardsJose


Re: [gentoo-user] How to control permissions on / ?

2006-01-10 Thread Jose Gonzalez Gomez
2006/1/9, kashani [EMAIL PROTECTED]:
Jose Gonzalez Gomez wrote: Hi there, Can you control permissions on /? If so, how? I've found that I have the following in two different machines: proxy ~ # ls -ld / d-wxrt19 root root 472 Nov 15 17:41 /
 protos ~ # ls -ld / drwxr-xr-x19 root root 440 mar 102005 /I installed a machine a few months ago, oct?, that had the samepermissions as the first machine you list above. I never did figure out
why that machine had strange permissions, but a number of other peopleseem to have had the same issue around the same time. I've installed anumber of machine since and haven't run into it again.In any case a chmod 755 / fixed it.
Did you use the Gentoo installer?Best regardsJose 


[gentoo-user] How to control permissions on / ?

2006-01-09 Thread Jose Gonzalez Gomez
Hi there,Can you control permissions on /? If so, how? I've found that I have the following in two different machines:proxy ~ # ls -ld /d-wxrt 19 root root 472 Nov 15 17:41 /protos ~ # ls -ld /
drwxr-xr-x 19 root root 440 mar 10 2005 /I've been having a permission related problem in the first machine (you can find the description in https://bugs.gentoo.org/show_bug.cgi?id=116247
) and as the guy from the Gentoo team tells, maybe it's related to this...TIA, best regardsJose


[gentoo-user] Weird permission problem trying to start Dante SOCKS server

2006-01-02 Thread Jose Gonzalez Gomez
Hi there,

I'm facing a weird problem that seems to be related somehow to some
permission problem I can't identify. I'm trying to use the Dante SOCKS
server, that has three different users you may specify at its
configuration file. They should be the sockd user (id 101), but if I
use it, I get the following error while checking the configuration file
(this error prevents the service from starting):

proxy ~ # /usr/sbin/sockd -V
Jan 2 16:45:31 (1136216731) sockd[0]: socks_seteuid(): old: 0, new: 101
Jan 2 16:45:31 (1136216731) sockd[0]: socks_reseteuid(): current: 101, new: 0
Jan 2 15:45:31 (1136216731) sockd[0]: socks_reseteuid(): getpwuid(0): Permission denied (errno = 13)
Jan 2 15:45:31 (1136216731) sockd[0]: sockdexit(): terminating


After googling around I found that getpwuid is a function that returns
the information associated with an entry in /etc/passwd for the given
uid, and socks_reseteuid seems to be the function used by Dante to
switch from on user to another one. So it seems when Dante runs as user
101 (sockd) the call to getpwuid is failing due to a permission
problem. I've checked users, permissions on /etc/passwd, and can't find
any reason why this would be failing so any help would be greatly
appreciated.

More info:
proxy ~ # id root
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
proxy ~ # id sockd
uid=101(sockd) gid=2(daemon) groups=2(daemon)
proxy ~ # ls -l /etc/passwd
-rw-r--r-- 1 root root 1772 Dec 20 15:01 /etc/passwd
proxy ~ # cat /etc/passwd | grep root
root:x:0:0:root:/root:/bin/bash
operator:x:11:0:operator:/root:/bin/bash
proxy ~ # cat /etc/passwd | grep sockd
sockd:x:101:2:added by portage for dante:/etc/socks:/bin/false

Any ideas

TIA, best regards
Jose


Re: [gentoo-user] Unable to start Dante SOCKS server

2005-12-21 Thread Jose Gonzalez Gomez
2005/12/20, Rumen Yotov [EMAIL PROTECTED]:
Hi,On (20/12/05 17:35), Jose Gonzalez Gomez wrote: 2005/12/20, Rumen Yotov [EMAIL PROTECTED]:   On (20/12/05 13:59), Jose Gonzalez Gomez wrote:
   Hi there, I've just emerged Dante, and I'm trying to start it, but I'm getting the   following error and I don't know what's causing it...  
   proxy ~ # /etc/init.d/dante-sockd start   Dec 20 15:01:20 (1135087280) sockd[0]: socks_seteuid(): old: 0, new: 101   Dec 20 15:01:20 (1135087280) sockd[0]: socks_reseteuid(): current: 101,
  new:   0   Dec 20 14:01:20 (1135087280) sockd[0]: socks_reseteuid(): getpwuid(0):   Permission denied (errno = 13)   Dec 20 14:01:20 (1135087280) sockd[0]: sockdexit(): terminating
  * Something is wrong with your configuration file  * for more info, see: man sockd.confCheck this file /etc/sockd.conf (hint) must be somewhere under /etc but i can't check
as i don't have 'dante' installed. Read man sockd.conf too.Usually some programs (most often daemons) start as root and later fork/switch the process to other user ID.Main purpose is to gain more security if the service is compromised. 
e.x. apache,ftp  others.Check the above man page and the config file itself (read the comments, if any).
Ok, I've isolated the cause of this:

Dante has three users to be configured in the config file:
user.privileged, user.notprivileged and user.libwrap. If only one of
them is different than root, the service cannot be started. I guess
this must be some bug in the Gentoo ebuild that prevents the daemon
running with the sockd user, at least in the user.notprivileged case.

Anybody can confirm this?

Thanks, best regards
Jose


[gentoo-user] Unable to start Dante SOCKS server

2005-12-20 Thread Jose Gonzalez Gomez
Hi there,

I've just emerged Dante, and I'm trying to start it, but I'm getting the following error and I don't know what's causing it...

proxy ~ # /etc/init.d/dante-sockd start
Dec 20 15:01:20 (1135087280) sockd[0]: socks_seteuid(): old: 0, new: 101
Dec 20 15:01:20 (1135087280) sockd[0]: socks_reseteuid(): current: 101, new: 0
Dec 20 14:01:20 (1135087280) sockd[0]: socks_reseteuid(): getpwuid(0): Permission denied (errno = 13)
Dec 20 14:01:20 (1135087280) sockd[0]: sockdexit(): terminating
* Something is wrong with your configuration file
* for more info, see: man sockd.conf


Any ideas?

Thanks in advance, best regards
Jose


Re: [gentoo-user] Unable to start Dante SOCKS server

2005-12-20 Thread Jose Gonzalez Gomez
2005/12/20, Rumen Yotov [EMAIL PROTECTED]:
On (20/12/05 13:59), Jose Gonzalez Gomez wrote: Hi there, I've just emerged Dante, and I'm trying to start it, but I'm getting the following error and I don't know what's causing it...
 proxy ~ # /etc/init.d/dante-sockd start Dec 20 15:01:20 (1135087280) sockd[0]: socks_seteuid(): old: 0, new: 101 Dec 20 15:01:20 (1135087280) sockd[0]: socks_reseteuid(): current: 101, new: 0
 Dec 20 14:01:20 (1135087280) sockd[0]: socks_reseteuid(): getpwuid(0): Permission denied (errno = 13) Dec 20 14:01:20 (1135087280) sockd[0]: sockdexit(): terminating* Something is wrong with your configuration file
* for more info, see: man sockd.conf Any ideas? Thanks in advance, best regards JoseHi,Seems it wants to run as user ID 101, so check your config files, whatever they are.
Run grep 101 /etc/passwd to see which user it wants to be, or change the config.No experience with 'dante' though.
The user with id 101 is indeed the sockd user:

proxy ~ # grep 101 /etc/passwd
sockd:x:101:2:added by portage for dante:/etc/socks:/bin/false

So I guess it must be doing something with that user that can't be done...

Thanks for your help, best regards
Jose


Re: [gentoo-user] IMAP Server - authenticating off a Windows Domain?

2005-12-13 Thread Jose Gonzalez Gomez
2005/12/10, Stroller [EMAIL PROTECTED]:
On Dec 5, 2005, at 2:34 pm, Arturo 'Buanzo' Busleiman wrote: Stroller wrote: to authenticate against the domain controller everytime the user logs on to their email?
 You have many approaches, each of them with specific complications: ... 3) PAM_LDAP and use courier with authpam: May probe useful. It certainly did a couple of years ago for me.
 From http://www.networkcomputing.com/1305/1305ws12.html I'm readingthat:Finally, we need to add users to both the Linux server and the
Windows domain.Here lies an obvious deficiency with thissolution.We have provided an enterprise-scalable authenticationmechanism but not an enterprise-scalable account-managementmechanism.
Is this really the case, please? I had just decided that PAM was theway to go for me until I read this.
I've never done this, but theoretically you could authenticate against
a PDC using Kerberos and then use that Kerberos ticket to connect to
any machine in your network using SSH (SSH has builtin support for SSO
using Kerberos). I've successfully configured SSO in this way, but
authentication was done against an OpenLDAP/Heimdal server. But weren't
we talking about IMAP servers?

Best regards
Jose


Re: [gentoo-user] IMAP Server - authenticating off a Windows Domain?

2005-12-05 Thread Jose Gonzalez Gomez
2005/12/5, Stroller [EMAIL PROTECTED]:
Hi there,Does anyone have any experience of this, please? I have a number ofusers with roaming profiles on a Windows Domain Controller (SBS 2003).I don't want to use Exchange as a mailserver but instead an IMAP sever
such as Courier (which I'm familiar with).Each user will have to change their password on the domain every coupleof weeks and because I want to provide webmail access to their IMAPaccounts it's desirable that their IMAP username  password be the same
as their Windows one. I don't mind adding users by hand on theLinux-based IMAP server but I would prefer that passwords be changedautomatically - I guess the best way to do this is for the IMAP serverto authenticate against the domain controller everytime the user logs
on to their email?Has anyone any experience of this, please?
You should either go the Kerneros way for single sign on (I think SBS
2003 uses it), or use an IMAP server that is capable of handling user
authentication against LDAP (if using Active Directory).

HTH, best regards
Jose


Re: [gentoo-user] PostgreSQL Interfaces

2005-11-21 Thread Jose Gonzalez Gomez
2005/11/21, Brett I. Holcomb [EMAIL PROTECTED]:
 I am looking for a GUI interface to PostgreSQL and have found several open
 source ones available.  I'd like some comments on what others use and the
 good, bad, and ugly of what you use.

 Thanks.

I'm using pgadmin3 under Windows, and I've been happy so far

Jose

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT?] Photo organizing, slideshows, and S/VCD/DVD authoring/editing

2005-11-08 Thread Jose Gonzalez Gomez
Hi there,

I would like to hear what people is using to do the following things,
if this can be done in Linux / Gentoo (I hope so):

1. Photo organizing. This includes downloading photos from a Canon
Powershot G6, organizing it in folders (currently done with camera
software), batch renaming them using EXIF information included in
photos, editing EXIF information (currently done with Exifer:
http://www.exifer.friedemann.info/. Unfortunately this is cardware
closed source only for Windows)

2. Minor photo editing, like red eyes correction, composing whole
images from stitchs (currently done with camera software)

3. Creation of slideshows from photographs. I would like to be able to
select some or all of the photographs, maybe add some opening or
closing title, extract headers or footers from EXIF information, edit
transition between photos, add music to the slideshow, adjust the
duration of photos and transition to fit the music, and export a video
in a suitable format to be included in VCD, SVCD or DVD.

4. VCD / SVCD / DVD authoring. If possible I'd like to have a GUI for
doing this, kind of Ulead DVD Workshop, this is, you can add video
files, create menus in a graphical editor, export and burn a project
in different formats (VCD/SVCD/DVD), include the source folder with
the original images in the resulting CD/DVD...

From what I've found I have the feeling that some of the things may be
done, but others, specially graphical CD/DVD authoring are lacking
some mature tools.

TIA, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT?] Photo organizing, slideshows, and S/VCD/DVD authoring/editing

2005-11-08 Thread Jose Gonzalez Gomez
2005/11/8, Nick Rout [EMAIL PROTECTED]:
 Yes, all of those things are possible.

 Oh you want the long answer? see below:

Sure I want it :o)



 On Tue, 8 Nov 2005 19:31:48 +0100
 Jose Gonzalez Gomez wrote:


  organizing it in folders (currently done with camera
  software), batch renaming them using EXIF information included in
  photos, editing EXIF information (currently done with Exifer:
  http://www.exifer.friedemann.info/. Unfortunately this is cardware
  closed source only for Windows)

 There are many good photo databases that do this kind of thing. digikam, 
 kimdaba

It seems that digikam has only an Exif viewer, not editor, and I
haven't been able to find any reference to batch renaming based on
Exif information. Regarding KimDaBa, it also seems to read Exif, but
it doesn't let you edit it.

 
  4. VCD / SVCD / DVD authoring. If possible I'd like to have a GUI for
  doing this, kind of Ulead DVD Workshop, this is, you can add video
  files, create menus in a graphical editor, export and burn a project
  in different formats (VCD/SVCD/DVD), include the source folder with
  the original images in the resulting CD/DVD...

 dvdstyler is a good gui front end for this.


This is only for DVDs, isn't it? Anyone for VCD / SVCD?

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT?] Photo organizing, slideshows, and S/VCD/DVD authoring/editing

2005-11-08 Thread Jose Gonzalez Gomez
2005/11/8, b.n. [EMAIL PROTECTED]:
  3. Creation of slideshows from photographs. I would like to be able to
  select some or all of the photographs, maybe add some opening or
  closing title, extract headers or footers from EXIF information, edit
  transition between photos, add music to the slideshow, adjust the
  duration of photos and transition to fit the music, and export a video
  in a suitable format to be included in VCD, SVCD or DVD.

 I have no idea... but looks like the most horrible kitschy bad-taste
 thing I ever heard, so I refuse to give you advices about such an horror :-)


Maybe, but you can make really happy your mother-in-law if you prepare
a few of those slideshows containing photos of her grandchildren. If
you finally author an easy to use SVCD menu, burn it on a printable
surface CD, and print a photo of them in the surface, you become her
favorite son-in-law... believe me, tested and proven ;o)

Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT?] Photo organizing, slideshows, and S/VCD/DVD authoring/editing

2005-11-08 Thread Jose Gonzalez Gomez
2005/11/9, b.n. [EMAIL PROTECTED]:
 Jose Gonzalez Gomez wrote:
  2005/11/8, b.n. [EMAIL PROTECTED]:
 
 3. Creation of slideshows from photographs. I would like to be able to
 select some or all of the photographs, maybe add some opening or
 closing title, extract headers or footers from EXIF information, edit
 transition between photos, add music to the slideshow, adjust the
 duration of photos and transition to fit the music, and export a video
 in a suitable format to be included in VCD, SVCD or DVD.
 
 I have no idea... but looks like the most horrible kitschy bad-taste
 thing I ever heard, so I refuse to give you advices about such an horror :-)
 
 
 
  Maybe, but you can make really happy your mother-in-law if you prepare
  a few of those slideshows containing photos of her grandchildren. If
  you finally author an easy to use SVCD menu, burn it on a printable
  surface CD, and print a photo of them in the surface, you become her
  favorite son-in-law... believe me, tested and proven ;o)

 Ahaha, OK, you're forgiven :-P
 (Sorry if I looked rude, but I couldn't control myself in front of such
 a description...)

No problem, and thanks for the help :o)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Postfix, LDAP, courier-imap, how do i get them to talk to each other?

2005-09-03 Thread Jose Gonzalez Gomez
2005/9/2, Jakub Krajcovic [EMAIL PROTECTED]:
 Hello all,
 
 I am finishing the installation of a gentoo server, and $SUBJECT is
 the last thing that i need to do.
 The server's primary purpose is to server as a PDC for a windows
 domain. The user accounts (both posix and samba) are stored in ldap,
 as are the machine accounts (i followed the instructions on
 samba.idealx.org to set it up). The accounts in ldap are valid unix
 accounts (posix - like i mentioned earlier), the only thing is that
 they do not have a shell, (eg /bin/false) because the users only use
 samba, and do not connect to the server itself for shell access. Each
 user has a valid home directory (eg /home/group/user) and of course,
 a password.
 
 I configured postfix to relay mail, and now i need to configure it to
 receive mail, pass it to courier-imap (configure courier-imap), and
 make courier look for delivery info in the ldap database, and deliver
 the friggin email. I need the email stored in Maildir format, and
 preferably, i would want it to be stored in /home/group/user/.maildir
 (eg ~user/.maildir)
 
 Could someone please help me with this? I have followed this guide:
 http://gentoo-wiki.com/HOWTO_Postfix-
 LDAP_virtual_users_with_qmail_schema and did some configuration
 according to this, but i was not able to get it working, as this
 deals primarily with virtual users, but my users are real. I
 googled, checked the forums, but i found nothing that would solve my
 problem.
 
 Also, i am using qmailSchema for the users that i need to give email
 to. The fields that are defined for mail-enabled users are:
 
 mail: [EMAIL PROTECTED]
 accountStatus: active
 mailMessageStore: /home/group/user/.maildir (is this correct?)
 
 
 In case anyone would be willing to assist, but you would need the
 config files, please let me know, and i will post them on my server.
 
 thanks in advance to anyone willing to help
 
 
 S pozdravom / Best regards
 jakub krajcovic
 

Sometime ago I had some installation with that software and a similar
setup, although I don't remember the exact details. Anyway I seem to
remember that the mail wasn't delivered to the home directory of every
user, as it's a bit tricky to do so: the MTA should have write access
to all the home directories. I'm currently using Cyrus IMAP and
delivering mail through LMTP.

Anyway, you may treat your users as virtual and store the mail
anywhere else. Keep in mind that storing mail in the user's home
directory is intended for systems where users access mail directly in
their file system (as they used some time ago) instead of going
through a POP3/IMAP server, as it's mainly done nowadays. Moreover,
you're not giving your users shell access, so you don't have to worry
for giving direct access to mail files (unless you're mounting those
directories from anywhere else).

HTH,
Jose

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with tape autochanger

2005-08-09 Thread Jose Gonzalez Gomez
Hi there,

I'm trying to setup a backup system using an HP SureStore 40x6, but
this is the first time I'm using tapes under Linux and I'm a bit lost.

It seems I cannot access the tapes, as I get the following:
cognos ~ # mt -f /dev/nst0 rewind
/dev/nst0: No such device or address
cognos ~ # mt -f /dev/st0 rewind
/dev/st0: No such device or address

cognos ~ # ls -l /dev/nst0
crw-rw  1 root tape 9, 128 mar 10 18:47 /dev/nst0
cognos ~ # ls -l /dev/st0
crw-rw  1 root tape 9, 0 mar 10 18:47 /dev/st0

It seems my system has not detected the tape autochanger, as I only
get the SCSI disk in the list of SCSI devices:
cognos ~ # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: COMPAQ   Model: BD07296B44   Rev: HPB6
  Type:   Direct-AccessANSI SCSI revision: 03


I have two SCSI adapters:
cognos ~ # lspci
:00:00.0 Host bridge: Broadcom (formerly ServerWorks) GCNB-LE Host
Bridge (rev 32)
:00:00.1 Host bridge: Broadcom (formerly ServerWorks) GCNB-LE Host Bridge
:00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
:00:04.0 Ethernet controller: Broadcom Corporation NetXtreme
BCM5702X Gigabit Ethernet (rev 02)
:00:05.0 System peripheral: Compaq Computer Corporation Advanced
System Management Controller
:00:06.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
:00:08.0 SCSI storage controller: LSI Logic / Symbios Logic
53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
:00:09.0 Ethernet controller: Broadcom Corporation NetXtreme
BCM5705_2 Gigabit Ethernet (rev 03)
:00:0e.0 IDE interface: Broadcom (formerly ServerWorks) CSB6 IDE
Controller (rev a0)
:00:0f.0 ISA bridge: Broadcom (formerly ServerWorks) CSB6 South
Bridge (rev a0)
:00:0f.2 USB Controller: Broadcom (formerly ServerWorks) CSB6 OHCI
USB Controller (rev 05)
:00:0f.3 Host bridge: Broadcom (formerly ServerWorks) GCLE-2 Host Bridge


I think the tape autochanger is connected to the second one (LSI Logic
/ Symbios Logic 53c1030), so I have checked my kernel config searching
for drivers. Everything I can think of seems to be compiled in the
kernel, or as modules I have tried to modprobe, but with no positive
results... any ideas?

Thanks in advance, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Problem with tape autochanger

2005-08-09 Thread Jose Gonzalez Gomez
2005/8/9, Jose Gonzalez Gomez [EMAIL PROTECTED]:
 Hi there,
 
 I'm trying to setup a backup system using an HP SureStore 40x6, but
 this is the first time I'm using tapes under Linux and I'm a bit lost.
 
 It seems I cannot access the tapes, as I get the following:
 cognos ~ # mt -f /dev/nst0 rewind
 /dev/nst0: No such device or address
 cognos ~ # mt -f /dev/st0 rewind
 /dev/st0: No such device or address
 
 cognos ~ # ls -l /dev/nst0
 crw-rw  1 root tape 9, 128 mar 10 18:47 /dev/nst0
 cognos ~ # ls -l /dev/st0
 crw-rw  1 root tape 9, 0 mar 10 18:47 /dev/st0
 
 It seems my system has not detected the tape autochanger, as I only
 get the SCSI disk in the list of SCSI devices:
 cognos ~ # cat /proc/scsi/scsi
 Attached devices:
 Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: COMPAQ   Model: BD07296B44   Rev: HPB6
   Type:   Direct-AccessANSI SCSI revision: 03
 
 
 I have two SCSI adapters:
 cognos ~ # lspci
 :00:00.0 Host bridge: Broadcom (formerly ServerWorks) GCNB-LE Host
 Bridge (rev 32)
 :00:00.1 Host bridge: Broadcom (formerly ServerWorks) GCNB-LE Host Bridge
 :00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
 :00:04.0 Ethernet controller: Broadcom Corporation NetXtreme
 BCM5702X Gigabit Ethernet (rev 02)
 :00:05.0 System peripheral: Compaq Computer Corporation Advanced
 System Management Controller
 :00:06.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
 :00:08.0 SCSI storage controller: LSI Logic / Symbios Logic
 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
 :00:09.0 Ethernet controller: Broadcom Corporation NetXtreme
 BCM5705_2 Gigabit Ethernet (rev 03)
 :00:0e.0 IDE interface: Broadcom (formerly ServerWorks) CSB6 IDE
 Controller (rev a0)
 :00:0f.0 ISA bridge: Broadcom (formerly ServerWorks) CSB6 South
 Bridge (rev a0)
 :00:0f.2 USB Controller: Broadcom (formerly ServerWorks) CSB6 OHCI
 USB Controller (rev 05)
 :00:0f.3 Host bridge: Broadcom (formerly ServerWorks) GCLE-2 Host Bridge
 
 
 I think the tape autochanger is connected to the second one (LSI Logic
 / Symbios Logic 53c1030), so I have checked my kernel config searching
 for drivers. Everything I can think of seems to be compiled in the
 kernel, or as modules I have tried to modprobe, but with no positive
 results... any ideas?
 
 Thanks in advance, best regards
 Jose
 

There's nothing as posting a question to inmediately find the answer:
I had to modprobe mptbase and mptscsih (MPT Fusion support). Now it
seems to be working

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tomcat5 sun-jdk issue

2005-08-09 Thread Jose Gonzalez Gomez
2005/8/9, Andreas Fredriksson [EMAIL PROTECTED]:
 On 8/9/05, Covington, Chris [EMAIL PROTECTED] wrote:
  I'm running www-servers/tomcat-5.0.28-r4 net-www/apache-2.0.54-r13 and
  dev-java/sun-jdk-1.4.2.08-r1.  Though tomcat works fine, for some reason
  I have 56 java processes running each time I restart tomcat?  Anyone
  know how this could be?
 
 These are most likely threads, since so many of them share the same
 memory usage.
 
 Try the various ps options that relate to threads and see if you can
 make the display prettier.
 
 Regards,
 Andreas
 
As Andreas told you, you're most likely watching Java threads. I seem
to remember that after installing NPTL (Native Posix Thread Library)
support a Java virtual machine with all its threads maps to just one
linux process, so you would stop seeing that many processes every time
you lanch a multithreaded Java application... anybody can confirm
this?

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT?] Dynamic DNS using Gentoo

2005-08-09 Thread Jose Gonzalez Gomez
Hi there,

I currently have a DSL connection with a fixed IP using a DSL router,
with an internal network of 4 computers with private DHCP IPs (except
the server, with fixed private IP). Now I'm considering changing to
another provider with dynamic IPs. I have three domains hosted in my
SOHO server (let's say example1.com, example2.com and example3.com)
including mail for two of them. The questions are:

1. Which dynamic DNS provider do you prefer and why (I would prefer a free one)?
2. Which is the best dynamic DNS client available in Gentoo, taking
into accout that it must be able to discover the DSL router's
dynamically assigned IP and connect with the chosen provider?

I would like to be able to keep my domain names, but using a dynamic
IP DSL connection, this is, I don't want to change to any URL like
example.no-ip.com or example.dyndns.org. So I thought I could just add
some CNAMEs entries to my DNS service (kind of www.example1.com CNAME
example.dyndns.org and mail.example1.com CNAME example.dyndns.org) to
get what I want, but here:

http://www.dyndns.org/services/dns/

they say the free service doesn't support using your own domain
names... does this mean that you must pay if you want to include your
own domain name in their DNS servers, but the whole CNAME stuff should
work if you have a DNS service available elsewhere? Has anyone ever
tried this?

Thanks in advance, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT?] Dynamic DNS using Gentoo

2005-08-09 Thread Jose Gonzalez Gomez
2005/8/9, Jarry [EMAIL PROTECTED]:
 Jose Gonzalez Gomez wrote:
 
  I currently have a DSL connection with a fixed IP using a DSL router,
  with an internal network of 4 computers with private DHCP IPs
 
  2. Which is the best dynamic DNS client available in Gentoo, taking
  into accout that it must be able to discover the DSL router's
  dynamically assigned IP and connect with the chosen provider?
 
 Well, I think, this could be easy done by your broadband soho router.
 Most of them have already support for all common dyndns providers...
 
 I'm facing the opposite problem: I have gentoo-server with bind running
 (with static IP, outside of my home network) and I'm looking for the way
 my home router (asus wl500g) with dyn-ip could use it as dyddns instead
 of dyndns.org...
 
 Jarry

I currently own a 3com 812 router (a bit outdated) so I think I don't
have that functionality built in the router. Anyway, I have taken a
look at ddclient (suggested by Jean) and seems to have some kind of
support for my router...

Thanks, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network Monitoring (graphical web app)

2005-08-04 Thread Jose Gonzalez Gomez
Haven't tried it, but it seems to be worth a look, so I would add 

http://www.zabbix.com/

2005/8/3, Michael Crute [EMAIL PROTECTED]:
 I use Nagios and Cacti with much success.
  
  http://www.nagios.org/
  http://www.cacti.net/
  
  -Mike
 
 
 On 8/3/05, Chris Frederick [EMAIL PROTECTED] wrote:
  Hi all,
  
  I've been looking for a monitoring app that I can run on my
  server/gateway.  The more graphical the better, I really like the looks
  of the graphs from ipac and grapher.  But I'd like to get more details 
  than just total interface statistics.  I'd like to be able to see a
  graph for the total, but also a few extra graphs for watching specific
  ports (21, 22, 25, 80, 443, etc...).  Being able to monitor procs,
  specific procs, and memory and stuff would be nice, but I can get that 
  from other apps if needed.
  
  Any suggestions/recommendations?
  
  Thanks all,
  
  Chris Frederick
  
  --
  gentoo-user@gentoo.org mailing list
  
  
  
 
 
 -- 
 
 Michael E. Crute
 Software Developer
 SoftGroup Development Corporation
 
 In a world without walls and fences, who needs windows and gates?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?

2005-07-18 Thread Jose Gonzalez Gomez
2005/7/18, Steve [Gentoo] [EMAIL PROTECTED]:
 Thanks for the many suggestions...  Lots of interesting ideas and
 different perspectives.
 
 Zac Medico wrote:
 
 Filezilla is an ftp client that supports file transfer over ssh: 
 http://filezilla.sourceforge.net/
 
 
 I'll give that a look - it's not really what I was after - while I
 suppose I wasn't really clear about my intentions, I really wanted
 FS-like access to enable me not only to edit text files, but also to use
 visual differencing tools etc.  I'm suspecting that this wouldn't be
 supported using an ftp-like approach.
 
 For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge 
 tightvnc).
 
 
 That's new to me - looks very interesting...  I'm guessing I'd need to
 get this working under cygwin for my XP client...  Anything which
 improves the performance of remote X sessions would be very useful.
 
 To map a network drive, you should probably tunnel samba through ssh.  
 Google for samba tunnel putty.
 
 
 This is exactly what I wanted to know. I hadn't thought of googling with
 putty as I'm using OpenSSH on both client and server - but the
 techniques look the same.
 
 Steve
 
I'm surprised nobody mentioned WinSCP... definitely worth a try:

http://winscp.net/

And of course, it's GPLed.

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to know if a Xeon is EMT64 capable?

2005-06-13 Thread Jose Gonzalez Gomez
Hi there,

I'm about to install a Gentoo system in a Xeon based computer, but I'm
not sure if this processor is 64-bit capable or not, as there seems to
exist 32 and 64 versions of this processor. Is there any way to know
it?

The output of cat /proc/cpuinfo:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 3.06GHz
stepping: 9
cpu MHz : 3067.211
cache size  : 512 KB
physical id : 0
siblings: 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 6062.08

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 3.06GHz
stepping: 9
cpu MHz : 3067.211
cache size  : 512 KB
physical id : 0
siblings: 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 6127.61


Thanks in advance, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list