Re: [gentoo-user] Re: Modelling software - free - preferably easy to install under Gentoo.

2007-06-18 Thread Steve [Gentoo]
On Sat, Jun 16, 2007 at 05:22:47PM +, James wrote:
 Matlab is the standard for mathematical analysis of all sorts of
 phenomenon, from a mathematical perspective.

I'm familiar with Matlab... you're the second person to mention
Octave...

  I would like to do some analysis on these signals to see if there are
  any interesting things that can be demonstrated - for example, if I
  could show a strong correlation in the signals between two times, but
  none at other times, I might be able to conclude that there was
  communication of some description, but only for a fixed duration.

 Very unclear what you are saying. Are these signals related to events in
 your network? More information will help.

I agree - Not only was my post unclear, but I'm unclear about what I
want too. :-)

My data, in  reality, consists national statistics - and my
self-appointed challenge is to establish if, subject to appropriate
analysis, they will expose undocumented trends or other anomalies.  I
don't know what trends or anomalies I want to find until I discover
them... but I suspect that, once found, they'd be interesting. :-)

 'exi octave' reveals:

Octave is a good suggestion - but probably not what I need.  I've been
pointed at R ( http://www.r-project.org/ ) which looks more hopeful,
though I can't find it in portage. If there were an interactive GUI to
apply standard statistical analyses to data as a front-end to R, then
that would likely be just what I want.  Failing that - just finding R
in portage would be a step forwards.

I'd be very interested to know if R has competition...
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Modelling software - free - preferably easy to install under Gentoo.

2007-06-16 Thread Steve [Gentoo]
I have some (say 100) discrete data sequences sampling a single analogue
system with time-stamp data.

I would like to do some analysis on these signals to see if there are
any interesting things that can be demonstrated - for example, if I
could show a strong correlation in the signals between two times, but
none at other times, I might be able to conclude that there was
communication of some description, but only for a fixed duration.

At the moment I'm open minded about what kind of software I'd want to
employ - and also about what I'd like to prove.  Essentially, I'd like
to analyse the data for features - then ask if they correspond with
system events I'm already broadly aware about (rather than vice-versa.)

Can anyone point me in the right direction, please?

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo and Emacs in a terminal and intellisense-like functionality.

2007-05-26 Thread Steve [Gentoo]
I've a few vaguely related questions.  I'm an Emacs user from a decade
ago - and have recently returned to using it... I'm trying to set it up
as a useful modern development environment.  I'd have chosen Eclipse, or
something like that, if it wasn't for a constraint that I need it to
work remotely (in a terminal) without resorting to X; VNC etc.

There are two things I'd like to do, but on which I'm not getting very
far very fast... I'd be interested to know if other Gentoo users have
any hints or tips.

I'd really like to have Intellisense-like behaviour - i.e. I've
entered an object name when editing C++ - and I want to see a list of
methods/attributes for that object... then, having chosen one, I want to
see the arguments and types it requires.  I'm aware of [CE]tags - though
understand this facility to be somewhat more basic.  I've read a little
about Semantic, and I've installed app-emacs/semantic from portage...
but can't see how to encourage it to do what I want.  Any hints?

The other thing I'd like to do is allow cursor positioning by clicking
with a mouse.  I realise that this isn't traditionally considered
possible... but I'd like a facility in my terminal window a bit like gpm
on the linux console.  Is this viable today?


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Weird high-level question about an ad-hoc wiki-like database

2007-03-31 Thread Steve [Gentoo]
I am looking for a client-server package (preferably with the server on
gentoo from portage) which provides something which is vaguely like
CRM... but in reverse - and for personal as opposed to corporate use.

One requirement is for it to act as an address book that will allow me
to associate:

Contact name, phone number, mobile number, email address etc.
Company name, location, notes
Communication time-stamp; notes; associated documents.

I'd like to be able to search all that for keywords... and to be able to
find out at a glance from, say, a phone number when I was last contacted
and what happened.  I'd also like to be able to tell quickly if I've
talked to other contacts at the same company - and, if so, how recently
- and about what.

Of primary importance is the idea that I want to be able to resolve
these kinds of things as quickly as possible (so it looks as if I'm not
yet senile because I don't remember who someone is.) It would be great
if it would integrate with my postfix email server and tag incoming
mails if they are referenced by my inverse CRM system. :-)

I think it would be invaluable when getting quotes for things, for
example, when you ask a dozen companies - forget who is who... but then
get quotes by phone... and you wish you knew what they had promised on
the previous call.

Does anyone use anything that might fit the bill?  Any other suggestions?
Does anyone use a good address book (preferably one which integrates
with Thunderbird via LDAP)?

I hope this isn't too off-topic.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Clamassassin - does anyone know what is wrong?

2007-03-23 Thread Steve [Gentoo]

#emerge clamassassin
Calculating dependencies... done!

 Emerging (1 of 1) mail-filter/clamassassin-1.2.3 to /
* clamassassin-1.2.3.tar.gz RMD160 ;-) 
...   [ ok ]
* clamassassin-1.2.3.tar.gz SHA1 ;-) 
... [ ok ]
* clamassassin-1.2.3.tar.gz SHA256 ;-) 
...   [ ok ]
* clamassassin-1.2.3.tar.gz size ;-) 
... [ ok ]
* checking ebuild checksums ;-) 
...  [ ok ]
* checking auxfile checksums ;-) 
... [ ok ]
* checking miscfile checksums ;-) 
...[ ok ]
* checking clamassassin-1.2.3.tar.gz ;-) 
... [ ok ]

 Unpacking source...
 Unpacking clamassassin-1.2.3.tar.gz to 
/var/tmp/portage/mail-filter/clamassassin-1.2.3/work

 Source unpacked.
 Compiling source in 
/var/tmp/portage/mail-filter/clamassassin-1.2.3/work/clamassassin-1.2.3 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --disable-subject-rewrite 
--disable-clamdscan --build=i686-pc-linux-gnu

checking for rm... /bin/rm
checking for cat... /bin/cat
checking for sed... /bin/sed
checking for echo... /bin/echo
checking for formail... /usr/bin/formail
checking for mktemp... /bin/mktemp
checking for sigtool... /usr/bin/sigtool
checking for clamscan... /usr/bin/clamscan
checking for clamdscan... /usr/bin/clamdscan
checking for /tmp/clamd... no
configure: ClamAV version 0.90 detected.
configure: Using scanner /usr/bin/clamscan
configure: Using scanner options --no-summary --stdout --mbox
configure: Using virus signature file dir /var/lib/clamav
configure: Signature version reporting is off.
configure: Scanner name adding is on.
configure: Using temporary directory 
/var/tmp/portage/mail-filter/clamassassin-1.2.3/temp

configure: Subject header rewriting is off.
configure: creating ./config.status
config.status: creating clamassassin
config.status: creating Makefile
 Source compiled.
--- ACCESS VIOLATION SUMMARY 
---
LOG FILE = 
/var/log/sandbox/sandbox-mail-filter_-_clamassassin-1.2.3-11762.log


open_wr:   /var/lib/clamav/.dbLock
open_wr:   /var/lib/clamav/.dbLock
 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Spamassassin 3.1.8: sa-update

2007-03-13 Thread Steve [Gentoo]

Thomas Rösner wrote:

Dan Farrell schrieb:

I'm surprised to find that sa-update now doesn't work for me.

[snip]
Is there some obvious bit of configuration I'm overlooking?




perl-cleaner?
I'd not thought of that but... perl-cleaner all has not made any 
difference...  I still get:


--
Can't locate object method finish via package 
Mail::SpamAssassin::Timeout at 
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm line 
187.

--

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Spamassassin 3.1.8: sa-update

2007-03-09 Thread Steve [Gentoo]
I've used portage to upgrade from Spamassassin 3.1.4 to 3.1.8, and I'm 
surprised to find that sa-update now doesn't work for me.


# whoami
root
# sa-update
Can't locate object method finish via package 
Mail::SpamAssassin::Timeout at 
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm line 
187.

# equery list spamassassin
[ Searching for package 'spamassassin' in all categories among: ]
* installed packages
[I--] [  ] mail-filter/spamassassin-3.1.8 (0)
[I--] [ ~] mail-filter/spamassassin-fuzzyocr-2.3b (0)
[I--] [  ] mail-filter/spamassassin-ruledujour-20051123 (0)
$

Is there some obvious bit of configuration I'm overlooking?

--
gentoo-user@gentoo.org mailing list



[gentoo-user] AFS...

2007-02-26 Thread Steve [Gentoo]

When following:

http://www.gentoo.org/doc/en/openafs.xml

I get as far as

# fs setacl -dir /vicepa -acl rl
fs:'/vicepa': Function not implemented

Why is that?  I've googled and can find someone who says that the 
instructions did not work for him - for the same reason - but there is 
no hint as to how to resolve the issue.


Any ideas?


--
gentoo-user@gentoo.org mailing list



[gentoo-user] [Off Topic] screen configuration...

2007-02-23 Thread Steve [Gentoo]
I'm frustrated...

I want to use screen, but my emacs-afflicted fingers automatically type
control-a to go to the beginning of the line in my shell - which is
somewhat unfortunate for screen.

I assume from the manual that I can re-bind keys to avoid this
problem... my first guess was to bung bind '^a' into my .screenrc -
but that doesn't do the trick.  Does anyone here have the correct
incantation?

Steve

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] spamassassin-ruledujour failing...

2007-02-21 Thread Steve [Gentoo]
I'm getting these three emails every day from ruledujour...  I'm using 
the latest stable ebuild of each i.e.:


mail-filter/spamassassin-3.1.8
mail-filter/spamassassin-ruledujour-20051123

Does everyone who has ruledujour execute daily get these faults reported?

--
Subject: RulesDuJour/gifu: Matt Kettler's AntiDrug RuleSet has been updated

Matt Kettler's AntiDrug has changed on gifu.
Version line: # rev 0.65 10/01/2006 - updated URL, etc


--
Subject: RulesDuJour/gifu: Catch German language spam.  Maintained by 
Michael Monnerie RuleSet has been updated


Catch German language spam. Maintained by Michael Monnerie has changed on gifu.
Version line: # Version: 01.21.08 # Anti Raucher Gesetze SPA


--

--

--
Subject: RulesDuJour/gifu: lint failed. Updates rolled back.

***WARNING***: spamassassin --lint failed.
Rolling configuration files back, not restarting SpamAssassin.
Rollback command is:  mv -f /etc/spamassassin/antidrug.cf 
/etc/spamassassin/RulesDuJour/antidrug.cf.2; mv -f 
/etc/spamassassin/RulesDuJour/antidrug.cf.20070221-0313 
/etc/spamassassin/antidrug.cf; mv -f /etc/spamassassin/70_zmi_german.cf 
/etc/spamassassin/RulesDuJour/70_zmi_german.cf.2; mv -f 
/etc/spamassassin/RulesDuJour/70_zmi_german.cf.20070221-0313 
/etc/spamassassin/70_zmi_german.cf;

Lint output: [22610] warn: config: unparseable chars in 'if you are running SA 
3.0.0 or higher, you already have antidrug and this file': '3.0.0'
[22610] warn: lint: 1 issues detected, please rerun with debug enabled for more 
information


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] spamassassin-ruledujour failing...

2007-02-21 Thread Steve [Gentoo]

Norberto Bensa wrote:

Steve [Gentoo] wrote:
  

Does everyone who has ruledujour execute daily get these faults reported?

Nope. But I've disabled AntiDrug in /etc/rulesdujour/config because for a few 
days, I was getting a warning about antidrug's maintainer losing it's 
domain/host/isp or something like that. And BTW:
  

I've followed your lead... much more pleasant. :-)

Lint output: [22610] warn: config: unparseable chars in 'if you are running
SA 3.0.0 or higher, you already have antidrug and this file': '3.0.0'


  ^
;-)
  
Yes... but... I'd have hoped that the default configuration would not 
generate errors like this.  If the error is caused by my specific 
configuration... then I'd understand that it is all my fault... (as they 
say) - but it seems a bad idea to have a broken rule-set included in the 
defaults... (which, to me, it appears to be.)


Steve

--
gentoo-user@gentoo.org mailing list



[gentoo-user] [Fwd: RulesDuJour/gifu: 404 errors]

2007-01-18 Thread Steve [Gentoo]

Does anyone else have this problem with RulesDuJour?

--
To: root
Subject: RulesDuJour/gifu: 404 errors
Date: Thu, 18 Jan 2007 17:32:40 + (GMT)
From: root (root)

The following rules had errors:
TripWire had an unknown error:
--15:18:15--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
  = `99_FVGT_Tripwire.cf'
Resolving www.rulesemporium.com... 209.177.149.122
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:21:28--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 2) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:24:39--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 3) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:27:51--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 4) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:31:04--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 5) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:34:18--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 6) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:37:33--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 7) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:40:49--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 8) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:44:06--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try: 9) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:47:24--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:10) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:50:43--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:11) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:54:02--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:12) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--15:57:21--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:13) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:00:40--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:14) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:03:59--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:15) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:07:18--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:16) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:10:37--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:17) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:13:56--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:18) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:17:15--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:19) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:20:34--  http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
 (try:20) = `99_FVGT_Tripwire.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Giving up.
EvilNumber had an unknown error:
--16:23:44--  http://www.rulesemporium.com/rules/70_sare_evilnum0.cf
  = `70_sare_evilnum0.cf'
Resolving www.rulesemporium.com... 209.177.149.122
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:26:56--  http://www.rulesemporium.com/rules/70_sare_evilnum0.cf
 (try: 2) = `70_sare_evilnum0.cf'
Connecting to www.rulesemporium.com|209.177.149.122|:80... failed: 
Connection timed out.

Retrying.

--16:30:08--  http://www.rulesemporium.com/rules/70_sare_evilnum0.cf
 (try: 3) = `70_sare_evilnum0.cf'
Connecting to 

[gentoo-user] OT DirectPush email and Windows Mobile 5...

2006-12-19 Thread Steve [Gentoo]
I apologise in advance for this question being tenuously related to 
Gentoo... My justification is only that I really like my Gentoo-based 
Postfix /dovecot mail-server... but I also want to push emails to a 
connected Windows Mobile 5 PDA/phone.


Historically mobile devices have polled for email - which kind-of 
worked... but was far from ideal as it introduced unnecessary delays if 
the poll-interval was too long - and killed battery life if the poll 
interval is too short (as well as running up bandwidth bills).  Windows 
Mobile 5 touts a new Direct Push technology - which, as far as I can 
tell, is an Internet-based protocol which alerts the mobile device to 
establish a tcp connection and then listen on it waiting for a new 
message.  I understand that push-email in the past was synchronised 
using SMS messages to force a poll - but that (expensive) option is now 
considered deprecated.  The problem I have with Direct Push is that 
documentation is extremely scarce; frequently contradictory - and, it 
seems, always Microsoft centric and assuming closed-shop IT.  The sales 
pitch from phone/network providers seems usually to be We envision all 
of our potential customers already have Microsoft Exchange, and can 
apply the 'Direct Push' option pack. - which is bizarre and infuriating...


Is there a way to do Direct Push with Gentoo?  While I'm aware of the 
standard techniques to interact from traditional email client hosts, 
email access from PDAs introduces the additional complexity of managing 
battery life on the mobile device.  I'd like to use the supplied Windows 
Mobile 5 software on the mobile device is there an open source 
alternative to avoid me having to switch to Exchange for my mailserver?  
Do other Gentooists use push-email to a mobile device?  Is the best 
option to plumb for more proprietary client-side software such as 
ChatterMail [ http://www.chatteremail.com/ ] ?



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Spamassassin / fcron / RulesDuJour

2006-11-15 Thread Steve [Gentoo]
Last night my default gentoo RulesDuJour for Spamassassin acquired new
Adult and General rule-sets from SARE.  Thereafter spamd refused all
connections and subsequently received mail was not spam filtered. 
Issuing '/etc/init.d/spamd restart' as root resolved the situation...
but I don't want to have to do this every time a rule-set is
automatically updated overnight.

This is a (sanitised) extract from /var/log/messages :

--
Nov 15 03:20:00 svr fcron[5328]: process already running: root's
/usr/bin/test -x /usr/sbin/run-crons  /usr/sbin/run-crons
Nov 15 03:20:14 svr postfix/pickup[11065]: ...: uid=0 from=root
Nov 15 03:20:14 svr postfix/cleanup[11232]: ...: message-id=...
Nov 15 03:20:15 svr spamd[7808]: spamd: connection from localhost
[127.0.0.1] at port 1125
Nov 15 03:20:15 svr spamd[7808]: spamd: setuid to foouser succeeded
Nov 15 03:20:15 svr spamd[7808]: spamd: processing message .. for
foouser:1000
Nov 15 03:20:18 svr spamd[7808]: spamd: clean message (-2.9/5.0) for
foouser:1000 in 3.1 seconds, 647 bytes.
Nov 15 03:20:18 svr spamd[7808]: spamd: result: . -2 - AWL,BAYES_00
scantime=3.1,size=647,user=foouser,...
Nov 15 03:20:18 svr postfix/local[11237]: ...
Nov 15 03:20:18 svr postfix/qmgr[5607]: ...: removed
Nov 15 03:20:19 svr spamd[5462]: prefork: child states: II
Nov 15 03:20:26 svr postfix/pickup[11065]: ...: uid=0 from=root
Nov 15 03:20:26 svr postfix/cleanup[11232]: ...
Nov 15 03:20:27 svr spamd[7808]: spamd: setuid to foouser succeeded
Nov 15 03:20:27 svr spamd[7808]: spamd: processing message ... for
foouser:1000
Nov 15 03:20:29 svr spamd[7808]: spamd: clean message (-2.2/5.0) for
foouser:1000 in 2.7 seconds, 612 bytes.
Nov 15 03:20:29 svr spamd[7808]: spamd: result: . -2 - AWL,BAYES_05
scantime=2.7,size=612,user=foouser,uid=1000,...
Nov 15 03:20:29 svr postfix/local[11237]: EEA5F3B945:
to=[EMAIL PROTECTED], orig_to=root, relay=local, delay=3, status=sent
(delivered to command: /usr/bin/proc
Nov 15 03:20:29 svr postfix/qmgr[5607]: EEA5F3B945: removed
Nov 15 03:20:30 svr spamd[5462]: prefork: child states: II
Nov 15 03:21:05 svr spamd[5462]: spamd: server killed by SIGTERM,
shutting down
Nov 15 03:21:11 svr rc-scripts: Failed to stop spamd
Nov 15 03:30:00 svr fcron[5328]: process already running: root's
/usr/bin/test -x /usr/sbin/run-crons  /usr/sbin/run-crons
Nov 15 03:40:00 svr fcron[11746]: Job /usr/bin/test -x
/usr/sbin/run-crons  /usr/sbin/run-crons started for user root (pid 11747)
Nov 15 03:50:00 svr fcron[11759]: Job /usr/bin/test -x
/usr/sbin/run-crons  /usr/sbin/run-crons started for user root (pid 11760)
Nov 15 03:50:24 svr postfix/smtpd[11772]: connect from localhost[127.0.0.1]
Nov 15 03:50:24 svr postfix/smtpd[11772]: ...: client=localhost[127.0.0.1]
Nov 15 03:50:24 svr postfix/cleanup[11775]: ...: message-id=...
Nov 15 03:50:24 svr postfix/qmgr[5607]: 73FAA3B4FB: from=...
Nov 15 03:50:24 svr postfix/smtpd[11772]: disconnect from
localhost[127.0.0.1]
Nov 15 03:50:24 svr spamc[11779]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#1 of 3): Connection refused
Nov 15 03:50:25 svr spamc[11779]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#2 of 3): Connection refused
--

Does anyone else have this problem?  Can it be attributed to Fcron or
RulesDuJour or something peculiar to my setup?
I don't understand the process already running messages from fcron -
my cron jobs all seem to be executed normally.



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] User services best practice?

2006-11-13 Thread Steve [Gentoo]
While system-level services are typically managed by /etc/init.d/* in
Gentoo, these are maintained by root for all users.  I'm interested in
an end-user without root access who wants to 'run a service-like
process' (for example, fectmail to poll remote accounts...)  While an
end user can easily run a daemon process or kill one, this doesn't
persist across a reboot.  I've tried using fcron to schedule user
processes to re-start after a re-boot... but this feels like a hack.

Is there a standard Gentoo way to solve this (I presume common) task?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sys-apps/kbd-1.12-r8

2006-11-08 Thread Steve [Gentoo]
Bo Ørsted Andresen wrote:
 If you look at the configure script you will see that it's is testing if you 
 are on a sparc64. The test shows you aren't which appears to be unrelated to 
 your problem. Line 153 which appears to be failing is this:

 echo ARCH=${TARGET_ARCH/i?86/i386}  make_include

 which is supposed to substitute i686 with i386 in your case and store it in 
 make_include as ARCH=i386. I have no clue why that would fail. The only 
 thing that I can think of is to remerge your shell (probably 
 app-shells/bash). If noone else has a clue and that doesn't help I guess your 
 best option is to file a bug with the info you've posted now...
Thanks for your help, and while it might not have been obvious to you
(or anyone else reading along)... everything that was confusing before
is clear now... to me at least.  While I can see what is wrong, it isn't
100% clear if it constitutes a bug or not.

The problem is that the configure script starts '#!/bin/sh' - but goes
on to depend upon Bash specific features... specifically substitution. 
I expect this would not be a problem for most users where /bin/sh is a
sym-link to /bin/bash but, for me, /bin/sh was a sym-link to
/bin/ash... and, for that shell, line 151 is invalid.  What is less
clear is whether or not, in a Gentoo context, it is 'correct' to have
/bin/sh being Borne-like but not Bash-like.  By preference I'd prefer
/bin/sh to be the minimal shell that will execute Borne-shell scripts...
but I recognise the Linux-world normality of /bin/sh actually being bash.

As at-least a temporary fix I replaced my /bin/sh-/bin/ash with a
/bin/sh-/bin/bash... and everything now emerges smoothly... From a
prissy perspective I'd have hoped that the configure script would
specify that it needed bash functionality by demanding evaluation by
bash instead of whatever /bin/sh happens to be...

Thanks again,

Steve



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sys-apps/kbd-1.12-r8

2006-11-07 Thread Steve [Gentoo]
Bo Ørsted Andresen wrote:
 # cd /var/tmp/portage/sys-apps/kbd-1.12-r8/work
 # sed -i -e '141 aset -x\n' -e '152 aset +x\n' kbd-1.12/configure
 # ebuild `portageq portdir`/sys-apps/kbd/kbd-1.12-r8.ebuild compile
   
I've followed your suggestion - I was surprised to see sparc64 mentioned
- my gentoo box really is an aged PII (Celeron).

 Compiling source in /var/tmp/portage/kbd-1.12-r8/work/kbd-1.12 ...
Configuring for PREFIX=/usr
Configuring for DATADIR=/usr/share
Configuring for MANDIR=/usr/share/man
checking for gcc
+ uname -m
+ HOST_ARCH=i686
+ gcc -O -dumpmachine
+ awk -F- {print $1}
+ TARGET_ARCH=i686
+ test i686 = sparc64
./configure: 153: Syntax error: Bad substitution

!!! ERROR: sys-apps/kbd-1.12-r8 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kbd-1.12-r8.ebuild, line 93:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call
stack if relevant.




 Also might be a good idea to post the output of:

 # emerge --info
   

# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=
System uname: 2.6.17-gentoo-r8 i686 Celeron (Mendocino)
Gentoo Base System version 1.12.6
Last Sync: Mon, 06 Nov 2006 10:30:01 +
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium2 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild
/etc/terminfo
CXXFLAGS=-O2 -march=pentium2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://gentoo.blueyonder.co.uk
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/;
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri
elibc_glibc fortran gdbm gpm iconv input_devices_evdev
input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux
libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline
reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode
userland_GNU video_cards_apm video_cards_ark video_cards_ati
video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740
video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic
video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3
video_cards_s3virge video_cards_savage video_cards_siliconmotion
video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga
video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa
video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo
xorg zlib
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS




-- 
gentoo-user@gentoo.org mailing list



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

2006-11-06 Thread Steve [Gentoo]
Dan Johansson wrote:
 cross-site-remote-backups 
Erm, Me too...

My first attempt centred on Duplicity - which, on the surface, seemed to
be exactly what I wanted... but, unfortunately, it is unusably buggy...
and is no longer in avtive development.

My second (in-progress) attempt is with BoxBackup - which seems far more
robust... and promises the benefits of a 'continuous' backup - which I
now consider significant.  The BoxBackup distribution instills a greater
sense of confidence - but documentation remains thin... and I'm
wrestling with configuring the backup daemon on a remote server (for
which I do not have root access...)

I'd be interested to hear other annecdotes about BoxBackup - is anyone
here using it and happy with their setup?  Is there a good HowTo anywhere?



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sys-apps/kbd-1.12-r8

2006-11-06 Thread Steve [Gentoo]
Does anyone else have problems like this?


 # emerge -uDNav world

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

 Calculating world dependencies... done!
 [ebuild U ] sys-apps/kbd-1.12-r8 [1.12-r7] USE=nls 0 kB

 Total size of downloads: 0 kB

 Would you like to merge these packages? [Yes/No] yes

  Emerging (1 of 1) sys-apps/kbd-1.12-r8 to /
  * kbd-1.12.tar.gz MD5 ;-)
 ...[ ok ]
  * kbd-1.12.tar.gz RMD160 ;-)
 ... [ ok ]
  * kbd-1.12.tar.gz SHA1 ;-)
 ...   [ ok ]
  * kbd-1.12.tar.gz SHA256 ;-)
 ... [ ok ]
  * kbd-1.12.tar.gz size ;-)
 ...   [ ok ]
  * svorakln.tar.gz MD5 ;-)
 ...[ ok ]
  * svorakln.tar.gz RMD160 ;-)
 ... [ ok ]
  * svorakln.tar.gz SHA1 ;-)
 ...   [ ok ]
  * svorakln.tar.gz SHA256 ;-)
 ... [ ok ]
  * svorakln.tar.gz size ;-)
 ...   [ ok ]
  * checking ebuild checksums ;-)
 ...  [ ok ]
  * checking auxfile checksums ;-)
 ... [ ok ]
  * checking miscfile checksums ;-)
 ...[ ok ]
  * checking kbd-1.12.tar.gz ;-)
 ...   [ ok ]
  * checking svorakln.tar.gz ;-)
 ...   [ ok ]
  Unpacking source...
  Unpacking kbd-1.12.tar.gz to /var/tmp/portage/kbd-1.12-r8/work
  Unpacking svorakln.tar.gz to /var/tmp/portage/kbd-1.12-r8/work
  * Applying kbd-1.08-terminal.patch
 ...   [ ok ]
  * Applying kbd-1.12-configure-LANG.patch
 ... [ ok ]
  * Applying kbd-1.12-find-map-fix.patch
 ...   [ ok ]
  * Applying kbd-1.12-kbd_repeat-v2.patch
 ...  [ ok ]
  * Applying kbd-1.12-debian.patch
 ... [ ok ]
  * Applying kbd-1.12-unimap.patch
 ... [ ok ]
  * Applying kbd-1.12-cz-qwerty-map.patch
 ...  [ ok ]
  * Applying kbd-1.12-jp-escape.patch
 ...  [ ok ]
  * Applying kbd-1.12-Meta_utf8.patch
 ...  [ ok ]
  * Applying kbd-1.12-alias.patch
 ...  [ ok ]
  * Applying kbd-1.12-setfont-man.patch
 ...[ ok ]
  * Applying kbd-1.12-xcompile.patch
 ...   [ ok ]
  * Applying kbd-1.12-kbio.patch
 ...   [ ok ]
  Source unpacked.
  Compiling source in /var/tmp/portage/kbd-1.12-r8/work/kbd-1.12 ...
 Configuring for PREFIX=/usr
 Configuring for DATADIR=/usr/share
 Configuring for MANDIR=/usr/share/man
 checking for gcc
 ./configure: 151: Syntax error: Bad substitution

 !!! ERROR: sys-apps/kbd-1.12-r8 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   kbd-1.12-r8.ebuild, line 93:   Called die

 !!! (no error message)
 !!! If you need support, post the topmost build error, and the call
 stack if relevant.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IMAP servers

2006-10-18 Thread Steve [Gentoo]
Régis Décamps wrote:
 On 10/17/06, Steve [Gentoo] [EMAIL PROTECTED] wrote:
  I'm no longer so sure about when imap processes are spawned or
 terminated - but there seem to
 be a non-deterministic lots of them for each Thunderbird session.
 There is one process create each time Thunderbird opens a new
 connection, up to a limit which should be configured in your imap
 server (MAXPERIP for courier-imap)
I couldn't find a setting for this in dovecot...
 Thunderbird opens a connection each time a new folder is accessed, and
 closes them when it has reach a limit which is configured in Account
 Setting, account, Server settings, Advanced, maximum unmber of
 connections to cache
...but, given that gem, it doesn't matter to me any longer.  I've
reduced the setting in Thunderbird to something sensibly small and
things are running far more smoothly now.

Thanks!


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IMAP servers

2006-10-17 Thread Steve [Gentoo]
Roman Zilka wrote:
 On Mon, Oct 16, 2006 at 11:26:23AM +0100, Joost Roeleveld wrote:
   
 it appears that there is one connection per folder
 and one process per connection... which seems (to me at least) to be 
 overkill.
   
 Having never used dovecot, I can't comment on this. But maybe this can be 
 changed in a configuration file somewhere?
 
 Confirm. There are a few settings regarding exactly this
 issue. Check out all the login_process* and login_max* options at least.
   
This sounded very promising... and I've now spent some time tweaking
those parameters (I'm not sure why I'd previously overlooked them.)

The parameter login_processes_count seems to control the number of
/usr/libexec/dovecot/imap-login processes that are run (when idle)
awaiting connections.  The parameter login_max_processes_count appears
to relate to the same imap_login process.  It was not the imap_login
processes which concern me from a scalability perspective - but rather
the imap (/usr/libexec/dovecot/imap) processes.  I'm no longer so sure
about when imap processes are spawned or terminated - but there seem to
be a non-deterministic lots of them for each Thunderbird session.




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] IMAP servers

2006-10-16 Thread Steve [Gentoo]
This is not so much a problem as an 'I wonder'...

I currently use dovecot imap with maildir to support several dozen
folders containing several gigabytes of mail using Thunderbird as a mail
client.  This works - but I am surprised by the number of imap
processes that the mail server is running to support a single
Thunderbird client... it appears that there is one connection per folder
and one process per connection... which seems (to me at least) to be
overkill.

I'm aware that there are lots of IMAP clients I might have chosen -
Courier; UWImap, Cyrus and dovecot... but I'm finding it difficult to
establish details which would help me choose the most appropriate server
for my purposes.  In order of importance, I'm interested in:

1.   Stability and reliability.
2.   Scalability to handle a very large number of 'folders' for a
relatively small number of end-users.
3.   Performance (primarily with respect to 'new mail'
notifications, but also, to a lesser extent, with searching archived
messages.

I'd be interested to hear any anecdotes from Gentooists who have
addressed a similar question recently...

Steve



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: procmail, formail and maildir for digests...

2006-10-12 Thread Steve [Gentoo]
Moshe Kamensky wrote:
 The -s option of formail allows you to specify an argument, which is a 
 program name. This program will be run for each message, with the 
 message on the stdin. So if you have such a program that delivers to a 
 maildir, you can use it. procmail itself is one such program, so you 
 should be able to do something like

 | formail +1 -ds procmail .procmailrc.gentoo

 and then have .procmailrc.gentoo say something like

 :0
 gentoo-user/
   
That works perfectly... Thanks!

I'd overlooked that -s had an optional argument with formail - and while
I'd realised I probably wanted procmail to deliver messages, I hadn't
realised that I could have separate configurations as easily as that.

I'm surprised this example is neither one of the convenient examples in
the man procmailex man page... nor widely cited in the online howtos
I've seen.





-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] procmail, formail and maildir for digests...

2006-10-11 Thread Steve [Gentoo]
Kevin Fullerton wrote:
 Here's the procmail recipe I use with maildir folders and the Gentoo lists - 
 I think as long as procmail is setup with maildir support you just need to 
 set your MAILDIR var and use a trailing slash and it knows it'd delivering to 
 a MailDir.
   
A, I guess I hadn't been as clear as I could have been. I have an
almost identical setup to yours right now and that allows me to use
procmail to deliver to maildir...  The problem I have is that I want to
use formail to split my digests into individual messages (because large
digests play havoc with IMAP, and to make replies easier) - but I can
only find documentation showing how to use formail to split digests into
mbox format.  Unsurprisingly the silly attempt below doesn't work (as |
formail... is interpreted by /bin/sh.) :
--

:0
* ^List-Id:.*gentoo-user.gentoo.org
| formail +1 -ds  gentoo_user/

--

Is formail the right tool for me to use here?  Is there a tool to
deliver an mbox of messages to a maildir that I can use in place of '
gentoo_user/' above?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] procmail, formail and maildir for digests...

2006-10-11 Thread Steve [Gentoo]
Rasmus:

I've had a look at mb2md, and this seems close to what I'd need - though
I'm dubious about two aspects:

1.It doesn't seem to have a filter mode (i.e. It always takes file
as input as opposed to stdin, which would allow it to slot more neatly
into a procmail based solution.
2.The documentation suggests that it is intended to transform whole
mbox files into maildir directories - whereas I'd need it to take an
mbox file and append it to a maildir directory which would likely
already contain messages from the previous digest.

Am I missing something obvious (to someone else)?

Reader at Newsguy:

While I don't really understand why your suggestion should work...I
tried it anyway.  It didn't work... and delivered the digest to my inbox
and to my gentoo folder, but didn't in split the digest.

--
From [EMAIL PROTECTED]  Wed Oct 11 14:40:21 2006
 Subject: Digest of gentoo-user@gentoo.org issue 950 (52678-52727)
  Folder:
.Mailing.Gentoo.ThisMonth/new/1160574057.17594_0.server  161160
procmail: Extraneous filter-flag ignored
procmail: Skipped * ^List-Id:.*gentoo-user.gentoo.org
procmail: Skipped | formail +1 -ds 
--

It seems strange that this should be tricky to set-up - procmail
obviously intends to address digest splitting and to support both mbox
and maildir delivery... Surely there's a simple solution?

Steve

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] procmail, formail and maildir for digests...

2006-10-10 Thread Steve [Gentoo]
I'm familiar with this procmail recipe:

--
:0

* ^List-Id:.*gentoo-user.gentoo.org
| formail +1 -ds  gentoo_user
--

However... I need to use maildir is there a straightforward way to deliver 
directly to maildir folders with formail from procmail?






-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can anyone tell me where I've loused-up this apache config?

2006-10-03 Thread Steve [Gentoo]
This time a bamboozling Apache/vhost/https problem.

I have a working vhost configuration for several domains in apache2
(latest stable from portage - 2.0.58) and I want to support not only
http services, but, for one domain name at least, I want to support an
https service.  The working configuration for http has a
00_default_vhost.conf file:-

--
NameVirtualHost *:80

VirtualHost *:80
DocumentRoot /var/www/vlan.mydomain.net
ServerName vlan.mydomain.net
/VirtualHost

VirtualHost *:80
ServerName temporary.mydomain.net
DocumentRoot /var/www/temporary.mydomain.net
/VirtualHost
--


I updated this (following a how-to as closely as I could...) to this:

--
NameVirtualHost *:80
NameVirtualHost *:443

VirtualHost *:80
DocumentRoot /var/www/vlan.mydomain.net
ServerName vlan.mydomain.net
/VirtualHost

VirtualHost *:80
ServerName temporary.mydomain.net
DocumentRoot /var/www/temporary.mydomain.net
/VirtualHost

VirtualHost *:443
DocumentRoot /var/www/ssl.mydomain.net
ServerName ssl.mydomain.net
SSLCipherSuite HIGH:MEDIUM
SSLProtocol all -SSLv2
SSLCertificateFile /etc/apache2/ssl.crt/ssl.mydomain.net.crt
SSLCertificateKeyFile /etc/apache2/ssl.crt/ssl.mydomain.key
SSLCertificateChainFile /etc/apache2/ssl.crt/mydomain.crt
SSLCACertificateFile /etc/apache2/ssl.crt/mydomain.crt
/VirtualHost
--

I believe that I've put valid crt and key files in /etc/apache2/ssl.crt/
- and I'd have expected an error message at least if this is, in fact,
the fault.

When I parse this configuration with apache2 and the flags from
/etc/conf.d/apache2 (i.e. SSL ) this is how it goes :
--
# apache2 -D SSL --lint
# apache2 -D SSL -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443  is a NameVirtualHost
 default server ssl.mydomain.net
(/etc/apache2/vhosts.d/00_default_vhost.conf:12)
 port 443 namevhost ssl.mydomain.net
(/etc/apache2/vhosts.d/00_default_vhost.conf:12)
*:80   is a NameVirtualHost
 default server vlan.mydomain.net
(/etc/apache2/vhosts.d/00_default_vhost.conf:24)
 port 80 namevhost vlan.mydomain.net
(/etc/apache2/vhosts.d/00_default_vhost.conf:24)
 port 80 namevhost temporary.mydomain.net
(/etc/apache2/vhosts.d/00_default_vhost.conf:37)
Syntax OK
--

Unfortunately, when I attempt to connect to the SSL service on
http://ssl.mydomain.net/ using Firefox I get an immediate error :

The connection was interrupted
The connection to ssl.shic.dynalias.net was interrupted while the page
was loading.

Links (the text browser) gives the somewhat less helpful error message :

Error loading https://ssl.mydomain.net/: SSL error

Nothing seems to be written to /var/log/apache2/error_log or access_log.

I've read reports that I must be explicit about which IP address I want
to vhost on - which is undesirable as I want to serve both over Ethernet
and Wireless (i.e. I have two network adaptors) - but seems to make no
difference if I experimentally substitute my ethernet IP address for *
in the vhost configuration.

What's wrong?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Wacky ssh X11 question...

2006-10-02 Thread Steve [Gentoo]
I've three independent hosts - imaginatively called A, B and C.

Firewall rules dictate that A can be directly accessed from B, but not
from C... A and B run the openssh sshd, and C is a terminal with a
working X-Windows display.  C has a ssh session opened with B which
tunnels port 22 on C to 22 on A.  Thereafter, it is possible to ssh to
localhost on C and get a ssh connection to A, which in turn I
successfully use to tunnel IMAP, SMTP, Squid - etc.  I'd have expected
to be able to tunnel X11 over this link from C to A - but it fails... 
I'm unclear if the reason for the failure is the additional
tunnelling... Is this technique incompatible with X11 tunnelling?  Is
there a way to make it work with a reverse-tunnel or something like
that?  Am I barking up the wrong tree entirely?

--
HostC# echo $DISPLAY
:0.0
HostC# cat .ssh/config
ForwardX11 yes
HostC# ssh localhost -X
HostA# echo $DISPLAY

HostA# exit
HostC# ssh localhost -Y
HostA# echo $DISPLAY

HostA# exit
HostC#
--

If I use -v -v I get this output... Curiously I have
/usr/X11R6/bin/xauth on HostC, but xauth in in /usr/bin on host A.
--
HostC# ssh localhost -Y
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /home/user/.ssh/config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug2: key_type_from_name: unknown key type '-BEGIN'
debug2: key_type_from_name: unknown key type '-END'
debug1: identity file /home/user/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 4 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[EMAIL PROTECTED]
debug2: kex_parse_kexinit: none,[EMAIL PROTECTED]
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server-client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 121/256
debug2: bits set: 483/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:4
debug2: bits set: 540/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: 

[gentoo-user] Backups... a very general question...

2006-09-27 Thread Steve [Gentoo]
I've recently been thinking about backup strategy... following a painful
re-install after dropping a clanger during a kernel upgrade.  While this
seems a very basic topic, I can find surprisingly little documentation
about this on-line.

I need to address several entirely different kinds of backup:

1.   A backup of my root  boot partitions in a working state.  This
should be a backup to DVD-RW(s) - and would not contain any user-data...
but would provide a recovery point to get a working server as quickly as
possible in the event of a drive failure.  It would be fantastic if, in
addition to this. there were some means to track which packages had been
merged/updated since the backup was made - and a copy to be made of any
configuration changes... The list of updated packages (and the versions
to which they've been updated) and any changes to configuration files
would be tiny and hence easy to backup via another approach.  It would
be fantastic if the backup DVDs were bootable and doing so would restore
the backup.

2.  I've many gigabytes of MP3 files stored in Artist/[year]Album/*.*
hierarchy... which I extend sporadically.  I'd like a backup of this (as
organising it took lots of time) but a different approach is necessary
here... I'd like to pack as many whole albums onto DVDRs as would fit,
which I'd then number, and given a list detailing which albums are on
which DVDs, I could also play albums from a DVD player attached to a
hi-fi.  I'd like to be prompted to backup each time N-Mb of new data has
been added to my MP3 directory - and that the most recent DVD-R should
be authored with minimum user intervention.

3.  My home directory; subversion repositories and DBMS catalogues are
backed-up to a remote account.  I currently do this with a cron-job
which takes dumps; creates tar files; AES encrypts then uploads using
SSH to the remote site... which manages a history of 3 backups using a
simple shell-script.  This works OK, but it is very ad-hoc... and it
won't scale as every backup requires that I upload a new copy - even if
I've only made a trivial change to my data.  It would be far better if
an incremental update were possible - though I'm not willing to give up
encryption of data I send off-site.

Are there any packages which would make any (or all) of these tasks more
straightforward or more efficient?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge tinyca fails...

2006-09-26 Thread Steve [Gentoo]
After getting into a real pickle with a kernel upgrade (causing me to
corrupt my /dev) I opted to re-install from the latest minimal install
CD rather than try to unpick the mess.  My gentoo box is used almost
exclusively used remotely as a mail/web server - however I find tinyca a
very useful tool which I use occasionally (remotely over SSH/X11) -
tinyca is the only GUI application I need to install.

In the past I've run emerge tinyca and all the dependencies were sorted
out for me... However, with the latest portage, and only
apache/zope/postfix/dovecot/openssh installed from it, when I emerge
tinyca,  gnome-base/gnome-libs-1.4.2 is identified as a dependency - and
this does not compile (error messages below.)  As far as I am aware,
I've set no USE flags that should affect this package...

Any ideas?

--
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/usr/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DWITH_GTK -DDEBUG -DGNOME_LIB -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=pentium2
-pipe -I/usr/include/db1 -Wall -Wunused -c readXPM.c  -fPIC -DPIC -o
.libs/readXPM.lo
readXPM.c:138:21: error: X11/xpm.h: No such file or directory
readXPM.c:148: error: expected declaration specifiers or '...' before
'XpmImage'
readXPM.c:164: error: expected declaration specifiers or '...' before
'XpmImage'
readXPM.c: In function 'doXpm':
readXPM.c:189: error: 'xpm_image' undeclared (first use in this function)
readXPM.c:189: error: (Each undeclared identifier is reported only once
readXPM.c:189: error: for each function it appears in.)
readXPM.c:240: warning: implicit declaration of function 'my_x_query_colors'
readXPM.c:282: warning: implicit declaration of function 'XpmFreeXpmImage'
readXPM.c: In function '_XmHTMLReadXPM':
readXPM.c:299: error: 'XpmImage' undeclared (first use in this function)
readXPM.c:299: error: expected ';' before 'xpm_image'
readXPM.c:300: error: 'XpmInfo' undeclared (first use in this function)
readXPM.c:300: error: expected ';' before 'foo'
readXPM.c:303: error: 'xpm_image' undeclared (first use in this function)
readXPM.c:304: error: 'foo' undeclared (first use in this function)
readXPM.c:306: warning: implicit declaration of function
'XpmCreateXpmImageFromBuffer'
readXPM.c:307: error: 'XpmSuccess' undeclared (first use in this function)
readXPM.c:311: warning: implicit declaration of function 'XpmGetErrorString'
readXPM.c:314: warning: implicit declaration of function 'XpmFreeXpmInfo'
readXPM.c:322: error: too many arguments to function 'doXpm'
readXPM.c: In function '_XmHTMLCreateXpmFromData':
readXPM.c:338: error: 'XpmImage' undeclared (first use in this function)
readXPM.c:338: error: expected ';' before 'xpm_image'
readXPM.c:339: error: 'XpmInfo' undeclared (first use in this function)
readXPM.c:339: error: expected ';' before 'foo'
readXPM.c:342: error: 'xpm_image' undeclared (first use in this function)
readXPM.c:343: error: 'foo' undeclared (first use in this function)
readXPM.c:345: warning: implicit declaration of function
'XpmCreateXpmImageFromData'
readXPM.c:345: error: 'XpmSuccess' undeclared (first use in this function)
readXPM.c:360: error: too many arguments to function 'doXpm'
make[2]: *** [readXPM.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2/gtk-xmhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gnome-libs-1.4.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnome-libs-1.4.2.ebuild, line 64:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call
stack if relevant.
--

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Spamassassin

2006-03-16 Thread Steve [Gentoo]
I have (the latest) spamassassin 3.1.0 (on Perl 5.8.7) installed on my 
not-extremely-powerful small-scale Gentoo server (P2-450 with 256Mb RAM 
and 500Mb swap - not running X) and I'm experiencing a recurring 
fault... I'm running spamd and using the spamassassin client to 
re-direct email to it from my systemwide procmail setup (using the 
recommended | /usr/bin/spamc -f approach with a size limiter to avoid 
over-burdening spamassassin with any massive emails.)


Everything seems to work well for a fair while, then the spamd process 
gets wedged - and in spite of there being a near-0 load, and dozens 
and dozens of messages reported by mailq, none of my mail gets processed 
in a hurry - and after a long while (maybe every half-an-hour, say) an 
email is delivered from the head of my mail queue - which has not passed 
through spamd (according to the headers) - and has no spam-score attached.


I read some suggestions a long while ago which said that --round-robin 
as an option was a work-around for a bug with the same consequences.  
My  /etc/conf.d/spamd currently has the options:


SPAMD_OPTS=-m 5 -c -H -l --round-robin

However, I still get this problem.  I thought that it was related to the 
length of time the spamd process had been running - so I set a cron job 
to re-start the server at an unusual time early every morning... but 
this hasn't been an successful work around either.  It now seems that to 
be triggered by an increased system load - today I ran


# emerge apache squirrelmail

then left... when I returned the emerge had long-since completed by my 
spamd remained stuck.


Is this a problem everyone is having?  I had no problem like this with 
the elder (3.0.4) version of spamassassin I had installed previously on 
the same hardware.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Fetchmail

2005-12-13 Thread Steve [Gentoo]
I've recently experienced a bizarre failure... and I wondered if anyone 
else has experienced something similar or has a suggestion to avoid a 
similar annoyance in future.


I run fetchmail to poll 3 servers every minute... and while this has 
worked fine for weeks, last night it froze at 2am and stopped polling.  
When I killed the fetchmail process and ran fetchmail again this 
afternoon, things jumped to life again and appear back to normal... but 
I wished I didn't have to make the manual intervention.  Fetchmail is 
version 6.2.5.2+RPA+NTLM+SDPS+SSL+INET6+NLS from portage and has the 
following in ~/.fetchmailrc


--
set postmaster [EMAIL PROTECTED]
set no bouncemail
set no spambounce
set logfile .fetchmail.log
set properties 
set daemon 60
poll pop3.host1.net with proto POP3
   user 'user1' there with password 'pass1' is 'me' here options 
stripcr

poll pop3.host1.net with proto POP3
   user 'user2' there with password 'pass2' is 'me' here options 
stripcr

poll mail.host2.org with proto POP3
   user 'user3' there with password 'pass3' is 'me' here with 
options stripcr

--
The tail of the trace file read:
--
fetchmail: awakened at Tue Dec 13 01:59:58 2005
fetchmail: 1 message for user2 at pop3.host1.net (5449 octets).
fetchmail: reading message [EMAIL PROTECTED]:1 of 1 (5449 octets) 
fetchmail:  flushed

fetchmail: sleeping at Tue Dec 13 02:00:12 2005
fetchmail: awakened at Tue Dec 13 02:01:12 2005
fetchmail: 2 messages for user2 at pop3.host1.net (11540 octets).
fetchmail: reading message [EMAIL PROTECTED]:1 of 2 (5020 octets) 
fetchmail:  flushed
fetchmail: reading message [EMAIL PROTECTED]:2 of 2 (6520 octets) 
fetchmail:  flushed

--
Can anyone tell me why this happened?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Fetchmail

2005-12-13 Thread Steve [Gentoo]

[EMAIL PROTECTED] wrote:
Maybe if you took `set daemon 60' out of .fetchmailrc and ran it from cron? 
Thanks for the suggestion, but the reason I've avoided the cron approach 
is that I've two objectives:
1.   To minimise latency in delivery of messages as far as is practical 
(without placing stupid demands on the resources of the POP3 servers)
2.   To cope with very large emails (several MB) which may be present at 
any POP account and must be downloaded over a potentially extremely 
congested relatively low-bandwidth link.


The advantage of daemon mode here is that I neither end up with a huge 
polling delay nor any risk of a collision where two processes attempt to 
access the same POP account at the same time (which I'd expect to cause 
aggravation.)


I've used fetchmail for several years too - and this is the first time 
I've been sure it's let me down... I was wondering if it was a known 
(obscure) bug with the latest version... maybe, for example, one that 
only arises in the context of a TCP error or, maybe, a remote server 
failing mid-transaction?


Steve


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Fetchmail

2005-12-13 Thread Steve [Gentoo]

[EMAIL PROTECTED] wrote:

The advantage of daemon mode here is that I neither end up with a huge
polling delay nor any risk of a collision where two processes attempt
to access the same POP account at the same time (which I'd expect to
cause aggravation.)


Running from cron will not cause the later, since fetchmail will not run with 
an instance already running.
Ah, ha - I hadn't realised... sounds reasonable to me. But... I suppose  
this would mean I loose my minute's gap between connections and end up 
doing a fixed delay between connection initiations... I suppose that 
wouldn't be the end of the world... if it meant I eliminated the 
potential for locking-up... but I'm now wary that if one invocation 
blocks (as seems to have happened to my fetchmail daemon) then this 
would block successive cron invoked fetchmail processes too...


I can give it a try but, as I don't know how to reproduce the fault, I 
won't be able to test the idea in any meaningful way.




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Spamassassin 3.1 now fails...

2005-11-24 Thread Steve [Gentoo]
A few days I 'updated world' and spamassassin 3.04 was replaced by 
spamassassin 3.1 - after a few minutes spent migrating my configuration 
(to enable Razor,Pyzor and DCC) all seemed to be working well... but 
then, after running fine for a day or two, the spamd daemon stopped 
responding and started writing an error about syswrite(7) to the system 
log every few seconds:


--
Nov 24 00:31:12 gifu postfix/qmgr[3563]: 9ADC2137F91: removed
Nov 24 00:31:12 gifu spamd[26279]: prefork: child states: BBBII
Nov 24 00:31:14 gifu postfix/smtpd[24866]: disconnect from 
localhost[127.0.0.1]
Nov 24 00:32:40 gifu spamd[26279]: prefork: syswrite(7) failed, 
retrying... at /
usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/SpamdForkScaling.pm 
line 554.
Nov 24 00:32:45 gifu spamd[26279]: prefork: syswrite(7) failed, 
retrying... at /
usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/SpamdForkScaling.pm 
line 554.

--

Subsequently mail was (as far as I can tell) delivered without tagging 
messages.  When I restart spamasssassin (i.e. /etc/init.d/spamd restart) 
the problem disappears - at least temporarily   This is not a one-off 
occurrence - but I do not know what triggers the failure.  On this 
occasion spamassasssin failed reporting syswrite(7) last time it 
reported syswrite(8) but otherwise behaviour was similar.  The time at 
which the failure occurred does not seem to be relevant as while this 
time it was at just past midnight, previously it failed at 15:30.


Does anyone else have this problem with Spamassassin 3.1?

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Ruby Rails and Rake - strange error on Gentoo...

2005-11-07 Thread Steve [Gentoo]
I've recently started playing around with Ruby and rails under Gentoo.  
I've installed everything using emerge as opposed to the using ruby gems.


While I seem to be able to use my rails application, I get a puzzling 
error message when I try to verify it using the default generated 
rakefile and rake:


--
$ rails myapp
$ cd myapp
$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method 
`have_opt

ion?' for class `Object' (NameError)
   from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
   from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
   from /usr/bin/rake:3
--

I would not expect this error message. I get the same error message if 
I've introduced controllers and views (as suggested in the tutorials) 
before running make.  I've asked on both the ruby and rails mailing 
lists without any suggestions arising... it seems this might be peculiar 
to Gentoo.  Do other users (more familiar than I am with Ruby, rails and 
rake)  have the same problems?  Is this a problem with my generated 
application, Rails - or (as the error message suggests) an error in the 
implementation of rake?



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Devices to stream music.

2005-10-21 Thread Steve [Gentoo]
Has anyone any experience in setting up a wireless music streaming 
device to read MP3 files from a Gentoo installation?  These are the kind 
of devices I have in mind:


*   Phillips Streamium   [ http://en.streamium.com/products/sl50i/ ]
*   Netgear MP101   [ http://www.netgear.com/products/details/MP101.php ]

I've seen vague hints that these devices might be supported by UPNP - 
for which there is a package in portage... but it seems as if the 
manufacturers expect the PC storing the MP3s to run Windows... and 
presumably some proprietary server software. I'd far prefer to use my 
Gentoo box which is on all the time.Can either of these devices be 
convinced to work against Gentoo - and if not - can any anyone suggest 
an alternative device which is supported?



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Devices to stream music.

2005-10-21 Thread Steve [Gentoo]

b.n. wrote:

*   Phillips Streamium   [ http://en.streamium.com/products/sl50i/ ]
*   Netgear MP101   [ 
http://www.netgear.com/products/details/MP101.php ]

Whoa. I didn't even know such devices existed!
What kind of receivers do you need?
I played with the Streamium in PC World where they had a rigged demo... 
the device itself was a bit flimsy (the front fell off when I picked it 
up)  but it looked as if it would do the job in a physical sense.  You 
don't need a receiver - just some sort of amplifier and speakers.  The 
one I saw being demoed in the shop was connected directly to a £100ish 
set of powered speakers for PC gaming and/or DVD surround sound. If I 
had one I'd plug one into my hi-fi amplifier - the Streamium would be 
just like an external CD player as far as the rest of my hi-fi is 
concerned... it has two phono connectors at the back as far as I can 
remember.  I can't comment on the user interface as I wasn't able to 
make the demonstration unit do anything - that might have been due to 
batteries in the remote or it might have been because there was only one 
MP3 on the server locked in the back room.  [£99 asking price]


I've not seen an MP101 in-the-flesh... but they're cheaper - retailing 
at about £80 and I've seen them at £50 on ebay.  I prefer the appearance 
of the MP101 over the Streamium too.


I'm sure there are other more expensive options out there too.

Steve


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Devices to stream music.

2005-10-21 Thread Steve [Gentoo]

Christoph Gysin wrote:

Check out http://www.slimdevices.com
The server software is opensource, written in perl.
IIRC the firmware of the device is also opensource!
They certainly look cool - though they are a far more expensive option - 
especially once I've taken into account shipping and duty... It would be 
far easier for me to buy a unit on-sale here in the UK... assuming I can 
get it to suck tunes from my Gentoo box.


Steve

--
gentoo-user@gentoo.org mailing list



[gentoo-user] About a proxy-like idea... (was Shell through the web)

2005-10-11 Thread Steve [Gentoo]

Dave Nebinger wrote:

On Tuesday 11 October 2005 07:37 am, Steve [Gentoo] wrote:
  

I'm also vaguely hopeful that there may
be a more efficient lower-level solution which wouldn't require the
overhead of a process to 'pass-on' the tcp data... maybe integrated with
ipchains or pf or similar?

If you choose to roll your own solution, that would be difficult.  Youve 
already accepted the connection, so the firewall is now configured to allow 
the packets back and forth only when related to your connection.
  
I realise that the idea would necessarily be substantially more 
challenging than just writing a proxy... but I'm sure it is possible.  
I'm guessing I'd need to interact at the IP packet level, recognise the 
start of a TCP stream (buffering packets as necessary) then re-play them 
to the right port and force the packet filter to re-direct that TCP 
stream.  It would not be worth my time to try and make this work if it 
isn't already available for me to just compile and use.
Technically the proxy development is not difficult, but for newbies it can be 
frustrating working out the nuances of processing asynchronous data arriving 
on one pipe let alone two.
  
I'm confident that I could write a proxy that would do this... as you 
suggest - it's not rocket science.  Conversely, I'm lazy enough to just 
use one that's already written if one exists... which, I'm guessing, is 
likely as I doubt I'm the first person to tackle this.


Steve

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bridge confusion

2005-10-10 Thread Steve [Gentoo]

Patrick Marquetecken wrote:

I hope that someone on this list can help me to clarify bridging.
  
I'll give that a go... someone is bound to correct me if I give you a 
partial truth. :-)


I'll start by saying that the point of a bridge (in the context of 
Ethernet networks at least) is to allow packets of any protocol type to 
be copied between two otherwise separate networks.  A bridge is a 
low-level software strategy to copy all packets from one broadcast 
network to another.  When working with IP, it is important to have a 
consistent addressing scheme - which, from your diagram, it seems you 
haven't.  I'll try a bit of ASCII art too to describe a sane situation 
in which GW_PC might be required to implement a bridge.:


LAN1(10.32.1.0/8)   LAN2 (10.32.2.0/8)
  
|

+--PC1A(10.32.1.4)
|
+--PC1B(10.32.1.3) PC2A(10.32.2.1)--+
|   |
+--PC1C(10.32.1.2) PC2B(10.32.2.1)--+
|   |
+-(10.32.1.1)---GW_PC---(10.32.2.1)-+


Here I've illustrated 2 subnets - LAN1 : 10.32.1.0/8 (i.e. 256 addresses 
starting 10.32.1) and LAN2 : 10.32.2.0/8 (i.e. 256 addresses starting 
10.32.2.)   LAN1 has PC1A, PC1B, PC1C and GW_PC as connected hosts.  
LAN2 has PC2A, PC2B and GW_PC as connected hosts.  GW_PC might be a 
Gentoo box (or pretty much any computer you like, or a single-purpose 
device.  If GW_PC is a computer it will have two network cards - (for 
example, eth0 and eth1) and the GW_PC retransmits all packets from LAN1 
ont LAN2 and vice-versa - hence allowing the two otherwise separate 
subnets to behave as if they were a single subnet.  I use this strategy 
to bridge between my wired and wireless networks at home with my Gentoo 
PC participating in both wired and wireless networks.


It is important to realise that in copying LAN1's packets to LAN2 (and 
vice versa) that this will increase network load for both subnets - so 
strategic care is required before deciding to bridge.  An alternative is 
to route packets between the two subnets LAN1 and LAN2 - GW_PC would 
inspect the packets and decide if the destination PC is on the other LAN 
before transmitting the packet again and consuming bandwidth on both 
LANs.  Routing works well for many things (for example TCP based 
protocols) but not for all broadcast services which (without a bridge) 
are often restricted to a single subnet.


I hope that helps?

Steve


This is the setup i want:

Lan 1 Lan 2
 eth1---brigdeeth1
||
 10.32.0.0/22  10.32.0.0/22
||
 eth0 (10.32.3.10)---eth0 (10.32.3.11)


So the questing is, must i add eth0 and eth1 of the same machine to the
same bridge device to get it working, or is eth1 enough ?

  



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Document management solution [possibly a bit off-topic...]

2005-09-29 Thread Steve [Gentoo]
I think I want a document management solution - though I'm not sure 
that everyone understands the same idea by the term.


I've got a filing cabinet full of paperwork which is an absolute 
nightmare to cope with.  One of the key problems is that the documents 
want to be indexed in different ways.  All the documents are dated, but 
they can be further sub-divided by subjects - lots of documents 
appertain to several subjects.  I frequently require to find either a 
specific document, a sequence of related documents or similar.  I rarely 
need the original document - but often want  a copy or just to check 
some detail or other.  Some documents are multi-page, some single 
page... all can be easily scanned.


I'm interested to establish software which minimises the burden of 
managing these documents - probably as scanned images.  I'm familiar 
with the Dj-Vu Libre library and think that format is fantastic - though 
a less ambitious format would likely suffice (even at 200dpi grey scale 
jpegs  I get ~10,000 pages without needing more than one DVD to back 
up...)  A significant burden is in scanning and storing all these 
documents - and this makes a good UI essential - preferably allowing a 
single click to scan a document (incidentally can anyone recommend a 
good, cheap, sheet-fed scanner?) before page-preview (cropping/rotating) 
and assignment of subject classification and date-stamping.  It would 
be useful if there was an OCR pass in order to extract plain-text and to 
index that - though this feature is not essential.  There would need to 
be a friendly UI in order to establish all the documents matching a 
given subject classification (or group of classifications) - to preview 
on-screen and offer an option to print... preferably in-order... maybe 
with a watermark dating the copy?


Is anyone aware of any existing packages - preferably for Gentoo, but 
any open-source solution would suffice.


Thanks in advance for any suggestions :-)

Steve

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Document management solution [possibly a bit off-topic...]

2005-09-29 Thread Steve [Gentoo]

A. Khattri wrote:

On Thu, 29 Sep 2005, Steve [Gentoo] wrote:

I think I want a document management solution - though I'm not sure
that everyone understands the same idea by the term.


This might be overkill:
http://www.alfresco.org/
  
Alfresco is what I'd have called a content management system - as 
opposed to a document management system.  I'm interested in managing 
archives of documents I have received from other people (in dead-tree 
format)...

Or maybe something like ScrollKeeper would suffice?
Scrollkeeper seems to target electronic manuals etc. (as far as I can 
tell) - It doesn't appear to be focused on scanned documents.  The 
typical sort of documents I need to manage include monthly and quarterly 
invoices and statements etc. from a wide variety of vendors.


Like Alfresco, I'd say that Scrollkeeper looks more like a content 
management system than a document management system...




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NCFTP in passive mode...

2005-08-10 Thread Steve [Gentoo]

Billy Holmes wrote:


Steve [Gentoo] wrote:


Can anyone see where I'm going wrong.

I'm behind a NAT box which precludes my use of active-FTP but not 
passive.  I have verified this both with Windows based FTP clients 
and with the latest unmasked vanilla ftp from portage.  When I try 
to use ncftp, however, I run into difficulties:



I think you need to set passive on before you do any data transfers. I 
know that with my copy, ncftp will hang while waiting on a active 
transfer to finish. I normally have to terminate the program (CTRL-Z ; 
jobs -l ; kill $PID). However, I've been able to set the passive 
option before I've transfered any files.


You can also try wget if you know the file path, and just want to 
retreive a file.


As far as I can tell I tried to enable passive mode before transferring 
any files.  In the example I posted I called set passive on before I 
called open ... - I also tired setting passive on in the preferences 
file - which should have ensured that passive was on as soon as the 
process started.  Both of these fail for me.


I can't use wget - because I want to put files... I can use the classic 
ftp program (which works fine is passive mode) - however I dislike the 
user interface... ncftp worked fine for me in the past...


I've discovered that ncftp keeps trace files - this is what it shows

--
SESSION STARTED at:  2005-08-10 11:31:26 BST +0100
  Program Version:  NcFTP 3.1.8/167 Jul 27 2004, 03:31 PM
  Library Version:  LibNcFTP 3.1.8 (May 26, 2004)
   Process ID:  388
 Platform:  linux-x86
 Hostname:  gifu.shic.lan  (rc=3)
 Terminal:  cygwin
11:31:26  Fw: firewall.shic.lan  Type: 0  User: sjh  Pass:   
Port: 21

11:31:26  FwExceptions: .shic.lan,localhost,localdomain
11:31:31   set passive on

11:31:40   open ftp.mirror.ac.uk

11:31:40  Resolving ftp.mirror.ac.uk...
11:31:40  Connecting to ftp.mirror.ac.uk...
11:31:40  LibNcFTP 3.1.8 (May 26, 2004) compiled for linux-x86
11:31:40  Uname: Linux|gifu|2.6.9-gentoo-r1|#5 Sat Apr 2 18:05:01 BST 
2005|i686

11:31:40  Glibc: 2.3.5 (stable)
11:31:41  Logging in...
11:31:41  220: Welcome to the JISC National Mirror Service.
11:31:41
11:31:41   To discover more about the service, please visit: 
http://www.mirr

or.ac.uk/
11:31:41
11:31:41   The service is funded by HEFCE via the Joint Information 
Systems

Committee
11:31:41   (JISC) and is intended to support the UK academic 
community with

a portfolio of
11:31:41   useful technical mirrors directly on the Joint Academic 
Network (

JANET).
11:31:41
11:31:41   We welcome your feedback on the current service and 
suggestions f

or new
11:31:41   mirrors. Please contact us via [EMAIL PROTECTED]
11:31:41
11:31:41
11:31:41  Connected to ftp.mirror.ac.uk.
11:31:41  Cmd: USER anonymous
11:31:41  331: Please specify the password.
11:31:41  Cmd: PASS NcFTP@
11:31:41  Logging in...
11:31:41  230: Login successful.
11:31:41  Cmd: PWD
11:31:41  257: /
11:31:41  Logged in to ftp.mirror.ac.uk as anonymous.
11:31:41  Cmd: FEAT
11:31:41  211: Features:
11:31:41EPRT
11:31:41EPSV
11:31:41MDTM
11:31:41PASV
11:31:41REST STREAM
11:31:41SIZE
11:31:41TVFS
11:31:41   End
11:31:41  Cmd: HELP SITE
11:31:41  214: The following commands are recognized.
11:31:41ABOR ACCT ALLO APPE CDUP CWD  DELE EPRT EPSV FEAT HELP 
LIST MDTM

MKD
11:31:41MODE NLST NOOP OPTS PASS PASV PORT PWD  QUIT REIN REST 
RETR RMD

RNFR
11:31:41RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER 
XCUP XCWD

XMKD
11:31:41XPWD XRMD
11:31:41   Help OK.
11:31:41  Logged in to ftp.mirror.ac.uk.
11:31:41  Cmd: CLNT NcFTP 3.1.8 linux-x86
11:31:41  500: Unknown command.
11:31:43   ls

11:31:43  Cmd: EPSV
11:31:43  229: Entering Extended Passive Mode (|||48795|)
11:32:03  Data connection timed out.
11:32:03  Cmd: LIST
11:33:03  425: Failed to establish connection.
11:33:03  

11:33:27  Cmd: QUIT
11:33:27  221: Goodbye.
SESSION ENDED at:Wed Aug 10 11:33:27 2005
--

Steve



--
gentoo-user@gentoo.org mailing list



[gentoo-user] NCFTP in passive mode...

2005-08-09 Thread Steve [Gentoo]

Can anyone see where I'm going wrong.

I'm behind a NAT box which precludes my use of active-FTP but not 
passive.  I have verified this both with Windows based FTP clients and 
with the latest unmasked vanilla ftp from portage.  When I try to use 
ncftp, however, I run into difficulties:


--
NcFTP 3.1.8 (Jul 27, 2004) by Mike Gleason (http://www.NcFTP.com/contact/).
ncftp set passive on
ncftp open ftp.mirror.ac.uk
Resolving ftp.mirror.ac.uk...
Connecting to ftp.mirror.ac.uk...

Welcome to the JISC National Mirror Service.

... Blurb omitted
Logging in...

Login successful.
Logging in...
Logged in to ftp.mirror.ac.uk.

ncftp /  ls
Data connection timed out.
List failed.
ncftp / 
--

NCFTP also fails when I leave passive at the default optional (which 
allegedly automatically determines if passive ftp is required) - and 
when I set passive to on, off or optional in .ncftp/prefs_v3.


Does ncftp work in passive mode for other people?




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Simple HTTP servers question.

2005-08-05 Thread Steve [Gentoo]

Oscar Carlsson wrote:


I think lighttpd might be something like what you're looking for.
It's pretty lightweight, fast enough and php/ruby/perl works with it (through 
fastCGI).


http://www.lighttpd.net/

And of course it's in portage :)

Oscar
 

I've installed lighttpd - and while mostly impressed I'm finding 
problems with authentication support.  I've set up two websites 
extranet.mydomain.com and intranet.mydomain.com - the idea being 
that extranet contains public information for which no 
password/username is required - whereas intranet requires a username and 
password (in future this page might be personalised.)


I've read authentication.txt and I'm still baffled... Here's the 
relevant bits from my configuration in lighttpd.conf


--
server.modules  = (
   mod_access,
   mod_auth,
   mod_simple_vhost,)
--
...
--
auth.backend= plain
auth.backend.plain.userfile = lighttpd.user
auth.require =  ( intranet.mydomain.com/ =
   ( method = digest,
 realm = Intranet,
 require = user=fred )
   )
--

I placed lighttpd.user in /etc and it contains the single line fred:foo

With this configuration, neither site asks for a password.  If I replace 
intranet.mydomain.com/ with / both sites ask for a password... but 
neither will accept fred password foo.  Then, if I change digest 
to plain then I don't get asked for a password for either site but get 
Access denied immediately.


Have I discovered bugs - or is this a confiiguration problem?





--
gentoo-user@gentoo.org mailing list



[gentoo-user] Simple HTTP servers question.

2005-08-04 Thread Steve [Gentoo]
Having recently had hassle with dependencies for Apache2 for my 
configuration, I had a sudden thought that I don't really need most of 
the Apache features... and there are many http servers available in portage.


I can classify my priorities as essential and desirable:

Essential :
   * Must be secure against remote attacks.
   * Must support username-and-password based authentication.

Desirable :
   * Support to host multiple domains on a single public IP address 
(NAT'd to a single static IP address for my server)
   * As lightweight as possible (traffic volume would be minuscule - 
server would be heavily loaded and low capacity.)


Can anyone make suggestions as to good packages to investigate?

Steve

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Peculiar... ssh / shell glitch...

2005-07-28 Thread Steve [Gentoo]

Zac Medico wrote:

Apparently the signal is being handled by cygwin on the client side 
(not a gentoo server problem).  Something must have changed in your 
cygwin evironment.  A quick search shows that this is a common 
problem:  
http://www.google.com/search?hl=enq=%22Killed+by+signal+2%22+cygwin+ssh.  
In the first search result it suggested to Switch off ForwardX11 in 
your .ssh/config.


Thanks...
I guess I suspected gentoo rather than cygwin as I first noticed just 
after an emerge -uD world... 
Cygwin it must be then.


Steve


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Peculiar... ssh / shell glitch...

2005-07-27 Thread Steve [Gentoo]
I use cygwin openssh to connect to my Gentoo server... recently I've 
noticed a change in behaviour.


When I press ctrlC I'd expect my gentoo shell (zsh) to abort the 
current empty statement and wait for another.  These days, however, I 
see Killed by signal 2 and then my ssh connection closes.  Does anyone 
have any idea why this might have started to happen?


Steve


--
gentoo-user@gentoo.org mailing list



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

2005-07-22 Thread Steve [Gentoo]

Zac Medico wrote:
 For remote X you should use nx (emerge nxserver-freenx)...
 That's new to me - looks very interesting...
 There are native win32 clients (no cygwin required) for both.  The 
tightvnc client is gpl.  The nx client that I know of is commercial 
software but it's a freely downloadable from nomachine.com.


I've had a look at this but I'm a bit stumped by the nomachine.com nx 
client.  When I install their client, it takes out my Cygwin 
installation... presumably because it is linked against an old copy of 
the cywin DLLs (which I'd have thought would be a violation of the 
Cygwin licence terms.)


---
# ls
C:\usr\cygwin\bin\zsh.exe (3752): *** system shared memory version 
mismatch dete

cted - 0x75BE0074/0x75BE0084.
This problem is probably due to using incompatible versions of the 
cygwin DLL.

Search for cygwin1.dll using the Windows Start-Find/Search facility
and delete all but the most recent version.  The most recent version 
*should*

reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
159955652 [main] zsh 3288 fork_parent: child 3752 died waiting for 
longjmp before initialization

zsh: fork failed: interrupt
---

Uninstalling the nx client and rebooting fixes the fault which 
installing introduced.  The knowledge base seems to gloss over this 
problem - claiming in separate articles that it is cosmetic or a known 
problem.  I guess, given that I need cygwin, that my only option is to 
wait and hope the nx client for windows is fixed at some point?


Steve



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Daily dumb question... chron.

2005-07-19 Thread Steve [Gentoo]

Bob Sanders wrote:

Are thse system tasks supposed to be fired automatically by fcron? 
   


Yes.  In the ebuild it says -
   einfo To activate /etc/cron.{hourly|daily|weekly|montly} please run: 
   einfo crontab /etc/crontab
 

I hadn't seen that message - but then again, when I installed fcron the 
/etc/cron.* stuff wasn't especially important to me... so I might easily 
have ignored it at the time.  It's a pity this sort of essential 
warning isn't available for all packages as some kind of Gentoo 
knowledge base - I guess I could read the ebuild files - but it would be 
far more convenient to have tips/tricks/gotchas available annotated with 
each package - say on http://packages.gentoo.org/...  Hmmm.


In any case, thanks - crontab /etc/crontab seems the perfect resolution.

Steve

--
gentoo-user@gentoo.org mailing list



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

2005-07-18 Thread Steve [Gentoo]
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

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Daily dumb question... chron.

2005-07-18 Thread Steve [Gentoo]
Because I need my Gentoo server to perform periodic tasks on my behalf I 
new I needed some implementation of cron - and after a brief 
investigation I settled on fcron as I liked the idea that I could give 
flexible scheduling in order to allow the OS to delay processing in the 
event of heavy system load.  I've written a couple of my own 
administration tasks (to be run as my own non-root user) and these work 
fine.


I've noticed the directories /etc/cron.daily; /etc/cron.hourly; 
/etc/cron.monthly etc. and therein a bunch of non-user-specific 
administration tasks... For example, in ./etc/cron.daily I've 
logrotate.cron and rulesdujour - but none of these appear to have run in 
the last month.  Are thse system tasks supposed to be fired 
automatically by fcron?  What would be the easiest way to get all my 
periodic system administration tasks defined in these directories to be 
fired automatically?  Did I make a sensible choice with fcron?




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Subversion 1.2

2005-07-15 Thread Steve [Gentoo]

Holly Bostick wrote:


The thing is Portage doesn't *remember* ACCEPT_KEYWORDS, beyond the
original compile in which it is used. So if you use it, and keep the
package, as soon as you do an emerge -u world, Portage will try to
downgrade the package to the last stable version, which is the only one
that it knows to be allowed (because /etc/make.conf says xarch, not
~arch, and no exception for this particular package and its
dependencies has been made in /etc/portage/package.keywords).
 

OK - now using package.keywords make far more sense to me.  I'd always 
assumed (wrongly I guess) that emerge -u would only upgrade and never 
downgrade... Now I see why I'd need the entry in package.keywords.



It's a beautiful system :-) .
 


I'm closer to believing you. :-)

The only way in which I'm not yet as convinced as you are is with 
respect to dependencies.  I'm comfortable with the idea that I browse 
the bugs to verify that none of the issues affect my install directly - 
then to accept an unstable version of a specific package... but I'd 
prefer not to have to dig out the package dependencies and explicitly 
allow the unstable branch for those packages too (as seems to have been 
indicated earlier in this thread.)   Is there a simple way to say, for 
example, I'm willing to accept the unstable version of 
Subversion-1.2.1, and (naturally) the unstable version of any package on 
which Suversion-1.2.1 depends?  It was my wish to side-step explicitly 
dealing with package dependencies which prompted me to use 
ACCEPT_KEYWORDS with emerge -uD ...


Steve



--
gentoo-user@gentoo.org mailing list



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

2005-07-15 Thread Steve [Gentoo]

I was wondering if others have tackled this before me?

I only have remote SSH access to my Gentoo box (everything else is fire 
walled) and I use this to map ports on my client machine to 
corresponding ports on my server machine - so, for example, I can access 
IMAP; SMTP, X applications etc. on the Gentoo server remotely.  My 
remote client is WinXP, and I use Cygwin OpenSSH.  Owing to low 
bandwidth. While Xwindows is usable it is very slow - command line 
interaction without X is acceptable for most tasks but imposes a very 
restrictive interface.  If possible I would like to be able to edit 
(relatively small) configuration files remotely in a text editor running 
under windows.


What would be the easiest way to somehow map a network drive on my 
Gentoo server from Windows given that I need to tunnel over SSH?




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Subversion 1.2

2005-07-14 Thread Steve [Gentoo]
I'd have thought lots of people in the gentoo crowd would have been 
eagerly awaiting subversion 1.2.x with its substantial new reserved 
checkout - but nothing seems to have moved forward.


Portage (by default) still gives me version 1.1.3... but version 1.2 has 
been available for a couple of months and 1.2.1 a fortnight... I 
wouldn't have considered this a difficult package to port to Gentoo - 
especially as just about every other platform is supported directly by 
the Subversion developers...


I've tried using ~x86 as my USE flag - but the 1.2 ebuild still won't 
install reporting a Problem in dev-util/subversion-1.2 dependencies... 
I'm reluctant to use an unstable subverison port as it would cost me a 
fair bit of time if it scrambles my version controlled files.  Does 
anyone know what the problems are and why its taking so long to get 
1.2.x into the default portage tree?



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Steve [Gentoo]

Marco Matthies wrote:


Gentoo leaves packages in unstable for a default period of time to make sure 
they work allright. If you want the newest version of a package, you must tell 
portage to do so by putting the appropriate stuff (subversion and it's 
dependencies) in /etc/portage/package.keywords.
 

Hmmm - that all sounds sane, but what is this default period of time?  
What criteria must be met in order for a masked package (and 
specifically for Subversion) to become unmasked?



Here, i just did it myself by putting this in my package.keywords
(create this file if it doesn't exist) :

=dev-util/subversion-1.2.1  ~x86
=dev-libs/apr-util-0.9.5~x86
=dev-libs/apr-0.9.5 ~x86
 

In one way this looks better than my fiddling with USE - however I'm 
reluctant to choose specific versions in a durable configuration file.  
Ideally I'd like to follow the natural upgrade cycle in future.  
Wouldn't putting those lines in my package.keywords file prevent me 
getting, say, version 1.3 automatically when I do an emerge -uD world 
in another few months?



This was just info about portage, it is in no
way any form of endorsement on the new version of subversion, as I
haven't used it at all - and I don't know if you should be so impatient with a 
new version of a package that seems to be important to you and your data...
 

I'm only impatient in so far as I'd prefer to use my gentoo server 
rather than some other platform. I'm already using Subversion 1.2 on 
other platforms and I've found no problems for my configuration so 
(other than possible gentoo specific issues) I'm happy to run the latest 
Subversion.
[Disclaimer - please don't blame me if your requirements are more 
demanding than mine!. :-) ]


Thanks for the reply - it at least convinces me that it is possible to 
get Subersion-1.2 installed... However, your solution raises more 
questions from me about Gentoo.  I'm now unsure if I want to wait-out 
the default unstable time for packages (to minimise risk and to simplify 
systems management) - or if there is a more subtle way to declare that 
I'd like version 1.2.1 now and to have that upgraded when a future 
version newer than that which becomes unmasked.  Am I missing some other 
obvious things?  I found the Gentoo handbook a little opaque on the 
topic of masked packages... lots of info - just not the answers to the 
questions I was thinking.



--
gentoo-user@gentoo.org mailing list



[gentoo-user] docbook-sgml-utils and jade...

2005-06-12 Thread Steve [Gentoo]
I've recently discovered a problem doing my periodic emrege -uD world 
- which looks as if there is some general problem with jade [Attached 
below - output from the command.]


It seems to me that jade is linked against libsop.so.3, however I only 
appear to have a copy of libsop.so.4.  I've not unmasked or otherwise 
tried to do anything fancy - in fact I'm not particularly interested in 
either Jade or Docbook-sgml - however it seems they are dependencies.


Am I the only one getting this problem?

--
# emerge -uD world
Calculating world dependencies ...done!
 emerge (1 of 2) app-text/docbook-sgml-utils-0.6.14 to /
 md5 files   ;-) docbook-sgml-utils-0.6.12.ebuild
 md5 files   ;-) docbook-sgml-utils-0.6.12-r2.ebuild
 md5 files   ;-) docbook-sgml-utils-0.6.14.ebuild
 md5 files   ;-) ChangeLog
 md5 files   ;-) metadata.xml
 md5 files   ;-) files/docbook-sgml-utils-frontend.patch
 md5 files   ;-) files/docbook-sgml-utils-head-jw.patch
 md5 files   ;-) files/docbook-sgml-utils-backend.patch
 md5 files   ;-) files/digest-docbook-sgml-utils-0.6.12-r2
 md5 files   ;-) files/docbook-sgml-utils-0.6.14-backend.patch
 md5 files   ;-) files/digest-docbook-sgml-utils-0.6.12
 md5 files   ;-) files/digest-docbook-sgml-utils-0.6.14
 md5 src_uri ;-) docbook-utils-0.6.14.tar.gz
 Unpacking source...
 Unpacking docbook-utils-0.6.14.tar.gz to 
/var/tmp/portage/docbook-sgml-utils

-0.6.14/work
 Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu 
--mandir=/usr/share/man --inf
odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var

/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
   If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docbook-utils.spec
config.status: creating bin/Makefile
config.status: creating bin/jw
config.status: creating bin/sgmldiff
config.status: creating backends/Makefile
config.status: creating backends/man
config.status: creating backends/texi
config.status: creating frontends/Makefile
config.status: creating frontends/docbook
config.status: creating helpers/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version
config.status: creating doc/refentry/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/HTML/Makefile
Making all in backends
make[1]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/backends'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docb

ook-utils-0.6.14/backends'
Making all in bin
make[1]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docb

ook-utils-0.6.14/bin'
Making all in doc
make[1]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/doc'
Making all in refentry
make[2]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/doc/refentry'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docb

ook-utils-0.6.14/doc/refentry'
Making all in man
make[2]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/doc/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docb

ook-utils-0.6.14/doc/man'
Making all in HTML
make[2]: Entering directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/doc

book-utils-0.6.14/doc/HTML'
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
   jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
   -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
   jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
   -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
jade: error while loading shared libraries: libosp.so.3: cannot open 
shared obje

ct file: No such file or directory
make[2]: *** [api.html] Error 127
make[2]: *** Waiting for unfinished jobs
jade: error while loading shared libraries: libosp.so.3: cannot open 
shared obje

ct file: No such file or directory
make[2]: *** [backend-spec.html] Error 127
make[2]: Leaving directory 
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docb

ook-utils-0.6.14/doc/HTML'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 

Re: [gentoo-user] docbook-sgml-utils and jade...

2005-06-12 Thread Steve [Gentoo]

Tim Igoe wrote:


It seems to me that jade is linked against libsop.so.3, however I only
appear to have a copy of libsop.so.4.  I've not unmasked or otherwise
tried to do anything fancy - in fact I'm not particularly interested in
either Jade or Docbook-sgml - however it seems they are dependencies.

Am I the only one getting this problem?
   



It was mentioned only days ago on this very list.

The fix is

emerge openjade
emerge -uD world
 

Thanks... I'm not sure  why my search of the list didn't turn up that 
discussion... that fixes things.


As an asside, I'd have expected, assuming this is a simple issue that 
packages should now be dependent on openjade and not jade, that the 
portage tree would have been updated to reflect this?  Is this planned?  
I wonder why it seems to have taken so long?


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



Re: [gentoo-user] # ./CA.pl -newca certification problem

2005-06-02 Thread Steve [Gentoo]

askar ... wrote:


I'm trying to setup email system by reading the Virtual Mailhosting
System with Postfix Guide.
I have a problem in section 5.
When I do 
# ./CA.pl -newca

have error unable to load certificate
2319:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:637:Expecting: TRUSTED CERTIFICATE.

Googled, but couldn't find any hint to fix my problem.

Please advice me smth.

While not a direct answer to your question, have you tried using tinyca 
instead of CA.pl?  I always found CA.pl something of a challenge with 
many chances to make a silly error. Using tinyca (under Xwindows) I 
found managing certificates was a breeze.



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Online backups...

2005-05-24 Thread Steve [Gentoo]
I admit that this is a pretty generic idea... but I hope no-one sees 
harm in me asking about it here... I plan to do this with gentoo... so 
if someone else has had a similar plan... maybe they could offer me the 
benefit of their wisdom :-)


Assumptions:
   1.   There are two Linux Hosts connected to the internet by ADSL 
(512/256Kbps) and that for, say, 6 hours each night this bandwidth is 
mostly unused.
   2.   Each Linux Host has under 1GB of current files - and under 
100Mb of this changes each day on each host.
   3.   The (different) administrators of each host do not want to take 
responsibility for keeping the others' data secret, and neither wants 
the responsibility of having access to the other's files.

   4.   A daily backup is desired by the administrator of each host.

Any solution needs to operate transparently - reporting any failures to 
the administrator responsible for the data which has failed to be backed 
up.  Furthermore, any solution must:


   1.   Manage disk usage and consume bandwidth subject to the 
constraints of the administrator.
   2.   Use strong encryption in order to eliminate fear that the 
backup copy my compromise secrecy of backup data.
   3.   Require the transmission only of the changed data (in order to 
minimise consumption of bandwidth)


Is anyone familiar with any projects with these aims?



--
gentoo-user@gentoo.org mailing list



[gentoo-user] IMAP/Spamassassin/RazorPyzor

2005-05-19 Thread Steve [Gentoo]
One of the principle uses of my Gentoo box is to aggregate all of my 
disparate pop-3 accounts, filter spam and to provide access to the ham 
from my desktop and laptop using Thunderbird (both, I admit, under Windows.)

In the most part I am happy with this setup (postfix, dovecot, procmail, 
spamassasin  ruledujour, razor, pyzor, DCC - with remote ssh tunnels 
for smtp and IMAP4) - this configuration successfully filters about 
99.5% of my spam without having (yet) introduced a false positive - a 
fact I attribute to the advantage that my ham is extremely unlikely to 
be matched in DCC/razor/pyzor.  Every day, however, I do receive a 
couple of spams which I don't automatically identify.  These spams are 
easy enough to move out of my inbox or delete by hand, but I can't help 
thinking it would be better to report these spams back to 
DCC/razor/pyzor hoping to eliminate similar rubbish in future.  I'm 
aware of the command line client razor-report, but to be honest using 
that directly is a bit of a pain...I really need a strategy to report 
spam which requires no more human intervention than at present is needed 
to manually remove the spam from my inbox.

I wonder if it would be possible to set-up an internal account spam 
to which only local users (i.e. myself) can send mail... bounce all my 
spam there (using the Mail Redirect extension?) - and somehow use 
procmail to report it?  Is there a neater solution?

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


Re: [gentoo-user] XML Editor

2005-05-12 Thread Steve [Gentoo]
Calvin Spealman wrote:
Jaxe looks like a promising possibility, over at
http://jaxe.sourceforge.net/. It can validate based on a schema, as
you need. It is a Java-written project, so it will run on your linux
boxes, or anything else, of course.
 

I've had a brief play with Jaxe - but it didn't feel ideal... I 
found the interface a bit clumsy - though maybe I could configure that 
better with a little effort.

There is a very large list of editors at http://www.xml.com/pub/pt/3
you can look through, as well.
 

I'd found that list... (which was somewhat overwhelming) then realized 
that the majority of editors are either commercial and/or target 
WYSIWYG... I've had a look into komodo, and agree that it is sensibly 
priced... but it looks like severe overkill.  If there were to be a 
gentoo-portage ebuild for a tool (even if it wasn't perfrect) I would 
prefer that as I'd at least get get the latest version when I emerge update.

I think a significant part of my problem is that tool developers seem to 
all have a particular application in mind - and that application seldom 
seems to coincide with my ideas about neat interfaces to construct 
arbitrary XML data files...

Thanks for the suggestions... at least it seems I'm not overlooking the 
obvious?

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


[gentoo-user] XML Editor

2005-05-11 Thread Steve [Gentoo]
I have a few bespoke XML schema specs, and I want to find a generic tool 
to construct XML files which are syntactically valid with respect to the 
schema specs.
The schemas represent data-structures for domain specific records with 
moderately complex structure.  It would not make sense to use a WYSIWYG 
editor as the XML tags don't correspond to textual mark-up... I don't 
want to use a text-editor as it would be time-consuming to manually type 
the tag and attribute names... as well as being more error prone and 
less productive to batch validate.
Are there any such tools available for Gentoo?

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Fax answerphone/voicemail server...

2005-04-21 Thread Steve [Gentoo]
James Hiscock wrote:
This is a Class 1 faxmodem, which, AFAIR, doesn't work with m|vgetty.
   

...yeah... [vm]getty has no support for Class 1 fax, but it's
(theoretically) still ok for voice...
Hmmm - I've just looked out a manual and it seems to agree with you... 
and until this hint I'd no idea there even were two classes of fax 
support.. let alone that my pace only did Class 1 and I might need Class 2.

There was an interesting bit in the vgetty faq about potential imminent 
support for class 1 fax modems... but there was no hint as to a 
timescale.  I would like to work out if it would be worth my while to 
look around for another cheap modem or wait... if sometime this year a 
usable (very small volume) support for Class 1 faxes becomes available 
then that would probably be fine - I've other (less convenient) options 
which can see me through until then.

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


Re: [gentoo-user] Fax answerphone/voicemail server...

2005-04-20 Thread Steve [Gentoo]
James Hiscock wrote:
You might want to check out vocp (http://vocpsystem.com/) as an
alternative - there's a (horribly experimental - read: partially
completed) ebuild for it on bugs.gentoo.org... I'm still trying to
tweak stuff to get it working, but it's pretty straight-forward.
 

That looks like exactly what I want... Though I'd prefer to wait until 
it is in the portage tree (assuming that will happen soon) - unless, of 
course, I'm that one critical person who is needed for testing in order 
to reach that stage.

What kind of modem are you using?
 

I've a Pace 56Voice External one (RS232 interface) which (as far as I 
remember) worked well with Talkworks under NT4 several years ago... and 
until recently performed robustly for dialup.

--
gentoo-user@gentoo.org mailing list


[gentoo-user] Fax answerphone/voicemail server...

2005-04-18 Thread Steve [Gentoo]
I am looking at cobbling together a replacement for my antiquated 
hardware answer phone... Ideally I'd use my existing Voice/Fax Modem - 
and have voice mail messages delivered to me as emails in some 
appropriate attachment - that way I can retrieve them wherever I happen 
to be.

I've heard of Bayonne (but can't find that in portage); understand that 
[vm]gety is a very low-level approach (which sounds a fair bit of work) 
and of Asterisk (which sounds as if it supports lots of functionality I 
don't need - as well as not explicitly stating that it can use my 
existing (voice/fax/modem hardware).  My ideal solution would get a 
basic answer-phone service up and running pretty quickly - but let me 
tweak it as I find time over the medium term.

What do other gentoo users do for answer phone and/or fax services for a 
POTS line?


--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Fax answerphone/voicemail server...

2005-04-18 Thread Steve [Gentoo]
Joseph wrote:
Asterisk - for answering system (might be overkill) 
Hylafax - for fax server

Hmmm - That was my take on Asterisk too... if it really is the best way 
to do a voice-mail system - then I guess I should take the plunge...  
I'd still be interested to know if there are viable alternatives before 
I do...

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