Re: SERPENT implementation in debian

2010-08-28 Thread Tzafrir Cohen
On Thu, Aug 26, 2010 at 11:52:31PM +0200, Christoph Anton Mitterer wrote:
 On Thu, 2010-08-26 at 17:43 -0400, Perry E. Metzger wrote:
  I presume you mean the cipher by Anderson, Biham and Knudsen.
 Yep  was there another one of the same name?
 

The linux kernel tree has crypto/serpent.c .

 
  I'm unaware of one, but I think it is a fairly bad move to use
  algorithms other than standard ones. Unless you have very good reason
  to use something eperimental, I would stick to AES.
 I plan to use them stacked ... so that shouldn't be a problem IMO.

What do you hope to gain by that? Not performance. What do you hope to
get that you can't get from the standard AES-256?

 
 Any why should it be just experimental,... wasn't it very well analysed
 during the AES selection process?

Yes, it was. But the specific implementation you use wasn't as
well-analyzed as current implementations of AES are.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100828132731.gb17...@pear.tzafrir.org.il



Re: module-assistant not detecting kernel headers

2010-08-23 Thread Tzafrir Cohen
On Mon, Aug 23, 2010 at 06:19:49AM -0400, Anticept . wrote:
 On Mon, Aug 23, 2010 at 4:03 AM, Angus Hedger demide...@gmail.com wrote:
 
  Hey there,
 
  I would check the /lib/modules/kernel version/build symlink
 
  Make sure its pointing to /usr/src/linux-headers-kernel version
 
  I have had some problems with stuff not being about to find k-headers
  due to this.
 
  Regards,
 
  Angus
 
 
 Fixed that symlink too, unfortunately this did not help.
 
 Module-assistant appears to be malfunctioning as well. After it fails
 to find the kernel headers, 

You can assist it: -k /path/to/kernel/source/directory

I'm not really sure a kernel built with make-kpkg produces a proper
headers package.

 if i use any keys except left and right
 and the spacebar, it will rapidly spew errors that get covered up by
 the menu, shortly before crashing out. I've also tried ctrl+c to exit,
 but that just breaks my gnome terminal and I have to force-close it.

I don't like its interactive mode. Try using -i (--non-inter) to avoid
the full-screen nonsense.

 
 I tried using m-a  errors to see if I can catch those errors, but all
 I get is an empty file. Suggestions on diagnosis?

It writes logs to under /var/cache/modass

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100823110157.gr17...@pear.tzafrir.org.il



Re: ssh error

2010-08-23 Thread Tzafrir Cohen
On Mon, Aug 23, 2010 at 05:09:01PM +0700, Vit wrote:
 I've fount the core problem.
 Software modifies LD_LIBRARY_PATH, and there is another libkrb5support.so.0 
 in it, which doesn't contain needed paths.
 How to solve this problem without modifyind the proprietary software?
 With best regards,
 Koroteev Victor.
 --


You can always LD_PRELOAD the libraries you want. Or write a wrapper
that unsets LD_LIBRARY_PATH before running /usr/bin/ssh .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100823110358.gs17...@pear.tzafrir.org.il



Re: From console to GUI

2010-08-21 Thread Tzafrir Cohen
On Fri, Aug 20, 2010 at 12:06:18PM -0400, Jordan Metzmeier wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 08/20/2010 12:03 PM, Camaleón wrote:
  On Fri, 20 Aug 2010 08:08:31 -0700, Kelly Clowers wrote:
  Luckily Evolution has nothing to do with Mono. Actually, I don't know of
  any email client written in C#.
  
  No? :-? 
  
  Then I confused Evo with another developments using Mono. I always 
  thought that installing Evolution will pull Mono libraries (required for 
  plugins and connectors), but I maybe wrong.
  
 
 IIRC when the big issue came up of some distros (suse and ubuntu
 maybe?), shipping mono with default gnome, was because of tomboy-notes.

Debian also.

Or rather, it originally didn't. Because mono violated one of Debian's
most valued values.

(It does not run on many platforms, due to being based on Mono[1]).

Then one anti-mono zealot went ahead and provided a nice clone for it in
C++, called gnote. It's functional indeed, but not as much as tomboy.
The result is that now the Debian GNOME maintainers can safely add
'tomboy | gnote' as a dependency of the gnome meta package.

Moral of the story: if you really think mono is evil, go and make gnote
better than tomboy.

[1] See http://packages.debian.org/squeeze/mono-runtime. Note the list
of platforms. Compare to e.g.
http://packages.debian.org/squeeze/libgtk2.0-0 .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100821120237.gn17...@pear.tzafrir.org.il



Re: Any package instillation breaks libraries.

2010-08-15 Thread Tzafrir Cohen
On Thu, Aug 12, 2010 at 09:11:12AM -0700, jeremy jozwik wrote:
 I am having a very annoying issue at the moment. any time i install a
 package via apt / synaptic / aptitude my internet connection fails.

Before? After?

Dowloading the packages? Installing them?

 
 this issue is beyond me. but so far i have narrowed it down to the
 shared libraries folders going bad. 

Any specific error message?

 i have a stable backup of my
 system that i have been copying over to my machine each time it fails.
 frist was a full system restore except /home. next i restored only
 /etc /lib /lib32 /lib64 and /usr.
 this latest restore i only copied the libraries in /lib /lib32 /lib64
 and the usr folder libs.
 
 can anyone help me move past this issue. i dont know how installing
 some random package could destroy lib used by the internet connection
 or iceweasel. how can i avoid this issue and still be able to install
 packages?
 
 all packages are being pulled from the debian lenny repository...

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100815132810.gy17...@pear.tzafrir.org.il



Re: I was told to MSN somebody

2010-08-13 Thread Tzafrir Cohen
On Fri, Aug 13, 2010 at 10:08:02AM +0800, jida...@jidanni.org wrote:
  BR == Brian Ryans brian.l.ry...@gmail.com writes:
  I would recommend pidgin...
 BR Seconded on both accounts.
 speaking of which, one needs to first see
 http://developer.pidgin.im/wiki/Using%20Pidgin#HowdoIregisterforanewaccount
 OK. pidgin seems to work. Thanks. By the way,
 BR Also, the output of the following command will be helpful:
 BR $ aptitude search '~Gprotocol::msn-messenger'
 I get no results. Should I report an aptitude bug?
 $ aptitude search '~Gprotocol::msn-messenger'

On my squeeze system:

$ aptitude search '~Gprotocol::msn-messenger'
p   amsn- An MSN messenger written in Tcl
p   ayttm   - Universal instant messaging client
i   bitlbee - An IRC to other chat networks gateway
p   bitlbee-dev - An IRC to other chat networks gateway
p   centerim- A text-mode multi-protocol instant messeng
p   centerim-fribidi- A text-mode multi-protocol instant messeng
p   centerim-utf8   - A text-mode multi-protocol instant messeng
p   emesene - platform independent MSN Messenger client
p   finch   - text-based multi-protocol instant messagin
p   gaim-themes - Transitional dummy package
p   kmess   - MSN messenger for KDE
i   kopete  - instant messaging and chat application
p   l7-protocols- protocol definitions for the Linux layer 7
p   libpurple-bin   - multi-protocol instant messaging library -
i A libpurple0  - multi-protocol instant messaging library
p   msn-pecan   - alternative MSN protocol plug-in for libpu
i   pidgin  - graphical multi-protocol instant messaging
i   pidgin-extprefs - extended preferences plugin for the instan
p   pidgin-otr  - Off-the-Record Messaging plugin for pidgin
p   pymsnt  - MSN transport for Jabber
p   python-jabber   - Python module for the Jabber instant messa
p   python-papyon   - MSN client library written in Python
p   python-twisted-words- Chat and Instant Messaging
i A qutecom - SIP-based software telephone with video an
p   sim - simple instant messenger (KDE)
p   sim-qt  - simple instant messenger (Qt)
p   telepathy-butterfly - MSN connection manager for Telepathy
i   telepathy-haze  - A telepathy connection manager that use li

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100813121240.gv17...@pear.tzafrir.org.il



Re: Embedded System Recommendations

2010-07-31 Thread Tzafrir Cohen
On Thu, Jul 29, 2010 at 03:04:04PM -0400, Hal Vaughan wrote:
 
 Okay, that's a start.  I have no problem with leaving x86, just as 
 long as I can easily get Debian running on it -- and can easily
 replicate that when I need more.
 
 Any other names that you know work with Debian?

SheevaPlug / GuruPlug work quite well with Debian:

  http://www.cyrius.com/debian/kirkwood/

BeagleBoard seems less optimal for that purpose. For instance, no
on-board ethernet.

Another x86 system to look at is:

  http://www.pcengines.ch/alix.htm

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100731193800.gx17...@pear.tzafrir.org.il



Re: find+grep [was: Re: Amaya W3C Web browser and sid]

2010-07-29 Thread Tzafrir Cohen
On Thu, Jul 29, 2010 at 08:41:57AM +0300, Andrei Popescu wrote:
 On Mi, 28 iul 10, 16:10:38, Jordon Bedwell wrote:
  On 7/28/10 4:03 PM, Jordan Metzmeier wrote:
  On 07/28/2010 04:11 PM, Jordon Bedwell wrote:
  
  find / |grep libraptor
  
  Perhaps you wanted find's -name option? find / -name 'libraptor*'
  
  I personally prefer to grep over find, but to each their own :P as
  each have their own methods to do things that ultimately lead to the
  same solution.
 
 Assuming very long output of find, grepping over it is not efficient. 
 Besides, the file you search might be quite early found and one can 
 interrupt the search, while with your approach one has to wait until 
 both find and finish.

If you stop it with ctrl-C, both find and grep get interrupted and stop,
right?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100729095032.gv17...@pear.tzafrir.org.il



Re: Interactive diff rsync

2010-07-23 Thread Tzafrir Cohen
On Fri, Jul 23, 2010 at 07:56:02AM +0530, Anand Sivaram wrote:

 Another option is to mount the ssh remote using sshfs and use any standard
 gui based diff/merge tools like meld, kdiff3 etc.

This means that you have to get both over the wire merely in order to
see the difference. This doesn't scale well if you're interested in
saving bandwidth.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100723114025.gj17...@pear.tzafrir.org.il



Re: Debian virus/spy-ware detection and detection technique.

2010-07-23 Thread Tzafrir Cohen
On Fri, Jul 23, 2010 at 10:57:53PM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Tzafrir:
 
  Actually, a simple dd should work.
 No. Almost never works.

Worked forme, last time I tried (with a CD).

 
  Could you please be more specific as to the version? Both Debian and
  Ubuntu keep copies of older images.
  
 Well. I need exact sizes of the images of ubuntu - 8.10 and 9.04 .
 May, You know of such a storage on Inet - from the their releases site I did 
 not get it - they
 write in Mb while I need bytes...

Sorry, my mistake. I was sure it was available at archive.deian.org . I
can't find it.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100723202730.gk17...@pear.tzafrir.org.il



Re: Debian virus/spy-ware detection and detection technique.

2010-07-23 Thread Tzafrir Cohen
On Fri, Jul 23, 2010 at 10:51:13PM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Rob:
 
  I saw you mentioned live cds as well.  Debian has the tools to build
  your own live cd.  The command line tool is live-helper, and there's a
  GUI called live-magic.
 
 Is there official live CDs?

http://live.debian.net/

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100723202911.gl17...@pear.tzafrir.org.il



Re: Missing /etc/init.d/functions

2010-07-23 Thread Tzafrir Cohen
On Fri, Jul 23, 2010 at 07:29:57PM +0200, Bruno Costacurta wrote:
 Hello,

 /etc/init.d/functions is missing.
 How / where to grab it ?

Functions in it have rough equivalents in start-stop-daemon and friends.
You'll probably need to change the script. Look at other scripts under
/etc/init.d , and specifically /etc/init.d/skeleton .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100723203940.gm17...@pear.tzafrir.org.il



Re: usernames that start with capital letter?

2010-07-22 Thread Tzafrir Cohen
On Mon, Jul 19, 2010 at 11:50:16AM -0700, Mike Bird wrote:
 On Mon July 19 2010 11:16:12 Ron Johnson wrote:
  Why aren't they recommended?
 
 Back when us dinosaurs ruled the earth an upper case
 login signified an upper-case-only input device, and
 the login software automatically lower-cased the input
 before validating the login.
 
 I don't know if any such software remains in Debian.

Hmm... just tried logging in with an all-caps name (chaged the password
to numbers only for the test), and failed to login. Is this feature(?)
gone now from getty?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100722080634.gh17...@pear.tzafrir.org.il



Re: Debian virus/spy-ware detection and detection technique.

2010-07-21 Thread Tzafrir Cohen
On Wed, Jul 21, 2010 at 01:19:30AM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Andrei:
 
   question: I have s live/installable-CD/DVD. I use its normal/rescue
   mode - I do somethings w/ my OS on HDD in order to make it working.
   I had no ability to check its checksum, so, is there a way I can be
   sure that the software I used is clean?  
  
  Why can't you check the checksum?
 
 For two reasons:
 
 1. I do not know how to get image from a cd/dvd - I believe by simple
 dd-ing it will not work w/ checksum, but some more options should be
 used.

Actually, a simple dd should work.

 
 2. not for all cd/dvd-s I know checksums or places where I can obtain
 it - it is for a bit older Debian and Ubuntu. - For I have noticed that
 on their sites the chcksums are gone as soon as new images are uploaded
 to the sites. Or there is a archive for the checksums?

Could you please be more specific as to the version? Both Debian and
Ubuntu keep copies of older images.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100721095056.gc17...@pear.tzafrir.org.il



Re: Debian way to essentially call block phone number

2010-07-21 Thread Tzafrir Cohen
On Sat, Jul 17, 2010 at 08:18:25PM +0100, Alan Chandler wrote:
 On 17/07/10 17:37, Mike Viau wrote:
 Hello list,

 I was wondering if anyone runs a system that essentially blocks unwanted
 calls from a list of programmed phone numbers. I have the caller display
 option on my phones service that returns the phone number of most
 incoming calls.

 I came across this idea after reading:

 If you want to go the freebie route, you can download free software that
 claims to block unwanted calls. This software works by hooking up your
 phone to your computer and letting the software screen incoming calls.
 Some of these downloads require you to have other hardware though. [1]

 Is there a package in Debian I should be aware of, something I can run
 on a personal computer? I was also considering designing embedded system
 to do the job, but I cringe at the thought of integrating a POTS (Plain
 Old Telephone System) modem in the embedded world.


Debian includes Asterisk and YATE. That said, both (and FreeSwitch,
mentioned below) are an overkill for a simple home system. That is:
unless you want to add your own logic in at the price of extra
complexity.

You'll need a telephony adapter. A simple modem will not do, as there's
no standard interface that I'm aware of to use a modem as a voice
channel.

Zaptel/DAHDI provides interfaces for (mostly) some specialized hardware.
It is an out-of-tree kernel module, though included in Debian and
actively maintained.

(Disclaimer: I work for one company that makes such specialized hardware
and am involved in DAHDI and Asterisk)

Alternatively, if your PSTN is ISDN, you have some other options.
Or you could try switching to a whole VoIP system - replacing your
landline with a SIP line. Though that adds yet anthoer point of
complexity and faliure.

There's an interesting project around Asterisk on a cheap Blackfin-based
embedded system. See http://www.rowetel.com/ucasterisk/ucasterisk.html
However I tend to avoid the Blackfin, due to the system lacking an MMU
and thus lacking long-term stability. But that's me.

Also, as mentioend by Alan, you can use an external SIP-connected
adapter. In that case I guess you could basically use just about any
embedded system.



 I haven't got it set up right now, but in the past I have run  
 freeswitch.  Its essentially a better package than asterisk.  You can  
 download a .deb file from freeswitch.org.  You can configure it pretty  
 easily to do almost anything you want.

FreeSwitch is a huge package of bundled software. Their tarball includes
everything from arp to whatnot. They seem to avoid system copies on
purpose. Good luck maintaining your system.


 I have some linksys boxes one of which takes standard phones and turns  
 them into voip phones and the other of which will connect to a standard  
 POTS line and convert the data from it into SIP traffic. PAP2T is the  
 one that supports two phones.  The other, I don't have the exact name of  
 right now, but is a similar type of box to the PAP2T except one of the  
 ports connects to the old telephone network.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100721114316.gd17...@pear.tzafrir.org.il



Re: How to reread changed udev rules without rebooting?

2010-07-20 Thread Tzafrir Cohen
On Fri, Jul 16, 2010 at 10:47:28AM -0800, Greg Madden wrote:

 There is a 'udev' script in '/etc/init.d'. maybe doing a restart on it will 
 do 
 the trick.

'reload' would also do the trick there. And create less work for the
system. It only asks udevd to re-read the rules.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100720175724.gb17...@pear.tzafrir.org.il



Re: udev not assigning group correctly for scanner

2010-07-18 Thread Tzafrir Cohen
On Wed, Jul 14, 2010 at 08:09:05PM -0700, bri...@aracnet.com wrote:
 device `epson2:/dev/sg1' is a Epson GT-9700 flatbed scanner
 
 crw-rw+ 1 root root 21, 1 Jul 14 18:57 /dev/sg1
 
 here's the rule it looks like it should be matching :
 
 
 # Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
 ATTRS{idVendor}==04b8, ATTRS{idProduct}==0112, MODE=0664,
 GROUP=scanner, ENV{libsane_matched}=yes

Where should $libsane_matched be set?

 
 Because, you know, that's the scanner I have :-)
 
 So I'm not clear on how I can figure out whether a rule was matched at
 all, and if it was, which one was matched.

1. Have you reloaded udev rules after your changes?

  udevadm control --reload-rules

On Lenny:

  udevadm control --reload_rules

2. udevmonitor (udevadm monitor) can help you see what you actually get
with the events. Use the option --env.

3. You seem to have quite a few conditions. Consider removing some of
them to see which one is the offender that does not apply.

 
 Also, what's the best way to add rules to /etc/udev to force my rules
 to be checked first.  Do I simply add a rules file with a low prefix
 number ??

Are there any other rules that apply?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100718113625.gv17...@pear.tzafrir.org.il



Re: Upgrading from Etch to Lenny ends in SSH problems

2010-07-10 Thread Tzafrir Cohen
On Thu, Jul 08, 2010 at 05:52:22PM +0200, Wouter van Vliet / Interpotential 
wrote:
 Ok, so apparently the problem had all sorts of things to do with the host
 key being blacklisted, and therefore labeled as 'compromised'. Of course one
 can't SSH in anymore in such a situation.
 
 How to prevent it? Well, I probably should have checked with ssh-vulnkey
 before doing the upgrade.

I actually wonder why the problem didn't hurt you before that. If you
had a bad host key for so long, you must have recieved some
warnings/errors about it from some ssh clients.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100710214550.gg17...@pear.tzafrir.org.il



Re: OTF conversion without OpenOffice

2010-07-04 Thread Tzafrir Cohen
On Thu, Jul 01, 2010 at 11:19:29AM +, Camaleón wrote:
 On Wed, 30 Jun 2010 14:48:49 -0400, brownh wrote:
 
  I received a .docx file appended in an e-mail, and need to extract and
  convert it to a convenient format such as .html, .pdf, or plain .txt.
 
 (...)
 
 If it's a simple file (just plain text) you can extract (unzip) the .docx 
 into *.xml data for a direct view or convert into another suitable format.

Here's a simple script I used with older versions of OpenOffice. Haven't
tested it for quite some time:

http://tzafrir.org.il/ooo_viewer/

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100704104606.gt17...@pear.tzafrir.org.il



Re: Compiling source code with my own flags

2010-06-29 Thread Tzafrir Cohen
On Mon, Jun 28, 2010 at 03:07:53PM -0400, Tomasz Maluszycki wrote:
 I would like to compile packages for my laptop by myself, and I'm
 tired of changing options in makefile by hand. Maybe is there way to
 add them by these configure scripts? If I remember correctly packages
 are built against i386 architecture, and for me it is waste of my CPU
 capabilities;
 
 for example: instead of ' -g -O ' I would like to have ' -O3
 -std-gnu99 -m128bit-long-double -m64 -mssse3 -mfpmath=sse -march=core2
 '

  ./configure CFLAGS=whatever

Or:

  CFLAGS=whatever ./configure

See: ./configure --help

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100629085537.gn17...@pear.tzafrir.org.il



Re: Compiling kernel took a lot of disk space.

2010-06-28 Thread Tzafrir Cohen
On Mon, Jun 28, 2010 at 10:44:15AM +0300, Andrei Popescu wrote:
 On Lu, 28 iun 10, 10:51:02, Magicloud Magiclouds wrote:
  
  PS: Certainly this is not my real name. 8-) I am not from an English
  country. Some people cannot pronounce my name right. So I use this
  pseudonym.
 
 That doesn't stop me from using my real name ;)

Though English people have no problem pronouncing your name.

So I guess we're still looking for an example of a non-English name
that can't be pronounced right. Can't think of any.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100628111214.gm17...@pear.tzafrir.org.il



Re: mising ~/include/linux/version.h 686-bigmem

2010-06-21 Thread Tzafrir Cohen
On Mon, Jun 21, 2010 at 12:44:14AM -0800, Greg Madden wrote:
 I am using 32bit Lenny.  I added more memory ,I wanted to use the 686-bigmem 
 kernel. 
 
 The Nvidia package install, from nvidia's site, complains about missing the 
 version.h file. 

  
http://packages.debian.org/lenny/i386/linux-headers-2.6.26-2-686-bigmem/filelist

does show

  /usr/src/linux-headers-2.6.26-2-686-bigmem/include/linux/version.h

 
 Searching I found the solution was to install the kernel source and do a 
 'make 
 oldconfig' with the .config file from the bigmem kernel.This works but I 
 haven't had to do this with the stock 686 kernel  headers so I was wondering 
 if it is a Debian header issue for the 686-bigmem kernel.

I suspect that this is a bug with the nVidia script.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100621115557.gj17...@pear.tzafrir.org.il



Re: problems with dell poweredge server R140 (rack)

2010-06-16 Thread Tzafrir Cohen
On Tue, Jun 15, 2010 at 10:14:29PM +0300, Eero Volotinen wrote:
  Maybe having bnx2 driver in a usb disk, and installing it when lenny
  installer ask ?
 
 Well, maybe. Any instructions how to put bnx2 driver on usb disk?

Yes: doewnload that deb file and put it on a USB disk that is connected
to the machine when the installation start.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100617052642.gb17...@pear.tzafrir.org.il



Re: turn off all logging

2010-06-16 Thread Tzafrir Cohen
On Wed, Jun 16, 2010 at 12:17:40PM +0200, Steve Dierker wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  Alternatively, you could mount /var/log as tmpfs, so it writes to RAM
  instead of to disk.
 
 I would suggest to mount /var/log as tmpfs and backup it per cronjob to
 your harddrive every hour.
 So you are minimizing the write access to your harddrive but have the
 advantage of logs.

BTW: anybody interested in http://packages.debian.org/flashybrid ?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100617052954.gc17...@pear.tzafrir.org.il



Re: how execute command on every mail received

2010-06-15 Thread Tzafrir Cohen
On Tue, Jun 15, 2010 at 05:33:47PM +0800, paragasu wrote:
 Hi all,
 
 I wonder if there is a simple SMTP deamon.
 This deamon will execute a specific command on every email received.
 
 I have a PHP program that will parse the email and
 send SMS to specific mobile phone number thereafter.

Assuming you have postfix: See aliases(7).

Generally you can have the following line in /etc/postfix/aliases:

sms: |/path/to/command


Alternatively, in $HOME/.forward (of user 'sms?' put:

|/path/to/command


However you may want to only send some of those mails. In such a case,
you can use something like procmail to e.g. pipe only mails with a
specific subject (or some other specific header).


Note: I assumed you use postfix. Other decent MTAs have similar
concepts and capabilities.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100615123203.gp16...@pear.tzafrir.org.il



Re: Building minimal custom CD [debian etch]

2010-06-15 Thread Tzafrir Cohen
On Tue, Jun 15, 2010 at 07:46:43PM +0530, Ravi Roy wrote:
 Hello List,
 
 I am new to Linux, have some basic undderstanding to Debian Linux..
 scripting etc. What I want to achieve is :
 
 1.Build a customized minimal Debian bootable.
 2.Customize package add some additional packages.

Live media (runs from RAM)? If so, look into Debian Live:
http://debian-live.alioth.debian.org/ . However it's not supported with
Etch, IIRC.

Customized instalaltion? Look into preseeding.

 
 Boot a already installed debian system and reszie root partion to bigger
 size (without user interaction and reboot the machine).

Boot with any system contanting parted or whatever. Many rescue CDs
have e.g. gparted.

Why Etch?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100615144817.gq16...@pear.tzafrir.org.il



Re: SOLVED: Mutt and GPG - claims ALL signatures can't be verified

2010-06-14 Thread Tzafrir Cohen
On Sat, Jun 12, 2010 at 10:04:32PM +0300, Alexander Batischev wrote:
 On Sat, Jun 12, 2010 at 04:11:20PM +, Camaleón wrote:
  (...)
  
  You can launch Mutt in debug mode (mutt -d 3), so it logs any message to 
  ~/.muttdebug0.
 
 That's the first thing one should think about if something doesn't work
 properly, but I forgot about it... Thank you very much, Camaleón!
 
 So the reason of problem lying in language. I have ru_UK.UTF-8 locale, so mutt
 displays messages in Russian. Look what I got in the log file:
 
 [2010-06-12 21:47:48] mutt_pgp_command: gpg --no-verbose --batch --output 
 - --verify /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9.asc 
 /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: Подпись создана Птн 11 Июн 
 2010 20:03:55 EEST ключом DSA с ID EF3A7C2D doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: Действительная подпись от 
 Boyd Stephen Smith Jr. (Old Personal) bs...@volumehost.com doesn't match 
 regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: aka Boyd 
 Stephen Smith Jr. boysm...@compucom.com doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: aka Boyd 
 Stephen Smith Jr. b...@iguanasuicide.net doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: aka Boyd 
 Stephen Smith Jr. (Work) boysm...@compucom.com doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: aka Boyd 
 Stephen Smith Jr. (Personal) bs...@volumehost.net doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig: gpg: Замечание: Данный ключ 
 просрочен! doesn't match regexp.
 [2010-06-12 21:47:48] pgp_copy_checksig:  Отпечаток главного ключа: BA73 
 1E00 B621 0761 D708  F326 74D6 DF93 EF3A 7C2D doesn't match regexp.
 
 Pay attention to those doesn't match regexp. Here is what I have in my
 ~/.muttrc:
 
 set pgp_good_sign=^gpg: Good signature from
 
 This is that regexp which have to be matched. I simply change previous line to
 the following:
 
 set pgp_good_sign=^gpg: (Good signature from|Действительная подпись от)

Why not run explicitly:

  env LC_ALL=C gpg [whatever]

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100614073308.gb16...@pear.tzafrir.org.il



Re: telnetd in Squeeze; was new authentication mechanism in Squeeze?

2010-06-14 Thread Tzafrir Cohen
On Mon, Jun 14, 2010 at 02:32:35AM -0500, Ron Johnson wrote:

 Regarding ssh: this was the first entry when I Googled ssh vs. telnet: 
 http://blogs.sun.com/JayzSpeak/entry/telnet_vs_ssh

That misses an important point. SSH happens to be more secure. But it is
also way more usable. Password-less authentication, Decent tab
completion for scp, X forwarding, and many more.

Which is why Real Men use telnet, but the rest of us sane folks use ssh.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100614125146.gg16...@pear.tzafrir.org.il



Re: Re (2): telnetd in Squeeze; was new authentication mechanism in Squeeze?

2010-06-14 Thread Tzafrir Cohen
On Mon, Jun 14, 2010 at 11:03:50AM -0700, peasth...@shaw.ca wrote:
 From: Ron Johnson ron.l.john...@cox.ne.
 Date: Sun, 13 Jun 2010 20:23:50 -0500
  (Presumably you know that telnet is considered a Bad Idea Who's Time 
  Has Passed?)
 
 Telnet is used only between machines inside my 
 Shorewalled network.
 
  What error(s) are you getting?
 
 ETHNO telnetting to Squeeze.
 Trying ...
 dalton.invalid not opened
 
 Lenny telnetting to Squeeze.
 pe...@joule:~$ telnet dalton.invalid
 Trying 10.4.0.2...
 telnet: Unable to connect to remote host: Connection refused
 pe...@joule:~$
 
 From: Mark Allums m...@allums.co.
 Date: Sun, 13 Jun 2010 21:58:17 -0500
  What about ssh? 
 
 ssh from Lenny to Squeeze works just as well 
 as ever.
 
  VNC? 
 
 Have yet to try it with Squeeze.
 
  RDP?
 
 Never used it.
 
 From: Tzafrir Cohen tzaf...@cohens.or..il
 Date: Mon, 14 Jun 2010 12:51:46 +
  Which is why Real Men use telnet, but the rest of us sane folks use ssh.
 
 With my clunky old hardware, telnet from Heaviside 
 to Joule or Dalton opens in about 1 s.  ssh requires 
 about 15 s.  

I recall preferring rsh to ssh when working on s390 for the very
same reason.

However, one useful feature of ssh (that did not exist at the time) is
that you can use one existing connection. In .ssh/config:

Host *
ControlMaster = auto
ControlPath = ~/.ssh/control/%h__%p__%r__%l

This means that the first connection to the system will have the full 15
seconds of handshaking. But the next one will simply connect on top of
an existing connection. I suspect it would even be less than the 1
second for the telnet connection.

If you have a number of simultanious connections, it may help.
Alternatively, start a single control connection when you start
working, and keep it working for as long as you need it.

 Please don't tell me to get faster 
 computers unless citing a specific liability from 
 Shorewall.

Isn't shorewall rather famous for producing not-so-efficient iptabnles
rules?

 
 Does anyone out there have a network with at least 
 one machine running Squeeze?  Would be nice to to 
 confirm the failure or hear of a successful connection.

You try to login (from telnet) as root? If so: see securetty and such.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100614194515.gn16...@pear.tzafrir.org.il



Re: Re (3): telnetd in Squeeze; was new authentication mechanism in Squeeze?

2010-06-14 Thread Tzafrir Cohen
On Mon, Jun 14, 2010 at 01:54:46PM -0700, peasth...@shaw.ca wrote:

 Results are consistent with function of services.
 Joule also lacks /etc/pam.d/telnet but then Joule 
 runs Lenny whereas Dalton runs Squeeze.

/etc/pam.d/telnet ? telnetd authenticates using login, and hene
/etc/pam.d/login , right?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100614231756.go16...@pear.tzafrir.org.il



Re: Lenny / Pidgin / Msn

2010-06-10 Thread Tzafrir Cohen
On Thu, Jun 10, 2010 at 12:41:24PM +, Frederic Robert wrote:
 On Thu, Jun 10, 2010 at 08:34:29AM -0400, Jordan Metzmeier wrote:
  If you are running stable, you need to install the pidgin from
  lenny-backports in order to get MSN support. Instructions on setting up
  and installing from backports here:
  http://backports.org/dokuwiki/doku.php?id=instructions
 
 I only use main repository. Why is not available by default?

It is. Though IIRC the protocol has been broken a bit since.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100610142110.gu16...@pear.tzafrir.org.il



Re: ls -alR with wd?

2010-06-10 Thread Tzafrir Cohen
On Thu, Jun 10, 2010 at 10:58:58PM +0200, Merciadri Luca wrote:
 Hi,
 
 I find `find' very inefficient when trying to find some files. I prefer
 using `ls -alR | grep stuff' The problem is that the related output does
 not give me the directory where `stuff' is found. How can I add some row
 giving this? Thanks.

Others already mentioned location. I'll just note that 'find' and 'ls
-lR' should have comparable speeds. find's output should be nicer to
parse.

A single 'find' is normally enough to cache the relevant directories.
E.g.:

real3m48.317s
user0m1.568s
sys 0m7.948s
tzaf...@sweetmorn:~$ time find /usr /dev/null

real0m13.977s
user0m0.772s
sys 0m1.532s
tzaf...@sweetmorn:~$ time find /usr /dev/null

real0m0.956s
user0m0.332s
sys 0m0.616s
tzaf...@sweetmorn:~$ time find /usr /dev/null

real0m0.968s
user0m0.372s
sys 0m0.576s

Actually the second 'find' took way longer than I expected.

$ free
 total   used   free sharedbuffers cached
Mem:   20516201965084  86536  0 253852 284188
-/+ buffers/cache:1427044 624576
Swap:  2000968 1184041882564

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100610215821.gw16...@pear.tzafrir.org.il



Re: ls -alR with wd?

2010-06-10 Thread Tzafrir Cohen
On Fri, Jun 11, 2010 at 12:18:58AM +0200, Merciadri Luca wrote:
 Tzafrir Cohen wrote:
  On Thu, Jun 10, 2010 at 10:58:58PM +0200, Merciadri Luca wrote:

 
  Others already mentioned location. I'll just note that 'find' and 'ls
  -lR' should have comparable speeds. find's output should be nicer to
  parse.
 
  A single 'find' is normally enough to cache the relevant directories.

 Well, you first need to do _one_ find before for both to have the same
 speed. That's the problem. Locate seems to do what I want.

That is, unless you're not really sure the relevant sub-tree is
up-to-date and run updatedb, which is equivalent to 'find /' (with
proper excludes).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100610222849.gx16...@pear.tzafrir.org.il



Re: Where is the Xorg.conf - to setup XKB layouts on Squeeze?

2010-06-08 Thread Tzafrir Cohen
On Sat, Jun 05, 2010 at 06:39:03PM +0200, Wolodja Wentland wrote:

 There are a variety of ways to *switch* keymaps within X and most
 desktop environments provide their own tools to do so.
 (gnome-keyboard-properties for example), but you can always use a tool
 such as setxkbmap to switch to a different keymap without the need to
 run gnome-settings-daemon (or other applicable DE daemons/tools). It is
 fairly easy to define hotkeys that trigger different setxkbmap
 commands in most window managers.

setxkbmap *defines* the layouts. Using it to *switch* between layouts is
broken. IIRC KDE's default switcher was once broken in that sense.

Most keyboard switchers just switch between the existing layouts.
Alt-Shift and such are handled by X.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100608071806.gq16...@pear.tzafrir.org.il



crashes after resuming from suspend

2010-05-24 Thread Tzafrir Cohen
Hi,

I normally suspend my laptop (Dell Latitude D630, Squeeze, AMD64) with
s2disk of uswsusp.

Lately (not sure exactly when it started) resuming seems to be rather
broken:

* In one case a few processes failed (fakeroot would fail because getopt
  segfaulted, iceweasel would crash often, and in rather predictable
  ways. E.g. on same pages. Not sure what other problems)
* At one time New processes simply segfaulted
* At another time new commands failed to start due to some missing
  GLIBC_2.2.5 (IIRC) symbol.

So I suspect some sort of memory corruption. But symptoms are a bit too
generic, and a few searches have not provided me useful hints.

I've already upgraded to the kernel from Sid (linux-image-2.6.32-4-amd64
2.6.32-11). Problem persists. Any idea what to check next?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100524114705.gi16...@pear.tzafrir.org.il



Re: Huh?? (was Re: Flash is open?)

2010-05-17 Thread Tzafrir Cohen
On Fri, May 14, 2010 at 02:32:23PM -0500, Ron Johnson wrote:
 On 05/14/2010 02:22 PM, Stefan Monnier wrote:
 [snip]

 But in either case, for users who care about their Freedom, both Flash
 and Javascript are real threats, because even if you use a Free Software
 implementation of the language, the code run in each web-page will
 usually be 100% proprietary.


 By your logic (since any language implementation can be used to write 
 proprietary software) gcc is dangerous.

Nope. Ghostscript might be dangerous, as it may run untrusted (postscript)
code.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100518010650.gc16...@pear.tzafrir.org.il



Re: only output the nth line

2010-05-12 Thread Tzafrir Cohen
On Wed, May 12, 2010 at 06:58:57PM +0200, Jozsi Vadkan wrote:
 I have a file:

[snip]

 And i want to only output the first, second, and fourth line to another
 file.
 
 The:
 
 sed -n '1,2p;4p' file.txt
 
 doesn't work.
 
 What magic do i need for it? :D
 
 Thanks..:\

Works just fine here:

$ nl /etc/fstab | sed -n '1,2p;4p'
 1  # /etc/fstab: static file system information.
 2  #
 4  proc/proc   procdefaults0
0
$ nl /etc/fstab | busybox sed -n '1,2p;4p'
 1  # /etc/fstab: static file system information.
 2  #
 4  proc/proc   procdefaults0
0


So please give some more details about your system (version of Debian,
version of sed, etc.). Also please tell us what actually happens when
you try to run it.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100512171549.gu16...@pear.tzafrir.org.il



Re: apt-get dist-update failure - can't boot

2010-05-10 Thread Tzafrir Cohen
On Mon, May 03, 2010 at 12:59:38PM -0500, Boyd Stephen Smith Jr. wrote:
 On Monday 03 May 2010 12:34:13 Fernando B. Scussel wrote:

  http://i4.photobucket.com/albums/y116/fscussel/Untitled.jpg
 
 Ugh.  Does copy and paste not work for you?  It would be much nicer if that 
 text was in the email you sent.  Install gpm if you need mouse support at the 
 console.

Or, if you can't install gpm, at least grab the content of the current
console:

  cat /dev/vcs

Or:

  cat /dev/vcs1

(equivalents of /dev/tty, /dev/tty1, accordingly)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100510161330.gp16...@pear.tzafrir.org.il



Re: overcoming the 32k objects limit is ext3 - which file system to use?

2010-04-26 Thread Tzafrir Cohen
On Sat, Apr 24, 2010 at 07:17:22AM -0700, Mike Bird wrote:

 In English the slash is understood to mean or.  There is no limit of
 32000 files or folders under a folder in ext3.
 
 There is a limit of 31998 directories under a directory.  This is caused by
 the ext3 hard link count limit being 32000.  Two links are needed for the
 parent directory entry and the current directory's ., leaving only
 31998 links available for .. links from subdirectories.
 
 This limit is rarely encountered in practice because it is so much more
 efficient to use multiple directory levels, e.g.:
 
 parent-
   a-
 able
 alf
   b-
 beta
 bravo

Hmm... what happens if you have a program that behaves that way, but
suddenly needs to start also using Chinese characters? :-)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100426125830.gf16...@pear.tzafrir.org.il



Re: Re: The future of nv driver

2010-04-25 Thread Tzafrir Cohen
On Sun, Apr 25, 2010 at 08:55:52AM -0400, James P. Wallen wrote:

 Hmmm. Maybe Debian could set up activation servers that could  
 determine whether or not we are using genuine Debian.

Hmm... sounds like an interesting feature request for vrms.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100425134506.ga16...@pear.tzafrir.org.il



Re: funky kernel message from syslogd

2010-04-24 Thread Tzafrir Cohen
On Thu, Apr 22, 2010 at 07:24:38PM -0400, Nick Lidakis wrote:
 This popped up in one of my xterms after my Thinkpad came out of hibernation
 today. The machine has beeped a few times as this message was repeated.
 Does not sound good. Call Trace? That's, like, bad? Right?
 
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.069917] Oops:  [#1] SMP 
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.069923] last sysfs file:
 /sys/devices/virtual/misc/cpu_dma_latency/uevent
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070112] Process udev-acl.ck (pid: 17300, ti=df3a8000
 task=f47e61c0 task.ti=df3a8000)
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070117] Stack:
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070164] Call Trace:
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070244] Code: c7 40 28 01 00 00 00 89 d0 5a 5b 5e 5f 5d c3 55
 b9 00 10 00 00 57 56 53 83 ec 14 89 14 24 89 44 24 04 8b 42 0c 8b 68 58 8b 45
 08 8b 78 14 89 d0 ba d4 c7 4a c1 83 c0 08 e8 1f d9 fc ff 85 c0 89 
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070322] EIP: [c10f285b] sysfs_open_file+0x1c/0x259 SS:ESP
 0068:df3a9e7c
 
 Message from sysl...@thinkpad at Apr 22 18:52:20 ...
  kernel:[42926.070333] CR2: 0014

You'll probably find the complete message in /var/log/kern.log .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100425042715.gy16...@pear.tzafrir.org.il



Re: Debian on a Super Lean Laptop Part I - Making it Work

2010-04-23 Thread Tzafrir Cohen
On Fri, Apr 23, 2010 at 03:24:31PM +0200, deloptes wrote:
 Joey Hess wrote:
 
  Scarletdown wrote:
  initrd /boot/initrd.img-2.6.32-3-486
  [Linux-initrd @ 0x10b3000, 0x76cdf9 bytes]
  
  After that, she's locked up tight, and all I can do is power off.
  
  This is obviously a problem with initrd.  Set too large for such a low
  memory system perhaps?
  
  I doubt it, since your initrd is only 7 mb.
  
  This seems more likely to be a problem with your bootloader. Quite
  possibly grub is not configured to read the initrd from the correct disk
  device. It can be hard to get that right when preparing an disk image on
  another machine.
  
  Or possibly, given the age of the hardware, the initrd is not located
  near enough to the front of the drive for grub to be able to access it.
  (Which is why having a separate /boot partition first used to be a good
  idea.)
  
 
 I would take a live-cd or usb disk (there are images available). Avoid using
 gnome or kde - your system wont make it. 

A Live CD puts some files in a ramdisk, and thus wastes some more RAM.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100423182939.gx16...@pear.tzafrir.org.il



Re: How does snapshot.debian.org work?

2010-04-21 Thread Tzafrir Cohen
On Tue, Apr 20, 2010 at 05:52:07PM +0200, Nicolas BERCHER wrote:
 Hi,
 Does anyone knows what technologies are involved behind snapshot.debian.org?
 I'm interested in snapshot file systems and I'm looking for nice  
 solutions running on Debian. An example which looks perfect is the Plan9  
 fossil/venti solution 
 (http://plan9.bell-labs.com/magic/man2html/4/fossil)
 Thanks.

The old snapshot.debian.net used pdumpfs (the package). Not sure about the
current one.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100421072406.gs16...@pear.tzafrir.org.il



Re: Hi how to escaping under ` ` in sh

2010-04-21 Thread Tzafrir Cohen
On Wed, Apr 21, 2010 at 02:27:47PM +0530, Siju George wrote:
 On Wed, Apr 21, 2010 at 2:16 PM, Mart Frauenlob
 mart.frauen...@chello.at wrote:
 
  how about:
  ... -p 'my$qlPW' -N ...
 
 
 # `mysql -u root -p 'my$qlPW' -N -B -e 'show databases'`
 Enter password:
 
 asks for PW
 
 # `mysql -u root -p'my$qlPW' -N -B -e 'show databases'`
 -bash: information_schema: command not found

You got the output of 'show databases'. You then consider it a shell
command and try to excute it. Why would you want to do that? What do you
want to do with that output?

BTW: I would suggest that you actually use a .my.cnf to hold the
password, otherwise the password is available in e.g. the output of 'ps
auxww'

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100421090133.gv16...@pear.tzafrir.org.il



Re: Hi how to escaping under ` ` in sh

2010-04-21 Thread Tzafrir Cohen
On Wed, Apr 21, 2010 at 02:40:54PM +0530, Siju George wrote:
 On Wed, Apr 21, 2010 at 2:31 PM, Tzafrir Cohen tzaf...@cohens.org.il wrote:
 
  You got the output of 'show databases'. You then consider it a shell
  command and try to excute it. Why would you want to do that? What do you
  want to do with that output?
 
 
  mysql -u root -pmy\$ql -N -B -e 'show databases'
 
 works
 
 I was to get the script
 
 #!/bin/sh
 for DB in `mysql -u root -pmy\$qlPW -N -B -e 'show databases'`; \
do echo $DB; \
mysqldump -u root -pmy\$qlPW -e $DB  /var/mysql-1hBak/$DB.sql; \

mysqldump --all-databases ?

 done

$ mysql mysql -e 'show databases'
++
| Database   |
++
| information_schema |
| mysql  |
| test123|
++

$ mysql mysql --batch -e 'show databases'
Database
information_schema
mysql
test123

$ mysql mysql --batch --silent -e 'show databases'
information_schema
mysql
test123

 
 to work.
 
  BTW: I would suggest that you actually use a .my.cnf to hold the
  password, otherwise the password is available in e.g. the output of 'ps
  auxww'
 
 
 yes I would eventually do that but even then you need to escape the $ inside 
 ``

In that case, the '$' is not part of the command-line, and hence no need
to escape it.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100421092540.gw16...@pear.tzafrir.org.il



Re: Bash script - pass command line arg to embedded sed script with multiple args

2010-04-19 Thread Tzafrir Cohen
On Sat, Apr 17, 2010 at 12:02:40PM -0400, Daniel D Jones wrote:
 On Saturday 17 April 2010 00:09:28 Michael Elkins wrote:
  On Fri, Apr 16, 2010 at 08:15:38PM -0400, Daniel D Jones wrote:
  What I'm trying to do is pretty simple.  Getting it to work is turning out
   not to be.  What I want to do is call a bash script with a couple of
   arguments, and, within the script, call sed to use those args to replace
   two placeholders in a file:
  
  bashscript SUB1 SUB2
  
  This line inside bashscript doesn't work:
  
  sed -e 's/PLACEHOLDER1/$1/' -e 's/PLACEHOLDER2/$2/'  input  output
  
  If you switch the single quotes to double quotes it will work as you
   expect. Variables inside of double quotes are expanded.  Single quotes are
   for literal strings, as you've discovered.
 
 That was the first thing I tried and sed gave me an error:
 
 sed: -e expression #1, char 18: unknown option to `s'
 
 I just went back and tried it again and it worked, so I have no idea what I 
 did the first time that made it not work.

As others have mentioned, rgw command-line parameter $1 probably has a
'/' in it.

A simple workaround is to use a different character as the separator.
That is: *if* you can assume that variable will not contain the
character '|', you can use:

  sed -e s|PLACEHOLDER1|$1|' -e s|PLACEHOLDER2|$2|  input  output

You can use some other characters there as well. See sed(1).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100420041023.go16...@pear.tzafrir.org.il



Re: ditching mutt

2010-04-11 Thread Tzafrir Cohen
On Thu, Apr 08, 2010 at 06:08:22PM -0700, Michael Elkins wrote:

 Both sup (sup.rubyforge.org) and notmuch (notmuchmail.org) are
 interesting works-in-progress that are based off the Xapian search
 engine, and have curses-based interfaces.  For people who like the gmail
 interface, this might be of interest.

sup has a curses interface (notmuch has a command-line interface and an
Emacs front-end).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100411124118.gk16...@pear.tzafrir.org.il



Re: [asterisk-users] Asterisk in Debian/Lenny without Junghanns.net support?

2010-04-11 Thread Tzafrir Cohen
On Sun, Apr 11, 2010 at 07:45:34PM +0200, Darshaka Pathirana wrote:
 Hi!
 
 Asterisk in Debian/Lenny claims to be bristuffed, not? At least the
 the Debian patch tracking system shows the bristuff-patches:
 
 [1] http://bit.ly/bRRHe7
 
 We have a QuadBRI-Card and recently needed support from Junghanns.net
 but they refused telling us there is no bristuff installed because of
 the show version output:
 
 *CLI show version
 Asterisk 1.4.21.2~dfsg-3+lenny1 built by pbuilder @ grnetbox on a  
 x86_64 running Linux on 2009-12-14 19:04:56 UTC
 
 Why was the bristuffed line removed? Debian/Etch did have that
 postfix.

Simple answer:

http://patch-tracker.debian.org/package/asterisk/1:1.4.21.2~dfsg-3+lenny1

So they are mostly bristuff. However they include other fixes (including
some fixes that were never accepted by Junghanns due to bad
communication).

There are some other changes apart from the bristuff fixes and we can't
simply call it bristuffed.

 
 After telling them Debian/Lenny IS bristuffed they said this
 installation method is not supported. Huh?!

I cannot comment on that, for obvious reasons.

 P.s.: X-Posted to debian-user and asterisk-user list.

(Answering both, as I'm on both, though I prefer asterisk-users)

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100411192833.gk31...@xorcom.com



Re: Kiosk - binary image

2010-04-05 Thread Tzafrir Cohen
On Fri, Mar 26, 2010 at 08:31:10AM +1000, فـريـــد الغـــامــدي 
wrote:

 I am working on a project. it is building an ISO image. this ISO should
 have some configurations. Simply, the ISO will boot and directly the
 Iceweasel appear and the user just surf the web pages. 

I wonder if you considered:

http://webconverger.org/
http://webconverger.com/

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100405103309.gc16...@pear.tzafrir.org.il



Re: Transferring files over SSH in the console

2010-04-01 Thread Tzafrir Cohen
On Mon, Mar 22, 2010 at 01:02:10AM +0200, Dotan Cohen wrote:
 On 22 March 2010 00:57, Selçuk Mıynat selcukmiy...@gmail.com wrote:
  On Mon, Mar 22, 2010 at 00:52, Dotan Cohen dotanco...@gmail.com wrote:
  I am managing a small embedded device that I SSH into over the LAN. To
  run commands, I use KDE Konsole, and to transfer files I use Konqueror
  and SFTP. I understand that SFTP also runs over SSH, so is there a way
  to send files in Konsole as well? I am familiar with the FTP commands
  such as cd, lcd, put, and get. Are there equivalent commands for SSH
  terminal connections?
 
  Are you looking for scp?
 
  http://en.wikipedia.org/wiki/Secure_copy
  http://www.helpdesk.umd.edu/documents/4/4801/
 
 
 No, scp is for sending files to a remote machine that the user has yet
 to connect to:
 localhost$ scp /path/to/file.txt u...@remotemachine /remote/path/

(wrong syntax: scp /path/to/file.txt u...@remotemachine:/remote/path/ )

While this is not what you asked for, I still prefer scp.
scp can be made much more convinient to use, once you allow tab
completion of remote file names.

 scp file.txt u...@remotemachine:/remtab

This works if you cna login without a password to u...@remotemachine .
There are several ways to do that:

1. Passphrase-less key
2. key + ssh-agent

I suppose people in this list are familiar with the above two. The
down-sides with those two are:

1. They still require estabilishng an extra SSH connection per pressing
of tab.
2. They may require extra setup on remoteMachine.

Luckily openssh provides a better alternative. In my .ssh/config I have:

Host *
ControlMaster = auto
ControlPath = ~/.ssh/socket/control_%h__%p__%r__%l

This means that whenever I connect to a new host, ssh creates a socket
that allows multiplexing new ssh connections on the already-established
SSH connection. After-all the SSH protocol was designed to support
multiple streams (for e.g. port forwarding).

With this set, scp works nice and fast to a remote host. BTW: it seems
that in squeeze rsync now has the same sort of completion.

As usual, I rely on the shell's history to provide me some sort of
context. I usually also copy pathes from a remote shell window on the
target system.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100401131417.gs16...@pear.tzafrir.org.il



Re: git

2010-03-21 Thread Tzafrir Cohen
On Thu, Mar 18, 2010 at 08:47:32PM +0900, Osamu Aoki wrote:
 On Wed, Mar 17, 2010 at 09:23:18AM +0100, Klaus Jantzen wrote:
  Hi,
  
  due to a discussion of git  I would like to know which of the
  numerous  git-packages I have to
  install on lenny when I want to use git  in my local environment.
 
 Minimum:
 git-core
 
 Reasonable
 git-doc
 gitk
 
 If you use svn
 git-svn
 
 For more:
 $ aptitude search git

If your shell is bash: having programmable completion enabled makes a
huge difference when working with the git command-line. It has a handy
smart completion.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100321204420.gl16...@pear.tzafrir.org.il



Re: use preseeding for one package

2010-03-16 Thread Tzafrir Cohen
On Tue, Mar 16, 2010 at 08:06:34AM +0100, Chantal Rosmuller wrote:
 
  
  You can force the non-interactive front-end by setting
  DEBIAN_FRONTEND in the environment:
  
DEBIAN_FRONTEND=noninteractive script
  
  See debconf(7).
  
  Likewise see also debconf-set-selection(1). This injects configuration
  in a way similar to preseed on install time.
  
 Hi, I tried that but I ran into the following problem:
 
 cfengine on the client is started as a cronjob and it refuses to run export 
 DEBIAN_FRONTEND=noninteractive  I do not recall the exact error message but 
 I 
 think it had something to do with not finding it in the PATH.

ENODATA

Please provide more information if you want a useful response.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100316143950.gi16...@pear.tzafrir.org.il



Re: online voip client

2010-03-15 Thread Tzafrir Cohen
On Mon, Mar 15, 2010 at 11:54:27AM +0100, Julien Vehent wrote:
 Hey debian folks,
 
 I was looking at online voip client, to embedd in a webpage on my server

Generally this is not something that can be done with plain HTML / JS.

There are some Java applets. IIRC there's a Flash applet or two. There
are a few ActiveX components.

(No idea about free ones)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100315112244.gh16...@pear.tzafrir.org.il



Re: question about fstab in squeeze and uuid

2010-03-14 Thread Tzafrir Cohen
On Sat, Mar 13, 2010 at 11:13:14AM -0500, Tom H wrote:
  When I install a 2nd/3rd distrib on a HD, I have made it a practice
  to set up fstab so the existing distrib are mounted automatically.
  Repeated use leads to all functioning distrib to be crosslinked.
  But when a distrib must be reinstalled because something drasticly
  wrong happened, or whatever, access to that replacement distrib in
  all the older distrib is broken because the UUID of the partition
  is changed.
 
 You could make a note of the UUID before the re-install then re-apply
 it to the partition with
 tune2fs -U uuid /dev/sdaX

However you *must* take a note. This is not something you can remember.
As opposed to a partitioning scheme, that you can remember.

UUIDs are also a fine method for making your life interesting when you
want to recover a system backed up on a different hardware.

For instance, I had a digikam images database on a system whose
motherboard had some issues. No problems. I copied the whole thing to a
new home directory (of the same user, same UID, same path) on a
different system. However digikam fails to use the database. It insists
I have the incorrect UUID. Natually it does not allow me to fix things.

This is intended to protect against using the wrong DoK (but will
protect you from copying the database to a different DoK). And
couldn't have been disabled from the user interface at the time.

It took me a few hours of digging in the code and file format to figure
out how to fake a non-UUID database.


So make sure you don't have the UUID listed in a host of places on the
disk when recovering the system to a different media. {Or|And} just try
to avoid it, if you can.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100314142054.gg16...@pear.tzafrir.org.il



Re: How to know if USB device has driver properly installed?

2010-03-13 Thread Tzafrir Cohen
On Thu, Mar 11, 2010 at 10:19:05PM +0200, Dotan Cohen wrote:
 I am trying to get a USB device working. In lsusb the ID shows up, but
 the name of the device does not. Is this an indication that the driver
 is not properly installed?
 
 For instance, this is how functioning devices look in lsusb:
 Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
 
 However, the device that I need to operate does not show the name,
 only the beginning of the line like this:
 Bus 003 Device 002: ID 104f:0006
 
 Does that mean that the device driver is not properly installed?

Basically what you ask for is the USB equivalent of lspci -k . Sadly
there's no such thing.

A quick search (usb 413c:8126 linux) brings up
http://cateee.net/lkddb/web-lkddb/BT_HCIUSB.html

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100313152654.gf16...@pear.tzafrir.org.il



Re: install debian without screen (on guruplug)

2010-03-11 Thread Tzafrir Cohen
On Thu, Mar 11, 2010 at 12:59:55PM -0500, Nick Lidakis wrote:
 On Tue, Mar 09, 2010 at 01:58:50PM +0100, Julien Vehent wrote:
  Hi Debian folks,
  
  I was considering testing this little piece of hardware that guruplug is.
  http://www.newit.co.uk/shop/proddetail.php?prod=GuruPlug-Server
  
  Very attractive, but no vga output. So, next question is: how do I install
  lenny without a display ?...
  
  Any clue ?
 
 If you haven't already purchased the hardware, please consider looking at
 these fine little computers: http://www.pcengines.ch/alix.htm
 
 There's also a Voyage Linux target for this hardware platform:
 http://linux.voyage.hk/ Basically Debian that boots from compact flash, runs
 in RAM, and retains and has apt capability.
 
 Using Voyage from an ALix without VGA, one only needs to power up the board
 and SSH for configuration. There's also a serial console available.

I installed Debian on my Alix board. I used a PXE network boot through a
serial console. Worked just fine.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100311224628.ge16...@pear.tzafrir.org.il



Re: Custom debian installeur on DVD

2010-03-10 Thread Tzafrir Cohen
On Tue, Mar 09, 2010 at 11:03:23AM +0100, marion.de...@fr.thalesgroup.com wrote:
 Hi,
 
 Actually, I try to make a debian installeur DVD but customized. I
 explain : In my company, we used to install debian cusomized with
 other packages. We made an ISO and put it on an USB key bootable. We
 add preseed.seed and syslinux.cfg. It work really fine. But we want
 to do the same thing with a DVD installeur, if it's possible.

 I looked for a very long time on the different forum but I didn't
 found how to create my own DVD installeur with my own ISO. Would you

Generally either with the package debian-cd or with custom-cdd (not sure
of the package name).

However have you considered a netboot setup with a local apt-proxy
(apt-cache-ng, approx)?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100310125207.gz16...@pear.tzafrir.org.il



Re: install debian without screen (on guruplug)

2010-03-10 Thread Tzafrir Cohen
On Tue, Mar 09, 2010 at 01:58:50PM +0100, Julien Vehent wrote:
 Hi Debian folks,
 
 I was considering testing this little piece of hardware that guruplug is.
 http://www.newit.co.uk/shop/proddetail.php?prod=GuruPlug-Server
 
 Very attractive, but no vga output. So, next question is: how do I install
 lenny without a display ?...

Through a serial console?

The Debian Installer (in text mode) should run just fine there.

I'm not really sure if the Debian Installer supports that platform
already. If not, you'll probably need a different method of
bootstrapping. E.g. throough debootstrap from the existing system
installed there.

http://www.cyrius.com/debian/kirkwood/sheevaplug/ may also apply.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100310125622.ga16...@pear.tzafrir.org.il



Re: Bash email attachment

2010-03-09 Thread Tzafrir Cohen
On Mon, Mar 08, 2010 at 02:53:38PM +0100, Raven wrote:
 Hi all,
 
 I recently wrote a small content filter script (in bash) to use on my
 local Postfix installation. The script receives via pipe: the
 recipient and the sender's addresses then responds by sending back a
 message containing some body text and an image attachment.
 It works as it is supposed to do, but with some email clients the image
 is not displayed properly.

Then see how biabam does this.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100309223757.gx16...@pear.tzafrir.org.il



Re: ssh

2010-03-06 Thread Tzafrir Cohen
On Tue, Mar 02, 2010 at 03:36:10AM -0800, consul tores wrote:
 hello
 
 If i do # ssh from Lenny against Slackware or OpenBSD, then i get only
 1 key, but if i do # ssh from Lenny to Lenny, then i receive 2 keys!
 It happens when i am outside of my lan which has a router DLink as
 gateway, when i test it at inside, i recieve only 1 key for Slackware,
 OpenBSD and Lenny.
 Checking rsa ids, they are the same in both cases.

What do you mean by 1 key and 2 keys? How do you see that?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100306231952.gt16...@pear.tzafrir.org.il



Re: how to open a port?

2010-03-06 Thread Tzafrir Cohen
On Wed, Mar 03, 2010 at 01:35:08PM -0500, James Wu wrote:
 Try running 'netstat -nat | grep 4965' and paste the output.

I guess you meant: netstat -lntp | grep 4965

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100306233135.gu16...@pear.tzafrir.org.il



Re: use preseeding for one package

2010-03-06 Thread Tzafrir Cohen
On Thu, Mar 04, 2010 at 10:17:46PM +0200, Andrei Popescu wrote:
 On Thu,04.Mar.10, 15:48:09, chan...@antenna.nl wrote:
  Thank you Eric,
  
  I am already using cfengine2 and puppet :). But when I want to
  install postfix or phpmyadmin with cfengine a dialog screen flashes
  by which looks a bit weird. That's why I want to use preseeding (or
  something else) so the installer doesn't ask questions when a
  package is installed automatically.
 
 I think you want the non-interactive debconf interface. Try:
 
 # dpkg-reconfigure debconf

You can force the non-interactive front-end by setting
DEBIAN_FRONTEND in the environment:

  DEBIAN_FRONTEND=noninteractive script

See debconf(7).

Likewise see also debconf-set-selection(1). This injects configuration
in a way similar to preseed on install time.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100307052708.gv16...@pear.tzafrir.org.il



Re: truncate until delimiter

2010-03-04 Thread Tzafrir Cohen
On Sun, Feb 28, 2010 at 03:13:36PM +0100, Vadkan Jozsef wrote:
 e.g.:
 
 $ ls -tr `find -type f` | grep .txt$ | rev
 txt.nimdaymphp/.
 txt.ccuc/aborp/.
 txt.og/.
 txt.osle/.
 txt.kidosam/.

Why ls?

find -type f | grep .txt$ | rev

(Others already noted that you can probably get what you wanted from
find directly. But let's answer your question directly)

 
 
 I Want to truncate this output, until the first /:
 
 $ ls -tr `find -type f` | grep .txt$ | rev | THE-MAGIC-COMES-HERE
 .
 aborp/.
 .
 .
 .

Surely you can do that with sed, but as you already mentioned rev, you
can use:

  rev | cut | rev

So basically:

find -type f | grep .txt$ | rev | cut -d/ -f1

Maybe add an extra rev in the end to have proper names.

 
 How?
 
 I just want to modify the names of some files, but I can't do it if they
 have their full path in their names..

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100304144047.gn16...@pear.tzafrir.org.il



Re: w32codecs

2010-03-04 Thread Tzafrir Cohen
On Mon, Mar 01, 2010 at 09:17:04AM -0500, Celejar wrote:
 Anyone know what happened to w32codecs in debian-multimedia.org?  It's
 gone from Unstable and Stable, and I only see it in Oldstable.
 Searching both the site and the general 'net doesn't turn up anything
 here.

Any specific reason to use w32codecs rather than ffmpeg?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100304152055.go16...@pear.tzafrir.org.il



Re: share screen for a particular command or shell script.

2010-02-22 Thread Tzafrir Cohen
On Mon, Feb 22, 2010 at 11:14:29PM +0530, Kaushal Shriyan wrote:
 Hi,
 
 Is there a way i can just allow a specific command or a shell script
 while sharing screen to a particular user.
 
 I am following the below steps to share my screen.
 
 ###
 chmod +s /usr/bin/screen

Hmm... why not use sudo for a specific script instead?

 screen -S example
 ^A :multiuser on
 ^A :acladd bar
 ^A :aclchg bar -w #
 screen -r foo/example
 ###

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100222180624.gb16...@pear.tzafrir.org.il



Re: tcpdump?

2010-02-21 Thread Tzafrir Cohen
On Sat, Feb 20, 2010 at 06:05:50AM +, Hadi Motamedi wrote:
 
 Dear All
 I have put tcpdump trace on port 4957 on my Debian server , as the following :
 #tcpdump port 4957
 I want to obtain the payload data to see what is realy being exchanged 
 between my Debian server and the outside network element . Can you please let 
 me know how I can modify my command ?


tcpdump -s0 -w output.pcap port 4957


Consider also adding -n if name resolution takes extra time.

This will send output to output.pcap .

Later on run:

  wireshark output.pcap

and analyze the flows there.

Naturally you can use other programs.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100221181130.gw16...@pear.tzafrir.org.il



Re: tcpdump?

2010-02-21 Thread Tzafrir Cohen
On Sat, Feb 20, 2010 at 07:19:13AM +0100, frank thyes wrote:
 On Sat, 2010-02-20 at 06:05 +, Hadi Motamedi wrote:
  Dear All
  I have put tcpdump trace on port 4957 on my Debian server , as the
  following :
  #tcpdump port 4957
  I want to obtain the payload data to see what is realy being exchanged
  between my Debian server and the outside network element . Can you
  please let me know how I can modify my command ?
 
 RTFM - if you dont now how to read manuals start with man man

That's a rather unusful reply. Not to mention 'man man' is not my
recommendation to someone not familiar with man pages.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100221181353.gx16...@pear.tzafrir.org.il



Re: Building kernel image packages with make-kpkg, custom dependency

2010-02-14 Thread Tzafrir Cohen
On Fri, Feb 12, 2010 at 02:36:37PM -0500, Cliff Flood wrote:
 Hi,
 
 I'm having some problems with building kernel image packages using `make-kpkg`
 
 I'm trying to build a package with a custom dependency and have tried
 editing the control files generated by make-kpkg but find that these
 changes don't make it into the produced package.
 
 So let me back up and explain what's going on.
 
 I need to distribute a custom kernel-img.conf to my systems (to ensure
 they have silent_modules set to yes which will allow unattended
 upgrades of kernels that match the one that is currently installed)
 and I'm doing this by including kernel-img.conf in one of my parent
 packages. This first version of this package that included this file I
 wish to include as a dependency for my distributed kernel image
 packages.

What file(s) have you tried to edit? When?

 
 While I'm on the topic I had another problem I have solved but if
 there's a better way of doing this I'd like to hear it; On my systems
 /boot is mounted RO so it must be remounted RW before a kernel can be
 installed. I've achieved this by patching the preinst generated by
 make-kpkg, is there a better way?

Is it just /boot ? Or some other parts of the file system? What happens
when you need to insall / upgrade grub?

 
 It seems I have the solution to my problem but I'm frustrated by
 implementation issues.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100215071141.gt16...@pear.tzafrir.org.il



Re: postfix doesn't receive message

2010-02-07 Thread Tzafrir Cohen
On Sat, Feb 06, 2010 at 12:10:09PM +0100, abdelkader belahcene wrote:
 Hi everybody
 
 I install postfix, just basic thing for local network ( to receive from
 other machine in my local area : 192.168.100.0/24)
 from other machine for example 192.168.100.25  I receive mail  if I use
 telnet
 telnet  192.168.100.100  25
 but with mail   b...@192.168.100.100
 I didn't receive anything here is the two connection from the remote machine
 100.25  to the server 100.100
 
 u...@debian25:~$ telnet 192.168.100.100 25
 Trying 192.168.100.100...
 Connected to 192.168.100.100.
 Escape character is '^]'.
 220 server312.iap.dz ESMTP Postfix (by Bela Debian/GNU)
 HELO server312.iap.dz
 250 server312.iap.dz
 MAIL FROM: u...@debian.25
 250 2.1.0 Ok
 RCPT TO: b...@server312.iap.dz
 250 2.1.5 Ok
 DATA
 354 End data with CRLF.CRLF

Normally you add message headers here.

Subject: 
To: 
From: 

(The empty line above separates the headers from the body of the
message)

 Hello There
 with telenet 25
 .
 250 2.0.0 Ok: queued as 2FAEF3B20
 QUIT
 221 2.0.0 Bye
 
 Connection closed by foreign host.
 u...@debian25:~$ mail b...@192.168.100.100

Do you accept mail for the domain '192.168.100.100'?

 Subject: With mail command

Likewise, you should normally add a blank line to separate headers from
body.

 Hello there with mail  command
 .
 cc:
 -
 
 b...@server312:~$ mail
 Mail version 8.1.2 01/15/2001.  Type ? for help.
 /var/mail/bela: 1 message 1 new
 N  1 u...@debian.25 Sat Feb  6 11:47   11/361
  1
 Message 1:
 From u...@debian.25  Sat Feb  6 11:47:19 2010
 X-Original-To: b...@server312.iap.dz
 
 Hello There
 with telenet 25
 
 The last part is what I receive  with telnet 25
 Here is my main.cnf
 
 myhostname = server312.iap.dz
 alias_maps = hash:/etc/aliases
 alias_database = hash:/etc/aliases
 myorigin = /etc/mailname
 mydestination = server312.iap.dz, localhost.iap.dz, localhost
 relayhost =
 mynetworks = 127.0.0.0/8 192.168.100.0/24
 mailbox_command = procmail -a $EXTENSION
 mailbox_size_limit = 0
 recipient_delimiter = +
 inet_interfaces = all
 html_directory = /usr/share/doc/postfix/html
 
 
 thanks for help

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Grandma uses Logitech Vid, how to chat with her with Debian?

2010-02-06 Thread Tzafrir Cohen
On Sun, Feb 07, 2010 at 10:40:14AM +0800, jida...@jidanni.org wrote:
  SF == S Fishpaste s...@deer-in-the-headlights.ca.invalid writes:
 SF Check out Google's Talk - It can do video.
 Google Talk video doesn't seem to have a Linux version.

The protocol it uses is Jingle. I'm not sure if either one of Empathy,
Pidgin or Kopete support video in it. In fact, I'm not sure how well
they support audio in it.

 SF Also check out Pidgin; it has video capability via plugins.
 Hmmm, I see on http://www.pidgin.im that it can connect to Google Talk...
 Well OK, but for now Skype works...

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Rsyslog template

2010-02-02 Thread Tzafrir Cohen
On Tue, Feb 02, 2010 at 02:34:58AM -0600, Stan Hoeppner wrote:
 Michael Biebl put forth on 2/2/2010 2:18 AM:
  On 27.01.2010 22:14, Stan Hoeppner wrote:
  
 
  /usr/share/doc/rsyslog-doc/html/
 
  My Linux machines are all headless, and I've never bothered with trying to
  symlink all the various html doc directories into lighty virtual 
  directories
  just to get access to them via a browser.  That is a huge waste of OP time.
  This penchant for html documentation is a PITA for administering headless
  servers.  Quite frankly, this really surprises me in the case or rsyslog.  
  The
  folks around the world most likely to be making serious use of rsyslog
  capabilities (not casual use) are the most likely to be running a 
  datacenter
  full of headless servers without easy access to these html doc directories.
  Plain text versions of all Debian/Linux system documentation should be 
  included
  by default.  I'm guessing the rsyslog folks don't provide plain text only
  documentation, and the Debian rsyslog maintainers didn't want to take the 
  time
  to create a plain text only version of the docs.
 
  How about the case for headless servers that don't run a web server at 
  all?  How
  then does an admin access this html documentation for rsyslog?  This is a 
  sad
  state of affairs IMO.
  
  You can use lynx or w3m for viewing html files on the console or via SSH.
  That said, 

[snip]

 
 Thanks for the tips wrt lynx and w3m.  However, this rant motivated me to go
 ahead and symlink /usr/share/doc/ to a Lighty virtual directory shortly after 
 I
 sent the rant above.  I assumed I'll probably run into this html doc problem
 again so I took the Nike commercial advice. ;)

  aptitude install dwww

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Wrong magic bytes - corrupted file?

2010-01-31 Thread Tzafrir Cohen
On Sat, Jan 30, 2010 at 07:40:00PM +0100, Merciadri Luca wrote:
 
 I am encountering
 
 ==
 ldconfig: /usr/lib/libwins.so is not an ELF file - it has the wrong magic 
 bytes at the start.
 ==
 
 from ldconfig. Everything seems however to work nicely. Some questions
 naturally arise:
 
 1. What is the role of libwins.so?

Normally files that are simply .so (without any extra version) under
*/lib/ are symlinks intended for build-time. Maybe this is merely a
dandling link?

What is the output of:

  ls -l /usr/lib/libwins.so

And then again, you can check the magic directly:

  file /usr/lib/libwins.so

 2. Should I simply download libwins.so in BIN from an FTP server, and
 put it there, to solve the problem?

Is it part of some package? I get no hits for 'apt-file search
/usr/lib/libwins.so' here (squeeze, amd64).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem whit virtual interfaces [SOLVED]

2010-01-30 Thread Tzafrir Cohen
On Fri, Jan 22, 2010 at 03:46:21PM +0100, Marco Vaschetto wrote:
 Camaleón ha scritto:
 On Fri, 22 Jan 2010 14:09:48 +0100, Marco Vaschetto wrote:

   
 Camaleón ha scritto:
 
 On Fri, 22 Jan 2010 13:11:18 +0100, Marco Vaschetto wrote:


   
 iface eth0 inet static
 
 Shouldn't that read iface eth0:1 inet static? :-?
^^


   
 I have try whit static configuration for eth0 and the alias, like:
 

 (...)

 And I try to configure (*eth0*)* *whit the local Ethernet ip address and
 the alias (*eth0:1*) whit the public ip but I got always the same error,

 so if the configuration of /etc/network/interfaces is right I'm
 thinking, is possible, I didn't enable in the kernel some modules;

 but if the unload modules, I didn't know witch one I must load for make
 the alias working.
 

 No additional module should be needed to load for using virtual  
 interfaces. It must be a very an error in the config file we are both 
 failing to see :-)

 Just try with a simpler file, something like this:

 5.4.3. The virtual interface
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_virtual_interface

 And see what happens.

 Greetings,

   
 yes, is about metric the problem, and I think must configure the virtual  
 interface like is a normal hardware..

 now I have configure like this

 #eth0 public ip
 allow-hotplug
 auto eth0
 iface eth0 inet static
address 195.137.146.82
netmask 255.255.255.248
network 195.137.146.80
broadcast 195.137.146.87

If you defines an address and a netmask, providing the network address
and the broadcast address is redundant. You can remove those lines.

gateway 195.137.146.81

So this interface is the default gateway

 metric 0
 #eth0:1 local ethernet
 allow-hotplug
 auto eth0:1
 iface eth0:1 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254

No, wait. This is the default gateway!

dns-nameserver 192.168.0.1
 metric 1

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Multi-repository project manager

2010-01-28 Thread Tzafrir Cohen
On Thu, Jan 21, 2010 at 08:28:35PM +0100, Nick Douma wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 A question for all software developers and software project managers.
 
 I am looking for a replacement for our current Trac project manager.
 Trac has server us fine until now, and we still use it with great
 results. We are, however, starting to realize the limitations of Trac,
 and its simple approach. Basically, I'm looking for a new system that
 can do the following:
 
 * Integrate well with Subversion
 * Ability to control tickets from commit messages (i.e. close tickets
 and update them with your commit messages)
 * Able to track and manage multiple SVN repositories at one time;
 ability to create tickets that span multiple repositories.
 * More advanced user managing (developer resources, but also ticket
 posters and their preferences)
 * Built in documentation system, also linkable with tickets and repositories
 
 As part of a comparison between various software, I'm interested in any
 and all experience that any of you have with a project manager, that can
 achieve the above. I'm not limiting my search to open-source software.
 Something that can import our current Trac projects is also welcome, but
 not necessarily a requirement.

Red-Mine? http://www.redmine.org/

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Trigger by package install

2010-01-28 Thread Tzafrir Cohen
On Wed, Jan 20, 2010 at 11:34:11AM +0100, Marek Simon wrote:
 Hi,
 I am creating my own package and I need to create a trigger which will  
 be activated, when other packages are installed/deinstalled. I found in  
 manual, that trigger can be dependant on file change, but not on package  
 change. How can I effectively bind the trigger with a whole package?
 I can select a file from a package and bind the trigger with it, but  
 there is about 100 packages I need to bind and I think it is not that  
 nice debian way. There must be some nicer way.
 Thanks to all.

There are some other forms of triggers, IIRC. But could you give some
more information on what you want to guarantee with that trigger script?

Also consider asking such questions on e.g. the debian-mentors mailing
list.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Which virtualization is the best for Debian?

2010-01-24 Thread Tzafrir Cohen
On Thu, Jan 21, 2010 at 12:56:20AM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Boyd:
 
 With Xen/KVM/Qemu the guests are not fully protected from the host, but even 
 kernel-level tasks/processes in the guests cannot affect the host unless 
 there 
 is a security issue with the specific virtualization technologies involved.
 
 Seems the more secure way... is physical machines... :(

But then again, some systems run an extra Linux instance for on a
control interface. Now go and crack that :-)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



removing mono in squeeze gnome [was: Re: No flamewar please!]

2010-01-13 Thread Tzafrir Cohen
On Tue, Jan 12, 2010 at 02:35:47PM +, James Allsopp wrote:
 Hi,
 I'm using gnome but want to remove all traces of mono from my system, I've a
 clean install of Squeeze.
 
 Can I,
  apt-get purge mono-2.0-gac mono-gac mono-runtime tomboy
 
 No offence, if you want to use it fine, but I'd like rid of it. Tried
 running with simulate and it seems to want to get rid of gnome too.

In a typical Debian Squeeze / Sid desktop install, the reason Mono would
be pulled is because the metapackage gnome depends on 'tomboy'.
This will pull by default the package 'tomboy' (which is written in
Mono). But can also be satisfied by gnote (written in c++).

If you want to keep that metapackage but want to remove that mono
dependency:

  aptitude install gnote tomboy_

Note the extra '_' after the name 'tomboy'. This means that the package
should be purged rather than installed. If this is the only thing
pulling Mono in, I expect this to also remove the Mono runtime
libraries.

As this keeps the dependencies of gnome intact, you should not have a
mass removal of GNOME packages.

(Note: this is untested right now)

BTW: please avoid flamatory and unusful subject lines.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: removing mono in squeeze gnome [was: Re: No flamewar please!]

2010-01-13 Thread Tzafrir Cohen
On Wed, Jan 13, 2010 at 11:00:30AM +, Tzafrir Cohen wrote:
 On Tue, Jan 12, 2010 at 02:35:47PM +, James Allsopp wrote:
  Hi,
  I'm using gnome but want to remove all traces of mono from my system, I've a
  clean install of Squeeze.
  
  Can I,
   apt-get purge mono-2.0-gac mono-gac mono-runtime tomboy
  
  No offence, if you want to use it fine, but I'd like rid of it. Tried
  running with simulate and it seems to want to get rid of gnome too.
 
 In a typical Debian Squeeze / Sid desktop install, the reason Mono would
 be pulled is because the metapackage gnome depends on 'tomboy'.
 This will pull by default the package 'tomboy' (which is written in
 Mono). But can also be satisfied by gnote (written in c++).
 
 If you want to keep that metapackage but want to remove that mono
 dependency:
 
   aptitude install gnote tomboy_
 
 Note the extra '_' after the name 'tomboy'. This means that the package
 should be purged rather than installed. If this is the only thing
 pulling Mono in, I expect this to also remove the Mono runtime
 libraries.

Now when I think about it, I expect that aptitude would have come up
with this as a solution for 'aptitude purge tomboy'. Maybe not the first,
but the second or third. If you don't like the resolution aptitude
suggests, reject it and ask it to provide you another one.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to temporary set dvorak keymap in terminal

2010-01-10 Thread Tzafrir Cohen
On Wed, Jan 06, 2010 at 10:32:52PM +, Sebastian wrote:
 Hello everybody
 
 I'm just getting started learning the dvorak layout using the package
 dvorak7min. So far I have only been able to practice under X using
 'setxkbdmap dvorak' which works great.
 What I'm interested in if there's an easy way to (temporarily as I'm
 nowhere near fluent yet) load another keymap as an ordinary user in a
 regular terminal session. I have tried the loadkeys command but that
 doesn't work for a ordinary user here.
 I'm running a mixed-release debian with apt-pinning (mainly
 testing). Any suggestions appreciated.

There are some window managers (e.g. the one of KDE) that support
per-window keyboard mapping. Or rather: with XKB, you have up to 4
groups, and switching between them is relatively cheap. Thus this
supports switching groups between windows.

I suppose you can map querty for one groups and dvorak for another. Not
exactly sure how.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: chroot a few apps

2010-01-10 Thread Tzafrir Cohen
On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote:
 Hi.
 
 What kind of chroot should I use, if I want to make a more secured
 desktop, running e.g.:
 
 pdf reader
 webbrowser
 audio player
 video player
 openoffice
 picture viewer
 mua
 ooo
 virtualbox
 
 e.g.: if theres a javascript vulnerability in google chrome [I haven't
 heard a NoScript extension for it :( ] a chroot would be good for
 stopping it from doing something bad with the whole system.
 
 or e.g.: I have to open a .doc file, that I don't trust, or a PDF can
 contain malicious code :(
 
 Any tips/docs/howtos?

Don't you want those programs to actually talk with one another?

What's the point in a chrooted word processor? You want to do something
useful with the documents it generates, right? You want to be able to
save attachements from the MUA, right?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to use Sun Java instead of gcj

2010-01-09 Thread Tzafrir Cohen
On Thu, Jan 07, 2010 at 08:56:17PM -0430, Olaf Reitmaier Veracierta wrote:

 You can remove OpenOffice and GCJ with apt-get, then install ooo*  
 packages for Debian downloaded from OpenOffice.org.

And what would that buy you?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to use Sun Java instead of gcj

2010-01-06 Thread Tzafrir Cohen
On Thu, Jan 07, 2010 at 02:53:16AM +0200, Ogya Chief wrote:
 
 I installed sun-java6 but java -version showed version 1.5. Upon further 
 investigation I realised gcj is also installed on the machine and OpenOffice 
 depends on it. I have two questions:
 
 1.  How can I make OpenOffice use Sun-java instead of gcj so that I can 
 remove gcj?
 2.  If it is not possible to remove gcj and keep OpenOffice intact, how can I 
 compile java 1.6 programs using sun-java6?

Lenny has a package of openjdk, which is practically Sun's Java (1.6) -
openjdk-6-jdk

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Inquiry:How to install Debian from Internet?

2010-01-05 Thread Tzafrir Cohen
On Tue, Jan 05, 2010 at 11:09:18AM +, hadi motamedi wrote:
 Dear All
 I have my Debian server installed from Debian-31 netinst  businesscard CDs
 , but when trying to install Asterisk 1.4 it failed . I thought that my
 Debian installation was incomplete. Can you please let me know how to
 install a complete Debian 3.1 right from the Internet ? Is there anything
 like yum install to try with ?

As people already told you before:

1. Debian 3.1 (Sarge) is obsolete an not supported anymore.
2. Still, package sources for it are available (unmaintained, but
   availale). They pointed you to the specific source and provided you
   a line for sources.list .
3. The version of aptitude included with Sarge is probably a bit buggy.
   (did I mention it's ancient?), but apt-get / apt-cache should work
   reasonably well.
4. Did I mention that Debian Sarge is obsolete and you should use Lenny
   (5.0)?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: alternate web browser etc...

2010-01-01 Thread Tzafrir Cohen
On Fri, Jan 01, 2010 at 04:08:55PM -0800, Jim McCloskey wrote:
 Bernard bdebr...@teaser.fr wrote:
 
 |  I wish to install an alternate web browser
 
 Google chrome is very good (as fast as was promised as far as I can
 see).  It's free in both of the relevant senses and it's packaged for
 Debian/Ubuntu.

Beware of packages provided by Google. They tend to mess with your
sources.list (both directly and through a cron job).



-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: debugging initrd image

2009-12-26 Thread Tzafrir Cohen
On Sat, Dec 26, 2009 at 02:11:59PM -0600, Hugo Vanwoerkom wrote:
 Hi,

 What is the way to debug an initrd file and drop into a shell?

Yes, with the parameter 'break' . See
http://wiki.debian.org/InitramfsDebug .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Copying only files that are not into the destination

2009-12-24 Thread Tzafrir Cohen
On Thu, Dec 24, 2009 at 05:27:46PM -0500, Chris Jones wrote:
 On Thu, Dec 24, 2009 at 03:20:20PM EST, Merciadri Luca wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  John Hasler jhas...@debian.org writes:
  
   BTW they are directories, not folders.
 
  Sorry, English is not my mother tongue. Does it appear so artificial?
 
  Sorry.
 
 Maybe the distinction is not a matter of whatever mother tongue forced
 upong us, but rather a difference in terminology between *nixspeak and
 MacWindowsSpeak?
 
 In any case, in the context of your query, which is an operation that
 involves components of a file system, the technical term directory
 appears to be more appropriate than the vague icon-inspired term folder.

And a directory is?

Isn't it the D in an LDAP server?

What's a file to do with a directory?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Weird time-zone oscillation

2009-12-12 Thread Tzafrir Cohen
On Fri, Dec 11, 2009 at 03:25:05AM -0600, Kumar Appaiah wrote:
 Dear Debian user,
 
 I have a weird time-zone related issue on my machine. I observed that
 the alarm-clock package was always ignoring my requests for an alarm
 within an hour from now, and all other alarms used to go off with an
 hour to spare. 

When exactly does the alarm-clock program use the time-zone data?

 So, I did some investigation, and found that it always
 converted fixed times to the incorrect time, while the current time is
 more clear.
 
 To make it more clear, I wrote the following program:
 
 /*  gcc `pkg-config --cflags --libs glib-2.0` test.c -Wall */
 #include glib.h
 #include stdio.h
 
 int
 main(void) {
   GTimeVal alarm_time, current_time;
   char *iso_date = 2009-12-11T2:50:00;
   g_time_val_from_iso8601(iso_date, alarm_time);
   printf(%ld\n, alarm_time.tv_sec);
   g_get_current_time(current_time);
   return 0;
 }
 
 Now, please observe the following outputs:
 
 [ku...@bluemoon ~] for i in `seq 1 10`;do TZ=America/Chicago ./a.out;done
 1260517800
 1260521400
 1260517800
 1260517800
 1260517800
 1260521400
 1260517800
 1260521400
 1260521400
 1260521400
 
 [ku...@bluemoon ~] for i in `seq 1 10`;do TZ=Europe/Zurich ./a.out;done
 1260492600
 1260496200
 1260496200
 1260496200
 1260496200
 1260496200
 1260492600
 1260496200
 1260492600
 1260496200
 
 Please note that the two different times are separated by an
 hour. This led me to suspect daylight savings. Sure enough, with
 Asia/Calcutta and Etc/UTC, I got constant values.
 
 I am sure my computer's timekeeping is OK. I could not reproduce this
 in any other Debian machines I have access to. In addition, on a Lenny
 chroot in the SAME machine, I could not reproduce it (everything was
 in order). Could someone suggest as to why this is happening?
 
 I use sid, and the glib version is 2.22.3-1.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 'exim', version '4.69', is out of date

2009-12-09 Thread Tzafrir Cohen
On Wed, Dec 09, 2009 at 07:03:26AM +, Camaleón wrote:

 - Debian Lenny (stable) is not a rolling-update distribution. So once 
 is released, it won't update packages just because there is a newer 
 version available upstream. Lenny just get updated packages when there 
 is a security patch available for each of them. That is, officially you 
 will get only security updates. Whenever a new version of any package is 
 available (just the case of Exim) you can install it by hand and at 
 your own risk (by compiling, by using a backport repository, by 
 donwloading .deb file, etc...).
 
 - Rkhunter is just doing its job: it advices you there is a newer version 
 available for those packages and that's right. Is up to you upgrading 
 them or not.

No. Rkhunter is not doing its job. Most of the installations of Exim in
the world are by now out of date. Hence Rkhunter is more likely to
generate a false warning. Or even worse: to encourge the user to install
an unsupported package.

 
 I, personally, would not take any step :-)

So you basically your hunter is crying old wolf and you ignore it.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 'exim', version '4.69', is out of date

2009-12-09 Thread Tzafrir Cohen
On Wed, Dec 09, 2009 at 12:37:22PM +, Camaleón wrote:
 On Wed, 09 Dec 2009 12:16:01 +, Tzafrir Cohen wrote:
 
  On Wed, Dec 09, 2009 at 07:03:26AM +, Camaleón wrote:
  
  - Debian Lenny (stable) is not a rolling-update distribution. So once
  is released, it won't update packages just because there is a newer
  version available upstream. Lenny just get updated packages when
  there is a security patch available for each of them. That is,
  officially you will get only security updates. Whenever a new version
  of any package is available (just the case of Exim) you can install it
  by hand and at your own risk (by compiling, by using a backport
  repository, by donwloading .deb file, etc...).
  
  - Rkhunter is just doing its job: it advices you there is a newer
  version available for those packages and that's right. Is up to you
  upgrading them or not.
  
  No. Rkhunter is not doing its job. Most of the installations of Exim in
  the world are by now out of date. Hence Rkhunter is more likely to
  generate a false warning. Or even worse: to encourge the user to install
  an unsupported package.
 
 Well, but it is a fact that is oudated. And that is the warning 
 Rkhunter is giving to the user. No more, no less.

It's not outdated. 
http://packages.debian.org/changelogs/pool/main/e/exim4/exim4_4.69-9/changelog
-- Andreas Metzler ametz...@debian.org  Tue, 30 Sep 2008 20:12:27 +0200

Is this outdated?

Rkhunter assumes that a simple check of the version number will do. That
assumption fails all too often.

  
  I, personally, would not take any step :-)
  
  So you basically your hunter is crying old wolf and you ignore it.
 
 I don't know how Rkhunter works, but it should be configurable so the 
 user can select what kind of warning wants to receive.

So it's just the defaults that are wrong?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 'exim', version '4.69', is out of date

2009-12-09 Thread Tzafrir Cohen
On Wed, Dec 09, 2009 at 02:03:53PM +, Camaleón wrote:

  Rkhunter assumes that a simple check of the version number will do. That
  assumption fails all too often.
 
 
 Is how the program works. And one who install it have to know before hand 
 what kind of warning provides.

Right. The fact that the OP asked this question (twice, even) clearly
demonstrates he did not read the FAQ. In the FAQ you have in question
3.2 (right after question 3.1 with some very frightening text about
things you should do before considering to ask for help) he would have
found the answer to his question.

In fact, the documentation in the package is intended for a big-time
esrver admin. This is not the package you'd recommend for casual users
to test their system. This is not the equivalent of the Windows virus
scanner.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Does email server OS needs clamav?

2009-12-08 Thread Tzafrir Cohen
On Wed, Dec 09, 2009 at 12:26:05AM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Sjoerd:
 
  Well, on a properly configured server, viruses shouldn't be a problem. 
  As long as you are not running strange software on that server or open 
  strange attachments there, that is. And then of course there are not 
  that many Linux-viruses around (which is, of course, not a reason not to 
  run antivirus software!)
 
 Well. My point is to keep hackers off. I think they can compromise it
 by sending something especial and finally get control over whole the
 OS.

For instance, if that hacker sends you an email: Please forward this
message to everyone and then destroy the mail server, and you actually
decide to follow up on it. Shouldn't your Virus Scanner prevent that?
This is, after all, an email virus.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Unable to install libncurses5-dev

2009-12-06 Thread Tzafrir Cohen
On Sun, Dec 06, 2009 at 01:18:23PM +0530, ravindra vejandla wrote:
 Hi Veterans,
 
 I am trying to upgrade my debian kernel
 1 First I downloaded gcc

aptitude install build-essential

 2now I am trying to download libncurses5-dev

It's now libncurses6-dev . But you could have tried libncurses-dev .

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Grep on dictionary words

2009-11-29 Thread Tzafrir Cohen
On Sun, Nov 29, 2009 at 01:22:15AM +0200, Dotan Cohen wrote:
  will get the ones that start with capital alphas. if you want initial
  caps *only* then:
 
  grep ^[A-Z][a-z]*$
 
  would match those.
 
 
 Thanks. I meant that caps could only be at the beginning of a word,
 not in the middle. Expanding your example, I figured that would be:
 grep ^[A-Z]?[a-z]*$  // note the question mark

That's clearly a false statement. Here's a snippet from 'strings
/bin/false'

[]A\A]A^A_
f.
l$ L
t$(L
|$0H
Usage: %s [ignored command line arguments]
  or:  %s OPTION
Exit with a status code indicating failure.
  --help display this help and exit
  --version  output version information and exit
NOTE: your shell may have its own version of %s, which usually
supersedes
the version described here.  Please refer to your shell's documentation
for details about the options it supports.
false
Report bugs to %s.
bug-coreut...@gnu.org
/usr/share/locale
--help
--version
Jim Meyering
6.10
GNU coreutils
%s (%s) %s
 %s
Written by %s.
Written by %s and %s.
Written by %s, %s, and %s.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: live cd/usb projects?

2009-11-29 Thread Tzafrir Cohen
On Sun, Nov 29, 2009 at 04:45:31PM +, T o n g wrote:
 Thanks a lot for the detailed instruction Rob, really appreciate it. 
 
 On Sat, 28 Nov 2009 20:52:34 -0500, Rob Owens wrote:
 
  9) With your USB drive inserted and not mounted:
  
  (replace X with the proper letter for your device) dd if=binary.img
  of=/dev/sdX
 
 Several questions regarding this step:
 
 - what's the underlying file system does the binary.img have, vfat?

Or FAT16. It doesn't really matter, though. See --binary-filesystem in
lh_config(8).

 - what bootloader does it use?

syslinux by default. Grub can also be used, but you'll miss the
interactive menu.

 - is there any other way to install the content, say copy into a ext3 
 partition?

Look at chroot/ and binary/ under the build directory.

 - how can I create an .iso file instea?

That is actually the default, if you don't use --binary-images usb-hdd

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: VirtualBox or VMware?

2009-11-28 Thread Tzafrir Cohen
On Fri, Nov 27, 2009 at 04:51:32PM -0500, Ken Heard wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I should have explained in my original post what I wanted to do.  In the
 short run I want to run a Windows version of WordPerfect and so have
 access to WordPerfect 5.1 (a DOS app) files that I have been creating
 since the 80s, the contents of which I want to use now in a book I am
 putting together.

Use WP5.1 under dosemu? ;-)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: perl install paths

2009-11-26 Thread Tzafrir Cohen
On Wed, Nov 25, 2009 at 05:29:12PM -0800, Kelly Clowers wrote:
 On Wed, Nov 25, 2009 at 13:54, Tyler MacDonald ty...@fillz.com wrote:
  Hi,
 
   Background here:
 
   https://rt.cpan.org/Ticket/Display.html?id=52072
 
   Essentially, I had two copies of TAP::Harness installed -- one from CPAN
  and one from the libtest-harness-perl package.

If you have one from a package, why install from CPAN?

 
   Debian's went to /usr/share/perl5 -- CPAN's went to
  /usr/share/perl/5.10.0.
 
   This is the @INC for perl (i'm on lenny):
 
  �...@inc:
     /etc/perl
     /usr/local/lib/perl/5.10.0
     /usr/local/share/perl/5.10.0
     /usr/lib/perl5
     /usr/share/perl5
     /usr/lib/perl/5.10
     /usr/share/perl/5.10
     /usr/local/lib/site_perl
     .
 
   I'm guessing that this is wrong. But who is wrong? Is it the built perl,
  or is it the configuration that comes with CPAN?
 
 Shouldn't CPAN stuff go in /usr/local/share/ ?

Yes. 

$ perl -V:vendorlib -V:sitelib
vendorlib='/usr/share/perl5';
sitelib='/usr/local/share/perl/5.10.0';

Vendor stuff (packaged debs) goes under /usr/share/perl5 by default
(well, it's more complex than that). Locally-insstalled stuff
(site-specific) goes under /usr/local/share .

 
 Also, have you used dh-make-perl?
 It will pull down stuff from CPAN and automagically turn it into a .deb
 (though I don't know if it would necessarily fix this path problem).

It basically avoids the problem altogether.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Will rsync fix iso-file checksum failure?

2009-11-26 Thread Tzafrir Cohen
On Thu, Nov 26, 2009 at 07:12:35PM +0700, Sthu Deus wrote:
 Good day.
 
 I have badly downloaded dvd.iso file w/ Debian - though size is 
 exactly the same as it should - md5sum check fails...
 
 My question is, Whither rsync can re-download the file in manner that 
 allows me to redoanload it not (w/ ftp, etc) whole again?

Rsync should check for the checksum of the file.

Furthermore, on a large file it should try to avoid downloading parts of
it if that local part has the same checksum as in the remote.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: On Access Virus Scanner Recommendation

2009-11-25 Thread Tzafrir Cohen
On Wed, Nov 25, 2009 at 10:26:12AM +0100, Holger Rauch wrote:
 Hi,
 
 On Tue, 24 Nov 2009, Tzafrir Cohen wrote:
 
  [...]
  Why is that a problem? Do you have Windows clients accessing the system
  through NFS?
 
 Not necessarily, but I'd like to be on the safe side. 

On what safe side?

Can you give an example of a threat you wish to mitigate with such a
scan?

Are you aware of the overhead?

Are you aware of the potential threat that someone might trigger a
security hole in either the module or the (omnipotent) scanner by
reading a specially-crafted file?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: On Access Virus Scanner Recommendation

2009-11-24 Thread Tzafrir Cohen
On Tue, Nov 24, 2009 at 12:49:38PM +0100, Holger Rauch wrote:
 Hi to everybody,
 
 I'm thinking about using NOD32 on a Debian Lenny system for on
 access virus scanning (i.e. scan a file when it's created and/or its
 contents are modified in some way).
 
 I'm aware that there's the Dazuko module, but allegedly it doesn't
 seem to support NFSv3 or NFSv4 file systems since NFS uses socket
 communication to write files not ordinary file system calls and
 Dazuko can only intercept these.

Why is that a problem? Do you have Windows clients accessing the system
through NFS?


-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: clive doesn't extract youtube file

2009-11-24 Thread Tzafrir Cohen
On Tue, Nov 24, 2009 at 11:35:09PM +, Rodolfo Medina wrote:
 Hi to all Debian users.
 
 I installed clive in my Lenny partition with: `aptitude install clive', but it
 seems that it does not manage to download the video I installed it for:
 
 $ clive http://www.youtube.com/watch?v=ucOVqmhXa-o
 clive 0.4.18 20080715  [Linux]
 http://www.youtube.com/watch?v=ucOVqmhXa-ofmt=18   
 101.8KB
 error: extraction url (video_id) not found
 = 0 (0.0B), failed: 1, skipped: 0.
 error: nothing to extract.

Here I just rebuilt cclive from Unstable a while ago.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   3   4   5   6   7   8   >