Re: Recommendation for build environment(s)

2006-11-11 Thread Maxim Vexler

On 11/8/06, Nicolas Pillot <[EMAIL PROTECTED]> wrote:

> I'm looking for open source tools as a general guide line, but
> commercial tools could be considered too.

I'd say eclipse is a good pick. It served us well on all the
(medium-size) projects over the years, and we had the same
configuration across all the devs OSes.



Hi Nicolas,

Eclipse is (probably) not a point of doubt any more as propriety
product (SlickEdit) was chosen. I do OTOH would very much love to hear
about other tools / methodologies you've used during the development.

Thank you,
Maxim.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Recommendation for build environment(s)

2006-11-11 Thread Maxim Vexler

On 11/9/06, Kevin Mark <[EMAIL PROTECTED]> wrote:

On Wed, Nov 08, 2006 at 11:50:28AM +0200, Maxim Vexler wrote:
> Hello list,
>
> A "general question email".
>
> I'd like to get a recommendations on build environments setups,
> available today in the Linux world. Build environments should support
> C/C++ code.
>
> I'm looking for a tool / framework that would be :
>
> 1. User friendly (web interface)
> 2. Flexible (can be extended as required)
> 3. "Standard" - I want it to be based on common known tools such as GNU
> make.
>
> The intended audience is obviously developers, each working on his
> Linux workstation.
> For start each developer will be running this tool on his box to
> generate his custom builds, the next phase will be setting up build
> server with each developer committing to a build queue and co.
>
> The tool should be capable at the very least create recursive builds
> of custom written code combined with other open source libraries.
>
> I'm looking for open source tools as a general guide line, but
> commercial tools could be considered too.
>
> Thank you for your help,
> Maxim.
>
>
> --
> Cheers,
Hi Maxim,
that seems like a rather broad questions to ask. I could say:
Build tool: make
Build environment: vim
framework: gcc compiler collection (c, c++, fortran, etc.)

You should search the Debian archives which contains 16,000+ packages. In
there you will find many tool, languages and toolkits: perl, ruby,
python, php, lisp, ada, etc. There is even m$-compible c# mono and Sun
java compatible tools. There are gtk, qt, athena widgets, gnustep and
more. Debian also has tools that its developers use to make Debian
software in both a manual and automated fashion.



Hello Kevin,
Following your suggestion I'll focus my question further.


What do you want to build with this? web apps, embedded software,
console tools for system administraion or ? A simple set of programs for
a computer class project?



We're aiming to develop C based software, both console and embedded.
The development IDE of choice is SlickEdit, code repository is
obviously subversion. Everything else is changeable.

What I'm looking for is a method to ease the life of my developers and
enhance the development process; I want them to be able to custom
compile features of their code using some form of tags / switches. I
want them to be able to easily compile their code against other open
source libraries we're using. I want them to not be needing to have
the knowledge of compiling a Linux kernel. I'm talking about
automation the "messy" development details so that developers could
concentrate on writing code.

I've been looking at several different projects for the various tasks
outlined above, attached as links at the end of this message. What I'm
asking of d-u is for tips, links, references and anything else that
might apply to such setup as I've never done anything such as this
before. I should also note that the development / production
environment is not entirely Debian based, there are RH machines as
well and more are probably to appear as needed.

Following is a list of FOSS projects I've been looking into, most of
them are looked up via Google (i.e. not all are .deb packaged).

Build tools other then "make"
-
OCamle - http://omake.metaprl.org/index.html
SCons (Cross Platform) - http://www.scons.org/
Boost Build System - http://boost.sourceforge.net/boost-build2/


Build Environments
--
http://termite.sourceforge.net/
http://buildbot.sourceforge.net/


Trac

OSS project demo - http://code.djangoproject.com/
List of corporate users - http://trac.edgewall.org/wiki/TracUsers


Development Ideas
-
http://www.catalysis.org/


Graphical SVN clients

http://jsvn.alternatecomputing.com/
http://esvn.umputun.com/
http://rapidsvn.tigris.org/screenshots.html
http://ar.oszine.de/projects/qsvn/sc...ts_0.4.0.shtml
http://www.alwins-world.de/programs/kdesvn/snapshots/

Make generators

http://www.cmake.org/HTML/Index.html
http://doc.trolltech.com/3.0/qmake-manual.html




Cheers,
Kev
--
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


-BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFUqGdv8UcC1qRZVMRAqjOAJ9k17XURjMvyInSwS4/8fQQ6XFnbACdEgYt
maooLC5qXJDC+AEDtma4loU=
=lq8Z
-END PGP SIGNATURE-






Thank you in advance for your help.

Maxim.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Recommendation for build environment(s)

2006-11-08 Thread Maxim Vexler

Hello list,

A "general question email".

I'd like to get a recommendations on build environments setups,
available today in the Linux world. Build environments should support
C/C++ code.

I'm looking for a tool / framework that would be :

1. User friendly (web interface)
2. Flexible (can be extended as required)
3. "Standard" - I want it to be based on common known tools such as GNU make.

The intended audience is obviously developers, each working on his
Linux workstation.
For start each developer will be running this tool on his box to
generate his custom builds, the next phase will be setting up build
server with each developer committing to a build queue and co.

The tool should be capable at the very least create recursive builds
of custom written code combined with other open source libraries.

I'm looking for open source tools as a general guide line, but
commercial tools could be considered too.

Thank you for your help,
Maxim.


--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Packaging tags

2006-09-01 Thread Maxim Vexler

On 9/1/06, Benjamí Villoslada <[EMAIL PROTECTED]> wrote:

Hi,

aptitude show or apt-cache show, shows the tags program:

apt-cache show kpoker|grep -i tag
Tag: game::card, interface::x11, suite::kde, uitoolkit::qt, use::gameplaying,
x11::application
Tag: game::card, interface::x11, suite::kde, uitoolkit::qt, use::gameplaying,
x11::application

ncurses aptitude version shows installed programs in a tree: «games».

I've searched in apt-cache and aptitude man and googled, but don't locate a
command-line based program to list installed programs filtered (or not) by
tags.  Any idea?  Thanks :)


--
Benjamí
http://blog.bitassa.cat



Have you tried debian wiki?
No clue if what you look for is in the wiki but it worth a shot:
http://wiki.debian.org/DebTags

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


Re: detect shell script language

2006-09-01 Thread Maxim Vexler

On 9/1/06, Lorenzo Bettini <[EMAIL PROTECTED]> wrote:

Ron Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Lorenzo Bettini wrote:
>> Hi
>>
>> I need to detect the actual programming language of a script.
>>
>> A way of detecting it is to examine the first line searching for the
>> "sha-bang" (#!), e.g.,
>>
>> #!/bin/bash
>>
>> or
>>
>> #!/usr/bin/perl
>>
>> However, there are cases where this is not enough, since the script,
>> although it has #!/bin/sh is actually written (and interpreted) in
>> another language, e.g., Tcl.
>>
>> So my question is, is there another way of detecting the actual
>> language?  I mean, another convention?
>
> Is this internal to the script, or external (looking in)?
>

I need to detect the language of the script in order to highlight it
accordingly (GNU source-highlight http://www.gnu.org/software/src-highlite)

for instance I have some tcl scripts that start as follows:

#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
exec wish "$0" -- "$@"

and I want them to be colorized as a Tcl script instead of a shell script

> I don't think that you can accurately do what you want, because a
> script can call multiple interpreters.
>
>   #!/bin/bash
>   echo 'A shellism'
>   python <   print 'This is a python scriptlet'
>   print 'It can do many things'
>   EOF1
>   echo 'another shellism'
>   perl <   {
>   print "This is a Perl scriptlet\n";
>   print "It also can do many things\n";
>   }
>   EOF2
>   echo 'a third shellism'
>

well that's not a big problem for what I'd like to do :-)

thanks in advance
Lorenzo

--
+-+
|  Lorenzo Bettini  ICQ# lbetto, 16080134 |
|  PhD in Computer Science|
|  Dip. Sistemi e Informatica, Univ. di Firenze   |
|  Florence - Italy(GNU/Linux User # 158233)  |
|  Home Page: http://www.lorenzobettini.it|
|  http://music.dsi.unifi.it XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite   |
|  http://www.gnu.org/software/gengetopt  |
|  http://www.lorenzobettini.it/software/gengen   |
|  http://www.lorenzobettini.it/software/doublecpp|
+-+


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




(I'm thinking out loud here)

How about identifying patterns specific to each shell, and then
implementing an algorithm that would produce score for each shell
match. The one with the highest score will be the one used by
src-highlite. This perhaps should be a standalone utility/lib, a fact
that would allow it to be used in other implementation besides
src-highlite.

BTW, src-highlite is great. Thank you Lorenzo for adding another tool
to my already unbelievably huge free software tools arsenal.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




What's up with Debian package repository of etch / i386 ?

2006-07-02 Thread Maxim Vexler

Hi everyone

Does any one have any idea what is happening :

http://mirror.hamakor.org.il/pub/mirrors/debian/dists/etch/Contents-i386.gz
http://http.us.debian.org/debian/dists/etch/Contents-i386.gz
http://ftp.ch.debian.org/debian/dists/etch/Contents-i386.gz

They are all 1k in size.
And it breaks my apt-file :(


Any bug reports / policy changes / announcements / ideas ?

Thank you,
Maxim.

--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How do I change default pdf viewer for firefox 1.5 ?

2006-04-17 Thread Maxim Vexler
On 4/17/06, Sumo Wrestler (or just ate too much)
<[EMAIL PROTECTED]> wrote:
> Maxim Vexler wrote:
> > Hello everyone.
> >
> > I'm trying to configure the default application to be used when
> > opening pdf files from FireFox. The current (default) application is
> > /usr/bin/gpdf, I wish it to be /usr/bin/evince.
> > [...]
>
> Place these lines in your ~/.mailcap file:
>
> application/pdf; /usr/bin/evince %s
> application/x-pdf; /usr/bin/evince %s
>
> Create the file if it doesn't already exist.
>
>

Wonderful !

I ended up editing my global /etc/mailcap.
This file did showed up in my "brute force" search but I never
bothered checking it because I never thought it might be levent.

One has to wonder why the funny "mail" name for a mime file?


Thank you.


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


How do I change default pdf viewer for firefox 1.5 ?

2006-04-16 Thread Maxim Vexler
Hello everyone.

I'm trying to configure the default application to be used when
opening pdf files from FireFox. The current (default) application is
/usr/bin/gpdf, I wish it to be /usr/bin/evince.
I'm using Debian stable w/ backports.org.
FireFox version 1.5.0.1 @ Gnome 2.8.3 as my desktop environment.

To note that this is not the first time I tackle this issue.
I've went through google several times by now, I've also tried to look
at the FAQ of mozillazine. I asked for help at FireFox dedicated
forums [1] with no luck.

Finally I've decides to do a "brute force" on my system.
I ran the following query:
<<<
find -type f / -exec grep -iHl gpdf '{}' \; > gpdf_rootfind.txt
>>>
The results of it (after I took the liberty of cleaning out obvious
junk such as /proc /tmp and co.) can be seen at the following link [2]

Based on that info I've tried to edit some files that seemed relevant
but non (at all) had any affect on my Fox.

Any help with this most frustrating issue would be very much appreciated.


Edit diff's are as follows:

1.
--- /etc/gnome-vfs-2.0/defaults.list2006-04-16 23:06:24.916060232 +0300
+++ /etc/gnome-vfs-2.0/defaults.list_old2006-04-16
23:06:02.794423232 +0300
@@ -52,3 +52,3 @@
  text/plain=gedit.desktop
-application/pdf=evince.desktop
+application/pdf=gpdf.desktop
  application/postscript=ggv.desktop


# External Links #
[1] http://forums.mozillazine.org/viewtopic.php?t=405019
[2] http://pastebin.com/663687

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Replacement for Nessus

2006-02-26 Thread Maxim Vexler
On 2/23/06, Juergen Fiedler <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I used to run Nessus on a semi-regular basis to make sure that my
> firewall is still doing what it is supposed to do. With the latest
> version of Nessus not actually being all that free anymore, I find
> myself looking for alternatives: Something that looks for open ports
> on my system and also gives me an overview of the risks the software
> listening on those ports may pose. For example, Nessus didn't just
> observe that I have an HTTPS server running, but also that I was
> allowing weak encryption schemes.
> Do you know of anything out there that might serve a similar purpose?
> It would be really, really nice if such a program would run in a
> text console (which was possible with Nessus, but a bit of a pain).
>
> Thanks,
> Juergen
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFD/eCihqmlHrBtR3kRAiiDAKCOUbSRumPAO9tuWunaRrRVJ5IDVgCgqk3g
> vNjIfiRx+POWCNTTKLNLCFo=
> =UqLJ
> -END PGP SIGNATURE-
>
>
>

Check http://www.metasploit.com/

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: file transfer between two debian sarge machines in a lan

2006-02-25 Thread Maxim Vexler
On 2/24/06, L. V. Gandhi <[EMAIL PROTECTED]> wrote:
> On 2/23/06, Ralph Katz <[EMAIL PROTECTED]> wrote:
> > I transfer files and maintain systems on the lan all the time with scp
> > and ssh which are configured to avoid re-typing passwords.  There's a
> > good discussion here:
> >
> > Password-less logins with OpenSSH
> > http://www.debian-administration.org/articles/152
> >
> > I prefer to use passwords but only need to enter one password to enable
> > all the others, as described above.
> Thanks Ralph, Mike, Anthony, Magnus, Philippe and Felipe.
> I think I was not clear in my statements. Two machines A and B are in
> lan coonected to DHCP server which gives random ip addresses on each
> boot. They are not constantly on. Each machine has only one user. Both
> ids are different. I am not very good at networking. I used
> passwordless ssh when both machines had same user with same uid and
> machines had static ip. Here users are different and IP allocated is
> different in every boot.  Configuring dhcp server is not under the
> user control.
> In such a case, how to find what IP is allocated to other machine so
> that ssh can use that host.
> Purpose is simply to transfer a file to other pc so that other user
> can use it may be mp3 file or docs etc.
> --
> L.V.Gandhi
> http://lvgandhi.tripod.com/
> linux user No.205042
>

What device handles the dhcp leases of the 2 pc's ?

It would be wise to install bind (or some less robust DNS server in
your case) and have the machines do a dynamic dns updates to this DNS
server each time the are rebooted.

http://www.debian-administration.org/articles/343


Later on you would access the machine's not by IP but by dns name. In
the same way you access debian.org rather then 192.25.206.10

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


How to produce a list of all the packages that can be 'dpkg-reconfigure'd

2006-01-24 Thread Maxim Vexler
Hello,

From time to time the dpkg-reconfigure pops up in this list a possible
solution the various problem with the installed packages.

I would like to know please how can I extract the list of possible
values that can be feeded to the dpkg-reconfigure utility. Is there a
hardcoded list or is this info containd inside the .deb file itself,
and if so how can I extract this info from the package on my system ?
Let hypothetically assume I want to reconfigure each and every package
on my system, that is without the obvious --all directive, can I do
this ? How ?


Thank you very much.
Maxim.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: how to get a clean xserver-xorg installation?

2006-01-24 Thread Maxim Vexler
On 1/23/06, Christof Hurschler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having trouble getting my xserver to run on an unstable machine which I
> just upgraded.  kdm runs, pauses on login and returns without entering any
> desktop (KDE or otherwise).  I am getting an error:
>
>  error opening security policy file
> /usr/X11R6/lib/X11/xserver/SecurityPolicy
>
> which after some Googeling seems not to be the problem (or is it?).
>
> I've used dpkg-reconfigure xserver-xorg to try to get it running to no
> avial, and I suspect there is some config file mixup. How can I get a really
> clean xorg setup?  apt-get remove --purge xserver-xorg doesn't seem to do
> the trick, I still get old config file warnings etc.
>
> It worked before the dist-upgrade, has a (lspci) Radeon 9200 PRO, dpkg
> showed a drm error ("without lock") until I turned off dri in
> dpkg-reconfigure xserver-xorg.
>
> Any suggestions?
>
> Thaks,
>
> Chris
>
> --
> DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
> GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl

Trying deleting ~/.qt/.qtrc.lock

You can do this for a multi user system by using find
<<<
find /home/ -type f -name .qtrc.lock -exec rm '{}'  \;
>>>


HTH

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


What package should I use to create l2tp tunnel on debian stable ?

2006-01-24 Thread Maxim Vexler
Hello list

I'm looking to create l2tp tunnel from my linux box to a win2k3 server
machine using l2tp protocol. I search the package list but failed to
find anything in the official Debian repositories that would be
suitable for the job.
Am I missing something ?

I am aware of the l2tpd project, but it's not in the stable tree.
I would prefer something that passed debian's QA check.


Thank you for helping.


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: / suddenly Read-only

2006-01-16 Thread Maxim Vexler
On 1/17/06, Ken Heard <[EMAIL PROTECTED]> wrote:
> Karsten M. Self wrote:
>
> > This can indicate a problem with the filesystem is throwing errors.
> > Your root filesystem is typically mounted with an 'errors=remount-ro'
> > option, meaning the drive is remounted read-only if an error occurs.
>
> This particular option is at the moment causing me considerable grief.
>   And I really wonder why it needs to be there.
>
> When last week I installed "Sarge" the defaults option got left out of
> the root directory mount line in the fstab. I edited fstab to add it, so
> that that line read as follows:
>
> /dev/mapper/SOL-root   ext3   drfaults,noatime,errors=remount-ro  / 0 1
>
> Because defaults was mispelled, the root directory has been locked 
> ever
> since, making the machine unuseable.
>
> I tried various ways of solving this problem short of a complete
> reinstallation, including doing a Knoppix live installation, but so far
> have not found one.  (For details of what I did, see my post of a few
> minutes ago entitled "Re: Most directories locked read-only:  how to
> unlock them?"
>
> This read only option for the root directory strikes me as very
> dangerous because it can turn a typographical error into a major
> catastrophe.
>
> Regards,
> --
> Ken Heard
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

If that an LVM mapper you should look at "Moving a volume group to
another system" recipe [1]. The "other system in your case would be
live knoppix cd. Just remember to do an "export" prior to rebooting
the system, otherwise you risk in data corruption.

Please report back how it went.

[1] : http://www.tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html

HTH

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Centralized user management: what is best?

2006-01-14 Thread Maxim Vexler
On 1/14/06, Jay Zach <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mauro Condarelli wrote:
> > Hi,
> > I have a small (<8 hosts) lan with mixed Linux (debian) and winXP hosts.
> > Up to now I managed the debian hosts manually (copying /etc/passwd, 
> > /erc/groups, ..., manually), but that is a real pain.
> > I did recently suffer a severe breakdown so I reinstalled most of the 
> > machines.
> > At this point I would like to setup some centralized way to manage the 
> > whole network.
> > I would like to manage:
> > - users (<20)
> > - file servers (2)
> > - printers (3)
> > - firewall (ADSL, fixed IP, currently managed with shorewall/webmin)
> > - mail (currently on a separate host, but I plan to move it to the firewall)
> >
> > In the past I used NIS, but that is UNIX-only.
> > I know there's OpenLDAP, but I never used it.
> > Probably some other package is available.
> >
> > Question is:
> > Given the needs, what is the "best" solution?
> > Should I bother at all? (the main reason I want to install some management 
> > is that I began having a lot of permission problems when I moved hard disks 
> > from one host to another; I know how to fix them, but I would like to avoid 
> > re-doing all that next time...).
> > Can someone point me in the right direction? I would like to avoid false 
> > starts.
> >
> >
> > Thanks in Advance
> > Mauro
> >
> >
>
> A year ago, I was in the same boat as you. I now have all my Linux 
> machines
> authenticating to OpenLDAP database, and all my Windows machines 
> authenticating
> to a Samba domain, which is using the same LDAP db as it's backend.   It took 
> a
> lot of work and a lot of how-to reading, but I finally made it ;)
>
> I started small, just getting the LDAP database working.  I then went on to
> figure out how to use PAM, nsswitch, et al, to auth my linux workstations to 
> ldap.
>
> Finally I got my Samba server working as a Windows domain, and using LDAP.  It
> was a long road, but worth it, and I now have much more knowledge of the 
> subject.
>
> Contact me if you want my pertinent config files.

Sounds like a great debian-administration.org article.
:)

>
> Good Luck :)
> - --
> - 
> 
>
> Always leave room to add an explanation if it doesn't work out.
>
> Saturday Jan 14, 2006
>
> - 
> 
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iQEVAwUBQ8knea3rZxntQpytAQKz9ggAipnK/tEURCbQ084vWpmR+NXydR+0Nu+R
> imETzIojoKfOQDzH6PqdbY3irePxwvgbHUWy+Pzxw2peBWpYbwe8QC/ClzWn/9n/
> qn9IN//MYHKhIKVUsfkNO7KFtubk8l6osQb/C2PAQjNOJrjFJ1a7QVm3pNluTlVj
> vpxndt58KDQgwBVNZ2KVy/2BE9zU0dIDZAhDAHf8O73KfuV/6VHqnhGljcknUs6K
> oek0Nc7GcTC46VUEc59n5zvtybbTNOJKfuOikdlHrFdN8pkdN/sbsz8knMKfSAHz
> BYcO/Uewplmv5Uzd8mtGkAEQpAeawW//pC70L1FLVt787gg3JO+Dqw==
> =Jvbe
> -END PGP SIGNATURE-


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


[SOLVED]Re: apt ignores apt.conf settings

2006-01-08 Thread Maxim Vexler
On 1/8/06, Adam Porter <[EMAIL PROTECTED]> wrote:
> Where did you find those settings for "APT::Periodic"?  I've never heard of
> them, and my searches turned up dry.  Are you expecting that setting those
> will cause apt-get or aptitude to automatically download new packages?  I
> don't think that's the case; something has to actually execute the commands
> to download--apt isn't a daemon.
>

From /etc/cron.daily/apt

# This file understands the following apt configuration variables:
#
#  "APT::Periodic::Update-Package-Lists=1"
#  - Do "apt-get update" automatically every n-days (0=disable)
#
#  "APT::Periodic::Download-Upgradeable-Packages=0",
#  - Do "apt-get upgrade --download-only" every n-days (0=disable)
#
#  "APT::Periodic::AutocleanInterval"
#  - Do "apt-get autoclean" every n-days (0=disable)
#

later on in the script:

eval $(apt-config shell UpdateInterval
APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval
APT::Periodic::Download-Upgradeable-Packages)
AutocleanInterval=$DownloadUpgradeableInterval
eval $(apt-config shell AutocleanInterval APT::Periodic::Autoclean)

As you can see, those options do exist.

I have managed to get this working simply by changing the format :
Instead of having,
<<<
APT::Periodic::Update-Package-Lists=1
>>>

I wrote
>>>
APT::Periodic::Update-Package-Lists 1
<<<

And now all is working:
<<<
$ ls -l /var/lib/apt/periodic/
total 0
-rw-r--r--  1 root root 0 2006-01-08 06:26 autoclean-stamp
-rw-r--r--  1 root root 0 2006-01-08 06:26 download-upgradeable-stamp
-rw-r--r--  1 root root 0 2006-01-08 06:25 update-stamp
>>>

I'm happy :)



> For authentication, a better solution would be to add the keys to apt's
> keyring; by working around it you're throwing out the security it offers.
>

Yes, you are quite right.
This is solvable by issuing a
<<<
wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
>>>
I simply saw in this situation a good opportunity for testing the
apt.conf file, to see if it has effect on my system. The funny thing
is that while looking for a solution this this GPG problem, I solved
another one (the one above).


> For the default release, well, I don't know about "APT::Default-Release",
> but I know that pinning in /etc/apt/preferences works.
>

Could you please attach here your pinning options ?
Default-Release does work but causes me other problems that I believe
would be solved by using pinning.


Thank you for helping.

>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


apt ignores apt.conf settings

2006-01-06 Thread Maxim Vexler
Hi debian,

It's seem that I have an especially stubborn apt on my hands.
Each of the settings I put in my /etc/apt/apt.conf are getting
blatantly ignored by apt.

# cat /etc/apt/apt.conf
APT::Default-Release "testing";

APT::Periodic::Update-Package-Lists=1;
APT::Periodic::Download-Upgradeable-Packages=1;
APT::Periodic::AutocleanInterval=30;

APT::Get::AllowUnauthenticated 1 ;

# apt-show-versions apt
apt/testing uptodate 0.6.43

As you can see, I have setted the "AllowUnauthenticated" option, as
mentioned in [1] but I still receieve the "Untrusted package" 
warnings.

Also, to my knowladge, no periodic downloading or updating of anything
is occuring.


Help?
Thank you for reading.

<<<
# aptitude install sawfish
[snip]
The following NEW packages will be installed:
  libgmp3c2 librep9 rep rep-gtk sawfish
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2299kB of archives. After unpacking 8770kB will be used.
Do you want to continue? [Y/n/?] yes
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  sawfish rep-gtk librep9 libgmp3c2 rep

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No":
>>>

Or

<<<
# aptitude update 1>/dev/null
W: GPG error: http://mirror.hamakor.org.il unstable Release: The
following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 010908312D230C5F
W: GPG error: http://mirror.hamakor.org.il testing Release: The
following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems
>>>


[1] : http://www.debian-administration.org/articles/174


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: cron doesn't run /etc/cron.d jobs why is that ?

2005-12-25 Thread Maxim Vexler
On 12/25/05, Maxim Vexler <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> For some reason, jobs defined in /etc/cron.d doesn't get picked up by
> cron, while jobs from /etc/cron.{hourly,daily,weekly,monthly} do !
>
> I have verified this by putting the following commands in /etc/cron:
>
> $ apt-show-versions cron
> cron/testing uptodate 3.0pl1-92
> $ ps aux  | grep cron
> root  1569  0.0  0.1   1880   948 ?Ss   12:00   0:00 
> /usr/sbin/cron
>
> $ ls -la /etc/cron.d/testcron
> -rwxrwxrwx  1 root root 67 2005-12-25 13:47 /etc/cron.d/testcron
>
> $ cat /etc/cron.d/testcron
> */1  * * * *  root echo $(date "+%H%M%S") > /tmp/LastRunBy_cron.d
>
> $ ls -la /etc/cron.hourly/testcron
> -rwxr-xr-x  1 root root 281 2005-12-25 13:45 /etc/cron.hourly/testcron
>
> $ cat /etc/cron.hourly/testcron
> #!/bin/sh
> echo $(date "+%H%M%S") > /tmp/LastRunBY_cron.hourly
>
>
> I have also tried to touched /etc/crontab and even did a reboot to the system.
>
> After letting it run for 3 hours, here is the output :
>
> $ ls /tmp/Last*
> /tmp/LastRunBY_cron.hourly
> $ cat /tmp/LastRunBY_cron.hourly
> 171701
> $
>

Replying to myself :)

All was OK, the only thing that was wrong was my test syntax, it
appears that when using cron.d to run sh scripts the % character
should be escaped otherwise it gets interpreted as a newline [1].

After applying the above, the file looks like this
# cat /etc/cron.d/testcron
*/1  * * * *  root /bin/echo $(/bin/date "+\%H\%M\%S") > /tmp/LastRunBy_cron.d
# cat /tmp/LastRunBy_cron.d
064701

[1] : http://www.brandonhutchinson.com/crontab_errors.html

Thank you and happy new year.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


cron doesn't run /etc/cron.d jobs why is that ?

2005-12-25 Thread Maxim Vexler
Hello list,

For some reason, jobs defined in /etc/cron.d doesn't get picked up by
cron, while jobs from /etc/cron.{hourly,daily,weekly,monthly} do !

I have verified this by putting the following commands in /etc/cron:

$ apt-show-versions cron
cron/testing uptodate 3.0pl1-92
$ ps aux  | grep cron
root  1569  0.0  0.1   1880   948 ?Ss   12:00   0:00 /usr/sbin/cron

$ ls -la /etc/cron.d/testcron
-rwxrwxrwx  1 root root 67 2005-12-25 13:47 /etc/cron.d/testcron

$ cat /etc/cron.d/testcron
*/1  * * * *  root echo $(date "+%H%M%S") > /tmp/LastRunBy_cron.d

$ ls -la /etc/cron.hourly/testcron
-rwxr-xr-x  1 root root 281 2005-12-25 13:45 /etc/cron.hourly/testcron

$ cat /etc/cron.hourly/testcron
#!/bin/sh
echo $(date "+%H%M%S") > /tmp/LastRunBY_cron.hourly


I have also tried to touched /etc/crontab and even did a reboot to the system.

After letting it run for 3 hours, here is the output :

$ ls /tmp/Last*
/tmp/LastRunBY_cron.hourly
$ cat /tmp/LastRunBY_cron.hourly
171701
$

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: What would I do without partimage?

2005-12-15 Thread Maxim Vexler
On 12/15/05, Arafangion <[EMAIL PROTECTED]> wrote:
> On Thursday 15 December 2005 13:25, William Ballard wrote:
> > I literally would be unable to use Microsoft Windows if I couldn't stay
> > mostly booted in Debian and manage that godawfulness with partimage.
> >
> > Every time I boot into it I restore a clean partimage of XP, let it puke
> > all over itself, then restore the cleanness.
> >
> > It's the only thing that makes patching Windows remotely tolerable.
> >
> > Eventually partimage will stop working on new versions of NTFS, and it
> > seems to not be maintained anymore.  It was removed from Sarge.
> >
> > Are there other tools that work like Ghost but in Linux?  Partimage is
> > great.
>
> You could use dd, and compress the image, or use an emulator with a COW disk
> image.
>

Here is a cool one liner for the above :

dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish
[EMAIL PROTECTED] "gzip -d | dd of=/dev/hda bs=1k"

For more info, read : http://slice.med.uottawa.ca/public/manuals/ImageDisk.html

>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Maxim Vexler
On 12/12/05, Andrew Cady <[EMAIL PROTECTED]> wrote:
[snip]
>
> You could try putting a sulogin immediately before the mythbackend
> script in your runlevel then running mythbackend manually.  If it works
> you've ruled out ordering and should check for environment problems by
> stopping mythbackend, putting it last in the runlevel and proceeding to
> boot; if that works you've ruled out environment and should investigate
> the race condition.
>
> A more direct approach may be to get mythbackend to tell you why it's
> failing.
>

I'm having similar problems to the original poster, but with a
different application.
Could you please clarify your way of debugging the subject.

I mean for the sulogin issue, what should be checked after executing
the command? In what state (that is relevant for debugging) the system
should be now, is the environment kept when doing sulogin ?


Thank you.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Help understanding this apache2 directive from apache2.conf

2005-11-30 Thread Maxim Vexler
Hi,

In [/etc/apache2/apache2.conf] file there's this line :
<<<
# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*
>>>

What does the [^.#]* say ?
I know that it's regular expression but I've yet to see this regex syntax...

Is it: "Match any file Not beginning with any char followed by #" 0 or
more times ?


Thank you.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: [root user] How to disable root account?

2005-11-30 Thread Maxim Vexler
On 11/30/05, Dick Davies <[EMAIL PROTECTED]> wrote:
> On 30/11/05, Michelle Konzack <[EMAIL PROTECTED]> wrote:
> >
> > grep -vE "^root:" /etc/passwd >/etc/passwd.tmp
> > mv /etc/passwd.tmp /etc/passwd
> >
> > grep -vE "^root:" /etc/shadow >/etc/shadow.tmp
> > mv /etc/shadow.tmp /etc/shadow
> >
> > grep -vE "^0:" /etc/group >/etc/group.tmp
> > mv /etc/group.tmp /etc/group
> >
> > grep -vE "^0:" /etc/gshadow >/etc/gshadow.tmp
> > mv /etc/gshadow.tmp /etc/gshadow
>
> That's a joke, isnt' it?
>
> --
> Rasputin :: Jack of All Trades - Master of Nuns
> http://number9.hellooperator.net/
>
>

I don't think so, actually its rather nice.
"The ultimate root termination technique" ;)

Unpractical of course because when you will need to alter any system
wide settings you would be forced to reboot your machine and use the
init=/bin/bash boot parameter, but for "kiosk" type setups this is
quite a good tip IMHO.


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: [root user] How to disable root account?

2005-11-26 Thread Maxim Vexler
On 11/26/05, Fredrik <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > On Fri, Nov 25, 2005 at 01:33:34PM +0200, Maxim Vexler wrote:
> >
> >>On 11/25/05, Robert Brockway <[EMAIL PROTECTED]> wrote:
> >>
> >>>Anyone wanting to lock the root account (not a good idea IMHO) should have
> >>>a root enabled session (sudo, su or whatever) put to the side and not
> >>>touched during the procedure.  This session would be used only to reverse
> >>>the procedure if it was found that establishing superuser privs was no
> >>>longer possible in new sessions.
> >>
> >>In the worst case, couldn't someone just boot from a livecd, run
> >>[passwd root], then [cat /etc/shadow | grep root] on the livecd and
> >>finally simply copying that entry into the locked out system shadow
> >>file ?
> >
> >
> > That's doing it the hard way.  Just pass "init=/bin/sh rw" to the kernel
> > with your bootloader, and do:
> > # passwd root
> > # mount -o ro,remount / && reboot
> >
> > If your bootloader has a password and you've lost that, you can use a
> > boot disk, but you still shouldn't muck around with the passwd & shadow
> > files directly, probably ever.  Just mount the root filesystem and
> > chroot /mnt passwd (or visudo) as root.
> >
> >
> Well, to hack a PC with physical access is easy.
> That is why i'm krypted my hd with blowfish-256.
>
> It will take thousands of years to hack :-)
>

And would render data recovery in case of HD failure impossible.
I really don't think that for a regular home user block level hd
encryption is a good idea.

That is unless you maintain a strict backup policy and use a raid1 / 5
/ 10 data duplication storage OR you really do have something to hide
;)

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: DHCP with Static Addresses

2005-11-25 Thread Maxim Vexler
On 11/25/05, Kenneth Jacker <[EMAIL PROTECTED]> wrote:
>   am> If you're using DHCP and you want to have "static" IPs for your
>   am> devices what you need to do is assign a static lease on the DHCP
>   am> server.  Assuming you're using dhcpd you'll want something
>   am> similar to this in your dhcpd.conf:
>
>   am> host yourhostname {
>   am>   hardware ethernet 00:11:22:AA:BB:CC;
>   am>   fixed-address 192.168.0.123;
>   am> }
>
> Good idea!
>
> However, 'dhcpd' is running within my LinkSys router, not on one of my
> Debian boxen ...
>
> I spent quite a few minutes going through the router's option pages,
> but couldn't see a way to specify this.
>
> Anyone know how to configure a LinkSys router to use the above approach?
>
>
> Thanks for everyone's comments/suggestions,
>
>   -Kenneth
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

I believe you would find man page of interface(5) useful for your needs.
Especially concentrate on the mapping script

Quoting the man page:
<<<
   Stanzas defining logical interfaces start with a line consisting of the
   word  "iface" followed by the name of the logical interface.  In simple
   configurations without mapping stanzas this name should simply  be  the
   name  of  the  physical  interface  to which it is to be applied.  (The
   default mapping script is, in effect, the echo command.)  The interface
   name  is  followed by the name of the address family that the interface
   uses.  This will be "inet" for TCP/IP networking,  but  there  is  also
   some support for IPX networking ("ipx"), and IPv6 networking ("inet6").
   Following that is the name of the method used to configure  the  inter-
   face.
>>>

You could set inside the mapping script a "static" IP but let dhcp
configure the rest.
See also /usr/share/doc/ifupdown/examples/network-interfaces.gz for
"confirmed" mapping examples.

HTH

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: [root user] How to disable root account?

2005-11-25 Thread Maxim Vexler
On 11/25/05, Robert Brockway <[EMAIL PROTECTED]> wrote:
> On Thu, 24 Nov 2005, Björn Lindström wrote:
>
> > passwd -l simply sets the password to a value matching no
> > passwords. sudo works by running SUID root, and so does not depend on a
> > root password in any way.
>
> Actually that depends on how sudo is configured.  In some configurations
> sudo does depend on the root password (rather than the user a/c password)
> for authentication.
>
> Anyone wanting to lock the root account (not a good idea IMHO) should have
> a root enabled session (sudo, su or whatever) put to the side and not
> touched during the procedure.  This session would be used only to reverse
> the procedure if it was found that establishing superuser privs was no
> longer possible in new sessions.
>
> Rob
>
> --
> Robert Brockway B.Sc.   Phone:  +1-416-669-3073
> Senior Technical Consultant Email:  [EMAIL PROTECTED]
> OpenTrend Solutions Ltd.Web:www.opentrend.net
> We are open 24x365 for technical support.  Call us in a crisis.
>

In the worst case, couldn't someone just boot from a livecd, run
[passwd root], then [cat /etc/shadow | grep root] on the livecd and
finally simply copying that entry into the locked out system shadow
file ?

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


GnuPG usage for mediawiki inline content encryption ?

2005-11-24 Thread Maxim Vexler
Hello debian,

I'll describe in a line or two what I'm planning to do, and would like
to consult with you on the implementation.

I'm building a semi personal wiki website.
For general usage I wish to use no protection (the natural wiki
working mode), but for personal sensitive data I wish to post the text
into the wiki using encrypted form. For this I wish to use GnuPG to
create a 2 key pair, and offering the appropriate key to my users that
should be able to read the protected data.

I'm not so fluent into cryptography, so basically my question comes to this:
1. Is it possible to use GnuPG in the manner described above ?
2. What key should I provide my trusted users (My public, their private) ?
(( The trick here is that I'm encrypting the data today, but tomorrow
I'll wish to allow user newfoo to read the text, obviously I did had
the public key of that user in the time of encryption... Besides, I do
not wish to create for every user her own version of the encrypted
text, I'm looking for some way to generalize the key pairs so that all
my users could use just one key ))
3. Is there maybe already a wiki (mediawiki) module that utilizes this
in some way that I can build onto* ?


* What I'm planning to do is this :
First, encrypt some data manually, that is encrypting the text in the
terminal and then editing the wiki page to post the encrypted test.
When the user wishes to read the text she will have to copy-paste it
into her terminal and use her key to decrypted it.

Second, assuming gnupg proves to be useful, writing some kind of
module/extension/patch to the mediawiki engine to implement a 
 tags so that when the user edits a page, the text will be
encrypted automatically if placed inside the tags. When my user reads
the text, he will be propted for his key, otherwise the text will be
displayed as a downloadable text file containing only the encrypted
text.

Thank you for reading and replying.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Wallpaper

2005-11-13 Thread Maxim Vexler
On 11/13/05, Ken Wahl <[EMAIL PROTECTED]> wrote:
> http://www.glatozen.org/wallpaper/debian.php
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

The following jpg was once posted on this list.
What I did was simply recolor the background so that it won't burn my
eyes and be usable as a wallpaper.

Check it out, quite nice actually :
http://img475.imageshack.us/img475/8499/seehearspeak10x68tw45mh.jpg

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Request to remove Information

2005-11-11 Thread Maxim Vexler
On 11/11/05, Mitch Wiedemann <[EMAIL PROTECTED]> wrote:
> Weissgerber, Tom L wrote:
>
> > //Debian,//
> >
> > //The following information should not have been made available to the
> > entire public domain. Please remove the following links/files at your
> > earliest convenience. //
> >
> //
> I don't know how to break this to you Tom, but the message thread has
> already been mirrored and cached by Google.  I think you might need a
> Plan B at this point.
>
> Also, tell your bosses to reconsider moving the work out of the U.S.
> Oh, and also to reject implementing DRM and other freedom-trampling
> "features" in Intel hardware.  That would make Free Software users very
> happy.
>
> I hope your day gets better.
>
>
>
> --
>
>

Intel inside, and no way out !

;)


btw, Please forward this message to him as well :
"No freedom = No happy customers = No business = No job" (=...)


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: please help -- debian crontab and at problem

2005-11-10 Thread Maxim Vexler
On 11/11/05, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 11, 2005 at 09:06:04AM +1100, Wei Hu wrote:
>
[snip]
>
> Once possible solution is start up a "dummy" display and then let your
> cron job display to that one, either by allowing anyone to display to
> the "dummy" display or by setting up the magic cookie, or whatever other
> mechanism you choose.
>

Magic cookie? dummy display?

Please, reference / howto / web page / something to read.

> -Roberto
> --
> Roberto C. Sanchez
> http://familiasanchez.net/~roberto
>

TIA

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: gmailfs wont work !

2005-11-06 Thread Maxim Vexler
On 11/7/05, Zouari Fourat <[EMAIL PROTECTED]> wrote:
> Hello,
> am trying to work with gmailfs
> did this :
>
> apt gmailfs with fuse-utils and source
> module-assistant prepare
> module-assistant build fuse
> module-assistant install fuse
> modprobe fuse
>
> it's all working except this :
>
> fourat:/mnt# mount -t gmailfs none /mnt/gmailfs -o
> [EMAIL PROTECTED],password=gmailpassword
> fourat:/mnt# gmailfs.py:Gmailfs:mountpoint: '/mnt/gmailfs'
> gmailfs.py:Gmailfs:unnamed mount options: ['rw']
> gmailfs.py:Gmailfs:named mount options: {'username':
> '[EMAIL PROTECTED]', 'password': 'gmailpassword'}
> Traceback (most recent call last):
>   File "/usr/share/gmailfs/gmailfs.py", line 1117, in ?
> server = Gmailfs()
>   File "/usr/share/gmailfs/gmailfs.py", line 603, in __init__
> self.ga.login()
>   File "/usr/lib/python2.3/site-packages/libgmail/__init__.py", line
> 281, in login
> raise GmailLoginFailure
> libgmail.GmailLoginFailure
>
> it's not working
>
> fourat:/mnt# cat /proc/version
> Linux version 2.6.8-2-386 ([EMAIL PROTECTED]) (gcc
> version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
>
> what should i do to get it working ?

Same here.
<<<
debsrv:~# mount -t gmailfs none /mnt/gmail-drive -o
[EMAIL PROTECTED],password=PASSWORD,fsname=KickSomeMSS
debsrv:~# gmailfs.py:Gmailfs:mountpoint: '/mnt/gmail-drive'
gmailfs.py:Gmailfs:unnamed mount options: ['rw']
gmailfs.py:Gmailfs:named mount options: {'username':
'[EMAIL PROTECTED]', 'password': 'okcomeon', 'fsname': 'SomeThing'}
Traceback (most recent call last):
  File "/usr/share/gmailfs/gmailfs.py", line 1117, in ?
server = Gmailfs()
  File "/usr/share/gmailfs/gmailfs.py", line 603, in __init__
self.ga.login()
  File "/usr/lib/python2.3/site-packages/libgmail/__init__.py", line
281, in login
raise GmailLoginFailure
libgmail.GmailLoginFailure
>>>

help ?

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


The client-server terminology when referring to X (was: Remote X login)

2005-10-31 Thread Maxim Vexler
On 10/31/05, Jon Dowland <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 31, 2005 at 03:00:26PM -, marc wrote:
> > Used on the client
>   ^^
>
> Beware confusing client and server when discussing X. In X parlance, the
> server is your desktop and the machine with the applications on is the
> client. This is because the X server is running on your desktop (or
> laptop, or whatever).
>

Trying to format this into human understanding :

The application has received some input, and now needs to respond with
output - a drawing.
The application (which is running on the remote machine) says "Hi, I
need someone to do the drawing for me! That is why I am the CLIENT, I
ask the server to draw my outer self. serve me! :)

The X server (which is running on the local laptop) obeys the demands
of the application and draws what was requested from him, that is why
the laptop in question is the SERVER. He served the application and
drew what was requested from him.

The significant resource consumption in on the _client_ and NOT on the
server as one would expect. That is because all the rendering, data
structures, CPU calculation cycles, I/O and so on is done on the
client. The server (in X terminology) only receives raw drawing data,
using the mentioned XDMCP transmission, and those act's in a vary
mature manner "He told me to, so I did it" :)

Is my analogy correct ?


/// Skipping the user interaction phase, in hope that someone could
fill me in...
If the laptop in the example is the server, and yet the user is
obviously working on that laptop... How then does the application
knows what to ask the server to drew next ? Who sends the input from
the user back to the application so that it in turn could instruct the
X server what to draw next ? ///


Would love to read some clarification on this subject, as it is known
to confuse a lot of (newbie) users like me.


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Desktop Crashes

2005-10-29 Thread Maxim Vexler
On 10/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanx for the suggestion.I ran the memory test which ran fice times over
> with no errors and passed all five times.

You are welcome.
Please keep your technical replay's list public :)

>
> I don't know how to test the cpu or MB. Is there a similar package which
> performs these checks?
>


I am unfamiliar with MB or CPU specific test software.
OTOH, to test your hard drive, you could use the s.m.a.r.t technology.
Use this excellent LJ article as reference :
http://www.linuxjournal.com/article/6983

In short :
# > apt-get install smartmontools
# > smartctl -s on /dev/hd[DRIVE]

# to launch a full harddrive test do
# > smartctl -t long /dev/hd[DRIVE] -l error

# for quick test do
# > smartctl -t short /dev/hd[DRIVE] && smartctl -A /dev/hd[DRIVE] | less

HTH

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Desktop Crashes

2005-10-29 Thread Maxim Vexler
On 10/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I love my new Debian distro because the package management is great.
> However, I have been having serious problems with the desktop, both
> Gnome and KDE.
> Firefox regularly crashes during downloads or when clicking an upload
> button on a html form or when encountered with websites like ebay, which
> make heavy use of javascript.
> Also GIMP crashes as soon as I ask it to save something, which as you can
> imagine is pretty annoying.
> Never had these problems with SuSE or other distros but don't want to go
> back to them as I love the debian package management system.
> As I usually work in the console only I have zero knowledge of the
> desktops and have no clue where to start looking in order to
> troubleshoot this problem. I have uninstalled and reinstalled the
> desktop many times but it has made no difference, the problem is still
> there. I have even reinstalled the entire distro but the problem still
> recurrs.
> Everyone I have spoken to who uses Debian has not experienced these
> problems and so I am wondering if the problems are related to conflicts
> with my hardware. I have installed on amilo pro laptop. Sorry I can't
> gove any more information about the problem.
>
> Any pointers in the right direction of where to start looking in order to
> troubleshoot this problem would be much appreciated.
>
>

Sound's like RAM fault.
You haven't stated your platform, but I'll assume it's x86

$ > apt-get install memtest86

%1%
If using grub as your boot loader:
Reboot your machine, at the initial boot image selection screen press
'c' to go into grub's command prompt.
grub> kernel /boot/memtest86.bin
grub> boot

%2%
Otherwise, [make-memtest86-boot-floppy] to create memtest86 floppy boot disk.


Run it to verify your RAM...

If tests show all good it might be faulty CPU or MB.

HTH

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Satisfying dependencies for [libapache2-mod-php5] on a debian stable system ?

2005-10-25 Thread Maxim Vexler
Hi

I wish to use selected packages from the unstable repository, and yet
keep my system as stable as possible. For this manner I have defined
apt as follows:

<<<
debsrv:~# cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main

deb http://mirror.hamakor.org.il/pub/mirrors/debian/ stable main
non-free contrib
deb-src http://mirror.hamakor.org.il/pub/mirrors/debian/ stable main
non-free contrib

deb http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main
non-free contrib
deb-src http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main
non-free contrib

deb http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main
non-free contrib
deb-src http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main
non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free

debsrv:~# cat /etc/apt/apt.conf
APT::Default-Release "stable";

APT::Periodic::Update-Package-Lists=1;
APT::Periodic::Download-Upgradeable-Packages=1;
APT::Periodic::AutocleanInterval=30;
>>>

The problem with this setup is that apt is incapable of satisfying
dependencies for packages like [libapache2-mod-php5] that are coming
from the unstable branch.

<<<
debsrv:~# apt-get install libapache2-mod-php5
Reading Package Lists... Done
Building Dependency Tree... Done
[ snip ]
The following packages have unmet dependencies:
  libapache2-mod-php5: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22 is
to be installed
   Depends: libssl0.9.8 but it is not going to be installed
   Depends: libxml2 (>= 2.6.21) but 2.6.16-7 is to
be installed
E: Broken packages

debsrv:~# apt-show-versions -a libc6
libc6   2.3.2.ds1-22install ok installed
libc6   2.3.2.ds1-22stable
libc6   2.3.5-6 testing
libc6   2.3.5-7 unstable
libc6/stable uptodate 2.3.2.ds1-22
>>>

As it shows that dependency can be satisfied, if only apt would be
instructed to use the testing repository. The trouble is that I DO NOT
wish to do it, I would rather instruct apt to satisfy only the most
required dependencies from the testing / unstable branch, and only
when they are requested by some package. I'm looking for an automatic
solution, that is one that doesn't include defining custom
apt_preferences(5) configurations.

Could someone please suggest a reasonable solution, or should I just
move APT::Default-Release to "testing" and be done with it?

Thank you very much,
Maxim.


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Re: Debian sarge doesn't support > 30 GB harddrive ?? (+Workaround)

2005-10-24 Thread Maxim Vexler
On 10/24/05, Bruno Buys <[EMAIL PROTECTED]> wrote:
>
> Are you positive these hdd's are bad? If these hdd's that you lebeled
> 'failing' are really bugged, get rid of them. Sarge is absolutely able
> to use 30GB without any special parameter. With only the 10GB and the
> 6.4GB in the machine, you won't even have the 30GB problem.
> By the way: whats the point on having a p4, if you deploy such a slow
> set of hdd's? Its not capacity, but speed. Get a new 7200rpm sata and be
> happy. Its worth paying for.
> Also, check if you downloaded the lastest iso's.
> And, if you decide to keep the 10GB and the 6.4GB in the machine, maybe
> its a good idea to create swaps in both, so you gain a little performance.
>

Thank you for replaying.

Perhaps I haven't made myself clear.
Please allow me to correct this now : All the hardware mentioned in my
previous post is fault free. The reason that the 6.4GB and the 10GB
worked, utilizing their full storage space, is because it didn't
existed the 30GB barrier. I was trying to utilize the full 80GB /
160GB space of the other hdd's and that is what was failing. When I
mentioned the so called "work around" I was implying that it doesn't
make any difference what's the device storage capacity really is - As
long a I weren't using (in general) more then 30GB, the setup passed
the base-system phase and finished normally.

OT: Please leave *my* hardware purchase decisions to me, unless of
curse you are willing to donate me some - In that case you are more
then welcome.
1/2 OT: In case you (actually) decide to donate me some hardware, let
me assure you it will used to promote free software in Israel (no joke
here!).

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Debian sarge doesn't support > 30 GB harddrive ?? (+Workaround)

2005-10-24 Thread Maxim Vexler
Hi

I'm installing debian sarge (either linux26 or linux24) on my P4 1.6
pc, and failing to do so. Receiving 2 different (probably unrelated)
errors that will be detailed as follows.
The current situation is that I am unable to finish the base-system
installation phase for large disks, and those living without a "real"
debian :(

Temporary workaround offered towards end of e-mail.


-- PC configuration :
MB = Gigabyte 8sRX (revision F9, then flashed to F10c)
CPU = Intel Pentium IV 1600Mhz
RAM = DDR 256mb 233Mhz (memtest86 error check passed)
HD (failing) = Maxtor YAR41BW0 160GB ATA
Westen Digital  WD800JB 80GB ATA
  (working) = Segate ST310232A 10GB ATA
   Quantum CT:224624A56IM30J 6.4GB ATA
NET = (DHCP) 8139too (Realtek Semiconductior Co. Ltd. RTL-8139/8139C/8139C+)
--


-- Problem reproduction :
=== For revision F9 of the motherboard bios the situation was as follows.
1. Sarge (kernel 2.4 & 2.6):
  1.a outputted the same error during the installation of base-system:

Console 1 <<<
[!!] Install the base syst
Debootstrap Error
Couldn't download apt.
>>>

Console 4 <<<
Oct 24 16:02:50 run-debootstrap[683]:
file://cdrom/pool/main/a/apt/apt_0.5.28.6_i386.deb was corrupt
>>>

Console 2 <<<
# To prove that debootstrap is lying.
~ # cp /cdrom/pool/main/a/apt/apt_0.5.28.6_i386.deb /
~ # md5sum /apt_0.5.28.6_i386.deb
ce8563844ee16e8367dc2991fbbfcf5 /apt_0.5.28.6_i386.deb
# Monitor -> Eye -> Keyboard copied so do allow minor typo error's.
>>>

=== For revision F10c of the motherboard bios the situation as follows.
1. Sarge (kernel 2.4) :
  1.a Screen flashes after the initial prompt of the kernel selection
(linux, expert, linux26, expert26) without any output.
Ctrl+Alt+F{1,2,3,4} work for a 1sec but then the screen resumes to
flashing. No option to even begin installation.
  1.b If loaded with [linux debian-installer/framebuffer=false] then
system load's kernel (initrd) and outputs "Segmentation fault". No
option to begin installation either.
2. Sarge (kernel 2.6) :
 2.a Same behaviour as described in section above (revision F9)
--


-- Configuration options attempted in vain.
1. Replacing CDROM.
2. Replacing PSU (new 400w generic)
3. Burning installation media (3 times!).
4. Replacing Video Card's.
5. a. Replacing Hard Drive's (different vendor's).
b. Connecting Hard Drive on hda / hdc / hdd, Single / Master /
Master with slave.
--


-- Configuration options not attempted
1. Selection a network repository instead of CDROM (Don't know how :))
2. Installing on SATA drive (None available)
3. Replacing CPU, Motherboard (Too expensive :))
--


-=-= Workaround =-=-
Be modest and use overall hard disk space no larger then 30 GB :) -
System installs as expected.
-=-=

--
This is the first time I'm installing debian, in other word's this
installation is for testing and amusement purposes only. Yet, I would
appreciate a serious replay - It sure would be much more enjoyable if
it actually worked ;).
I am ready to try everything you suggest.

Thank you taking the time to read my mail.
--


--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?


Newb question : What package will the system use if both testing and unstable sources are defined ?

2005-10-21 Thread Maxim Vexler
Hello.

I'm facing this situation on my first day with debain :

I wish to have both php5 and xorg-server installed on my system, those
packages are provided from the unstable repository - which is fine.
The problem arises with my understanding of the way apt works: If a
version of a package FOO is available both in testing and unstable
repository's which version will apt use ?
What if I wish it to pull only the php5 package from the unstable
repository but have the rest of the system installed from the testing
tree -- it that configuration possible?


Thank you.

--
Cheers,
Maxim Vexler (hq4ever).

Do u GNU ?