[gentoo-user] KDE4 + python3.1 == no system-config-printer-kde ?

2011-06-13 Thread Dmitry S. Makovey
Hi everybody,

Is it me missing out on something or does KDE4 (namely PyKDE4) is borked
when default python is set to 3.1?


# eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.1 *
# eselect python list --python3
Available Python 3 interpreters:
  [1]   python3.1 *
# eselect python list --python2
Available Python 2 interpreters:
  [1]   python2.7 *
# grep python /etc/make.conf
 pygrub python python3 pulseaudio qalculate qt3 qt3support

with all of the above PyKDE4 compiles, however
kde-base/system-config-printer-kde-4.6.3 barfs:

Traceback (most recent call last):
  File /usr/share/apps/cmake/modules/FindPyKDE4.py, line 8, in module
import PyKDE4.pykdeconfig

with a bit of look-around it seems like pykde4 has:

RESTRICT_PYTHON_ABIS=2.4

which boils down to (what seems like) pykde4 is built only for 3.1

# epm -ql pykde4 | grep pykdeconfig
/usr/lib64/python3.1/site-packages/PyKDE4/pykdeconfig.py

should I be performing some other waving in the air to make this whole
thing fly? It seems like a bug to me, but I'd rather confirm I'm not
missing something before reporting it.



[gentoo-user] Gentoo + KDE + pulseaudio + ? == happiness

2010-10-18 Thread Dmitry S. Makovey
 Hi everybody,

not trying to stir up a flamewar about pulseaudio viability etc. I want
to make my setup work *with* the pulseaudio, but I feel like I'm missing
something. So I'd rather avoid comments don't use it then if at all
possible.

What I have:
Gentoo + KDE-4.4.5 + pulseaudio-0.9.21.1

How I use it:
In KDE I've got Xine backend setup for playback (if I use gstreamer I
get higher frequency of problems popping up, see below).

Problems I see:
Whenever any app tries to use KDE sound notification system I have a
good chance of sound becoming garbled in Amarok (while listening to the
music), heck even non-KDE apps like Skype would work fine until
something else decides to use sound device (like gnash/lighspark, etc.).
Chances of getting garbled sound are 50/50 - it's never a guarantee:
sometimes it works - sometimes it crashes. To get sound back I have to
restart app (Skype, Firefox, Amarok, etc.).

How I configured it:
$ cat /etc/asound.conf
# as per http://pulseaudio.org/wiki/PerfectSetup#ALSAApplications
# we're using pulseaudio for everything now...
#
pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type pulse
}
 
ctl.!default {
type pulse
}

$ cat ~/.asoundrc
pcm.hda-intel {
   type hw
   card 0
}

ctl.hda-intel {
   type hw
   card 0
}

I've been living with above problems for a while now not having much
time to investigate and writing it off as immaturity of stack, but it
was out for quite a while and obviously people use it with better rate
of success (judging by online resources).

My HW looks like this:
$ cat /proc/asound/cards
 0 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0xfe02 irq 20
 2 [U0x46d0x809]: USB-Audio - USB Device 0x46d:0x809
  USB Device 0x46d:0x809 at usb-:00:02.1-2, high
speed

(second device is a Logitec's USB WebCam).

I realize it may be a question more geared toward pulseaudio community
but I'd rather find out whether there's something Gentoo-specific I'm
missing first.



[gentoo-user] Logitech WebCam Pro 9000 and sound card

2010-03-04 Thread Dmitry S. Makovey
Hi everybody,

I have just bought Logitech WebCam Pro 9000 and much to my suprise
things pretty much worked out of the box... almost. As I have discovered
- even though video is working flawlessly, my audio has gone AWOL. No
matter how many goats and virgins I have sacrificed to the gods of
Google - can not find an answer. Am I missing something obvious? As a
stop-gap measure I'm trying to rebuild my kernel without USB sound
support, but it would be nice to not resort to such drastic measures.




[gentoo-user] Kgpg (KDE4) and missing menu items

2009-10-28 Thread Dmitry S. Makovey
Hi all,

is it me, or does Kgpg (KDE4) indeed miss menu items for Keys/export ,
Keys/reload and so forth? I haven't noticed anything like that with
any other application so far so I'm curious if that's something in my
settings, or shall I stroll over to bugs.kde.org and file it?



Re: [gentoo-user] k3b

2009-03-17 Thread Dmitry S. Makovey
On March 17, 2009, Roger Cahn wrote:
 Hi,

 k3b will not emerge, in spite it was emerged before:
 Failed to emerge app-cdr/k3b-1.0.5-r3
 On my laptop it worked fine.

 Here are the flags:

 app-cdr/k3b-1.0.5-r3  USE=alsa dvd dvdr encode hal mp3 vorbis -arts
 -css -debug -emovix -ffmpeg -flac -musepack -musicbrainz -sndfile -vcd
 -xinerama LINGUAS=fr

 Here are the last lines:
...
 make -j2
 make  all-recursive
 make[1]: entrant dans le répertoire «
 /var/tmp/portage/app-cdr/k3b-1.0.5-r3/work/k3b-1.0.5 »
 Making all in doc
 make[2]: entrant dans le répertoire «
 /var/tmp/portage/app-cdr/k3b-1.0.5-r3/work/k3b-1.0.5/doc »
 /usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
 /usr/kde/3.5/share/apps/ksgmltools2/docbook/xml-dtd-4.1.2/dbcentx.mod:80:
 warning: failed to load external entity
 /usr/kde/3.5/share/apps/ksgmltools2/docbook/xml-dtd-4.1.2/ent/iso-amsn.ent
 %ISOamsn;
  ^
 Entity: line 1:
  %ISOamsn;
   ^

epm -qf 
/usr/kde/3.5/share/apps/ksgmltools2/docbook/xml-dtd-4.1.2/ent/iso-amsn.ent

kdelibs-3.5.9-r4

looks like your problem somewhere with kdelibs and not k3b. Either that or 
docbook-sgml-dtd-4.1-r3 IMO. Try to re-merge those two and then k3b.


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-04 Thread Dmitry S. Makovey
On December 3, 2008, Steve wrote:
 Dmitry S. Makovey wrote:
  Erm - surely I either need to set up my client to port-knock... which
  is a faff I'd rather avoid... in order to use the technique.
 
  nope. just start connection. wait a minute. cancel. start another one.
  wait a minute. cancel. start new one - voila! :)

 Eeew... especially as this would apply to all connections - even the
 ones where I have a DSA key.  I might be able to cope with this if it
 only applied to my initial connection, from which I could grab a copy of
 the DSA key.

Ok, let's theoreticise some more. My paranoia feels particularly frisky today, 
so here it is:
remember, I've mentioned origianlly that once you authenticate successfully 
once with DSA key - your IP is whitelisted. So subsequent connections go 
right through.

  well. Nobody but you knows your requiremens and specifics - we're just
  listing options. It's up to you to either take 'em or leave 'em ;)

 Fair enough - but I've still not found an option for sharing/using
 shared block lists for bot-nets.

Open a Wiki page on Wikipedia, update it every so often and provide simple 
parser for it so others can recycle same IPs. Since it's a Wiki page - others 
can update it as well (including botnet owners, but then they'd have to 
reveal themselves - tricky situation) :)

P.S.
I think I'd better stop with my mad science projects here before I go too far 
and invent brand new theory on host protection ;)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-04 Thread Dmitry S. Makovey
On December 4, 2008, Christian Franke wrote:
 I just don't see what blocking ssh-bruteforce attempts should be good
 for, at least on a server where few _users_ are active.

Considering how much creative paranoia I've exposed in this thread it might 
come as a surprise, but I do agree with the above statement. Strong passwords 
(or key-only authentication) would prevent brute-force attacks from being 
successfull. The only thing that is semi-usefull side-effect is that you can 
identify compromised machines and deny ANY type of traffic from them 
preventing possible DoS launched against you. But then IPs are so easy to 
spoof :) Balance is what makes sysadmin comfortable enough and doesn't 
compromise usability of the server, so everybody decides for themselves. OP 
obviously wants that extra layer of protection and notification so with a 
bit of creativity and some external tools it's possible to achieve. As long 
as he doesn't forget about other aspects of security - he should do just fine 
with all those extra measures :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-04 Thread Dmitry S. Makovey
On December 4, 2008, Adam Carter wrote:
  Open a Wiki page on Wikipedia, update it every so often and
  provide simple
  parser for it so others can recycle same IPs. Since it's a
  Wiki page - others
  can update it as well (including botnet owners, but then
  they'd have to reveal themselves - tricky situation) :)

 Reveal themselves in what way? If you're taking about source IP, they can
 just use one of their bots to make the page update...

true.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-03 Thread Dmitry S. Makovey
On December 3, 2008, Steve wrote:
 Sure, I could use IPtables to block all these bad ports... or... I could
 disable password authentication entirely... but I keep thinking that
 there has to be something better I can do... any suggestions?  Is there
 a simple way to integrate a block-list of known-compromised hosts into
 IPtables - rather like my postfix is configured to drop connections from
 known spam sources from the sbl-xbl.spamhaus.org DNS block list, for
 example.

I went the path of paswordless entries (i.e. DSA/RSA keys) and I think it 
helped a lot, no botnet/worm/cracker is known to do selective key assembly so 
far and it's a labour-intensive process. I think applying keys is a very good 
step forward (well, and make sure every externally exposed service is 
properly patched and secured ;) ).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-03 Thread Dmitry S. Makovey
On December 3, 2008, Steve wrote:
 I have, in the past, used DSA only keys - but this was frustrating on
 several occasions when I wanted access to my server and didn't have my
 SSH keys available to me... I almost always connect using a key pair
 rather than a password - but the password option is very useful to allow
 me to get hold of my SSH keys in the first place in some environments.
 If I found a distributed attack on a valid user name, for example, I'd
 consider this a critical change - however inconvenient.

get yourself some portable linux device capable of either USB, ethernet or 
wifi connection (OpenMoko, Nokia NXXX, etc.) plug your keys there - and 
voila, you've got yourelf both secure terminal and key storage in one box. I 
would be highly suspicious initiating SSH connection with my servers from 
untrusted box (which is any box not built and maintained by me ;) ) as there 
is a chance of keylogger (no matter how friendly owner of spoken box is - you 
don't know if he wasn't hacked and you have no time for even casual 
checking).

You can use variation of port-knocking and reverse your strategy based on the 
pattern:

1. drop first connection from specified IP and record it in first_try table
2. drop second connection from specified IP and record it in second_try 
table
3. if IP is in both first_try and second_try - allow it to attempt 
authentication but only with the keys. (removing it from *_try tables and 
possibly recording it in whitelist)
4. if IP fails X number of attempts within specified timeframe - remove from 
whitelist and record in blacklist

bit tricky logic, but fairly simple to implement (I use *BSD PF so no ready 
recipe for iptables here ;) ).

bit paranoid, but it covers your initial concern with distributed attack and 
single-attempts. You can further collect older entries from first_try into 
blacklist and do whatever you please with them. 

You can also collect high-frequency attempts into blacklist and have very big 
blacklist you can sell off on eBay :)

P.S.
I actually don't do any of the above. It was just a surge of creative paranoia 
in response to initial request :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-03 Thread Dmitry S. Makovey
On December 3, 2008, Paul Hartman wrote:
 Of course, this is assuming the botnet stops after rejected connections...

oh no, not rejected - dropped ;) let them go through pains of timing out 
without knowing if anything is actually listening on the other side ;)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Curious pattern in log files from ssh...

2008-12-03 Thread Dmitry S. Makovey
On December 3, 2008, Steve wrote:
 Paul Hartman wrote:
  I think using Dmitry's idea of rejecting the first 2 connections, but
  then allowing it as normal on the third attempt would satisfy your
  requirements for being on the normal port, allowing all IPs and
  requiring no special setup on the client end (other than knowing they
  have to to retry twice).

 Erm - surely I either need to set up my client to port-knock... which is
 a faff I'd rather avoid... in order to use the technique.  

nope. just start connection. wait a minute. cancel. start another one. wait a 
minute. cancel. start new one - voila! :)

 While I recognise port knocking as a valuable strategy in some
 circumstances, it seems a very bad fit for my needs.

well. Nobody but you knows your requiremens and specifics - we're just listing 
options. It's up to you to either take 'em or leave 'em ;)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Portage wants KDE4, I don't

2008-11-25 Thread Dmitry S. Makovey
On November 25, 2008, Nikos Chantziaras wrote:
 I decided to give portage 2.1.6_rc1 a try.  Now it wants to upgrade my
 KDE3 to KDE4.  I never unmasked or keyworded any KDE4 stuff.  Any
 options other than removing portage 2.1.6_rc1 again?

1st of all, I'm running 2.2.x versions of portage and never had KDE4 magically 
unmasked. You'd better check your setup. I do realize that 2.2.x is not 
2.1.6_rc1, but what I mean - it must be either a bug in portage or your 
setup. Find where the problem originates. Do you have ~arch KDE3 ? I suppose 
you don't run ~arch branch, right?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Re: Portage wants KDE4, I don't

2008-11-25 Thread Dmitry S. Makovey
On November 25, 2008, Nikos Chantziaras wrote:
 I didn't unmask nor keyword any *KDE4* stuff.  Only KDE3.  Previous
 portage was happy with that.  The new portage is not.  I have dozens of
 packages in package.keywords that look like this:

 kde-base/kdelibs

in which case portage did exactly what you've asked it to. You should've 
mentioned either which specific versions you're unmasking/keywording or 
slots. Either way it's not a bug it's a true feature.

 Now portage wants to install the 4.1 versions of all those.  The
 previous portage did not; I had to tell it to keyword the 4.1 versions
 if I wanted that.

It exhibits proper behavior, what's wrong with that? I'd be surprised if I ran 
system with blanket keyworded kde builds (no slot or version mentioning) and 
portage wouldn't suggest KDE4 install. KDE4 is a successor of KDE3 so it's 
all correct. The fact that you've enabled ~arch builds without consideration 
for future implications doesn't constitute fault on part of portage, sorry. I 
would suggest now and in the future either specify slot or version of package 
you're unmasking unless you *really* know what you're doing.

P.S.
KDE3 and KDE4 would live happily alongside each other as long as you have 
USE=kdeprefix specified in /etc/make.conf .

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Re: Portage wants KDE4, I don't

2008-11-25 Thread Dmitry S. Makovey
On November 25, 2008, Stroller wrote:
 On 25 Nov 2008, at 14:17, Nikos Chantziaras wrote:
  ...
  I didn't unmask nor keyword any *KDE4* stuff.  Only KDE3.

 I can't help wondering if that's your problem. You unmasked KDE on
 your own machine... now in the main tree KDE 3 is no longer masked,
 but KDE 4 is available (so your machine thinks you wanted it
 unmasked). I would try removing *everything* KDE-related from /etc/
 portage/package*  trying `emerge -pv world` again.

if Nikos is after 3.5.10 he needs it to be unmasked as it's in ~arch just as 
KDE4 is ;)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Dmitry S. Makovey

Hi everybody,

I've just updated to 4.1.3 (slotted alongside with 3.5.9) and all of sudden 
konqueror and akregator (didn't test much more, but I'm sure something else 
was broke too) stopped launching hinting that there is a CSS version 
mistmatch blah-blah-blah. Path to CSS suggested that 4.1.3 was using CSS from 
3.5.9 which was bizzare since it was working before. 

so I checked my KDEDIRS environment variable and found out that kde-3.5 was 
listed there (no traces of kde-4.1) and to work around it I just applied 
little script that rewrites KDEDIRS to something more usefull (?) placing it 
under ~/.kde-4.1/env/kde4-kdedirs.sh:

#!/bin/sh
export KDEDIRS=/usr:/usr/local

and this fixed it. Now my question is: is it something about my setup or it's 
happening to others too? Is there a more proper way to fix it?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Dmitry S. Makovey
On November 12, 2008, Alan McKinnon wrote:
 On Wednesday 12 November 2008 18:31:41 Dmitry S. Makovey wrote:
  Hi everybody,
 
  I've just updated to 4.1.3 (slotted alongside with 3.5.9) and all of
  sudden konqueror and akregator (didn't test much more, but I'm sure
  something else was broke too) stopped launching hinting that there is a
  CSS version mistmatch blah-blah-blah. Path to CSS suggested that 4.1.3
  was using CSS from 3.5.9 which was bizzare since it was working before.
 
  so I checked my KDEDIRS environment variable and found out that kde-3.5
  was listed there (no traces of kde-4.1) and to work around it I just
  applied little script that rewrites KDEDIRS to something more usefull (?)
  placing it under ~/.kde-4.1/env/kde4-kdedirs.sh:
 
  #!/bin/sh
  export KDEDIRS=/usr:/usr/local
 
  and this fixed it. Now my question is: is it something about my setup or
  it's happening to others too? Is there a more proper way to fix it?

 I had something similar on my first try:

 kde-4 went into /usr
 kde-3 went into /usr/kde/3.5

 And bizarre weird errors kept happening. I remerged all of kde-4 with
 USE=kdeprefix to put it back into /usr/kde/4.1 and all the weirdness went
 away

I've dealt with this in the past too.

I'm pretty sure I have enabled kdeprefix before 4.1.3 merge. I know it's 
there now and emerge -uDNp world doesn't show anything to be rebuilt due to 
useflag change. :(

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Dmitry S. Makovey
On November 12, 2008, Volker Armin Hemmann wrote:
  I had something similar on my first try:
 
  kde-4 went into /usr
  kde-3 went into /usr/kde/3.5
 
  And bizarre weird errors kept happening. I remerged all of kde-4 with
  USE=kdeprefix to put it back into /usr/kde/4.1 and all the weirdness
  went away

 in my opinion installing kde straight into /usr and changing the default
 behaviour is the most stupid thing gentoo devs have done in the last couple
 of years.

wouldn't call it stupid though. FHS compliance is a good thing (I'm a sysadmin 
so I really appreciate when things can be easily located universaly). I think 
what failed is communication on that change. In developers defense I'd say 
that we're dealing with ~arch packages here so we've been warned they'll be 
somewhat not-so-stable. What I think needs to happen is gentoo users have to 
be warned in big red letters everywhere possible when upgrading from KDE3 to 
KDE4 to make firm decision whether to use kdeprefix or not.

Enforcing proper FS layout is a good thing IMO. Just needs clear communication 
before marked as stable :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Dmitry S. Makovey
On November 12, 2008, Peter Alfredsen wrote:
 On Wednesday 12 November 2008, Dmitry S. Makovey wrote:
  Hi everybody,
 
  I've just updated to 4.1.3 (slotted alongside with 3.5.9) and all of
  sudden konqueror and akregator (didn't test much more, but I'm sure
  something else was broke too) stopped launching hinting that there is
  a CSS version mistmatch blah-blah-blah. Path to CSS suggested that
  4.1.3 was using CSS from 3.5.9 which was bizzare since it was working
  before.

 You need to go fully ~arch on KDE for them to co-exist in a nicer way.

looking at BGO I somehow don't feel too encouraged to go fully ~arch ;)

http://bugs.gentoo.org/buglist.cgi?quicksearch=3.5.10

most of bugs listed above suggest that things break when moving in 3.5.10 
direction. I'm not really prepeared to part with 1 stable platform in favor 
of using 2 unstable ones ;)

I'll have to live with workarounds for a while I think, since I really depend 
on 3.5.x (i.e. fully functional KDE) and 4.1.3 is more of sneak-peek and an 
attempt to adjust/get used to the new way ahead of time :)

Another silly question that bothers me now: KDE3 menu displayes double 
entires for most KDE applications whereas KDE4 doesn't. Did anybody try to 
solve this one (even as a workaround)? This behavior was there ever since I 
first tried KDE-4.0.x.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Dmitry S. Makovey
On November 12, 2008, Volker Armin Hemmann wrote:
  wouldn't call it stupid though. FHS compliance is a good thing (I'm a
  sysadmin so I really appreciate when things can be easily located
  universaly).

 why? the FHS is a stupid standard. Why is following stupid standards a good
 thing? What next? LSB compliance - because it is great to be broken by
 definition?

any consistency on a system is a good thing. when you deal with N systems you 
really appreciate when things are easily located and could be deducted easily 
even if you don't know where they are. Any standard could easily be 
called stupid but in absense of better alternatives I'd rather 
have stupid standard than none. 

  I think what failed is communication on that change. In
  developers defense I'd say that we're dealing with ~arch packages here so
  we've been warned they'll be somewhat not-so-stable. What I think needs
  to happen is gentoo users have to be warned in big red letters everywhere
  possible when upgrading from KDE3 to KDE4 to make firm decision whether
  to use kdeprefix or not.

 it would have been better to NOT introduce that kdeprefix flag and instead
 introducing a FHS flag - which should have been off by default. The current
 way - kdeprefix to get sane behaviour, that turned off, changing the
 default behaviour is either stupid or evil.

see, that depends on your perspective and long term goal. Like Alan mentioned 
in his post: if long-term strategy is to have gentoo more FHS-friendly (for 
whatever reasons) then default compliance is a good thing, if long-term 
solution is to keep doing things in non-FHS-way (a.k.a. gentoo-way ;) ) then 
your suggestion is a more viable one. So the real question you want to 
ask: Is gentoo as a whole intends to be FHS compliant in the future? What 
are the reasons for that? Can I opt-out?. For myself I think I know answers 
for the last two, but for you, I guess you'd have to find out yourself. What 
would be interesting to know for the entire group is the answer to the first 
question: Is gentoo as a whole intends to be FHS compliant in the future?. 
Does anybody know the answer?

  Enforcing proper FS layout is a good thing IMO. Just needs clear
  communication before marked as stable :)

 Like making kde update interactive? Require a 'yes, I know about kdeprefix'
 dialog box?

no. there are simplier alternatives. Read Alan's post, and as an alternative 
here's my take: you can fail building any kde build if state of kdeprefix 
is undefined in /etc/make.conf. So you'd have to have that either explicitely 
enable or disable there. Not sure if that'd be easy to implement with current 
portage EAPI (not flaming - just don't know ;) )

 kde has always been in its own directory tree. /opt back in the suse days
 for example. Elderly kde documentation told people to install kde in its
 own sub tree - and I loved that. I always hated gnome for cluttering /usr
 with its garbage. Having a big project like kde in its own tree has a
 bazillion of advantages.

I can list quite a few disadvantages as well. So it boils down to the matter 
of personal preference and the direction that gentoo dev team chose for the 
future. 

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] openoffice 3 broken?

2008-11-04 Thread Dmitry S. Makovey
On November 4, 2008, Philip Webb wrote:
  I'm back to MSOffice.  I hate it but it works.

Sorry, might be coming late to this discussion and offering something that was 
already offered, but how about openoffice-bin ? It works for me 100% of the 
time on several workstations without a glitch (both x86 and amd64)? 

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] grub menu working but invisible

2008-07-14 Thread Dmitry S. Makovey
On July 14, 2008, Matt Harrison wrote:
 I ran grub-install as normal and it (apparently) installed the
 bootloader without problems.

 However, now, when I boot up, I don't get a grub menu or anything on the
 screen. Originally I thought there was a problem and my system wouldn't
 boot but I tried pressing return and it booted up without problems.

same here on 2 independent machines. Each one exhibits same problem. It's not 
completely broken but sure as heck is annoying. Did I miss some new 
configuration step you have to do with Grub?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] KDE-4.0.4 (not a nag)

2008-05-14 Thread Dmitry S. Makovey

Hi everybody,

does anybody know what's happening to KDE4 in gentoo land ? Gentoo-KDE folks 
were pretty responsive with previous 4.0.x releases updating portage tree 
etc., but now I can't find much updates on what's happening with 4.0.4. Was 
it 3.5.9 preparations that took priority?

Note: this message is not a nag, it's just my curiosity speaking (well and 
desire to finally switch to KDE4 as 4.0.3 had some glitches and functionality 
gaps that prevented my permanent switch so far).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Why does firefox always do DNS query for www.gentoo.org?

2008-01-29 Thread Dmitry S. Makovey
On January 29, 2008, Mick wrote:
 On Tuesday 29 January 2008, [EMAIL PROTECTED] wrote:
  On Tue, Jan 29, 2008 at 12:31:19PM +0200, Uwe Thiem wrote:
   On Tuesday 29 January 2008, Shaochun Wang wrote:
Currently, I find that firefox always try to a dns query for
www.gentoo.org when it starts. I don't know the reason.
  
   Could it be you made it its startup page?
 
  When I emerge a new version of firefox, it always loads that page the
  first time it runs; it annoys me too.  But it only happens to me the
  first start after a new build.

 It used to be the case that FF would search in advance for the Google or
 whichever search engine of choice you have selected (on the top RH search
 window) by prefetching some relevant pages.  Could this have something to
 do with your case?  Other than that my guess is that you have setup Gentoo
 in some place within FF, or one of its extensions and it loads, or
 prefetches the page in question.  A search through its config might help.

I had impression that FF does checks of pages in your Bookmarks every once in 
a while which includes updating icon etc. Could that be it? Snoop on the wire 
to see what does it fetch (sorry, I don't have head of this thread so I don't 
know if you've done this already).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] KDE4 and kalgebra

2008-01-28 Thread Dmitry S. Makovey

I decided to take KDE4 for a spin and sync'd + unmasked all needed components, 
however build for kalgebra bombs (messages at the end of email).

Before I go to bgo or bko can somebody tell me if I'm not missing something 
obvious? I did check that Graph3D seems to be comming from Qt-4 and Qt *is* 
built with OpenGL support which should cover those Graph3D functions, 
correct?

[100%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/functionimpl.o
Linking CXX executable kalgebra
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::new_func3d()':
algebra.cpp:(.text+0x189): undefined reference to `Graph3D::setFunc(Expression 
const)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::save3DGraph()':
algebra.cpp:(.text+0xefd): undefined reference to `Graph3D::toPixmap()'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::KAlgebra(QWidget*)':
algebra.cpp:(.text+0x26eb): undefined reference to 
`Graph3D::Graph3D(QWidget*)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::KAlgebra(QWidget*)':
algebra.cpp:(.text+0x3dfb): undefined reference to 
`Graph3D::Graph3D(QWidget*)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_solid()':
algebra.cpp:(.text+0x8d): undefined reference to 
`Graph3D::setMethod(Graph3D::Type)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_lines()':
algebra.cpp:(.text+0xad): undefined reference to 
`Graph3D::setMethod(Graph3D::Type)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_dots()':
algebra.cpp:(.text+0xca): undefined reference to 
`Graph3D::setMethod(Graph3D::Type)'
collect2: ld returned 1 exit status
make[2]: *** [kalgebra/src/kalgebra] Error 1
make[1]: *** [kalgebra/src/CMakeFiles/kalgebra.dir/all] Error 2
make: *** [all] Error 2


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] package.provided

2008-01-08 Thread Dmitry S. Makovey
On January 8, 2008, Daniel Iliev wrote:
 On Tue, 8 Jan 2008 20:23:58 +0200

 Alan McKinnon [EMAIL PROTECTED] wrote:
  On Tuesday 08 January 2008, Daniel Iliev wrote:
   On Tue, 8 Jan 2008 15:11:09 +0200

 --snip--

  Am I correct in saying you plan to emerge mplayer with a few extra
  params and not much else customizing? In that case the mods you will
  make are simple and need to be done just once. Then paste the same
  changes into a new ebuild each time you want to upgrade

 Actually the changes I want to make are not so few. The whole story is
 that several days ago a friend of mine pointed me to a very cool
 front-end for mplayer: http://smplayer.sourceforge.net/
 Unfortunately it can't be found in portage yet.

http://smplayer.wiki.sourceforge.net/Contributed+Packages

lists Berkano Overlay as a source for ebuild. You might want to check it out 
before you go too far building your own :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] amd64 fresh install woes (configure: error: cannot run C compiled programs.???)

2007-11-29 Thread Dmitry S. Makovey
On November 27, 2007, Philip Webb wrote:
 071127 Dmitry S. Makovey wrote:
  I decided that the time has come to switch over to 64bit computing
  and went with fresh LiveDVD install of gentoo.
  After doing stage3 install and making syncing portage
  I'm failing updates on gcc and sandbox - both complaining:
'configure: error: cannot run C compiled programs'

 I recently installed 64-bit Gentoo on a newly-built machine
  had something very similar happen with Gcc  Sandbox.
 Try recompiling your kernel with support for
 'Executable file formats/emulations - [x] IA32'.

Thanks! that was it! After 3 days of fiddling I finally got my 64bit system up 
and running from scratch. Couple of things that suck is the inability to 
apply same GUI style to 32-bit apps so that they look exatly the same as 
64bit (gtk-engines-qt etc.) but that's a minor issue. Most importantly all 
apps do work so far.

 You may also later need for some other pkgs
 'app-emulation/emul-linux-x86-xlibs'  some of its brothers.

that got pulled in with mozilla-firefox-bin :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] amd64 fresh install woes (configure: error: cannot run C compiled programs.???)

2007-11-27 Thread Dmitry S. Makovey
Hi all,

Little history:
like many on this ML I decided that the time has come to switch over to the 
64bit computing and went with fresh LiveDVD install of gentoo.

Cruel reality:
After doing stage3 install and making syncing portage I'm failing updates on 
gcc and sandbox - both complaining:

configure: error: cannot run C compiled programs.

for sandbox there was a suggestion of turning off sandbox in FEATURES. I did 
that. In fact my FEATURES is absolutely empty at this point and it's still a 
no-go.

Now before I go and post this in bugs.gentoo.org I'd like to know if maybe 
it's an 64-bit FAQ and I'm doing something wrong. Any 
pointers/suggestions/directions are appreciated.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] OT: forum - mailing list software

2007-11-09 Thread Dmitry S. Makovey

It's a bit off-topic, however I have no other place to ask this question:

Which online forum systems offer bi-directional gateway with email system. 
Examples:

* user posts on forum - email is being sent to subscribers (that one almost 
any forum out there has out-of-the-box)

* user replies to email sent by forum software and his/her reply gets posted 
in appropriate thread of that forum (that is what's important) sending out 
subsequent notifications to other subscribers of that forum.

Now I need software that does *both*. Is there any software that does it. 
Can't quite figure out approriate query for Google to find one. PhpBB doesn't 
have any info on that subject and I didn't run any forum software in the 
past.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


[gentoo-user] amarok, last.fm and recent updates

2007-04-12 Thread Dmitry S. Makovey

Hi everybody,

after recent updates (emerge --sync  emerge -uDN world) amarok stopped 
working with http://last.fm streams. I've experienced same behavior on two 
separate machines. First I've noticed it on my home machine but thought maybe 
something changed with last.fm and amarok can't connect to it period. To my 
surprise my workstation in the office was still working fine (until updates 
that is). After I updated my workstation in the office amarok stopped picking 
last.fm streams there too.

I did revdep-rebuild with no success. I also re-merged ruby (as some of amarok 
scripts are written in ruby) and amarok just to be sure - nothing helped so 
far.

Here's a list of packages I've updated in case that helps any:

 Tue Apr 10 09:42:12 2007  dev-libs/gmp-4.2.1-r1
 Tue Apr 10 09:42:25 2007  net-misc/dhcpcd-3.0.16
 Tue Apr 10 09:50:23 2007  sys-libs/ncurses-5.6
 Tue Apr 10 09:50:50 2007  sys-apps/man-1.6e-r1
 Tue Apr 10 09:51:38 2007  sys-apps/man-pages-2.44
 Tue Apr 10 09:58:10 2007  sys-libs/db-4.3.29-r2
 Tue Apr 10 10:06:06 2007  sys-devel/gdb-6.6-r2
 Tue Apr 10 10:06:37 2007  app-text/unrtf-0.20.1
 Tue Apr 10 10:06:53 2007  dev-perl/HTML-Tagset-3.10
 Tue Apr 10 10:06:59 2007  virtual/perl-libnet-1.19
 Tue Apr 10 10:07:18 2007  dev-perl/Crypt-SSLeay-0.51-r1
 Tue Apr 10 10:07:34 2007  dev-perl/Parse-Yapp-1.05-r1
 Tue Apr 10 10:07:49 2007  dev-perl/libxml-perl-0.08
 Tue Apr 10 10:08:09 2007  dev-perl/HTML-Parser-3.55
 Tue Apr 10 10:08:22 2007  dev-perl/XML-RegExp-0.03-r1
 Tue Apr 10 10:08:39 2007  dev-perl/URI-1.35
 Tue Apr 10 10:08:53 2007  dev-perl/HTML-Tree-3.23
 Tue Apr 10 10:09:15 2007  dev-perl/libwww-perl-5.805
 Tue Apr 10 10:09:31 2007  dev-perl/XML-DOM-1.44
 Tue Apr 10 10:09:45 2007  dev-perl/XML-XQL-0.68
 Tue Apr 10 10:11:06 2007  sys-apps/file-4.20-r1
 Tue Apr 10 10:11:37 2007  dev-python/pyxml-0.8.4
 Tue Apr 10 10:14:50 2007  dev-java/sun-jdk-1.5.0.11
 Tue Apr 10 10:16:53 2007  dev-util/cvs-1.12.12-r4
 Tue Apr 10 10:26:24 2007  net-mail/courier-imap-4.0.6-r2
 Tue Apr 10 10:26:45 2007  app-portage/layman-1.0.10
 Tue Apr 10 10:27:36 2007  www-client/mozilla-firefox-bin-2.0.0.3
 Tue Apr 10 10:53:48 2007  media-gfx/inkscape-0.45.1
 Tue Apr 10 12:08:15 2007  media-sound/lastfmplayer-1.1.3-r1
 Tue Apr 10 12:52:15 2007  kde-base/kdelibs-3.5.5-r10
 Tue Apr 10 12:54:28 2007  sys-apps/dbus-1.0.2-r2
 Tue Apr 10 13:03:09 2007  media-gfx/kphotoalbum-3.0


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpmSz9mOTbGA.pgp
Description: PGP signature


[gentoo-user] dynamic apache configuration

2006-12-15 Thread Dmitry S. Makovey

Somewhat offtopic question, but here it goes:

does anybody know of a module for apache that will use database to suck in 
part of apache http.conf file? What I need is dynamicaly manage my apache 
host with as few FS writes as possible. I remember seeing such a thing long 
time ago. Now I coudn't find it. mod_vhost doesn't cut it since I need full 
access to pretty muc all apache statements.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpSx9ivYNDlo.pgp
Description: PGP signature


Re: [gentoo-user] dynamic apache configuration

2006-12-15 Thread Dmitry S. Makovey
On Friday 15 December 2006 13:49, Alan wrote:
 Perl
 #!perl
 foreach my $host ( qw( foo bar baz) ) {

push @PerlConfig, EOF;
 VirtualHost xx.xx.169.216:80
   DocumentRoot   /home/httpd/vhosts/${host}.com/
   ServerName ${host}.com
   ServerAliaswww.${host}.com
   DirectoryIndex index.html index.shtml index.htm index.php
   CustomLog  /usr/local/apache/logs/${host}-access.log common
   ErrorLog   /usr/local/apache/logs/${host}-error.log
 [...] you get the picture
   ScriptAlias /cgi-bin/ /home/httpd/vhosts/${host}.com/cgi-bin/
 /VirtualHost

 EOF
 }
 __END__
 /Perl

 Mod_Perl docs have more info, but that's the gist of it.

that's pretty close, thanks. My only worry is how do I hook up database into 
it so that I don't initiate connection with MySQL per-request, but rather 
have some pooling or otherwise reuse same connection since there are not 
updates - only selects.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgp6LfbVYavJB.pgp
Description: PGP signature


Re: [gentoo-user] gentoo box hangs

2006-10-06 Thread Dmitry S. Makovey
On Friday 06 October 2006 00:58, Mick wrote:
 I've run memtest86+ a number of times and no errors were shown. 
 There's a whole thread (either in this ML or in the forums) as to
 why memtest is not a foolproof test for your *system* as opposed to
 a memory module.  Try to search around and look in Google too, in
 case you find it.  There's alternative tests to memtest involving
 running some script (if I remember right). As I said, whichever
 test you run you need to make sure that it exercises your whole
 memory system (modules, controllers, swap).

 Good luck.  :)

 PS.  My box would also crash in M$Windoze if the page file was
 being used (e.g. manipulating large sections of text or pictures),
 but not at the frequency of it crashing under Gentoo with a heavy
 emerge and updatedb taking place.

Thanks it helps to know that.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo box hangs

2006-10-05 Thread Dmitry S. Makovey
On Wednesday 04 October 2006 18:24, Mick wrote:
 On Wednesday 04 October 2006 21:01, Dmitry S. Makovey wrote:
  To eliminate KDE problem I tried to run fluxbox with Firefox 
  xterm - same results - hard freeze.
 
  Did anybody see something similar or at least some educated
  guesses are welcome.

 Last time I experienced something like this was on a desktop which
 had incompatible memory modules fitted.  Trial and error resulted
 in me removing all but one module and the crashes miraculously
 stopped!  Knoppix alone would not cause any crashes whatsoever, but
 as soon as updatedb and an emerge were to take place
 simultaneously, the system would crash.  In particular, it would
 usually crash when the memory of the modules was about to be
 exhausted and the system was going to start writing on the swap
 partition.  It wouldn't happen every single time, but towards the
 end it was happening every time I booted the darn thing up.

thanks for sharing. One question I have - did you run memtest86 or 
something similar at the time? The reason I'm asking - I ran 
memtest86 on this machine and it showed nothing. I'm not entirely 
sure how much I can trust memtest.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo box hangs

2006-10-04 Thread Dmitry S. Makovey

I've got a problem that makes me think it's a HW problem but I'm 
trying to cover all bases. 

Here's what happened:
Last monday I did my regular emerge --sync  emerge -uDN world all 
nice and dandy. After that, according to my log files anyway, I did 
not install a thing. I never rebooted my machine since, except that I 
think on Thursday it hung up on me so I rebooted it - that's when it 
started to freeze up on me randomly every now and then.

At first given all the facts I thought it was HW problem. Right now 
I'm running Knoppix off the same machine and it didn't freeze up on 
me even once. That makes me thing it's an OS issue. 

To eliminate OS I did emerge -e system yet still system freezes up. I 
can do emerge -e world but I doubt it's going to help.

To eliminate KDE problem I tried to run fluxbox with Firefox  
xterm - same results - hard freeze.

Did anybody see something similar or at least some educated guesses 
are welcome.

Oh, by the way - it's a laptop - IBM X31, the rest is: 


Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, 
glibc-2.4-r3, 2.6.17 i686)
=
System uname: 2.6.17 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 04 Oct 2006 21:30:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 
3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse 
-msse2
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/xdvi/
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash 
/etc/terminfo
CXXFLAGS=-O2 -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse 
-msse2
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig buildpkg collision-protect distlocks 
metadata-transfer sandbox sfperms strict userpriv usersandbox
GENTOO_MIRRORS=http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ 
http://ftp.gentoo.or.kr/ http://mymirror.asiaosc.org/gentoo/ 
http://gentoo.channelx.biz/ http://gentoo.kems.net;
LANG=C
LC_ALL=en_US.utf8
LINGUAS=en
MAKEOPTS=-j1
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X Xaw3d acpi acpi4linux alsa arts artworkextra audiofile 
authdaemond avantgo ba-completion bcmath berkdb bindist bitmap-fonts 
bluetooth bootsplash cairo caps cdparanoia cdr chroot cli codecs 
crypt css cups dbus divx4linux djvu dlloader dnd doc dri dv dvb dvd 
dvdr dvdread elibc_glibc emboss encode esd exif fam fbcon fbdev 
ffmpeg firefox flac font-server fortran gamma gdbm gif gimp gimpprint 
glep glgd gpm graphviz gs gstreamer gtk hal iconv icq idea ieee1394 
imagekits imagemagick imap imlib2 innodb input_devices_evdev 
input_devices_keyboard input_devices_mouse ipv6 irda irmc isdnlog 
j2ee jabber jpeg jpeg2k kde kernel_linux koffice-plugin ldap libg++ 
libgd linguas_en live lynxkeymap lzo lzw lzw-tiff mad madwifi mikmod 
mime mimencode ming mmx mmx2 mng monkey mozcalendar mozdevelop 
mozsha1 mozsvg mozxmlterm mp3 mpeg mplayer msn ncurses netbeans nls 
nojython nptl nptlonly oci8 ogg opengl opens oracle7 orathreads oscar 
oss pam pcmcia pcre pda pdf pdfkit perl png pnp postgresql ppds pppd 
python qt3 qt4 quicktime radeon readline reflection samba sdl serial 
session skey smartcard smime sndfile snmp speedo speex spell spl sse 
sse2 ssl tcpd tga threads tidy transcode truetype truetype-fonts 
type1 type1-fonts udev unicode userland_GNU vcd video_cards_radeon 
video_cards_vesa video_cards_vga videos vidix vim vim-with-x vorbis 
webdav win32codecs xanim xinerama xml xml2 xmlrpc xorg xosd xpm 
xscreensaver xv xvid xvmc yahoo zeo zlib
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg and freetype/type1

2006-09-11 Thread Dmitry S. Makovey

Did anybody find xorg destabilize after enabling freetype/type1 
modules ? 

My machine freezes up randomly after I activate those two.

My config:

Pentium M 1.6
IBM ThinkPad X31
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpJ4Lx3zAjKD.pgp
Description: PGP signature


Re: [gentoo-user] Rebuild video drivers after kernel compile?

2006-09-07 Thread Dmitry S. Makovey
On Thursday 07 September 2006 08:34, A. R. wrote:
  With modular Xorg, do you still need to re-build your video
  drivers after every time you re-compile a kernel?

 You have to rebuild those drivers that have been obtained outside
 the standard kernel source tree. This applies to all types of
 drivers, not only video drivers, for example:

 ati-drivers   (video)
 nvidia-drivers (video)
 ipw2100 (wireless)
 ivtv (pvr card)


 This is is independent from modular X.

better yet - get a habbit of using module-rebuild every time after 
you run genkernel ;)

References:

sys-kernel/module-rebuild
sys-kernel/genkernel

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpT11goMQ9zr.pgp
Description: PGP signature


[gentoo-user] USB weirdness

2006-05-09 Thread Dmitry S. Makovey

Is it my problem or is it a generic problem:

My install of Gentoo (2006.0 profile with latest versions of 
gentoo-kernel etc.) doesn't recognize events happening on USB bus. 
i.e.: in order to use my multicard reader it has to be plugged in 
upon boot - otherwise it's not recognized. Furthermore - if I unplug 
it and plug it back in - can't get to device at all. 

I checked to have coldplug and hotplug to be activated/deactivated on 
boot etc. and all combination I've tried didn't help. I also tried to 
enable USB debugging checking if there is any data comming from USB 
and it seems like nothing is comming in. Same CardReader works fine 
with Offtopic OS just fine it seems.

Actually same happened to my PDA (Sony Clie) - after I unplug 
cardreader - Gentoo wouldn't recognize my PDA being plugged in on 
same USB. At some point (I think it was before switching to 2.6 
kernel) it all worked just fine.

In case if this is of any relevance - my MB is Tyan Tiger MP 2460, my 
card reader is Lacie 6-in-1. 

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpxe4LSbv2J0.pgp
Description: PGP signature


Re: [gentoo-user] QT 4

2006-03-16 Thread Dmitry S. Makovey
On Thursday 16 March 2006 12:11, James wrote:
 Hello,

 Has anyone any experiences with developing software with QT4?

 checking whats available, with 'emerge -pv qt', I see:
 x11-libs/qt-3.3.4-r8

 Nothing else... If I add x11-libs/qt to the package.keywords
 file, I get
 x11-libs/qt-4.1.1

 after editing the package.keyword file, If I run emerge -uDp world,
 it want to upgrade qt:
 Calculating world dependencies ...done!
 [ebuild U ] x11-libs/qt-3.3.4-r9 [3.3.4-r8]

since packages you use (I assume KDE etc.) are not using qt4 (i.e. 
require specifically qt3 branch) portage doesn't find any reasons to 
bump version of qt. AFAIR Qt is a slotted package and you can safely 
go ahead and do 
emerge =x11-libs/qt-4.1.1 
but you packages wouldn't use it.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpewKocLWeQB.pgp
Description: PGP signature


Re: [gentoo-user] Re: QT 4

2006-03-16 Thread Dmitry S. Makovey
On Thursday 16 March 2006 15:03, James wrote:
 Dmitry S. Makovey dmitry at athabascau.ca writes:
  since packages you use (I assume KDE etc.) are not using qt4
  (i.e. require specifically qt3 branch) portage doesn't find any
  reasons to bump version of qt. AFAIR Qt is a slotted package and
  you can safely go ahead and do
  emerge =x11-libs/qt-4.1.1
  but you packages wouldn't use it.

 Ok this kinda makes sense. But what exactly is a 'slotted package',
 how do I determine when a packages is slotted, and where do I read
 more about 'slotted'? I see this term used ofen, but, really have
 no clue exactly what slotted means or if it has various meanings
 based on the context of it's (verbiage) usage.

in /usr/portage/x11-libs/qt/qt-4.1.1.ebuild check the line SLOT=4 
and compare it to /usr/portage/x11-libs/qt/qt-3.3.5.ebuild:
SLOT=3

which indicates that those installed in different slots (in basic 
terms - those could be installed side by side without affecting 
existing applications unless they explicitly dependant on specific Qt 
version).

there are quite a few slotted packages in portage so you might bump 
into this every now and then (KDE is slotted AFAIR).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpRm1XWL7WAr.pgp
Description: PGP signature


[gentoo-user] iptables question

2006-01-20 Thread Dmitry S. Makovey

somewhat offtopic, but since I need any help I can get:

how do I redirect trafic from outward facing interface 
(192.168.1.114:80) to loopback device (127.0.0.1:80) ?

my most obvious trick:
iptables -t nat -A PREROUTING -p tcp -d 192.168.1.114 --dport 80 \
-j DNAT --to 127.0.0.1:80
and 
echo 1  /proc/sys/net/ipv4/ip_forward
didn't help. Machine which is opening connection is hanging there 
indefinitely...

what did I miss?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpGUeQ4bFleF.pgp
Description: PGP signature


Re: [gentoo-user] Re: iptables question

2006-01-20 Thread Dmitry S. Makovey
On Friday 20 January 2006 13:41, James wrote:
 #for unlimited traffic on the loopback interface
 iptables -A INPUT -i lo -j ACCEPT
 iptables -A OUTPUT -o lo -j ACCEPT

since I've done my flushing all my rules are nice and permissive ;)

dimon2 ~ # iptables -t filter -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
dimon2 ~ # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source   destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

So I doubt I need specific rules for lo or any other device except 
for NAT rules to redirect my traffic.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgp6S1gU0k90a.pgp
Description: PGP signature


Re: [gentoo-user] iptables question

2006-01-20 Thread Dmitry S. Makovey
On Friday 20 January 2006 13:49, Trenton Adams wrote:
 Under the *nat rule,

 -A PREROUTING -i eth0 -p tcp -m tcp --dport 58443 -j DNAT --to
 192.168.7.1:443

 Under the *filter rules.

 -A ADAMS-FW-INPUT -i eth0 -m state --state NEW -m tcp -p tcp
 --dport 443 -j ACCEPT

I tried similar combination as well to no avail. :(

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpplhtQFKxWJ.pgp
Description: PGP signature


Re: [gentoo-user] PANIC !!!!

2005-10-21 Thread Dmitry S. Makovey
On October 21, 2005 02:30 pm, Allan Spagnol Comar wrote:
 sorry by the way I put it Jeff I got to angry when All my
 services stop working after an ( what should be simple ) update
 .

Allan ,don't get me wrong - Im not trying to pin you, I just want 
to point out that computers and software tend to fail, so whenever 
you're updating/upgrading one or the other you *have to* have backup 
plan. In most scenarios having production machine means that you 
*have to* have development machine working in parallel (ideally 
identical to production machine in all respects) - any changes to 
production machine should be tried/tested on development machine 
first. Being sysadmin for about 7 years now I know that things do 
happen and you have to be ready/prepeared for everything. 

Another point is to go with the lowest resistance path - update only 
GLSA's and do full-blown upgrades only when you plan them carefully 
and test'em out on development box.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
http://www.athabascau.ca
http://www.makovey.net


pgpCIK2Ya9w4X.pgp
Description: PGP signature


[gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey

For past couple of weeks as I was doing emerge --sync and emerge -uDNp 
I've noticed that libgsf has jumping versions. That is one week 
it's 1.12.0 another 1.10.0 and it swings from one to another. Does 
anybody know what might trigger this behavior?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgptfO9Lzdvth.pgp
Description: PGP signature


Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 09:34 am, Mauro Faccenda wrote:
 Dmitry S. Makovey wrote:
  For past couple of weeks as I was doing emerge --sync and emerge
  -uDNp I've noticed that libgsf has jumping versions. That is
  one week it's 1.12.0 another 1.10.0 and it swings from one to
  another. Does anybody know what might trigger this behavior?

 This is because gnumeric REQUIRES =1.10.0... and when you do a -uD
 it will be upgraded.

 You should keep using -uNp instead of -uDNp ;)

looks like it's the case here except that I like my -uDNp as 
system became bit more stable since I started using D and every 
time I upgrade it picks up everything I need and I didn't have to ask 
it twice :) Oh well, maybe -D is a minor drawback and I can survive 
occasional rebuild of libgsf :) 

Thanks a lot for the tip.. it all makes sense now. At least I know now 
what's going on.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpuB0LXueUyR.pgp
Description: PGP signature


Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 11:23 am, Tero Grundström wrote:
  This is because gnumeric REQUIRES =1.10.0... and when you do a
  -uD it will be upgraded.
 
  You should keep using -uNp instead of -uDNp ;)

 I wouldn't throw away -uDNp just because of this.

 On my system there are only two packages that depend on libgsf:

 gnumeric =gnome-extra/libgsf-1.10*
 librsvg  =gnome-extra/libgsf-1.6

 So librsvg can survive with an libgsf version as old as 1.6.

 My solution has been adding these lines to
 /etc/portage/package.mask: =gnome-extra/libgsf-1.12.0
 =gnome-extra/libgsf-1.12.1

I would lean towards abovementioned solution as it is 1) gentoo-way :) 
2) is not destructive and if something requires higher version of 
libgsf it'll complain about masked package and I can deal with it 
then. 

Thanks for usefull tip... Live and learn as they say :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpUV2E7q0zjk.pgp
Description: PGP signature


Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 12:21 pm, Zac Medico wrote:
 mkdir /etc/portage
 echo gnome-extra/libgsf-1.12.0  /etc/portage/package.mask

that would actually produce negative effects on gnumeric so I'd rather 
do as other post (by Tero) suggests: mask higher version as no 
package is requiring it anyway. But thanks for stepping in the 
discussion :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpOcl2U676F3.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Dmitry S. Makovey
For archiving purposes:

I've finally fixed my machine up with as follows:

1. chosen kernel was 2.6.12-r5 as it fixes ugly bug with iptables 
which takes ages for applications to load.

2. configured grub without using initrd

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r5 root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose

After doing all that system became usable again and boots with no 
glitch. Thanks everybody for help.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpxLnnGjhmkH.pgp
Description: PGP signature


[gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey

I recently updated portage tree  kernel and using usual

genkernel --menuconfig --save-config all

produced unbootable system :(
Symptoms point most probably to udev being used by default etc. Here's 
what I have in grub.conf:

title  Gentoo linux (updated)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0 
real_root=/dev/hda11 init=/linuxrc video=vesafb:[EMAIL PROTECTED] 
splash=verbose gentoo=nodevfs udev devfs=nomount
 initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n


I've tried to follow those:

http://www.gentoo.org/doc/en/udev-guide.xml
http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

But it doesn't look like it applies to my case or maybe I jumped too 
far ahead and udev is not fully supported yet?

Here's what I get booting (I'm writing it from memory mostly so don't 
think it's exact output):

-install: applet not found
/init: 41: ln: not found
/init: 45: cat: not found
...
 Loading modules
/init: 172: touch: not found
/init: 172: cat: not found
/init: 172: sed: not found
...
 Activating udev
/init: 178: mkdir: not found
/sbin/udevstart: not found
-=*something about not being able to mount root partition*=-
(boot)::

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpvghHL0ZQXU.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 11:43 am, A. Khattri wrote:
 On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:
  I recently updated portage tree  kernel and using usual
 
  genkernel --menuconfig --save-config all

 Have you tried building a kernel manually (i.e. without using
 genkernel)?

Nope... might try it as well but my understanding that all genkernel 
does is automates compilation/installation and makes sure options for 
devfs or udev are on (depending on --[no]udev --[no]devfs flags).



 --
 Aj.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgp0EZXwjw5gs.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 02:47 pm, Richard Fish wrote:
 Not quite, its an initramfs.  Slightly different rules apply for
 initramfs vs initrd, so you also have to remove the initrd line
 from grub if you want to eliminate it.

So if I understand correctly something like:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11 
init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose

should produce desired results (i.e. bootable system)?
If yes - I've got quite a few error messages about missing symbols in 
kernel modules on boot :( But I've tries so many combinations already 
that it could've been attributed to other changes I've made. So I'll 
try it again and come back if problem persists (or if you'll tell me 
my assumptions are wrong).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpbWx32LOIKz.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 03:11 pm, Dmitry S. Makovey wrote:
 On July 13, 2005 02:47 pm, Richard Fish wrote:
  Not quite, its an initramfs.  Slightly different rules apply for
  initramfs vs initrd, so you also have to remove the initrd line
  from grub if you want to eliminate it.

 So if I understand correctly something like:

 title  Gentoo linux (update)
  root (hd0,0)
  kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11
 init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose

finally I've got to optimum (in my opinion) combination:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose


But I've got new problem - for some reason KDE (3.4.1) now hangs after 
login doing initialize peripherals or something like that... and it 
happens only when I switch to 2.6.12, weird... anybody seen symptoms 
like that? First time since I've switched to 2.6.x kernels I've got 
so many issues with simple kernel upgrade, is there something going 
on I should be aware of?


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpkQ2ZRdln06.pgp
Description: PGP signature


Re: [gentoo-user] (Was:KDE 3.4.1 released) Removing arts

2005-06-02 Thread Dmitry S. Makovey
On June 2, 2005 01:04 pm, Andreas Karlsson wrote:
 I dont want to start a flamewar here but I dont see the reason
 why KDE insists on using arts. Why not just route all sounds
 through alsa? Or has it to do with some cards limitations for
 harwaremixing?

because there are more platforms than just linux and not all the 
platforms have ALSA. There are more reasons than that but this is the 
most obvious. Arts was single gateway to whatever soundsystem your OS 
provides for entire KDE in contrast to each application being smart 
enough to recognize what and how to use with each OS.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgppOSCQpFWrL.pgp
Description: PGP signature


Re: [gentoo-user] grub prblems...

2005-05-26 Thread Dmitry S. Makovey
On May 25, 2005 06:36 pm, James Hiscock wrote:
  After recent update of the system my GRUB became partially
  broken. Namely: default saved/savedefault statements stopped
  working. Is it me or it's a common problem and how do I fix it. I
  attach my grub.conf for those who might be interested...

 Once you've managed to boot your system, run grub-set-default.
 It'll create /boot/grub/default, and then the savedefault stuff
 will work properly.

 ...at least, that's what fixed it for me...

Hmm. I ran grub-set-default and is still complains... maybe something 
in my config is wrong? Would you care to share your config?


 Seems to apply to sys-boot/grub-0.96-r1...

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpn3hFy5zy6n.pgp
Description: PGP signature


[gentoo-user] grub prblems...

2005-05-25 Thread Dmitry S. Makovey

After recent update of the system my GRUB became partially broken. 
Namely: default saved/savedefault statements stopped working. Is 
it me or it's a common problem and how do I fix it. I attach my 
grub.conf for those who might be interested...

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
timeout 30

default saved
fallback 1
splashimage=(hd0,0)/grub/splash.xpm.gz

title  Gentoo linux
 root (hd0,0)
 kernel /kernel-2.6.11-gentoo-r6 root=/dev/ram0 real_root=/dev/hda11 
init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose
 initrd /initrd-2.6.11-gentoo-r6
 savedefault fallback
 
title  Gentoo linux (previous)
 root (hd0,0)
 kernel /kernel-2.6.11-gentoo-r5 root=/dev/ram0 real_root=/dev/hda11 
init=/linuxrc vga=0F01 
 initrd /initrd-2.6.11-gentoo-r5
 savedefault fallback
 
title  Gentoo linux (resume)
 root (hd0,0)
 kernel /kernel-2.6.7-gentoo-r11 root=/dev/ram0 real_root=/dev/hda11 
init=/linuxrc vga=0x317 splash=verbose resume=/dev/hda10
 initrd /initrd-2.6.7-gentoo-r11
 savedefault fallback

title  Gentoo linux (generic)
 root (hd0,0)
 kernel /kernel-2.6.7-gentoo-r11.generic root=/dev/ram0 real_root=/dev/hda11 
init=/linuxrc vga=0x317 splash=verbose
 initrd /initrd-2.6.7-gentoo-r11.generic
 savedefault fallback
 



pgpYgXC8ucS3U.pgp
Description: PGP signature