Re: [gentoo-user] cyrus-sasl, courier-authlib, which one? or both?

2006-01-13 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill Roberts wrote:
  By the way, I would recommend these two guides for anyone setting up an
 email server for the first time. They may not be perfect, but they are much
 easier to follow than most of the howto's I've run into.
 
 Bill Roberts

Today I've found great HOWTO copy-paste style to set postfix / mysql /
courier-imap / cyrus-sasl / spamassassin / razor / pyzor / dcc / amavis
/ clamav.

I follow it now and at this time i got succeed and to end i got to setup
spamassassin.


http://www.howtoforge.com/virtual_postfix_mysql_quota_courier

- --
Paweł Madej aka Nysander
Member of QuanTeam  | RLU #357047
http://wiki.quanteam.info   | Gentoo Linux User
http://forum-farmaceutyczne.org | GPG key: 5861680B
| keyserver: http://pgp.mit.edu
Kielce, Poland  | UTF-8 Email Preferred
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDx8khgvSMglhhaAsRAlGeAKCI8pCEaB3nvLIwaBjYI4ZGKcea0ACeJ/jV
XmwbjFOjKW/IcfN9Hjm/Wlg=
=w6R4
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.15 gentoo-sources emerge

2006-01-06 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
 Hi,
I noticed this line as I was emerging gentoo-sources this morning.
 (Yuk...4:30AM this morning...) Is it a problem?
 
 * Applying 4905_alpha-sysctl-uac.patch (-p0+) ... 
  [ ok ]
 awk: cmd. line:1: fatal: cannot open file
 `/home/portage_temp/portage/gentoo-sources-2.6.15/work/linux-2.6.15-gentoo/include/linux/version.h'
 for reading (No such file or directory)
 
 Thanks,
 Mark
 

I think you should file a bug on bugzilla.gentoo.org so the problem
could be seen by kernel developers

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
key fingerprint: 34A9 B8BB DFA2 4F0B EFB5  CE50 82F4 8C82 5861 680B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvmbGgvSMglhhaAsRAg0BAKC0tz6kljoEBoLoCrFolGV9tMmOhwCfUz0z
hcZ2X+mtHrc9CfYfO2AZx58=
=IvZI
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dbus will not complete compile.

2006-01-05 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I think you should file a bug on http://bugs.gentoo.org so dev's and
tester team could check if its your broken tree or a bigger problem with
dbus. also check if someone haven't filed similar one before.



- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
key fingerprint: 34A9 B8BB DFA2 4F0B EFB5  CE50 82F4 8C82 5861 680B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvWOYgvSMglhhaAsRAsyUAJ9K48+ekLEDVkWYue8zt9Kw2ZrreACgg200
Day7Uz4hn/s3FTAx3wjhL/U=
=G/U1
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem doing an emerge -uD world on AMD64

2006-01-05 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Did you try to run ldconfig so libraries cache was rebuild?

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
key fingerprint: 34A9 B8BB DFA2 4F0B EFB5  CE50 82F4 8C82 5861 680B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvWeIgvSMglhhaAsRAj5OAJ9sr08FH6HREPPfpkZ9OwAlg7UYpgCghH+g
APXGXKRTPnZbq/CgpO54viQ=
=TchJ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej

Zac Medico wrote:
Unfortunately, the multiple DISTDIR feature is not currently available 
(though it is planned).  As an alternative, perhaps you can run a script 
that creates symlinks for you.


Thank you for that script it will be helpful, but I've checked for my 
main problem with no write permissions and i got now also error as below:


 !!! No write access to write to /usr/portage/distfiles.  Aborting.

Is the only resolution of this problem giving /usr/portage/distfiles dir 
write permissions for all?


I'll add that user from i try making ebuild digest is in portage group 
(as an additional).


Greets
Paweł Madej
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej

Neil Bothwick wrote:

On Wed, 04 Jan 2006 09:00:30 +0100, Paweł Madej wrote:




You also need to make $DISTDIR group writable.



 $ ls -l /usr/portage/ | grep distfiles
drwxrwxr-x4 root portage 36864 sty  4 08:56 distfiles


$ cat /etc/group | grep nysander
wheel:x:10:root,nysander
floppy:x:11:root,nysander
audio:x:18:nysander
video:x:27:root,nysander
users:x:100:games,nysander
portage:x:250:portage,nysander

 $ ebuild mod_cband-0.9.6.1_rc1.ebuild digest
!!! No write access to write to /usr/portage/distfiles.  Aborting.
/.locks

$ slocate .locks
/usr/src/linux-2.6.13-suspend2-r4/fs/.locks.o.cmd
/usr/portage/distfiles/.locks

$ ls /usr/portage/distfiles/.locks
[no output]

I have no idea what is wrong, because above configuration was when I 
noticed those error for the first time.


Thanks for some ideas what to check/change etc.

Paweł Madej
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rumen Yotov wrote:
 On (04/01/06 17:39), Neil Bothwick wrote:
 
 
 Hi,
 For me it works only with full path or if the ebuild is in the current 
 directory.
 Rumen


$ ebuild /usr/local/www-apache/mod_cband/mod_cband-0.9.6.1_rc1.ebuild digest
!!! No write access to write to /usr/portage/distfiles.  Aborting.
/.locks

Full path does not help :(

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvBFhgvSMglhhaAsRAluyAJ4mThSzXxxz99NEVz5nqgT5Z3RcyACgvBhL
S2Pmj/yaCPfeKmuHAOQfOzs=
=7j92
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zac Medico wrote:
 You should have done `ls -ld /usr/portage/distfiles/.locks`.
 
 I'm able to reproduce that problem here.  It seems that portage
 automatically changes the group id on ${DISTDIR} (when run as root) but
 it neglects to change the group id on ${DISTDIR}/.locks (I'd consider it
 a bug).  If you do `chgrp portage /usr/portage/distfiles/.locks  chmod
 g+w /usr/portage/distfiles/.locks` then that should allow you to work
 around the problem.
 
 Zac

Thank you very much Zac. That resolved a problem. I think if I should
file a bug about this?

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvCcqgvSMglhhaAsRAnbUAKCM/vFCmf7wXBgWc31fYkN9ioRz3ACgjce8
FRwWulgfWp2hScYfH0JzLbY=
=WMzv
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zac Medico wrote:
 Yeah, I think should.  The version of portage that I'm using (2.1_pre3)
 will create the directory with the correct gid (if the directory does
 not exist).  However, after the directory has been created, portage does
 not ensure that .locks continues to have the correct gid.
 
 Zac

Bug filed: http://bugs.gentoo.org/show_bug.cgi?id=117781

If you got any more information that you think we should add just
comment above bug.

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvDywgvSMglhhaAsRAr9sAKCz+nPz9IIqjfioWfKiuk21QEqqqgCgiMzU
5rxlLTPjHbou9Jq0NBBAh7w=
=/1go
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage overlay question

2006-01-04 Thread Paweł Madej
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Ruskin wrote:
 On Wednesday 04 January 2006 18:18, Paweł Madej wrote:
 
 
 
 $ ls -ld /usr/portage/distfiles
 drwxrwsr-x  4 portage portage 131072 2006-01-04 
 00:51 /usr/portage/distfiles
 
 What does yours look like?
 

Peter please read whole thread. The problem was recognized and bug was
filed to bugzilla.

Anyway thank you all for help in founding problem and its resolution

- --
Paweł Madej aka Nysander
http://quanteam.info  | http://forum-farmaceutyczne.org
http://nysander.quanteam.info | http://wiki.quanteam.info
GPG key: 5861680B | keyserver: http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvEsmgvSMglhhaAsRAuNTAKCj/jG8CIjd4Hw/jI9X550qUOoZfwCgqNwi
JsetOtFjF7y/mB2Jjge1W1g=
=kZHO
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] portage overlay question

2006-01-03 Thread Paweł Madej

hello,

I'll describe a situation

[1] Portage overlay dir = /usr/local/portage
[2] portage overlay distfiles dir = /usr/local/portage/distfiles
[3] portage dir = /usr/portage
[4] portage distfiles dir = /usr/portage/distfiles

I maintain some test ebuilds in dir [1] and i got sources of it in dir 
[2]. When i want to do ebuild my.ebuild digest in [1] dir i got an error 
that i dont have write permissions to [4]. but when i do it from root 
user digest is done and finally written to [1]/my_program dir.


My question is how to configure properly my /etc/make.conf file to make 
it possible to keep programs sources that i maintain in overlay in dir 
[2] ??


Actual /etc/make.conf lines in this topic are:

PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
PORTAGE_TMPDIR=/var/tmp
DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc
RSYNC_EXCLUDEFROM=/etc/portage/rsync.mask

I have tried line as below but then portage losed distfiles dir at all

#DISTDIR=/usr/portage/distfiles /usr/local/portage/distfiles


Thanks for any help

Greets
Paweł Madej
--
gentoo-user@gentoo.org mailing list



[gentoo-user] How to install CPAN modules not breaking portage tree

2005-12-27 Thread Paweł Madej

Hello,

As i have read [1] documentation portage should provide g-cpan.pl tool 
but on my system there is no such script. Any ideas how to install cpan 
perl modules via portage?


I know that I can do it via cpan tool but manual [1] suggests using 
g-cpan.pl tool which i dont have


[1] http://www.gentoo.org/doc/en/ebuild-submit.xml

Greets
Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to install CPAN modules not breaking portage tree

2005-12-27 Thread Paweł Madej

Paul Varner wrote:

On Tue, 2005-12-27 at 17:19 +0100, Paweł Madej wrote:



emerge app-portage/g-cpan

Regards,
Paul



Thank you Paul and Rumen :)
--
gentoo-user@gentoo.org mailing list



[gentoo-user] treading questions

2005-12-21 Thread Paweł Madej

Hello,

I got some problem how to set flags such as threads, itreads, 
linuxthreads-tls.


My glibc has locally set flags: nptl nptlonly userlocales
I got also set my apache - mpm-worker flag.

My question is if threads flag should be set globally and -threads 
locally for an apache2 ebuild? or set it global and compile apache with it.


ithreads is used only by perl and libperl packages. It is needed by 
mod_perl if i want to use perl inside threaded apache2. But in its 
description there are mentioned some compatibility problems. Could it 
break my perl if i turn it on?


Pawel M.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] individual LDFLAGS per package.

2005-12-18 Thread Paweł Madej

Hello,

I got a question if there is possibility to force some packages to use 
other LDFLAGS that are set globally in /etc/make.conf


My global LDFLAGS are -z combreloc -s and there is only one package 
which crashes with them. It is wine. It recognizes word combreloc in 
that flag as a filename and crashes with no such file error.


So my question is how to change LDFLAGS to empty for that one package?

Greets
Pawel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Backups

2005-12-16 Thread Paweł Madej

Allan Spagnol Comar wrote:

Thanks all for the answers until now;

What i am looking for is to backup 3 servers, and a critical issue workstation.

I think that you should test Bacula. that is very scalable app to backup 
from different sources to different media.


http://www.bacula.org

Greets
Pawel
--
gentoo-user@gentoo.org mailing list



[gentoo-user] irc / irc-services software issue

2005-12-02 Thread Paweł Madej

hello,

I want to run irc server with services but i cant find any tutorial how 
to do it. More complicated for me is what software to choose because 
some services dont work with all ircd's and on other hand there is no 
package like in debian for ex. dancer-ircd / dancer-services.


I ask for some recomendations what software you are using and why?

Greets
Pawel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] specific version of package in /etc/portage/package.keywords

2005-09-30 Thread Paweł Madej

Erwin Lang wrote:

hi everybody!

I don't like to upgrade to ruby version 1.8.3 so i added the following line(s) 
(not all at the same time) to /etc/portage/package.keywords:


=dev-lang/ruby-1.8.2

=dev-lang/ruby-1.8.2-r2

=dev-lang/ruby-1.8.2-r2 x86

dev-lang/ruby-1.8.2-r2 x86

but none of these entries kept `emerge -uva world' from upgrading ruby. what 
I've done wrong?


thanks in advance!

erwin


You should use this:

=dev-lang/ruby-1.8.3

in /etc/portage/package.mask

Greets
Pawł
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Paweł Madej

Hello,

I want to know for what reason there is sth like updating portage cache 
after rsync in emerge sync.


It's very very slow and I dont know why. So my question is could I some 
way turn off this cache?


Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Paweł Madej

Allan Spagnol Comar wrote:

This cache is used to resolve all packages you want to update,install
or remove from your box; if you turn off this cache you would need to
do the same action to every emerge option; I believe that is better to
let it do just when updating portage tree  :)

Holpe it helps, Allan


Thx for fast answer.

Ok I'll leave it as is, but maybe is there any way too speedup it? It 
runs on my P3 800 / HDD 5400 rpm more that 10 minutes.


Or it is working on every computer so slowly?

Greets
Paweł

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Paweł Madej

Dunc wrote:

For something you should only do once a day, 10 minutes isn't that bad
though.


I sync not day by day but 2-3 times a week but when I sync I want to run 
just after it emerge of updates (I follow new ebuilds on [1] site and 
run emerge if sth interesting for me  appears there).


My other question is if there is some script which could follow rrs from 
[1] and run emerge sync and emerge -uND world after there is for example 
10 ebuild updated comparing to my system, or other way that it will 
email me that there is 10 ebuilds new and i should run sync manually.


Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Paweł Madej
I forgot link [1] is 
http://packages.gentoo.org/archs/x86/testing/gentoo_simple.rss


Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Size of portage tree

2005-09-28 Thread Paweł Madej

Ryan Viljoen wrote:

If you do a:
du -hs /usr/portage/distfiles
and a
du -hs /usr/portage

You will see that the majority of the space is taken up by the 
distfiles. This is where emerge stores all the packages that it 
downloads when installing them on your system. To decrease the size of 
the directory you can go through it and delete older versions of 
packages such as:


I have:
zlib-1.2.1.tar.bz2
zlib-1.2.3.tar.bz2

So you could delete zlib-1.2.1.tar.bz2 since there is a new version. I 
think there are some scripts out there that do such things but I havent 
bothered to find them. I wouldnt suggest deleting all the files since if 
you want to reinstall or add new packages they may require files that 
have been already downloaded ie: save you the time and bandwidth of 
redownloading them.


if you use getdelta to fetch updates you can set

REMOVE_OLD=true

in /etc/deltup/getdelta.rc and it will delete old file as above 
zlib-1.2.1.tar.bz2 after successfull make of new version from patches.


More about getdelta on [1]

[1] http://gentoo-wiki.com/HOWTO_Install_Deltup

Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Paweł Madej

Dave Nebinger wrote:



I've had a lot of luck with the cdb patch for portage.  It's mentioned in
the gentoo wiki.  I haven't measured to see how syncs are impacted but
regular portage stuff seems faster.



That's what I was looking for ... great speedup.

Thx Dave

Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] keeping hosts file in sync

2005-09-28 Thread Paweł Madej

Patrick Marquetecken wrote:

Hi,

Whats the best way to keep several /etc/host files in sync ?

TIA
Patrick



I got that problem few days ago and tried to install MyDNS [1] little 
dns server great for home network. It also has easy admin script written 
in PHP but it is not installed during emerge mydns. So you have to 
unpack package from distfiles and put it into your's apache documentroot.


[1] http://mydns.bboy.net/

Greets
Paweł
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with USB memory

2005-09-23 Thread Paweł Madej

Hi,

Maybe this will help

after upgrading udev / kernel sources i've found in dmesg that my camera 
(olympus) which uses mass storage protocol was found as a /dev/uba1 so 
maybe your USB stick will also be as such device.


if not paste your dmesg messages what it says while plugging into USB 
stick. Or maybe you don't have usb-utils package which helped me to run 
my camera properly.


Greets
Pawel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with USB memory

2005-09-23 Thread Paweł Madej

Cyrille Damez wrote:

Le Friday 23 September 2005 15:57, Paweł Madej a écrit :


Most likely, it would be there too, but as far as I understand those /dev/ub* 
devices use the generic usb block device driver, which is very slow. For a 
memory stick or a hard-drive, it is much better to use /dev/disk/ devices.




uhmm, I do not have any aditional drive in /dev/disk nor /dev/sda i got 
only /dev/uba.


Any ideas why?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with USB memory

2005-09-23 Thread Paweł Madej

Neil Bothwick wrote:

On Fri, 23 Sep 2005 18:39:29 +0200, Pawe__ Madej wrote:




Turn off Device Drivers - Block Devices - Low Performance USB Block
driver in your kernel config.


I've done this and i got /dev/sda now and as you said it is much faster 
than /dev/uba.


Thank's a lot Neil

Greets
Pawel
--
gentoo-user@gentoo.org mailing list



[gentoo-user] autofs + usb device issue

2005-09-23 Thread Paweł Madej

Hello,

I've installed and configured automounter and it works ok for my cdrom 
and floppy drive.


I'll describe my situation: My laptop has only one usb port and normally 
I have plugged to it my mouse. When I want to copy photos from my 
digital camera I have to unplug mouse and plug usb cable to camera.


1. I plug camera and I got it under /dev/sda1 device
2. I unplug it and plug once more ... this time it is the same /dev/sda1 
device

3. I uplug it once more and plug my mouse and unplug it
4. I plug my camera and this time it is under /dev/sdb1 device

What is the problem?
How to configure /etc/autofs/auto.auto to automount camera to the sane 
directory inspite of device which it is recognized.


I tried like that:

 camera  -fstype=vfat,rw
:/dev/disk/by-id/usb-OLYMPUS_C750UZ_000262018416-part1

whole is on one line

this usb-* links to the actually recognised device (sda1 or sdb1) when i 
plug my camera)


but autofs will mount camera only once and after device changed it wont 
mount it anymore until I restart autofs daemon.



Thanks for any help

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



Re: [gentoo-user] recommendation: well linux-supported inkjet printers

2005-09-22 Thread Paweł Madej

John Jolet wrote:

On Thursday 22 September 2005 07:51, Dave Nebinger wrote:


I'd add here, though, that almost no lexmark inkjets are supported.


I would not agree with it. Try install gimp-print with +ppd use flag 
there are some of them supported. The only problem with my Lexmark Z53 
which I got is how to calibrate cardriges (not the colors) - It prints 
text ok but tables are crashed.


Greets
Paul
--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Cups does not see devices

2005-09-22 Thread Paweł Madej

Hello,

I got problem with my FreeBSD box.
I installed cups cups-base and other stuff for it and when i try to add 
printer via webinterface it don't see any device (like parallel, usb, 
http and so on).


Anybody got idea what could cause it? And how to resolve that problem?

Thanks for any help

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



Re: [gentoo-user] [OT] Cups does not see devices

2005-09-22 Thread Paweł Madej

Nick Rout wrote:

http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/

What is the result of running:

lpinfo -v

/usr/lib/cups/backend/usb
(and the other scripts in the same directory, of course the directory
could be elsewhere under freebsd)




lpinfo -v shows nothing

and directory /usr/lib/cups/backend is also empty (the same as you give 
is on my fbsd box)


it is a little bit weird because i got it recompiled today.

greets
Pawel
--
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge sync question

2005-09-19 Thread Paweł Madej

Hello,

i'm going to setup server machine on Gentoo Linux and my question is if 
it is possible to mask portage categories which i won't to update such 
as whole X apps games desktop utils and so on ... which I'll never 
install and use on this server.


This will make faster syncing and rebuilding portage cache.

Thanks in advance for any answer.

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



[gentoo-user] weird behaviour of x11-terms/aterm

2005-09-19 Thread Paweł Madej

When i start aterm i got below error on my console:

$ aterm
aterm has encountered a problem interacting with X Windows :
 Request: 2,Error: 3(BadWindow (invalid Window parameter))
 in resource: 0x0

Other weird behaviour is that Midnight Commander on aterm won't respect 
F1 - F4 keys and it returns such signs not do what i want him.


for example i want to view the file so i do F3 and i got this:

[EMAIL PROTECTED] ~ $ 13~

F1 gives
11~

F2:
12~

F4
14~

I've checked other terms and Xterm and Eterm work ok and i dont have 
such a problems on them.


Thanks in advance for any suggestions what could cause that.

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



[gentoo-user] dev-lang/python vulnerability

2005-09-19 Thread Paweł Madej

I've done glsa-check -t new and i got that my python is vulnerable

i got in world only dev-lang/python-2.4.1-r1 but it says that vulnerable 
is 2.3.5-r2 so i've searched for any vulnerable version on my system 
and i've found python-2.3.5


My question is: Could I unmerge 2.3.5 version which is not in my world 
tree and use only 2.4.1 or is it some dependency which have to be on 
system and i should only update that port to unvulnerable version?


Thanks in advance for answers

Paul

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync question

2005-09-19 Thread Paweł Madej

Oscar wrote:


I'm not sure about the games, but avoiding installing X is quite simple!
This is what I use on my gentoo server:
USE=-gpm ipv6 imap gd gd-external jpeg png -svga -X -gnome -kde -qt -gtk -gtk2 xml 
xml2 apache2 tiff mysql offensive -samba

I think there is a way to choose what categories you want to sync in gentoo (or 
was that freebsd?)...

Good luck!

Oscar
 

USE -xxx flags prevents only before compiling such deps but i look for 
solution like in FreeBSD as you said where you choose which ports 
categories you want to resync.


Greets

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



Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-13 Thread Paweł Madej

Ow Mun Heng wrote:


This reportedly worked for some other user

Try this patch -
http://dagobah.ucc.asn.au/patches-2.6.13/suspend2-2.2-rc6-poweroff-fix.diff
 

I've done emerge sync and installed suspend2-sources-2.6.13-r4 and 
things went horribly wrong


Suspend2 fails everytime to suspend and it restores session

other thing on that kernel version is that i got alsa sound modules 
errors (it does not recognize them)


Anyone could help?


Greets
Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-11 Thread Paweł Madej

I've done so but system behaviour did not changed. Any other suggestions?

Greets
Paul



Harald Arnesen wrote:
   poweroff

# PowerdownMethod 5
Try uncommenting this line.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Suspend2 and hibernate problem.

2005-09-10 Thread Paweł Madej

Hello,

I got emerged suspend2 kernel sources and compiled with such options:

 [*] Power Management support 
 [ ]   Power Management Debug 
Support
 [ ]   Software 
Suspend   


 [*] Software Suspend 2  ---

Then in Suspend 2 submenu:

--- Software Suspend 
2   
x x 
 ---   Image Storage (you need at least one 
writer)   x x 
[ ] File 
Writer  
x x 
 [*] Swap 
Writer  
x x 
 ---   General 
Options
x x 
 (/dev/hda5)   Default resume device 
name x x 
 [ ] Allow Keep Image Mode


And my ACPI kernel section:

   [*] ACPI 
Support 
x x 
*   AC 
Adapter 
x x 
 *   
Battery
x x 
*   
Button 
x x 
   *   
Video  
x x 
  *   Generic 
Hotkey 
x x 
*   
Fan
x x 
   *   
Processor  
x x 
  * Thermal 
Zone 
x x 
ASUS/Medion Laptop 
Extras  
x x 
IBM ThinkPad Laptop 
Extras 
x x 
Toshiba Laptop 
Extras  
x x 
(0)   Disable ACPI for systems before Jan 1st this 
year  x x 
   [ ]   Debug 
Statements   
x x 
  [ ]   Power Management Timer 
Support 
x x 
   ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)


i also got emerged hibernate-script and under it is part of hibernate.conf:
### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 2
#Compressor lzf
Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
SuspendDevice swap:/dev/hda5
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for 
poweroff

# PowerdownMethod 5
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes

Hibernating and resuming works flawlessly but one thing.
When i do:

# hibernate
i got everything stopped but there is no power off on my laptop. Thing 
is a bit weird because when i do:

# halt it turns off power

Any suggestions how to force hibernate to turn power after saving session ?

Thanks for any help

Paul


--
gentoo-user@gentoo.org mailing list



[gentoo-user] halt hibernate on usermode

2005-09-10 Thread Paweł Madej

I try to resolve such a problem:

I can halt my computer only if i login to root console and do # halt

User on which i work is in wheel group but i cannot do halt from it

How to make it possible to halt from wheel group user?

And the same thing on # hibernate

Thanks for any help

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



[gentoo-user] wxGTK compile crash

2005-07-24 Thread Paweł Madej
I have fetched sunday morning src file for wxGTK-2.6.1 and compile it 
and everytime i got this error:


##
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crt1.o: In function `_start':
init.c:(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [.pch/wxprec_basedll/wx/wxprec.h.gch] B³±d 1

!!! ERROR: x11-libs/wxGTK-2.6.1 failed.
!!! Function configure_build, Line 46, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status 
message.



What should i do to compile it and install??
Refeching sources could help?

Thanks for any help
Paul
--
gentoo-user@gentoo.org mailing list