Re: [gentoo-user] scrollback using framebuffer

2009-11-16 Thread Maxim Wexler
>
> CONFIG_FB=y
> CONFIG_FB_BOOT_VESA_SUPPORT=y
> CONFIG_FB_CFB_FILLRECT=y
> CONFIG_FB_CFB_COPYAREA=y
> CONFIG_FB_CFB_IMAGEBLIT=y
> CONFIG_FB_VESA=y
> CONFIG_VGACON_SOFT_SCROLLBACK=y
> CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256

Identical to mine.

> I have no settings for scrollback on the kernel command line, just this to
> set
> the resolution etc:
>
> vga=0x37D ywrap mtrr:4

Sure about this? 0x37D is not  a recognized mode. Are you missing some
punctuation?

my line is:  video=vesafb:ywrap,mtrr vga=0x318. Is this syntax
correct? There seems to be a variety out there. Mine only scrolls a
few lines, doesn't matter If I give scrollback 128 or 256k. But there
are no errors, so I must be doing something right. Tried ypan too, no
luck.

mw



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Walker
Alan McKinnon wrote:
> I have to ask - what the blazes are those servers doing???  :-)
>   

HTTP, SMTP and IMAP, mostly. ;)


Be lucky,

Neil
http://www.easy-ebay.com





Re: [gentoo-user] amarok can't use mysql collection

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 21:40:42 Alex Schuster wrote:
> Alan McKinnon writes:
> > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
> 
> Sort of.
> 
> > I get errors like this whenever amarok updates the collection:
> >
> > amarok:  [ERROR!] GREPME MySQL query failed! No database
> >  selected  on "INSERT INTO images SELECT * FROM images_temp;"
> 
> Not here. Sometimes the collection gets screwed up a little, but I do not
> get any output when re-scanning the collection.
> 
> > $ eix -e amarok
> >  Installed versions:  2.2.0(4)(20:08:42 15/11/09)(cdda ipod
> >  linguas_en_GB mp3tunes mtp opengl semantic-desktop -aqua -daap -debug
> >  -lastfm -linguas_bg - linguas_ca -linguas_cs -linguas_da -linguas_de
> >  -linguas_es -linguas_et - linguas_eu -linguas_fi -linguas_fr
> >  -linguas_it -linguas_ja -linguas_km - linguas_nb -linguas_nds
> >  -linguas_nl -linguas_pa -linguas_pl -linguas_pt - linguas_pt_BR
> >  -linguas_ru -linguas_sl -linguas_sr -linguas...@latin - linguas_sv
> >  -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW)
> 
>   2.2.0(4)(10:58:59 10.10.2009)(linguas_de opengl
> semantic-desktop -aqua -cdda -daap -debug -ipod -lastfm -linguas_bg -
> linguas_ca -linguas_cs -linguas_da -linguas_en_GB -linguas_es -linguas_et
> -linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -
> linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -
> linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas...@latin -
> linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW
> -mp3tunes -mtp)
> 
> > $ eix -e mysql
> >  Installed versions:  5.0.84-r1(04:18:46 14/11/09)(community
> >  embedded perl ssl -berkdb -big-tables -cluster -debug -extraengine
> >  -latin1 -max-idx-128 - minimal -profiling -selinux -static)
> 
>  Installed versions:  5.0.84-r1(15:58:02 12.11.2009)(berkdb community
> embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-
> idx-128 -minimal -profiling -selinux -static)



My stuff is similar to yours and Volker's, didn't work with mysqle.

Even tried downgrading binutils, which fixed one error and revealed another.

I have now made a decision. I was a faithful amarok user for 5 years. In the 
kde-3.5 days it worked flawlessly and never gave a day's trouble. The switch 
to KDE-4 has been fraught with problems from day 1 - all the decent features 
went away, then the devs spent two years fiddling with the gui while the 
palyer didn't *actually* play music (gee whizz, whodathunkedit? That a user 
might actually play music on his media player). Then the monumental cock-up 
with MySQL and -fPIC, the jumping through hoops that caused with every single 
distro out there, mysql-5.1.* is still not in the tree un-hardmasked, and now 
this crap.

Amarok, it was nice knowing you. One day you might build and play music again 
on all sane systems out there. Meanwhile, I think I want to hear songs play so 
some other player is going on this machine and you are coming off.

Bye bye now, and don't bump your head on the door when you leave.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: amarok can't use mysql collection

2009-11-16 Thread Alan McKinnon
On Tuesday 17 November 2009 00:22:57 Volker Armin Hemmann wrote:
> On Montag 16 November 2009, Alan McKinnon wrote:
> > On Monday 16 November 2009 21:26:02 Doug Hunley wrote:
> > > On Mon, Nov 16, 2009 at 03:24, Alan McKinnon 
> >
> > wrote:
> > > > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
> > >
> > > I haven't had any issues w/ amarok 2.2.0 and mysql 5.0.84-r1 (once I
> > > figured out how to get amarok to _not_ use the embedded mysql)
> >
> > That's a common complaint about amarok lately. The devs reckon they must
> >  use multi-user mysql because it's almost impossible to get sqlite to do
> > it properly and totally impossible to get it to do it remotely.
> >
> > This puzzles me. How many users out their use their music player in
> >  multi-user mode with a collection db on a remote machine? Apart from
> > LTSP installs, I'll bet it's none. And LTSP is better off using mpd, so
> > why didn't the amarok devs simply include mpd support?
> >
> > To answer your question, does Settings -> Collection -> enable check box
> > & fill in bottom half of dialog do what you want?
> 
> there had been other reasons. Many people have huge collections - and
>  sqlite sucks with huge collections.

I misread his post - I though he wanted to know how to disable mysqle (he'd 
figured that out already), then my train of though went off into other (even 
wronger) directions with embedded vs non-embedded mysql for amarok.

Meanwhile I compared by flags to yours and tried rebuilding mysql with 
-community -berkdb then rebuilding Amarok. This didn't change anything.

Busy downgrading binutils (#290662) now and trying again

 

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] lxappearance and commonbox-styles?

2009-11-16 Thread Marcus Wanner
I installed lxde and am really liking it (stabilization soon? install 
went without a hitch...). I also installed commonbox-styles because I 
didn't really like the default theme, so I installed commonbox-themes 
and commonbox-themes-extra. I opened lxappearance and tried to switch to 
one of my shiny new themes, but there was still only the default one 
available. Am I missing something here? I tried googleing, but didn't 
find anything besides some irrelevant build logs. Rebooting did not 
produce any new themes either...


Thanks.

Marcus



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Neil Walker writes:

> Alex Schuster wrote:
> > I just let it grow and grow and grow... on my server, which is
> > running Gentoo for seven years now, it has 27,000 entries, and is at
> > 24 MB.
> 
> Wow! Do you even need a server? It can't be doing much. My servers top
>  that in a few hours.   ;)

It's a P3 with 500 MHz and 256 MB of RAM only. But I think I need it. It 
is my internet gateway, CVS and mail server, has CUPS and FTP, and an 
apache running, mainly for my little company's wiki, but also for having 
some little space for stuff to post. It also serves multimedia data over 
NFS for the other systems in the house. And it's my name server, with all 
those virtual machines I have some dozen systems here.

But there are not many user logins on that machine. It's mostly myself 
logging in and using the ISDN line for remote some administration.

But... what the heck are your servers doing?

Wonko



Re: [gentoo-user] Re: amarok can't use mysql collection

2009-11-16 Thread Volker Armin Hemmann
On Montag 16 November 2009, Alan McKinnon wrote:
> On Monday 16 November 2009 21:26:02 Doug Hunley wrote:
> > On Mon, Nov 16, 2009 at 03:24, Alan McKinnon 
> 
> wrote:
> > > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
> >
> > I haven't had any issues w/ amarok 2.2.0 and mysql 5.0.84-r1 (once I
> > figured out how to get amarok to _not_ use the embedded mysql)
> 
> That's a common complaint about amarok lately. The devs reckon they must
>  use multi-user mysql because it's almost impossible to get sqlite to do it
>  properly and totally impossible to get it to do it remotely.
> 
> This puzzles me. How many users out their use their music player in
>  multi-user mode with a collection db on a remote machine? Apart from LTSP
>  installs, I'll bet it's none. And LTSP is better off using mpd, so why
>  didn't the amarok devs simply include mpd support?
> 
> To answer your question, does Settings -> Collection -> enable check box &
> fill in bottom half of dialog do what you want?
> 

there had been other reasons. Many people have huge collections - and sqlite 
sucks with huge collections.



Re: [gentoo-user] fsck + emerge => crash

2009-11-16 Thread Volker Armin Hemmann
On Montag 16 November 2009, Loupy wrote:
> Hey all,
> 
> I got a power here, which after I had to run fsck... well there where
> some troubled Inodes and I choosed yes to repair them.
> So far so good, system booted well, but now I cannot emerge anything at
>  all.
> 
> emerge --info tells me as normal user:
> emerge: incomplete set configuration, missing set(s): "world" and "system"
> This usually means that '/usr/share/portage/config/sets.conf'
> is missing or corrupt.

probably that files endet in LOST+FOUND. You also can get them from a portage 
tarfile

> as su I get a bunch of these messages:
> Parse Error reading PROVIDE and USE in
>  '/var/db/pkg/kde-base/libkdeedu-3.5.10' Exception: 'ascii' codec can't
>  decode byte 0xe2 in position 19:
> ordinal not in range(128)

best thing you can do - remove the directories affected and re-emerge the stuff.




Re: [gentoo-user] Re: amarok can't use mysql collection

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 21:26:02 Doug Hunley wrote:
> On Mon, Nov 16, 2009 at 03:24, Alan McKinnon  
wrote:
> > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
> 
> I haven't had any issues w/ amarok 2.2.0 and mysql 5.0.84-r1 (once I
> figured out how to get amarok to _not_ use the embedded mysql)

That's a common complaint about amarok lately. The devs reckon they must use 
multi-user mysql because it's almost impossible to get sqlite to do it 
properly and totally impossible to get it to do it remotely.

This puzzles me. How many users out their use their music player in multi-user 
mode with a collection db on a remote machine? Apart from LTSP installs, I'll 
bet it's none. And LTSP is better off using mpd, so why didn't the amarok devs 
simply include mpd support?

To answer your question, does Settings -> Collection -> enable check box & 
fill in bottom half of dialog do what you want?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 22:09:11 Neil Walker wrote:
> Alex Schuster wrote:
> > I just let it grow and grow and grow... on my server, which is running
> > Gentoo for seven years now, it has 27,000 entries, and is at 24 MB.
> 
> Wow! Do you even need a server? It can't be doing much. My servers top that
> in a few hours.   ;)

I have to ask - what the blazes are those servers doing???  :-)

My main shell/jump box has 400-odd users and routinely runs 600+ concurrent 
ssh sessions. wtmp averages about 1M and 1400 entries a day

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] fsck + emerge => crash

2009-11-16 Thread Mick
On Monday 16 November 2009 21:16:29 Albert Hopkins wrote:
> On Mon, 2009-11-16 at 20:01 +0100, Loupy wrote:
> > Hey all,
> >
> > I got a power here, which after I had to run fsck... well there where
> > some troubled Inodes and I choosed yes to repair them.
> > So far so good, system booted well, but now I cannot emerge anything
> > at all.
> 
> [...]
> 
> > well, what would you advice me to do?
> 
> My advice would have been to do periodic backups.  But I guess it's too
> late for that.
> 
> For the encoding error, that character qualifies as latin1 (â) so maybe
> it's an issue where your system (or python) encoding got out of wack.
> You may be able to fix it easily changing that, but my guess is along
> the way you'll find little errors here and there with other things
> (that's why backups are so handy).

I assume that you ran fsck from a LiveCD?  May want to use the same to rebuild 
your toolchain.

Have a look here:  in case it helps.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] fsck + emerge => crash

2009-11-16 Thread Albert Hopkins
On Mon, 2009-11-16 at 20:01 +0100, Loupy wrote:
> Hey all,
> 
> I got a power here, which after I had to run fsck... well there where
> some troubled Inodes and I choosed yes to repair them.
> So far so good, system booted well, but now I cannot emerge anything
> at all.

[...]
> 
> well, what would you advice me to do?

My advice would have been to do periodic backups.  But I guess it's too
late for that.

For the encoding error, that character qualifies as latin1 (â) so maybe
it's an issue where your system (or python) encoding got out of wack.
You may be able to fix it easily changing that, but my guess is along
the way you'll find little errors here and there with other things
(that's why backups are so handy).

-a




Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Walker
Alex Schuster wrote:
> I just let it grow and grow and grow... on my server, which is running 
> Gentoo for seven years now, it has 27,000 entries, and is at 24 MB.

Wow! Do you even need a server? It can't be doing much. My servers top that
in a few hours.   ;)


Be lucky,

Neil
http://www.easy-ebay.com





Re: [gentoo-user] amarok can't use mysql collection

2009-11-16 Thread Alex Schuster
Alan McKinnon writes:

> Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?

Sort of.

> I get errors like this whenever amarok updates the collection:
> 
> amarok:  [ERROR!] GREPME MySQL query failed! No database
>  selected  on "INSERT INTO images SELECT * FROM images_temp;"

Not here. Sometimes the collection gets screwed up a little, but I do not 
get any output when re-scanning the collection.

> $ eix -e amarok
>  Installed versions:  2.2.0(4)(20:08:42 15/11/09)(cdda ipod
>  linguas_en_GB mp3tunes mtp opengl semantic-desktop -aqua -daap -debug
>  -lastfm -linguas_bg - linguas_ca -linguas_cs -linguas_da -linguas_de
>  -linguas_es -linguas_et - linguas_eu -linguas_fi -linguas_fr
>  -linguas_it -linguas_ja -linguas_km - linguas_nb -linguas_nds
>  -linguas_nl -linguas_pa -linguas_pl -linguas_pt - linguas_pt_BR
>  -linguas_ru -linguas_sl -linguas_sr -linguas...@latin - linguas_sv
>  -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW)

  2.2.0(4)(10:58:59 10.10.2009)(linguas_de opengl 
semantic-desktop -aqua -cdda -daap -debug -ipod -lastfm -linguas_bg -
linguas_ca -linguas_cs -linguas_da -linguas_en_GB -linguas_es -linguas_et 
-linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -
linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -
linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas...@latin -
linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW 
-mp3tunes -mtp)

> $ eix -e mysql
>  Installed versions:  5.0.84-r1(04:18:46 14/11/09)(community
>  embedded perl ssl -berkdb -big-tables -cluster -debug -extraengine
>  -latin1 -max-idx-128 - minimal -profiling -selinux -static)

 Installed versions:  5.0.84-r1(15:58:02 12.11.2009)(berkdb community 
embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-
idx-128 -minimal -profiling -selinux -static)

Wonko



Re: [gentoo-user] amarok can't use mysql collection

2009-11-16 Thread Volker Armin Hemmann
On Montag 16 November 2009, Alan McKinnon wrote:
> Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?

yes

>
> $ eix -e amarok
>  Installed versions:  2.2.0(4)(20:08:42 15/11/09)(cdda ipod
>  linguas_en_GB mp3tunes mtp opengl semantic-desktop -aqua -daap -debug
>  -lastfm -linguas_bg - linguas_ca -linguas_cs -linguas_da -linguas_de
>  -linguas_es -linguas_et - linguas_eu -linguas_fi -linguas_fr -linguas_it
>  -linguas_ja -linguas_km - linguas_nb -linguas_nds -linguas_nl -linguas_pa
>  -linguas_pl -linguas_pt - linguas_pt_BR -linguas_ru -linguas_sl
>  -linguas_sr -linguas...@latin - linguas_sv -linguas_th -linguas_tr
>  -linguas_uk -linguas_wa -linguas_zh_TW)

eix -e amarok
[I] media-sound/amarok
 Installed versions:  2.2.0(4){tbz2}(22:59:03 02.10.2009)(cdda linguas_de 
mtp opengl semantic-desktop -aqua -daap -debug -ipod -lastfm -linguas_bg -
linguas_ca -linguas_cs -linguas_da -linguas_en_GB -linguas_es -linguas_et -
linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -
linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -
linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas...@latin -
linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW -
mp3tunes)
   
> 
> $ eix -e mysql
>  Installed versions:  5.0.84-r1(04:18:46 14/11/09)(community embedded
>  perl ssl -berkdb -big-tables -cluster -debug -extraengine -latin1
>  -max-idx-128 - minimal -profiling -selinux -static)

eix -e mysql
[I] dev-db/mysql
Installed versions:  5.0.84-r1{tbz2}(22:28:14 09.09.2009)(berkdb 
community embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -
max-idx-128 -minimal -profiling -selinux -static)

have you built qt with the right flags?




[gentoo-user] Re: amarok can't use mysql collection

2009-11-16 Thread Doug Hunley
On Mon, Nov 16, 2009 at 03:24, Alan McKinnon  wrote:
> Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?

I haven't had any issues w/ amarok 2.2.0 and mysql 5.0.84-r1 (once I
figured out how to get amarok to _not_ use the embedded mysql)

-- 
Douglas J Hunley, RHCT
doug.hun...@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd

Obsessively opposed to the typical.



[gentoo-user] fsck + emerge => crash

2009-11-16 Thread Loupy
Hey all,

I got a power here, which after I had to run fsck... well there where
some troubled Inodes and I choosed yes to repair them.
So far so good, system booted well, but now I cannot emerge anything at all.

emerge --info tells me as normal user:
emerge: incomplete set configuration, missing set(s): "world" and "system"
This usually means that '/usr/share/portage/config/sets.conf'
is missing or corrupt.
as su I get a bunch of these messages:
Parse Error reading PROVIDE and USE in '/var/db/pkg/kde-base/libkdeedu-3.5.10'
Exception: 'ascii' codec can't decode byte 0xe2 in position 19:
ordinal not in range(128)


Parse Error reading PROVIDE and USE in
'/var/db/pkg/x11-plugins/pidgin-otr-3.2.0'
Exception: 'ascii' codec can't decode byte 0xe2 in position 19:
ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/emerge", line 42, in 
retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1059, in emerge_main
if portage._global_updates(trees, mtimedb["updates"]):
  File "/usr/lib/portage/pym/portage/__init__.py", line 8855, in _global_updates
vardb.update_ents(myupd, onUpdate=onUpdate)
  File "/usr/lib/portage/pym/portage/dbapi/__init__.py", line 227, in
update_ents
metadata = dict(zip(update_keys, aux_get(cpv, update_keys)))
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 1212, in aux_get
pkg_data = self._aux_cache["packages"].get(mycpv)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 1118, in _aux_cache
self._aux_cache_init()
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 1146, in
_aux_cache_init
(self._aux_cache_filename, str(e)), noiselevel=-1)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
19: ordinal not in range(128)

emerge --regen tells me the same...

well, what would you advice me to do?

Regards,
Loupy



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Jarry writes:

> Alex Schuster wrote:

> > Something like that, I never used logrotate by myself. See the man
> > page for more information.
> 
> Let me ask: how do you deal with /var/log/wtmp? I think it does not
> go through syslog, and even it it does, it is not easy to process it
> whit that syslog-macro because it is not pure text file. Do you
> let it grow forever? Or how do you transfer it to log-server?

I just let it grow and grow and grow... on my server, which is running 
Gentoo for seven years now, it has 27,000 entries, and is at 24 MB. This 
is okay for me, and I like that I can I see when my fist login on the 
system was.
If space is a concern, you can rename the file and compress it (compress 
ratio here is 97%), and create is as empty again with 'touch 
/var/log/wtmp'.

Wonko



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 17:55:51 Eray Aslan wrote:
> On 16.11.2009 14:46, Neil Bothwick wrote:
> > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote:
> >> - No need to logrotate with time based filenames.  Hence, no need to
> >> "kill -HUP" the syslog daemon.  No missed logs.
> >
> > Then how do you get the server to use the new logfile names each
> > day/week?
> 
> It creates and uses a new file each hour/day/etc.  Perhaps, you missed
> the file(...) directive?  Reposting for your reference:
> 
> destination mail {
>   file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR"
>   [...]
> 
> > You only need to send a SIGHUP to the server using that log
> > facility, so syslog would not be affected in your example.
> 
> I can't parse this.  The point is avoiding SIGHUP so that we do not miss
> any log messages.
> 
> OP asked how one manages log files without logrotate and the answer is
> with time based file names.  It has the additional benefit of avoiding
> SIGHUP.
> 

I have three machines that randomly kill syslog or syslog-ng as appropriate 
whenever they feel like it on daily rotates. There's no warning, no evidence, 
they just ... die. 5 minutes later nagios goes ballistic and I have work to 
do. That all three are SuSE machines is probably highly relevant.

So, anything that syslog-ng can do itself without needing external 
intervention is a very good thing. I can then compress and move the closed 
files around later at my leisure in complete safety.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Jarry

Alex Schuster wrote:

SUBJECT: Cron  test -x /usr/sbin/run-crons &&
/usr/sbin/run-crons
error: kernel:9 unknown option 'compytruncate' -- ignoring line
error: kernel:12 unknown option 'endscript' -- ignoring line
--
I assume you are using logrotate, and have the /etc/logrotate.d/kernel 
file? I guess the 'compytruncate' is misspelled and should be 
'copytruncate'. And 'endscript' is used after using 'prerotate' or 
'postrotate', which you probably do not have.


You are right: I just quickly created logrotate config for kernel
by copying from other config, misspeled that "compytruncate",
erased "postrotate" script but forgot to delete "endscript".
I completely forgot about this change, and when I received
email with "error: kernel" I immediatelly thought of some
kernel misconfiguration...

Something like that, I never used logrotate by myself. See the man page 
for more information.


Let me ask: how do you deal with /var/log/wtmp? I think it does not
go through syslog, and even it it does, it is not easy to process it
whit that syslog-macro because it is not pure text file. Do you
let it grow forever? Or how do you transfer it to log-server?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Mick writes:

> On Saturday 14 November 2009 16:53:24 Alex Schuster wrote:

> > Something like that, I never used logrotate by myself. See the man
> > page for more information.
> 
> Hmm ... how do you keep your log files under control?

I am using app-admin/metalog (http://metalog.sourceforge.net/) as logger. 
It does not create single log files, but directories, containing multiple 
files, and does the rotation itself. The current file's name is 'current', 
the others have a time stamp in it. You can limit the maximum length or 
time, and the total number of files. I have it set up so that I get one 
file per day, and keep the last 30 files, so I have the complete log of 
one month.

Wonko



Re: [gentoo-user] [OT] Dell XPS16 for Christmas?

2009-11-16 Thread Paul Hartman
On Sun, Nov 15, 2009 at 12:39 PM, Mick  wrote:
> I have been thinking of buying this laptop and was looking at the Gentoo Wiki
> which shows relatively good hardware compatibility, except for the radeon card
> which is now an older offering:
>
> http://en.gentoo-wiki.com/wiki/Dell_Studio_XPS_16
>
> The current spec on the UK Dell website shows 1GB ATI® Radeon™ HD 4670 (see
> below).
> 
> PROCESSOR:  Intel® Core™ i7 Processor 720QM (1.60Ghz, 6MB cache)
> LCD:Black Leather back cover : 15.6" (inch) Truelife 1080p Full HD WLED 
> Edge
> to Edge Display
> MEMORY: 4096MB 1333MHz Dual Channel DDR3 SDRAM [2x2048]
> HARD DRIVE: 500GB (7,200rpm) Free Fall Sensor Hard Drive
> PRIMARY BATTERY:9-cell 85Whr Lithium Ion battery
> OPTICAL DRIVE:  Internal Blu-Ray ROM (Blu-Ray read, DVD and CD read & Write)
> Optical Drive
> GRAPHICS CARD:  1GB ATI® Radeon™ HD 4670 graphics card
> WIRELESS CONNECTIVITY:  Dell Wireless 1397 Mini Card (802.11 b/g)
> BLUETOOTH:  Dell Wireless 370 Bluetooth Module
> 
>
> According to these links the RadeonHD driver is experimental:
> http://wiki.x.org/wiki/radeon
> http://wiki.x.org/wiki/radeonhd%3Aexperimental_3D
>
> Does anyone have experience with this driver, or better yet, this laptop?
> Shall I buy or shall I shy away from it?

I don't have one (I wish!) but after a quick googling it looks like
ATI Catalyst drivers support the graphics chip and the wireless is a
BCM4312 chipset. I think the rest of it should be pretty standard
stuff.



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 16.11.2009 14:46, Neil Bothwick wrote:
> On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote:
> 
>> - No need to logrotate with time based filenames.  Hence, no need to
>> "kill -HUP" the syslog daemon.  No missed logs.
> 
> Then how do you get the server to use the new logfile names each
> day/week?

It creates and uses a new file each hour/day/etc.  Perhaps, you missed
the file(...) directive?  Reposting for your reference:

destination mail {
file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR"
[...]

> You only need to send a SIGHUP to the server using that log
> facility, so syslog would not be affected in your example.

I can't parse this.  The point is avoiding SIGHUP so that we do not miss
any log messages.

OP asked how one manages log files without logrotate and the answer is
with time based file names.  It has the additional benefit of avoiding
SIGHUP.

-- 
Eray



Re: [gentoo-user] setting up wireless on gentoo using wireless-tools

2009-11-16 Thread Fernando Antunes
On Sat, Nov 14, 2009 at 4:27 PM, Nelis Botha  wrote:

> Hey guys
>
> I'm Strugling to set up wireless, have recompiled kernel to include
> wireless i have folowed all the documentation and read and folowed tutorials
> on gentoo wiki and also i have folowed the /net.examples and
> wireless.examples but it keeps giving me errors when i want to start
> init.d/net.wlan0
> my question is: what should a working /etc/init.d/net look like if I want
> to connect to dhcp enabled open wireless dslmodem/router ?
>
> any advice will be extremely welcome
>
>

Hi Nelis, I'm using wicd to manager my eth0 and wlan0.

My /etc/conf.d/net has notinhg but dns_domain=

In /etc/init.d I only have net.lo and my /etc/conf.d/rc has
RC_PLUG_SERVICES="!net.eth0 !net.wlan0".

Before using wicd, I had started manually my wlan0 using ifconfig , iwconfig
and dhcpcd.

This configuration works fine for my laptop.




> Thanks
>
> Nelis
>


Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-16 Thread Joerg Schilling
José Romildo Malaquias  wrote:

To find the reason for the following "Impossible" because
illegal error situation:

Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
CDB:  00 00 00 00 00 00
cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s


please run the command again and add debug=2 to the list of options.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Missing icons in K3b

2009-11-16 Thread Dale

Jacques Montier wrote:


Oups sorry... :-) , here it is :

USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr
cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss
encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal
iconv java jpeg kde ldap libnotify mad mikmod modules mp3 mp4 mpeg
mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre
pdf perl pic png ppds pppd python qt qt3support qt4 quicktime readline
reflection sdl session spell spl ssl startup-notification svg svga sysfs
tcltk tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86
xml xorg xulrunner xv xvid zlib"

--
Jacques

  


Compare to mine:

USE="3dnow X aac acl acpi alsa amd automount berkdb bzip2 cairo cddb cdr 
chroot cli consolekit cracklib cups curl dbus dri dvd dvdr dvdread 
emboss encode esd evo exif fam fdftk flac fortran gdbm gif gimp gkrellm 
gphoto2 gpm gstreamer gtk hal hbci htmlhandbook iconv ipv6 java 
javascript jbig jpeg jpeg2k justify kde ldap libnotify libwww logrotate 
loop-aes mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql 
ncurses nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam 
parport pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime 
readline realmedia reflection sdl seamonkey session spell spl sse ssl 
startup-notification svg sysfs syslog tcl tcpd thunar tiff tk truetype 
unicode usb vorbis webkit win32codecs wma wmf wmp x264 x86 xml xorg xv 
xvid yahoo zeroconf zlib"


Mine SHOULD be in alphabetical order.  Maybe that will make it easier to 
compare.


Dale

:-)  :-) 



Re: [gentoo-user] nvidia-drivers problem on xorg 1.6.3.901-r2

2009-11-16 Thread Arnau Bria
On Fri, 13 Nov 2009 08:29:09 +0930
Iain Buchanan wrote:

Hi,

> In my experience, various nvidia-drivers just seem to "not work" with
> my system, no matter how many times I rebuild and recheck things.  I
> have a whole bunch of versions masked.  Looking back, I never seemed
> to have a problem with 180.60 - I ran it for about 4-6 weeks.
> 
> You could try adding this to /etc/portage/package.mask:
> =x11-drivers/nvidia-drivers-180.60

I did upgrade...

> Then decide whether you want to downgrade to the previous stable, or
> upgrade to the latest unstable.  I'm running unstable 190.42-r2 and so
> far it's quite "stable", but as we've seen, every system is different!
> (I'm on ~x86, so quite a bit of my system will differ from yours).
here I'm... same version as you but diff revision .

[I] x11-drivers/nvidia-drivers
 Installed versions:  190.42-r3!s(12:51:20 PM 11/16/2009)(acpi gtk kernel_li

X starts fine (I see NVidia logo for only half second) I can change
between workspaces fine, but when I open an application it hangs... I'm
lucky cause I can change to virtual console with Ctrl+Alt+F1 and no
reboot needed, but I'm really tired about this issue... 
nv does not work neither and I don't know what else I can try... Vesa
sucks (well, at least I can see things in my screen if I take off my
glasses) and I see no other people with same problem.

> HTH,
Thanks for your reply,

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Bothwick
On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote:

> - No need to logrotate with time based filenames.  Hence, no need to
> "kill -HUP" the syslog daemon.  No missed logs.

Then how do you get the server to use the new logfile names each
day/week? You only need to send a SIGHUP to the server using that log
facility, so syslog would not be affected in your example.

> - Easier to get the log files to a central server with time based
> filenames.

Logrotate can use datestamps in the rotated logfile names. You can use
the postrotate facility to copy them automatically.


-- 
Neil Bothwick

Uhura: Captain, you're being flamed on channel one.


signature.asc
Description: PGP signature


Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 16.11.2009 10:08, Graham Murray wrote:
> Eray Aslan  writes:
> 
>> - No need to logrotate with time based filenames.  Hence, no need to
>> "kill -HUP" the syslog daemon.  No missed logs.
> 
> But you still need some system (eg tmpwatch) to delete old log files
> otherwise the disk will (eventually) fill with log files. Logrotate
> automatically handles the number of/how long to keep logs.

If you want to be complete, you compress old log files, transfer them to
the central log server and delete them when they are old enough.  These
are done with a few trivial scripts run via cron.

If that seems like too much work for questionable benefit, by all means
use logrotate.

-- 
Eray



Re: [gentoo-user] dev-util/kdevplatform-0.9.96 fails

2009-11-16 Thread Graham Murray
Erik  writes:

 Installing (2 of 4) dev-util/kdevplatform-0.9.96
[snip]
>  * Detected file collision(s):   
>  *   
>  *  /usr/lib/kde4/kdevdocumentview.so
>  *  /usr/lib/kde4/kdevgrepview.so
>  *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
>  *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
>  *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc 
>  *  /usr/share/apps/kdevgrepview/kdevgrepview.rc 
>  *  /usr/share/kde4/services/kdevdocumentview.desktop
>  *  /usr/share/kde4/services/kdevgrepview.desktop
>  *   
>  * Searching all installed packages for file collisions...   
>  *   
>  * Press Ctrl-C to Stop  
>  *   
>  * dev-util/kdevelop-3.9.95  

I hit this problem and found that the following worked

emerge -C kdevelop
emerge kdevelop

This installed both kdevplatform-0.9.96 and kdevelop-3.9.96



Re: [gentoo-user] Missing icons in K3b

2009-11-16 Thread Volker Armin Hemmann
On Montag 16 November 2009, Jacques Montier wrote:
> Dale a gentiment tapote:
> > Volker Armin Hemmann wrote:
> >> On Sonntag 15 November 2009, Jacques Montier wrote:
> >>> Volker Armin Hemmann a gentiment tapote:
>  On Sonntag 15 November 2009, Jacques Montier wrote:
> > Volker Armin Hemmann a gentiment tapote:
>  I suspect a missing useflag somewhere.
> >>>
> >>> My k3b useflag :
> >>>
> >>> Installed versions:  1.68.0_alpha3(4)(02:54:09 14/11/2009)(dvd
> >>> encode
> >>> ffmpeg flac mad vorbis wav -aqua -debug -emovix -lame -musicbrainz
> >>> -sndfile -sox -taglib -vcd)
> >>>
> >>>  --
> >>> Jacques
> >>
> >> more like kdelibs useflags missing. Since games have missing icons
> >> too.
> >
> > kdelibs-4.3.1-r2 useflags :
> >
> > 4.3.1-r2(4.3)!t(11:08:17 04/11/2009)(acl alsa bzip2 fam handbook nls
> > opengl semantic-desktop spell ssl -3dnow -altivec -aqua -bindist
> > -debug
> > -doc -jpeg2k -kdeprefix -kerberos -mmx -openexr -sse -sse2 -test
> > -zeroconf)
> >
> > I also have kdelibs-3.5.10-r6 installed which is needed by
> > sci-astronomy/celestia.
> 
>  could you post all your useflags?
> >>>
> >>> In /etc/make.conf : USE="gtk2 hal java oggvorbis pic qt svga tcltk
> >>> -arts -gnome -ipv6"
> >>> and my profile : /usr/portage/profiles/default/linux/x86/10.0/desktop
> >>
> >> emerge --info useflag list would have been much more usefull ;)
> >
> > The output of this is good too.
> >
> > emerge --info | grep USE
> >
> > I don't think we need the whole thing.  Then again, we may.
> >
> > Dale
> >
> > :-)  :-)
> 
> Oups sorry... :-) , here it is :
> 
> USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr
> cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss
> encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal
> iconv java jpeg kde ldap libnotify mad mikmod modules mp3 mp4 mpeg
> mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre
> pdf perl pic png ppds pppd python qt qt3support qt4 quicktime readline
> reflection sdl session spell spl ssl startup-notification svg svga sysfs
> tcltk tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86
> xml xorg xulrunner xv xvid zlib"
> 
> --
> Jacques
> 

here are minze, just for comparism:

USE="32bit 3dnow 3dnowext 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aften 
aiglx aim aio akode akonadi alias alsa altenburgcards amarok amarok2 amd64 amr 
amrnb amrwb analogtv aotuv aqua_theme archive athena atm audio audiofile 
autoreplace bash-completion berkdb binary-drivers binfilter bittorrent 
bluetooth boost branding bzip2 cairo captury cdaudio cdda cddb cdinstall 
cdparanoia cdr cdrom cdsound cegui chm clamav cli clucene connection-sharing 
connectionstatus consolekit contactnotes cracklib crypt css cups curl dbus 
dhcp dhcpcd dirac divx dnd double-precision downloadorder dpms dragonplayer 
dri dts dv dvb dvbplayer dvbsetup dvd dvdr eap-sim eap-tls editor emboss 
emerald emovix encode evo exceptions exif exiv2 expat extra-cardsets fame 
fasttrack fat festival ffmpeg fftw file firefox fits flac flite fontconfig 
foomaticdb 
fortran freetts ftp gadu gd gdbm geoip gif gimp glibc-omitfp glitz glut glx 
gnutella google-gadgets gpgme gpm graphite grub hal hddtemp highlight history 
icons iconv icotools icq icu id3 id3tag ieee1394 imagemagick inotify ipv6 irc 
irmc irrlicht jabber java java6 javascript jce jingle joystick jpeg jpeg2k 
kate kcal kde kde4 kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kexi 
kipi konqueror kontact ktts lame lapack lastfm lcms lesstif libnotify 
libsamplerate libssh2 libv4l2 libwww lirc lm_sensors logitech-mouse logviewer 
lzma lzo mad magic mailbox maildir maps matroska mbox mdnsresponder-compat 
metric mikmod mime mixer mjpeg mmap mmx mmxext mng modules monolithic mp2 mp3 
mp4 mpeg mpeg2 mplayer msn mtp mudflap mule multilib musepack music nano-syntax 
ncurses neXt nepomuk net network networkmanager newspr ngui nls no-old-linux 
nocd nowin nowlistening npp nptl nptlonly nsplugin ntfs obex offensive ogg 
ogg123 ogm old-daemons openexr opengl openmp oscar otr oxygen pam pch pcre pda 
pdf perl phonon physfs pixmaps plasma player plugins png pnm posix postgres 
ppds pppd ps python qt3support qt4 quicktime rar readline recode reflection 
reiser4 reiserfs remix resolvconf rogue rtc sametime sasl scanner scenarios 
schedule schroedinger scsi sdl sdl-image sdl-sound sdlaudio search semantic-
desktop server session skins skype slp smp sms sndfile sockets sound sounds 
spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssh ssl startup-notification 
statistics stats stroke strong-optimization subp svg sysfs sysvipc szip tcpd 
templates test-programs texteffect textures tga theora threads threadsafe 
thumbnail thunar tiff timidity tk tomsfastmath toolbar tools transcode 
translator truetype tv tv_check tv_combiner tv_pick_cgi tvtime udev unicode 
unzip usb 

Re: [gentoo-user] dev-util/kdevplatform-0.9.96 fails

2009-11-16 Thread Christian Panten
Hi Erik,

I had the same collisions.
Unmerge kdevelop using emerge -C kdevelop
do the update und remerge it.

Best regards 
Christian

Am Montag 16 November 2009 schrieb Erik:
> >>> Installing (2 of 4) dev-util/kdevplatform-0.9.96
> 
>  * checking 432 files for package collisions
>  * This package will overwrite one or more files that may belong to other
>  * packages (see list below). You can use a command such as `portageq
>  * owners / ` to identify the installed package that owns a
>  * file. If portageq reports that only one package owns a file then do
>  * NOT file a bug report. A bug report is only useful if it identifies at
>  * least two or more packages that are known to install the same file(s).
>  * If a collision occurs and you can not explain where the file came from
>  * then you should simply ignore the collision since there is not enough
>  * information to determine if a real problem exists. Please do NOT file
>  * a bug report at http://bugs.gentoo.org unless you report exactly which
>  * two packages install the same file(s). Once again, please do NOT file
>  * a bug report unless you have completely understood the above message.
>  *
>  * Detected file collision(s):
>  *
>  *  /usr/lib/kde4/kdevdocumentview.so
>  *  /usr/lib/kde4/kdevgrepview.so
>  *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
>  *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
>  *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc
>  *  /usr/share/apps/kdevgrepview/kdevgrepview.rc
>  *  /usr/share/kde4/services/kdevdocumentview.desktop
>  *  /usr/share/kde4/services/kdevgrepview.desktop
>  *
>  * Searching all installed packages for file collisions...
>  *
>  * Press Ctrl-C to Stop
>  *
>  * dev-util/kdevelop-3.9.95
>  *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
>  *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
>  *  /usr/lib/kde4/kdevdocumentview.so
>  *  /usr/lib/kde4/kdevgrepview.so
>  *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc
>  *  /usr/share/apps/kdevgrepview/kdevgrepview.rc
>  *  /usr/share/kde4/services/kdevdocumentview.desktop
>  *  /usr/share/kde4/services/kdevgrepview.desktop
>  *
>  * Package 'dev-util/kdevplatform-0.9.96' NOT merged due to file
>  * collisions. If necessary, refer to your elog messages for the whole
>  * content of the above message.
> 
> >>> Failed to install dev-util/kdevplatform-0.9.96, Log file:
> >>>
> >>>  '/portage_tmpdir/portage/dev-util/kdevplatform-0.9.96/temp/build.log'
> 
>  * Messages for package dev-util/kdevplatform-0.9.96:
> 
>  * This package will overwrite one or more files that may belong to other
>  * packages (see list below). You can use a command such as `portageq
>  * owners / ` to identify the installed package that owns a
>  * file. If portageq reports that only one package owns a file then do
>  * NOT file a bug report. A bug report is only useful if it identifies at
>  * least two or more packages that are known to install the same file(s).
>  * If a collision occurs and you can not explain where the file came from
>  * then you should simply ignore the collision since there is not enough
>  * information to determine if a real problem exists. Please do NOT file
>  * a bug report at http://bugs.gentoo.org unless you report exactly which
>  * two packages install the same file(s). Once again, please do NOT file
>  * a bug report unless you have completely understood the above message.
>  *
>  * Detected file collision(s):
>  *
>  *  /usr/lib/kde4/kdevdocumentview.so
>  *  /usr/lib/kde4/kdevgrepview.so
>  *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
>  *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
>  *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc
>  *  /usr/share/apps/kdevgrepview/kdevgrepview.rc
>  *  /usr/share/kde4/services/kdevdocumentview.desktop
>  *  /usr/share/kde4/services/kdevgrepview.desktop
>  *
>  * Searching all installed packages for file collisions...
>  *
>  * Press Ctrl-C to Stop
>  *
>  * dev-util/kdevelop-3.9.95
>  *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
>  *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
>  *  /usr/lib/kde4/kdevdocumentview.so
>  *  /usr/lib/kde4/kdevgrepview.so
>  *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc
>  *  /usr/share/apps/kdevgrepview/kdevgrepview.rc
>  *  /usr/share/kde4/services/kdevdocumentview.desktop
>  *  /usr/share/kde4/services/kdevgrepview.desktop
>  *
>  * Package 'dev-util/kdevplatform-0.9.96' NOT merged due to file
>  * collisions. If necessary, refer to your elog messages for the whole
>  * content of the above message.
> 




Re: [gentoo-user] Missing icons in K3b

2009-11-16 Thread Jacques Montier
Dale a gentiment tapote:
> Volker Armin Hemmann wrote:
>> On Sonntag 15 November 2009, Jacques Montier wrote:
>>  
>>> Volker Armin Hemmann a gentiment tapote:
>>>
 On Sonntag 15 November 2009, Jacques Montier wrote:
  
> Volker Armin Hemmann a gentiment tapote:
>
 I suspect a missing useflag somewhere.
   
>>> My k3b useflag :
>>>
>>> Installed versions:  1.68.0_alpha3(4)(02:54:09 14/11/2009)(dvd
>>> encode
>>> ffmpeg flac mad vorbis wav -aqua -debug -emovix -lame -musicbrainz
>>> -sndfile -sox -taglib -vcd)
>>>
>>>  --
>>> Jacques
>>> 
>> more like kdelibs useflags missing. Since games have missing icons
>> too.
>>   
> kdelibs-4.3.1-r2 useflags :
>
> 4.3.1-r2(4.3)!t(11:08:17 04/11/2009)(acl alsa bzip2 fam handbook nls
> opengl semantic-desktop spell ssl -3dnow -altivec -aqua -bindist
> -debug
> -doc -jpeg2k -kdeprefix -kerberos -mmx -openexr -sse -sse2 -test
> -zeroconf)
>
> I also have kdelibs-3.5.10-r6 installed which is needed by
> sci-astronomy/celestia.
>
>
> -- 
> Jacques
> 
 could you post all your useflags?
   
>>> In /etc/make.conf : USE="gtk2 hal java oggvorbis pic qt svga tcltk -arts
>>> -gnome -ipv6"
>>> and my profile : /usr/portage/profiles/default/linux/x86/10.0/desktop
>>>
>>>
>>> -- 
>>> Jacques
>>>
>>> 
>>
>> emerge --info useflag list would have been much more usefull ;)
>>
>>
>>   
> 
> The output of this is good too.
> 
> emerge --info | grep USE
> 
> I don't think we need the whole thing.  Then again, we may.
> 
> Dale
> 
> :-)  :-)
> 


Oups sorry... :-) , here it is :

USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr
cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss
encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal
iconv java jpeg kde ldap libnotify mad mikmod modules mp3 mp4 mpeg
mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre
pdf perl pic png ppds pppd python qt qt3support qt4 quicktime readline
reflection sdl session spell spl ssl startup-notification svg svga sysfs
tcltk tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86
xml xorg xulrunner xv xvid zlib"

--
Jacques





[gentoo-user] dev-util/kdevplatform-0.9.96 fails

2009-11-16 Thread Erik
>>> Installing (2 of 4) dev-util/kdevplatform-0.9.96
 * checking 432 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / ` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do   
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *   
 * Detected file collision(s):   
 *   
 *  /usr/lib/kde4/kdevdocumentview.so
 *  /usr/lib/kde4/kdevgrepview.so
 *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
 *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
 *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc 
 *  /usr/share/apps/kdevgrepview/kdevgrepview.rc 
 *  /usr/share/kde4/services/kdevdocumentview.desktop
 *  /usr/share/kde4/services/kdevgrepview.desktop
 *   
 * Searching all installed packages for file collisions...   
 *   
 * Press Ctrl-C to Stop  
 *   
 * dev-util/kdevelop-3.9.95  
 *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
 *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
 *  /usr/lib/kde4/kdevdocumentview.so
 *  /usr/lib/kde4/kdevgrepview.so
 *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc 
 *  /usr/share/apps/kdevgrepview/kdevgrepview.rc 
 *  /usr/share/kde4/services/kdevdocumentview.desktop
 *  /usr/share/kde4/services/kdevgrepview.desktop
 *   
 * Package 'dev-util/kdevplatform-0.9.96' NOT merged due to file 
 * collisions. If necessary, refer to your elog messages for the whole   
 * content of the above message. 

>>> Failed to install dev-util/kdevplatform-0.9.96, Log file:

>>>  '/portage_tmpdir/portage/dev-util/kdevplatform-0.9.96/temp/build.log'

 * Messages for package dev-util/kdevplatform-0.9.96:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / ` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do   
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *  /usr/lib/kde4/kdevdocumentview.so
 *  /usr/lib/kde4/kdevgrepview.so
 *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
 *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
 *  /usr/share/apps/kdevdocumentview/kdevdocumentview.rc
 *  /usr/share/apps/kdevgrepview/kdevgrepview.rc
 *  /usr/share/kde4/services/kdevdocumentview.desktop
 *  /usr/share/kde4/services/kdevgrepview.desktop
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-util/kdevelop-3.9.95
 *  /usr/lib/debug/usr/lib/kde4/kdevdocumentview.so.debug
 *  /usr/lib/debug/usr/lib/kde4/kdevgrepview.so.debug
 *  /usr/lib/kde4/kdevdocumentview.so
 *  /usr/lib/kde4/kdevgrepview.so
 *  /usr/share/ap

Re: [gentoo-user] emerge @ world -> @preserved-rebuild -> @preserved-rebuild -> what next?

2009-11-16 Thread Erik
Alan McKinnon skrev:
> On Saturday 14 November 2009 01:13:06 Neil Bothwick wrote:
>   
>>> However, it did get to the point where it was complaining about two
>>> packages and the number of files to be rebuilt went (IIRC) 52, 50, 50,
>>> so I decide since it was rebuilding 50 packages the 2nd & 3rd times it
>>> wasn't going to improve. Might not be true though.
>>>   

seems related to https://bugs.gentoo.org/show_bug.cgi?id=292622



[gentoo-user] amarok can't use mysql collection

2009-11-16 Thread Alan McKinnon
Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?

I get errors like this whenever amarok updates the collection:

amarok:  [ERROR!] GREPME MySQL query failed! No database selected  on  
"INSERT INTO images SELECT * FROM images_temp;" 
 

It's not just the above versions, I've tried amarok-1.9.*, various versions of 
mysql-5.0 and mysql-community-5.1.*, always with the same results.

$ eix -e amarok
 Installed versions:  2.2.0(4)(20:08:42 15/11/09)(cdda ipod linguas_en_GB 
mp3tunes mtp opengl semantic-desktop -aqua -daap -debug -lastfm -linguas_bg -
linguas_ca -linguas_cs -linguas_da -linguas_de -linguas_es -linguas_et -
linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -
linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -
linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas...@latin -
linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW)

$ eix -e mysql
 Installed versions:  5.0.84-r1(04:18:46 14/11/09)(community embedded perl 
ssl -berkdb -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -
minimal -profiling -selinux -static)

Google and b.g.o don't return much useful info. Moving the amarok db and 
config files out of the way and restarting doesn't correct the error.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Graham Murray
Eray Aslan  writes:

> - No need to logrotate with time based filenames.  Hence, no need to
> "kill -HUP" the syslog daemon.  No missed logs.

But you still need some system (eg tmpwatch) to delete old log files
otherwise the disk will (eventually) fill with log files. Logrotate
automatically handles the number of/how long to keep logs.



Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 15.11.2009 13:45, Mick wrote:
> On Saturday 14 November 2009 16:53:24 Alex Schuster wrote:
>> I assume you are using logrotate, and have the /etc/logrotate.d/kernel
>> file? I guess the 'compytruncate' is misspelled and should be
>> 'copytruncate'. And 'endscript' is used after using 'prerotate' or
>> 'postrotate', which you probably do not have.
>>
>> Something like that, I never used logrotate by myself. See the man page
>> for more information.
> 
> Hmm ... how do you keep your log files under control?

Use time-based file names.  For syslog-ng something like:

destination mail {
file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR"
template("$ISODATE $HOST $MSG\n") template_escape(no)
owner("root") group("log") perm(0640)
dir_owner("root") dir_group("log")
dir_perm(02750) create_dirs(yes));
};
destination msgs {
file("/var/log/msgs/$YEAR/$MONTH/$DAY/$HOUR"
template("$ISODATE $HOST $MSG\n") template_escape(no)
owner("root") group("log") perm(0640)
dir_owner("root") dir_group("log")
dir_perm(02750) create_dirs(yes));
};

source local { unix-dgram("/dev/log"); pipe("/proc/kmsg");
internal(); };
filter mail { facility(mail); };
filter notmail { not facility(mail); };
log { source(local); filter(mail); destination(mail); };
log { source(local); filter(notmail); destination(msgs); };


Important points:
- "unix-dgram" is good
- Use template() to determine the format
- No need to logrotate with time based filenames.  Hence, no need to
"kill -HUP" the syslog daemon.  No missed logs.
- Easier to get the log files to a central server with time based
filenames.
- "log" group is for transfering the log files to a central server

-- 
Eray