Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-16 Thread Alan McKinnon
On Fri, 17 Feb 2012 08:19:33 +0100
Raffaele BELARDI  wrote:

> On 02/16/2012 09:16 AM, Hinnerk van Bruinehsen wrote:
> > On 16.02.2012 08:58, Raffaele BELARDI wrote:
> >> I suppose that my only options for rebuilding mythtv are to wait 
> >> for upstream to update the ebuild or to update it myself. How 
> >> difficult would the latter be?
> > 
> > If the package just moved from media-tv to virtual it's easy:
> > 
> > You should make a private overlay and copy the ebuild with the 
> > dependency there:
> 
> I went for a simpler route to just edit the ebuild and rebuild the
> manifest.
> 
> raf

Your changes will be overwritten and reverted next time you resync the
portage tree and every time thereafter.

Editing the ebuild is not the simplest route, it is a vastly more
complex route. Instead, put the ebuild in the local overlay where
portage knows not to touch it. A local overlay does not require layman.

-- 
Alan McKinnnon
alan.mckin...@gmail.com




[gentoo-user] mixing x86 and amd64 distcc?

2012-02-16 Thread Coert Waagmeester

Hello all,

Can amd64 distcc compile for a gentoo x86 setup?
Or do I need a 32bit chroot?

Regards,
Coert Waagmeester



Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-16 Thread Raffaele BELARDI
On 02/16/2012 09:16 AM, Hinnerk van Bruinehsen wrote:
> On 16.02.2012 08:58, Raffaele BELARDI wrote:
>> I suppose that my only options for rebuilding mythtv are to wait 
>> for upstream to update the ebuild or to update it myself. How 
>> difficult would the latter be?
> 
> If the package just moved from media-tv to virtual it's easy:
> 
> You should make a private overlay and copy the ebuild with the 
> dependency there:

I went for a simpler route to just edit the ebuild and rebuild the
manifest.

raf


Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-16 Thread Hari Purnama
On 02/15/12 17:58, Pandu Poluan wrote:
>
> Found this blogpost serendipitously:
>
> http://mark.orbum.net/2011/11/15/the-pan-pipes-of-gentoo-linux-always-at-the-source/
>
> so, are we brothers? :-)
>
> Rgds,
>
brothers in deed.. :)
btw, met siang om pandu..

-- 
Regards, 
Hari Purnama




Re: [gentoo-user] Re: Alternative to firefox?

2012-02-16 Thread Walter Dnes
On Wed, Feb 15, 2012 at 08:43:20AM -0800, Grant wrote

> Thanks for the suggestions everyone.  It sounds like chromium and
> midori are the most popular here but lots of other suggestions I will
> look into too.

  Thanks for posting the question.  I found out about midori, thanks to
this thread.  It passes *MY* "acid test".  I'm a paying subscriber to
both live365.com (internet radio) and NHL Gamecenter Live (NHL Hockey),
and they both work fine under midori.  Both of them rely heavily on
Flash.

-- 
Walter Dnes 



Re: [gentoo-user] ebuild for a fee?

2012-02-16 Thread Dale
Pandu Poluan wrote:
> 
> On Feb 17, 2012 10:13 AM, "Grant"  > wrote:
>>
>> I'd like to pay to have an ebuild built.  Can anyone recommend a way
>> to get in touch with a good person for the job?
>>
>> - Grant
>>
> 
> gentoo-dev? :-)
> 
> Rgds,
> 

gentoo-devhelp ?

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] gptfdisk on livedvd-12.0 ?

2012-02-16 Thread Pandu Poluan
On Feb 17, 2012 2:58 AM, "James"  wrote:
>
> Hello,
>
> My download of livedvd-12 is running really slow,
> despite trying dozens of mirrors (mirrorselect produced
> poor suggestions) currently.
>
> So, I am trying to find out if gptfdisk is on the latest
> livedvd or SystemrescueCD. I cannot find the software listing for the
> livedvd-12. Here is a gentoo page that lists the software
> (packages) included on livedvd-10 [1]
>
> Any suggestions are most welcome. (my)
>

I have nothing but good experience with JAIST mirror. It's wickedly fast.

The address is http://ftp.jaist.ac.jp/pub

(no, that's not a typo. Use HTTP to access its FTP servers. Mucho faster
for unknown reasons.)

Of course, YMMV.

Rgds,


Re: [gentoo-user] ebuild for a fee?

2012-02-16 Thread Pandu Poluan
On Feb 17, 2012 10:13 AM, "Grant"  wrote:
>
> I'd like to pay to have an ebuild built.  Can anyone recommend a way
> to get in touch with a good person for the job?
>
> - Grant
>

gentoo-dev? :-)

Rgds,


[gentoo-user] ebuild for a fee?

2012-02-16 Thread Grant
I'd like to pay to have an ebuild built.  Can anyone recommend a way
to get in touch with a good person for the job?

- Grant



Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-16 Thread Mark Knecht
On 2/16/12, Peter Humphrey  wrote:
> On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:
>
>> I am one of those guys who are against initrd/initramfs :-P
>
> Congratulations! The first correct use of "one of those who" I've seen in
> several years. If only Americans would speak English!
>
> I'll subside back into obscurity now...
>
> --
> Rgds
> Peter Linux Counter 5290, 1994-04-23


(LOL)

The language is English. We speak American. You speak British?!? ;)
>



Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-16 Thread Pandu Poluan
On Feb 17, 2012 8:16 AM, "Peter Humphrey"  wrote:
>
> On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:
>
>
>
> > I am one of those guys who are against initrd/initramfs :-P
>
>
>
> Congratulations! The first correct use of "one of those who" I've seen in
several years. If only Americans would speak English!
>

???

I'm not aware that there can be a 'wrong' usage of "one of those who"...

(Gosh; this thread is so meta...)

Rgds,


Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-16 Thread Peter Humphrey
On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:

> I am one of those guys who are against initrd/initramfs :-P

Congratulations! The first correct use of "one of those who" I've seen in 
several years. If only Americans would speak English!

I'll subside back into obscurity now...

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


[gentoo-user] Re: Group Calendaring with decent Outlook interaction

2012-02-16 Thread walt
On 02/16/2012 04:04 AM, Tanstaafl wrote:

> Sadly, we are a Windows shop, 

That thought never crossed my mind when I mentioned Evolution.

> and although it has admittedly been a
> while, I have seen nothing to indicate that Evolution is any better
> on Windows than it ever has been. When I played with it (last time
> was maybe a year or more ago), it was totally unusable/buggy/crashing
> all the time. Has the windows port improved to a point that I may
> want to give it another try?

I've never tried the Windows port.  I avoid Windows wherever possible :)

Evolution, even on *nix, is far from a polished masterpiece like Exchange.
(I'm assuming that Exchange must be a masterpiece after many years of
costly marketing at MS.)

OTOH, I do use google docs to share spreadsheets with people at work, and
I can see that google is working hard to improve the product before MS can
capture the software-as-service market.  Hard for me to believe that google
would want to piss off Exchange users in such a clumsy way (even though I
suggested exactly that in my previous post ;)

Even if the problem really is the google docs API, I'm guessing that the
API is still in development and is changing rapidly (judging only by their
spreadsheet service, though.  I don't share my calendar with my workmates,
God forbid!  I don't want them to know what I'm doing... ;)




Re: [gentoo-user] {OT} SIP service?

2012-02-16 Thread Willie Matthews
On Thu, 16 Feb 2012 12:51:27 -0800
Grant  wrote:

> >> Is anyone using a SIP service they like that works with generic SIP
> >> clients like linphone?
> >>
> >> - Grant
> >>
> >
> > I like sip2sip.info the most!
> 
> I should have said I need to be able to call regular
> phone number from the SIP client.  I have used Callcentric in the
> past and I liked it.
> 
> - Grant
> 

For that I have been working with google voice, ipkall.com and
pbxes.org. I haven't got it to completely work yet. I know people that
have gotten it to work though. I don't want to pay for it so I try to
configure it all myself.

-- 

Willie Matthews
matthews.wil...@gmail.com



Re: [gentoo-user] slim keyboard layout

2012-02-16 Thread Claudio Roberto França Pereira
On Thu, Feb 16, 2012 at 14:54, James Broadhead  wrote:
> On 16 February 2012 09:10, András Csányi  wrote:
>> Dear All,
>>
>> I have been googling for a while to find the answer for the question
>> how on earth I'm able to set up the default keyboard layout of slim,
>> but I haven't find any answer for this.
>> A few articles say that if the keyboard layout is set up in xorg.conf
>> than it will be okay. It doesn't work. I haven't find any option to
>> set up in /etc/slim.conf file and I also haven't find any information
>> about it in the gentoo documents.
>>
>> So, I would like to know that somebody does know the answer for this 
>> question?
>>
>> Thanks in advance!
>>
>> András
>
> I really doubt that slim has any keyboard-layout functionality - it
> should be defined by xorg.conf. It's possible that you have a complex
> DE (gnome/kde), which overrides the X settings when it loads, as I
> assume that your problem is only in slim, and not also in your DE.
>
> A look at your Xorg.0.log, and some more explanation of your situation
> would be helpful :)
>

The default and recommended "no xorg.conf" setup doesn't play nice
with keyboard layouts. You need to set one on your xorg.conf or
another X.org init script.

I love the idea that Xorg now just works (TM) without any
configuration file, but it could generate something based on what it
detected on the first time, or something.

--
Claudio Roberto França Pereira



Re: [gentoo-user] {OT} SIP service?

2012-02-16 Thread Willie Matthews
On Thu, 16 Feb 2012 11:56:52 -0800
Grant  wrote:

> Is anyone using a SIP service they like that works with generic SIP
> clients like linphone?
> 
> - Grant
> 

I like sip2sip.info the most!

-- 

Willie Matthews
matthews.wil...@gmail.com



Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 23:14:19 +0700, Pandu Poluan wrote:

> What I meant was, I rely on ls to remind me (or other sysadmins) that
> the file is special and should not be edited willy-nilly.

> I don't want a well-meaning but misguided minion to 'taint' the
> mercurial repo.

Makes sense.

> > However, if symlinks have stopped working, there was either a
> > conscious design decision or you've found a new bug.

> Do you think I should bring this question to -dev, or file a bug?

I'd file a bug, then progress can be tracked. If it is a design decision,
the bug will be closed soon enough.


-- 
Neil Bothwick

In space, no one can hear you fart.


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} SIP service?

2012-02-16 Thread Paul Hartman
On Thu, Feb 16, 2012 at 1:56 PM, Grant  wrote:
> Is anyone using a SIP service they like that works with generic SIP
> clients like linphone?

I use Callcentric, have for a few years now as my "home phone". It
works with Linphone or any generic SIP client or hardware. You can
sign up for a free account to test that the setup works before paying
them any money. There is a list of hardware and software with setup
instructions on their website (and also generic SIP instructions).



[gentoo-user] {OT} SIP service?

2012-02-16 Thread Grant
Is anyone using a SIP service they like that works with generic SIP
clients like linphone?

- Grant



[gentoo-user] gptfdisk on livedvd-12.0 ?

2012-02-16 Thread James
Hello,

My download of livedvd-12 is running really slow,
despite trying dozens of mirrors (mirrorselect produced
poor suggestions) currently.

So, I am trying to find out if gptfdisk is on the latest
livedvd or SystemrescueCD. I cannot find the software listing for the
livedvd-12. Here is a gentoo page that lists the software 
(packages) included on livedvd-10 [1]

Any suggestions are most welcome. (my) 

tia,
James


[1] http://www.gentoo.org/proj/en/pr/releases/10.0/faq.xml






Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Mark Knecht
On Thu, Feb 16, 2012 at 9:34 AM, Alex Schuster  wrote:
> Mark Knecht writes:
>
>> On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster 
>> wrote:
>
>> > How can I find out in such a case which processes are waiting
>> > for I/O? top showed nothing.
>>
>> iotop is your friend.
>
> I had called it, but didn't spot the problem there. I don't remember
> exactly what the output was, I had expected to see some process show a
> large value in the IO column, but that was not the case. I THINK! Various
> processes appeared, mostly Akonadi stuff.
>
> I should have logged this, I don't remember this s well. I have caught
> some illness, and had fever, which did not help my memory. There were
> some kworker processes listed on top, but I don't remember whether in
> iotop or in top.
>
> Hmm. Now I just started Akonadi again, and get a lot I/O in iotop, and
> xosview again shows much iowait CPU activity for a while. But that calmed
> down after a minute.
>
>> I'll write more when I get some time to think
>
> Thanks :)
>
>        Wonko
>

Sorry. I was rushing then as now. If you start iotop and then hit the
'o' key it will show only processes actually doing io. If you're hang
is truly an iowait then my experience is that it should at least
identify what process is having the problem.

HTH,
Mark



Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Mark Knecht writes:

> On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster 
> wrote:

> > How can I find out in such a case which processes are waiting
> > for I/O? top showed nothing.
> 
> iotop is your friend.

I had called it, but didn't spot the problem there. I don't remember
exactly what the output was, I had expected to see some process show a
large value in the IO column, but that was not the case. I THINK! Various
processes appeared, mostly Akonadi stuff.

I should have logged this, I don't remember this s well. I have caught
some illness, and had fever, which did not help my memory. There were
some kworker processes listed on top, but I don't remember whether in
iotop or in top.

Hmm. Now I just started Akonadi again, and get a lot I/O in iotop, and
xosview again shows much iowait CPU activity for a while. But that calmed
down after a minute.

> I'll write more when I get some time to think

Thanks :)

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Paul Hartman
On Thu, Feb 16, 2012 at 10:49 AM, Alex Schuster  wrote:
> Paul Hartman writes:
>
>> On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster 
>> wrote:
>
>> > Then my hardware broke, and I got new one, except for the system hard
>> > drive and the PSU. It's an AMD FX-4100 quad-core with 3.6 GHz, 16 G of
>> > RAM. Running gentoo-sources-3.2.1 as kernel. But it seems playing
>> > movies got even worse!
>>
>> You don't mention anything about video card or video driver setup.
>> That's the first thing I would suspect.
>>
>> What video card? What drivers? Are you using hardware accelerated
>> movie playback?
>
> Sorry. Radeon HD 4250 onboard graphics, using the open source radeon
> driver. Hardware acceleration is working fine. As I wrote, it doesn't
> matter which quality the videos are. There is not much CPU being used at
> all, around 5% to 20%, so this is not the bottleneck.
>
>        Wonko
>

I wonder if you copy the movie to /dev/shm first (so disk I/O is not
an issue) does it still have problems? At least this can potentially
eliminate disk I/O as the cause if something else weird is going on.
:)

For the problem of massive amounts of RAM consumed, that's strange.
Are you compiling debug symbols? That can make the RAM usage (in
linking especially) explode...



Re: [gentoo-user] slim keyboard layout

2012-02-16 Thread James Broadhead
On 16 February 2012 09:10, András Csányi  wrote:
> Dear All,
>
> I have been googling for a while to find the answer for the question
> how on earth I'm able to set up the default keyboard layout of slim,
> but I haven't find any answer for this.
> A few articles say that if the keyboard layout is set up in xorg.conf
> than it will be okay. It doesn't work. I haven't find any option to
> set up in /etc/slim.conf file and I also haven't find any information
> about it in the gentoo documents.
>
> So, I would like to know that somebody does know the answer for this question?
>
> Thanks in advance!
>
> András

I really doubt that slim has any keyboard-layout functionality - it
should be defined by xorg.conf. It's possible that you have a complex
DE (gnome/kde), which overrides the X settings when it loads, as I
assume that your problem is only in slim, and not also in your DE.

A look at your Xorg.0.log, and some more explanation of your situation
would be helpful :)



Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Paul Hartman writes:

> On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster 
> wrote:

> > Then my hardware broke, and I got new one, except for the system hard
> > drive and the PSU. It's an AMD FX-4100 quad-core with 3.6 GHz, 16 G of
> > RAM. Running gentoo-sources-3.2.1 as kernel. But it seems playing
> > movies got even worse!
> 
> You don't mention anything about video card or video driver setup.
> That's the first thing I would suspect.
> 
> What video card? What drivers? Are you using hardware accelerated
> movie playback?

Sorry. Radeon HD 4250 onboard graphics, using the open source radeon
driver. Hardware acceleration is working fine. As I wrote, it doesn't
matter which quality the videos are. There is not much CPU being used at
all, around 5% to 20%, so this is not the bottleneck.

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Paul Hartman
On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster  wrote:
> I've written here in the past about my performance problems. My dual-core
> had trouble playing movies without stuttering when there was I/O. It was
> mainly swapping that caused this, and 8 G were not enough for me running
> KDE4.
>
> Then my hardware broke, and I got new one, except for the system hard
> drive and the PSU. It's an AMD FX-4100 quad-core with 3.6 GHz, 16 G of
> RAM. Running gentoo-sources-3.2.1 as kernel. But it seems playing movies
> got even worse!

You don't mention anything about video card or video driver setup.
That's the first thing I would suspect.

What video card? What drivers? Are you using hardware accelerated
movie playback?



Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 8:41 PM, "Neil Bothwick"  wrote:
>
> On Thu, 16 Feb 2012 19:35:50 +0700, Pandu Poluan wrote:
>
> > > Or use a hardlink instead of a symlink.
>
> > I tend to stay away from hardlinks; ls IIRC can't differentiate between
> > hardlinks and normal files.
>
> There is no difference. A normal file entry in a directory is still a
> hardlink, what we generally call hardlinks are just additional copies,
> it's all the same file.
>
> > Thus, there's a possibility that I forgot
> > and accidentally change the one in /opt, which then get pushed to
> > bitbucket.
>
> It doesn't matter where you change it when there's only one file. It
> means you can put the file where openrc seems to want it and keep it in
> your separate directory as you want.
>

What I meant was, I rely on ls to remind me (or other sysadmins) that the
file is special and should not be edited willy-nilly.

That's because the wallmator package is still under development, and it's
synchronized between firewalls using mercurial.

I don't want a well-meaning but misguided minion to 'taint' the mercurial
repo.

> However, if symlinks have stopped working, there was either a conscious
> design decision or you've found a new bug.
>
>

Do you think I should bring this question to -dev, or file a bug?

Rgds,


Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Mark Knecht
On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster  wrote:
> Hi there!
>

Hi back at ya.

> How can I find out in such a case which processes are waiting
> for I/O? top showed nothing.

iotop is your friend.

I'll write more when I get some time to think

HTH,
Mark



[gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Hi there!

Strange things are going on here.

I've written here in the past about my performance problems. My dual-core
had trouble playing movies without stuttering when there was I/O. It was
mainly swapping that caused this, and 8 G were not enough for me running
KDE4.

Then my hardware broke, and I got new one, except for the system hard
drive and the PSU. It's an AMD FX-4100 quad-core with 3.6 GHz, 16 G of
RAM. Running gentoo-sources-3.2.1 as kernel. But it seems playing movies
got even worse!

The videos do not need to have high quality. When I do this, I get
interruptions, sometimes for more than a whole second:

# dd if=/dev/zero of=/tmp/argh bs=10M count=1000

My whole system is encrypted, but the same happens with unencrypted
partitions. All are on LVM. When I write to another drive, there is no
effect. Throughput is around 50-60 MB/s.

Any ideas where to look? I think I'll create a completely fresh
kernel .config with genkernel, maybe my own .config has some weird
problem. But I tried similar things in the past already, getting a kernel
from a live cd, to no effect.

I put cache = 10240 into .mplayer/config to get 10 MB of video cached,
but I see no effect.

Playing music with Amarok is no problem. 

My SATA drives are in AHCI mode, here's some dmesg info about that:

ahci :00:11.0: version 3.0
ahci :00:11.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ahci :00:11.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA
mode
ahci :00:11.0: flags: 64bit ncq sntf ilck led clo pmp pio slum part
ccc sxs 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m1024@0xff70b000 port 0xff70b100 irq 22
ata2: SATA max UDMA/133 abar m1024@0xff70b000 port 0xff70b180 irq 22
ata3: SATA max UDMA/133 abar m1024@0xff70b000 port 0xff70b200 irq 22
ata4: SATA max UDMA/133 abar m1024@0xff70b000 port 0xff70b280 irq 22
ahci :02:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ahci :02:00.0: irq 43 for MSI/MSI-X
ahci: SSS flag set, parallel bus scan disabled
ahci :02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA
mode
ahci :02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part
ccc sxs 
ahci :02:00.0: setting latency timer to 64
scsi4 : ahci
scsi5 : ahci
ata5: SATA max UDMA/133 abar m512@0xff60 port 0xff600100 irq 43
ata6: SATA max UDMA/133 abar m512@0xff60 port 0xff600180 irq 43
pata_atiixp :00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
scsi6 : pata_atiixp
scsi7 : pata_atiixp
ata7: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
ata8: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15

(ata7/8 is the additional PATA controller, seen with the pata_atiixp
driver. I have one drive there, but it is not being used.)

When my new girl-friend comes over and we want to watch a movie, and it
stutters... she will ask why I don't simply use Windows to get
better performance, her five year old PC would do this just fine. Wat do
I tell her? WHAT DO I TELL HER??


And then there's what happened yesterday. A world update was going on,
with libreoffice, firefox, wine and thunderbird emerging in parallel, all
big packages. I have the PORTAGE_TMPDIR on a 5GB tmpfs, only libreoffice
is being compiled on disk. Suddenly, my system became very unresponsive,
the mouse had disappeared, the KDE widgets did not update, and xosview
showed a load of 23. All 4 cores were at 100%, the type of usage was
io-wait. How can I find out in such a case which processes are waiting
for I/O? top showed nothing. The Ctrl-Esc task viewer of KDE showed some
processes being 'inactive on hard drive', does this men those are the
waiting tasks? They varied, they were mostly Akonadi stuff. I stopped
akonadi, and after a while the load dropped. But this may be a
coincidence.

After all had calmed down, I had 2G of swap in use. 16G total RAM, all
being used of course, but only 8G being needed according to the -/+
buffers/cache line in free -m, the other 8G are cache. Does my Linux
somehow prefer to have this much cache, even if tmpfs stuff gets put into
swap? I have vm.swappiness = 0 in /etc/sysctl.conf.

Is there a command to show me what processes the memory in swap belongs
to?

Wonko



Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-16 Thread m...@trausch.us
On 02/15/2012 11:07 PM, Pandu Poluan wrote:
> Eh? You don't need to duck from me... I am one of those guys who are
> against initrd/initramfs :-P

I hate extra cogs in the system.  Simpler is better!

> That said, anyone read his description of other distros? Somehow I got
> the vibes that Gentoo's is the one where he didn't explicitly point out
> something bad against; only a lamentation that he really don't want to
> spend too much time compiling everything.

That seems to be the general gist, yes.

> The blog writer's closing paragraph is very poetic it hurts; for I'm
> about to leave my beloved Gentoo servers behind...

I am actually considering using Gentoo on servers, myself.  I've been
using it on my desktop for a while.  The only thing that I am really
concerned about is that if I do use it on servers, I'm going to have to
find some way to gain better control over the local Portage tree.

What I really ought to be doing is looking at Portage way closer than I
do as an everyday user.  I just want to be absolutely sure that I don't
break anything on a server when I update.  But since I have recently
learned about and started learning Puppet, I think I might have a much
easier time mitigating the risks of change by having an environment that
is defined not in terms of the underlying distribution, but in terms of
the requirements of the servers.

--- Mike

-- 
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
   --- Carveth Read, “Logic”



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 08:09:38 -0500, Allan Gottlieb wrote:

> I didn't realize that I could run emerges together.
> The emerge of LO was the penultimate merge coming from an
> emerge update world
> (the last was LO-l10n)
> While this LO merge was in progress could I have safely started another
> emerge update world

No, because LO still needed to be updated, so you'd have ended up trying
to compile it twice in parallel.

> I am guessing the point is that, since the running emerge was
> essentially just LO, it was safe to run the nvidia-drivers emerge since
> there are no shared dependencies.  Is emerge by some chance clever
> enough that you can always start an update world, while one is running?

There's an easy way to test this, if we don't hear back from you I'll
assume it is not safe :)


-- 
Neil Bothwick

Windows will never cease.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 19:35:50 +0700, Pandu Poluan wrote:

> > Or use a hardlink instead of a symlink.

> I tend to stay away from hardlinks; ls IIRC can't differentiate between
> hardlinks and normal files.

There is no difference. A normal file entry in a directory is still a
hardlink, what we generally call hardlinks are just additional copies,
it's all the same file.

> Thus, there's a possibility that I forgot
> and accidentally change the one in /opt, which then get pushed to
> bitbucket.

It doesn't matter where you change it when there's only one file. It
means you can put the file where openrc seems to want it and keep it in
your separate directory as you want.

However, if symlinks have stopped working, there was either a conscious
design decision or you've found a new bug.


-- 
Neil Bothwick

Despite the cost of living it remains popular.


signature.asc
Description: PGP signature


Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1

2012-02-16 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16.02.2012 14:09, Allan Gottlieb wrote:
> On Thu, Feb 16 2012, Neil Bothwick wrote:
> 
>> On Wed, 15 Feb 2012 21:31:02 -0500, Allan Gottlieb wrote:
>> 
>>> That's it!  I had collision-protect in make.conf.  I just now
>>> removed it and indeed emerge --info shows protect-owned.  I
>>> have an emerge of libreoffice running now.  But hope tomorrow
>>> to be able to retry the nvidia-drivers emerge and see if it
>>> goes through.
>> 
>> There's no reason why you can't do it while the LO emerge is
>> still running.
> 
> First, let me report success (I ran the emerge of nvidia-drivers
> after LO finished and it worked fine) and thanks.
> 
> I didn't realize that I could run emerges together. The emerge of
> LO was the penultimate merge coming from an emerge update world 
> (the last was LO-l10n) While this LO merge was in progress could I
> have safely started another emerge update world ?
> 
> I am guessing the point is that, since the running emerge was 
> essentially just LO, it was safe to run the nvidia-drivers emerge
> since there are no shared dependencies.  Is emerge by some chance
> clever enough that you can always start an update world, while one
> is running?
> 
> thanks again, allan
> 
> 
Two "emerge update world"s I wouldn't recommend, because most likely
you would emerge some packages two times. emerge  while
"emerge --update world" is running is reasonably stable, at least in
my experience.
The biggest problem is slowdown and maybe out-of-memory-errors if you
emerge multiple big packages (e.g. libre office and chromium).

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPQL4AAoJEJwwOFaNFkYcEkkIAKPS7VgHjeFC6eG700aMOu/7
PHvgkKpsyeEZO78V65zFJePMyNBSzbskY5uXCtz2MLLHsuSkyznvJxzXNy/kycL8
6vFAHx6yKgQeudTaXkYxh9FhhVRSbnkedBqVR1x2k+1yhHTjQdsG5iDq0yBZucYi
Hij1KIPKuylhAegp6v0c37dHbB9y9dmKAIW8wYxGfU2sOj6om2ALFZgKWfS1UpQx
1oWjWW93SV68qGVEGXDAyW1DvfDAhfYXF4b6WkCfBBZGVAyRtfRbSIQCs5R6piJi
lr97+765+FFOXc/4DxtNPL4bLg40iEynJRQUJrQV2ukibAFusACfskB9MFpg4WY=
=Bw/t
-END PGP SIGNATURE-



Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1

2012-02-16 Thread Allan Gottlieb
On Thu, Feb 16 2012, Neil Bothwick wrote:

> On Wed, 15 Feb 2012 21:31:02 -0500, Allan Gottlieb wrote:
>
>> That's it!  I had collision-protect in make.conf.  I just now removed it
>> and indeed emerge --info shows protect-owned.  I have an emerge of
>> libreoffice running now.  But hope tomorrow to be able to retry the
>> nvidia-drivers emerge and see if it goes through.
>
> There's no reason why you can't do it while the LO emerge is still
> running.

First, let me report success (I ran the emerge of nvidia-drivers after
LO finished and it worked fine) and thanks.

I didn't realize that I could run emerges together.
The emerge of LO was the penultimate merge coming from an
emerge update world
(the last was LO-l10n)
While this LO merge was in progress could I have safely started another
emerge update world
?

I am guessing the point is that, since the running emerge was
essentially just LO, it was safe to run the nvidia-drivers emerge since
there are no shared dependencies.  Is emerge by some chance clever
enough that you can always start an update world, while one is running?

thanks again,
allan






Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 7:00 PM, "Neil Bothwick"  wrote:
>
> On Thu, 16 Feb 2012 18:39:16 +0700, Pandu Poluan wrote:
>
> > Oh well, I'll just add an explicit source then.
>
> Or use a hardlink instead of a symlink.
>
>

I tend to stay away from hardlinks; ls IIRC can't differentiate between
hardlinks and normal files. Thus, there's a possibility that I forgot and
accidentally change the one in /opt, which then get pushed to bitbucket.

Rgds,


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 6:48 PM, "J. Roeleveld"  wrote:
>
>
> On Thu, February 16, 2012 12:39 pm, Pandu Poluan wrote:
> > On Feb 16, 2012 6:14 PM, "Florian Philipp" 
wrote:
> >>
> >> Am 16.02.2012 11:12, schrieb Pandu Poluan:
> >> >
> >> > On Feb 16, 2012 3:33 PM, "J. Roeleveld"  >> > > wrote:
>
> 
>
> >> >>
> >> >> Pandu,
> >> >>
> >> >> I haven't checked the source yet, but I'm wondering if the scripts
> >> are
> >> >> looking for the "conf.d" file in the location:
> >> >> " ../conf.d " (based from the actual location of the init-script)
> >> >>
> >> >> Can you try the following:
> >> >> # mkdir -p /opt/wallmator/initscripts/conf.d
> >> >> # ln -s /etc/init.d/gatewall
> >> /opt/wallmator/initscripts/conf.d/gatewall
> >> >>
> >> >> and then recreate the original link for the init-script.
> >> >>
> >> >
> >> > IIRC, it's the responsibility of runscript to source the relevant
> >> config
> >> > file in /etc/conf.d, and not the initscript's.
> >> >
> >> > If you peruse the code, you can see that I relied on that feature;
> >> there
> >> > is no source-ing of any file in /etc/conf.d
> >> >
> >> > Rgds,
> >> >
> >>
> >> Yes, but maybe runscript resolves the real file location and then
> >> sources the conf file relative to that location.
> >>
> >
> > Most likely. Didn't use to be like that, though.
> >
> > Oh well, I'll just add an explicit source then.
> >
> > Rgds,
> >
>
> Did those little commands work then? I didn't test them myself.
>

Neither have I, actually. Already on my way home when you suggested the
commands.

Will try them tomorrow and report here.

Rgds,


Re: [gentoo-user] Again about a gentoo vm appliance for vbox

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 7:12 PM, "Tanstaafl"  wrote:
>
> On 2012-02-15 5:17 PM, Mark Knecht  wrote:
>>
>> As you haven't done this recently (I do remember you having troubles a
>> while back) I'm not sure what action you are asking me to take here.
>> I've built a couple of Gentoo VMs on Virtualbox in the past and they
>> both worked fine for me. I've since deleted them as I wasn't using
>> them for anything other than seeing if I could make them work, etc.
>>
>> How can we help?
>
>
> I think that if it is really that easy to build one for someone who knows
what they are doing (I'm in a similar boat as Harry, I've tried a few times
and couldn't get it to work), it would be great if there was a place for
users who feel so inclined to donate VMs that are ready to go... I would
love to get a basic Hardened install in a running VM that I could use as a
starting point...
>
> This would also make it really easy for new users to try out gentoo
without having to go through all the pain of installing it...
>

I'll try uploading my "stage3.9" somewhere... it contains *everything*
except the functional apps (e.g. database, webserver, etc).

The only thing necessary would be to install grub bootloader to the MBR,
and reboot.

Well, at least that's how I did it in my vSphere infrastructure :-)

Rgds,


Re: [gentoo-user] Again about a gentoo vm appliance for vbox

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 07:09:38 -0500, Tanstaafl wrote:

> On 2012-02-15 7:10 PM, Alan McKinnon  wrote:
> > You described your frustration but never mentioned what it is you
> > want. Is it a download source for a working appliance? Google will
> > find one of those for you.
> 
> I've looked and looked and never found one that I could download... and 
> my google-fu is usually pretty good...

Try searching the list archives, start with the thread "Any vbox made
gentoo vm appliances available for dload" from November.


-- 
Neil Bothwick

All things in moderation, ESPECIALLY moderation.


signature.asc
Description: PGP signature


Re: [gentoo-user] Again about a gentoo vm appliance for vbox

2012-02-16 Thread Tanstaafl

On 2012-02-15 7:10 PM, Alan McKinnon  wrote:

You described your frustration but never mentioned what it is you want.
Is it a download source for a working appliance? Google will find one
of those for you.


I've looked and looked and never found one that I could download... and 
my google-fu is usually pretty good...




Re: [gentoo-user] Again about a gentoo vm appliance for vbox

2012-02-16 Thread Tanstaafl

On 2012-02-15 5:17 PM, Mark Knecht  wrote:

As you haven't done this recently (I do remember you having troubles a
while back) I'm not sure what action you are asking me to take here.
I've built a couple of Gentoo VMs on Virtualbox in the past and they
both worked fine for me. I've since deleted them as I wasn't using
them for anything other than seeing if I could make them work, etc.

How can we help?


I think that if it is really that easy to build one for someone who 
knows what they are doing (I'm in a similar boat as Harry, I've tried a 
few times and couldn't get it to work), it would be great if there was a 
place for users who feel so inclined to donate VMs that are ready to 
go... I would love to get a basic Hardened install in a running VM that 
I could use as a starting point...


This would also make it really easy for new users to try out gentoo 
without having to go through all the pain of installing it...




Re: [gentoo-user] Re: Group Calendaring with decent Outlook interaction

2012-02-16 Thread Tanstaafl

On 2012-02-15 5:16 PM, walt  wrote:

On 02/15/2012 10:12 AM, Tanstaafl wrote:

We use Thunderbird+Lightning+Provider for Google Calendar+Google
Calendar here in our office, and the calendaring really is becoming
more and more problematic for us, mostly with respect to interacting
with Meeting Invites from external users of Outlook/Exchange.



I can't answer your question, so I'll ask one instead :)  Do you have
any idea where the problem is occurring, i.e. on the client side or on
the Google server side?


In Thunderbird, in order to be able to interact with meeting invites 
(ie, be able to pointy-clicky the Accept/Update/Decline buttons), you 
have to enable sending emails - but there is a problem with Google 
Calendars where when you accept an update, it spams every participant 
WITH A NEW INVITE, instead of just notifying them of your acceptance... 
this causes great confusion and consternation for the other participants 
(why am I getting an invite from you for a meeting that someone else 
organized??)...


Yes, I use the Provider extension to, and its author claims that this is 
a limitation in the google API.



I'm curious if anyone has any suggestions for a hosted calendaring
solution  that works well with Thunderbird+Lightning *and* deals
properly with meeting invites from outlook/Exchange users?



Once again, just out of curiosity, have you tried Evolution on the client
side to see if it has the same problems that thunderbird/lightening has?


Sadly, we are a Windows shop, and although it has admittedly been a 
while, I have seen nothing to indicate that Evolution is any better on 
Windows than it ever has been. When I played with it (last time was 
maybe a year or more ago), it was totally unusable/buggy/crashing all 
the time. Has the windows port improved to a point that I may want to 
give it another try?




Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1

2012-02-16 Thread Neil Bothwick
On Wed, 15 Feb 2012 21:31:02 -0500, Allan Gottlieb wrote:

> That's it!  I had collision-protect in make.conf.  I just now removed it
> and indeed emerge --info shows protect-owned.  I have an emerge of
> libreoffice running now.  But hope tomorrow to be able to retry the
> nvidia-drivers emerge and see if it goes through.

There's no reason why you can't do it while the LO emerge is still
running.


-- 
Neil Bothwick

WORM: (n.) acronym for Write Once, Read Mangled. Used to describe a
  normally-functioning computer disk of the very latest design.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 18:39:16 +0700, Pandu Poluan wrote:

> Oh well, I'll just add an explicit source then.

Or use a hardlink instead of a symlink.


-- 
Neil Bothwick

If you think the problem is bad now, just wait until we've solved it.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread J. Roeleveld

On Thu, February 16, 2012 12:39 pm, Pandu Poluan wrote:
> On Feb 16, 2012 6:14 PM, "Florian Philipp"  wrote:
>>
>> Am 16.02.2012 11:12, schrieb Pandu Poluan:
>> >
>> > On Feb 16, 2012 3:33 PM, "J. Roeleveld" > > > wrote:



>> >>
>> >> Pandu,
>> >>
>> >> I haven't checked the source yet, but I'm wondering if the scripts
>> are
>> >> looking for the "conf.d" file in the location:
>> >> " ../conf.d " (based from the actual location of the init-script)
>> >>
>> >> Can you try the following:
>> >> # mkdir -p /opt/wallmator/initscripts/conf.d
>> >> # ln -s /etc/init.d/gatewall
>> /opt/wallmator/initscripts/conf.d/gatewall
>> >>
>> >> and then recreate the original link for the init-script.
>> >>
>> >
>> > IIRC, it's the responsibility of runscript to source the relevant
>> config
>> > file in /etc/conf.d, and not the initscript's.
>> >
>> > If you peruse the code, you can see that I relied on that feature;
>> there
>> > is no source-ing of any file in /etc/conf.d
>> >
>> > Rgds,
>> >
>>
>> Yes, but maybe runscript resolves the real file location and then
>> sources the conf file relative to that location.
>>
>
> Most likely. Didn't use to be like that, though.
>
> Oh well, I'll just add an explicit source then.
>
> Rgds,
>

Did those little commands work then? I didn't test them myself.

--
Joost


-- 
Joost




Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 6:14 PM, "Florian Philipp"  wrote:
>
> Am 16.02.2012 11:12, schrieb Pandu Poluan:
> >
> > On Feb 16, 2012 3:33 PM, "J. Roeleveld"  > > wrote:
> >>
> >>
> >> On Thu, February 16, 2012 6:24 am, Pandu Poluan wrote:
> >> > I am wondering if any of you had experienced the same difficulty as
me:
> >> >
> >> > A couple of days ago, I upgraded openrc from (whatever version it was
> >> > previously) to 0.9.8.4.
> >> >
> >> > One of the scripts in /etc/init.d was a symlink to
> > /opt/some/package/path
> >> >
> >> > (To be precise, /etc/init.d/gatewall ->
> >> > /opt/wallmator/initscripts/gentoo/gatewall.init)
> >> >
> >> > ((wallmator is a "Firewall Automator" script I'm developing))
> >> >
> >> > This morning, I rebooted. Upon time to execute the "gatewall" script,
> >> > it complained that some settings (set through /etc/conf.d/gatewall
are
> >> > not set). I double-checked the settings it complained; yep, they are
> >> > there in /etc/conf.d/gatewall.
> >> >
> >> > I tried `/etc/init.d/gatewall start`, no luck. It still complains of
> >> > some vital non-optional settings not being set.
> >> >
> >> > So, I replaced the symlink:
> >> >
> >> > cd /etc/init.d
> >> > mv gatewall gatewall.old
> >> > cp /opt/wallmator/initscripts/gentoo/gatewall.init gatewall
> >> >
> >> > And tried again `/etc/init.d/gatewall start` ... it worked!!
> >> >
> >> > So I tried `shutdown -r now` ... there's joy in Mudville! The
> >> > "gatewall" initscript now properly reads the settings in
> >> > /etc/conf.d/gatewall.
> >> >
> >> > My question is: Is there a change of behavior in how openrc executes
a
> >> > script in /etc/init.d/ when said script is a symlink instead of a
> >> > 'normal' file?
> >> >
> >> > PS: For this particular system, everything under / except /boot
> >> > resides in the same filesystem.
> >> >
> >> > PPS: For the contents of the "gatewall" initscript, see
> >> >
> >
https://bitbucket.org/pepoluan/wallmator/src/edae2e294d07/initscript/gentoo/gatewall.init
> >> >
> >> > Rgds,
> >> > --
> >> > FdS Pandu E Poluan
> >> > ~ IT Optimizer ~
> >> >
> >> >  • LOPSA Member #15248
> >> >  • Blog : http://pepoluan.tumblr.com
> >> >  • Linked-In : http://id.linkedin.com/in/pepoluan
> >> >
> >>
> >> Pandu,
> >>
> >> I haven't checked the source yet, but I'm wondering if the scripts are
> >> looking for the "conf.d" file in the location:
> >> " ../conf.d " (based from the actual location of the init-script)
> >>
> >> Can you try the following:
> >> # mkdir -p /opt/wallmator/initscripts/conf.d
> >> # ln -s /etc/init.d/gatewall /opt/wallmator/initscripts/conf.d/gatewall
> >>
> >> and then recreate the original link for the init-script.
> >>
> >
> > IIRC, it's the responsibility of runscript to source the relevant config
> > file in /etc/conf.d, and not the initscript's.
> >
> > If you peruse the code, you can see that I relied on that feature; there
> > is no source-ing of any file in /etc/conf.d
> >
> > Rgds,
> >
>
> Yes, but maybe runscript resolves the real file location and then
> sources the conf file relative to that location.
>

Most likely. Didn't use to be like that, though.

Oh well, I'll just add an explicit source then.

Rgds,


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Florian Philipp
Am 16.02.2012 11:12, schrieb Pandu Poluan:
> 
> On Feb 16, 2012 3:33 PM, "J. Roeleveld"  > wrote:
>>
>>
>> On Thu, February 16, 2012 6:24 am, Pandu Poluan wrote:
>> > I am wondering if any of you had experienced the same difficulty as me:
>> >
>> > A couple of days ago, I upgraded openrc from (whatever version it was
>> > previously) to 0.9.8.4.
>> >
>> > One of the scripts in /etc/init.d was a symlink to
> /opt/some/package/path
>> >
>> > (To be precise, /etc/init.d/gatewall ->
>> > /opt/wallmator/initscripts/gentoo/gatewall.init)
>> >
>> > ((wallmator is a "Firewall Automator" script I'm developing))
>> >
>> > This morning, I rebooted. Upon time to execute the "gatewall" script,
>> > it complained that some settings (set through /etc/conf.d/gatewall are
>> > not set). I double-checked the settings it complained; yep, they are
>> > there in /etc/conf.d/gatewall.
>> >
>> > I tried `/etc/init.d/gatewall start`, no luck. It still complains of
>> > some vital non-optional settings not being set.
>> >
>> > So, I replaced the symlink:
>> >
>> > cd /etc/init.d
>> > mv gatewall gatewall.old
>> > cp /opt/wallmator/initscripts/gentoo/gatewall.init gatewall
>> >
>> > And tried again `/etc/init.d/gatewall start` ... it worked!!
>> >
>> > So I tried `shutdown -r now` ... there's joy in Mudville! The
>> > "gatewall" initscript now properly reads the settings in
>> > /etc/conf.d/gatewall.
>> >
>> > My question is: Is there a change of behavior in how openrc executes a
>> > script in /etc/init.d/ when said script is a symlink instead of a
>> > 'normal' file?
>> >
>> > PS: For this particular system, everything under / except /boot
>> > resides in the same filesystem.
>> >
>> > PPS: For the contents of the "gatewall" initscript, see
>> >
> https://bitbucket.org/pepoluan/wallmator/src/edae2e294d07/initscript/gentoo/gatewall.init
>> >
>> > Rgds,
>> > --
>> > FdS Pandu E Poluan
>> > ~ IT Optimizer ~
>> >
>> >  • LOPSA Member #15248
>> >  • Blog : http://pepoluan.tumblr.com
>> >  • Linked-In : http://id.linkedin.com/in/pepoluan
>> >
>>
>> Pandu,
>>
>> I haven't checked the source yet, but I'm wondering if the scripts are
>> looking for the "conf.d" file in the location:
>> " ../conf.d " (based from the actual location of the init-script)
>>
>> Can you try the following:
>> # mkdir -p /opt/wallmator/initscripts/conf.d
>> # ln -s /etc/init.d/gatewall /opt/wallmator/initscripts/conf.d/gatewall
>>
>> and then recreate the original link for the init-script.
>>
> 
> IIRC, it's the responsibility of runscript to source the relevant config
> file in /etc/conf.d, and not the initscript's.
> 
> If you peruse the code, you can see that I relied on that feature; there
> is no source-ing of any file in /etc/conf.d
> 
> Rgds,
> 

Yes, but maybe runscript resolves the real file location and then
sources the conf file relative to that location.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread Pandu Poluan
On Feb 16, 2012 3:33 PM, "J. Roeleveld"  wrote:
>
>
> On Thu, February 16, 2012 6:24 am, Pandu Poluan wrote:
> > I am wondering if any of you had experienced the same difficulty as me:
> >
> > A couple of days ago, I upgraded openrc from (whatever version it was
> > previously) to 0.9.8.4.
> >
> > One of the scripts in /etc/init.d was a symlink to
/opt/some/package/path
> >
> > (To be precise, /etc/init.d/gatewall ->
> > /opt/wallmator/initscripts/gentoo/gatewall.init)
> >
> > ((wallmator is a "Firewall Automator" script I'm developing))
> >
> > This morning, I rebooted. Upon time to execute the "gatewall" script,
> > it complained that some settings (set through /etc/conf.d/gatewall are
> > not set). I double-checked the settings it complained; yep, they are
> > there in /etc/conf.d/gatewall.
> >
> > I tried `/etc/init.d/gatewall start`, no luck. It still complains of
> > some vital non-optional settings not being set.
> >
> > So, I replaced the symlink:
> >
> > cd /etc/init.d
> > mv gatewall gatewall.old
> > cp /opt/wallmator/initscripts/gentoo/gatewall.init gatewall
> >
> > And tried again `/etc/init.d/gatewall start` ... it worked!!
> >
> > So I tried `shutdown -r now` ... there's joy in Mudville! The
> > "gatewall" initscript now properly reads the settings in
> > /etc/conf.d/gatewall.
> >
> > My question is: Is there a change of behavior in how openrc executes a
> > script in /etc/init.d/ when said script is a symlink instead of a
> > 'normal' file?
> >
> > PS: For this particular system, everything under / except /boot
> > resides in the same filesystem.
> >
> > PPS: For the contents of the "gatewall" initscript, see
> >
https://bitbucket.org/pepoluan/wallmator/src/edae2e294d07/initscript/gentoo/gatewall.init
> >
> > Rgds,
> > --
> > FdS Pandu E Poluan
> > ~ IT Optimizer ~
> >
> >  • LOPSA Member #15248
> >  • Blog : http://pepoluan.tumblr.com
> >  • Linked-In : http://id.linkedin.com/in/pepoluan
> >
>
> Pandu,
>
> I haven't checked the source yet, but I'm wondering if the scripts are
> looking for the "conf.d" file in the location:
> " ../conf.d " (based from the actual location of the init-script)
>
> Can you try the following:
> # mkdir -p /opt/wallmator/initscripts/conf.d
> # ln -s /etc/init.d/gatewall /opt/wallmator/initscripts/conf.d/gatewall
>
> and then recreate the original link for the init-script.
>

IIRC, it's the responsibility of runscript to source the relevant config
file in /etc/conf.d, and not the initscript's.

If you peruse the code, you can see that I relied on that feature; there is
no source-ing of any file in /etc/conf.d

Rgds,


[gentoo-user] gnupg: can't use keyservers

2012-02-16 Thread Stefan G. Weichinger

Greets,

I recently tried to get/update keys from keyservers and always got stuff
like:

: can't connect to `pgp.zdv.uni-mainz.de': host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Not found


Didn't matter which keyserver, also tried it from the shell (and not
from enigmail/thunderbird).

google showed me:

http://bugs.sabayon.org/show_bug.cgi?id=2781

while I couldn't find anything in the gentoo bugzilla.

Re-emerged curl, enigmail, gnupg, even thunderbird (just in case) ...
still the same issues. I also tried an older release of curl ...

Did anyone hit this as well, and found the solution?

Thanks, Stefan



[gentoo-user] slim keyboard layout

2012-02-16 Thread András Csányi
Dear All,

I have been googling for a while to find the answer for the question
how on earth I'm able to set up the default keyboard layout of slim,
but I haven't find any answer for this.
A few articles say that if the keyboard layout is set up in xorg.conf
than it will be okay. It doesn't work. I haven't find any option to
set up in /etc/slim.conf file and I also haven't find any information
about it in the gentoo documents.

So, I would like to know that somebody does know the answer for this question?

Thanks in advance!

András

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell



Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-16 Thread Neil Bothwick
On Thu, 16 Feb 2012 09:16:42 +0100, Hinnerk van Bruinehsen wrote:

> Some explanations: I would recommend creating an own overlay so you
> don't get problems on sync. If multiple packages are concerned you'll
> have to repeat the procedure (except the overlay creation) for each of
> them.
> If the package was'nt moved, but really changed, it may not be enough
> to get everything working...

Adding it to package.provided also works, although I went the overlay
route as I only had to do that once to fix several boxes.


-- 
Neil Bothwick

Master of all I survey (at the moment, empty pizza boxes)


signature.asc
Description: PGP signature


Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-16 Thread Raffaele BELARDI
On 02/16/2012 09:16 AM, Hinnerk van Bruinehsen wrote:
> On 16.02.2012 08:58, Raffaele BELARDI wrote:
>> I suppose that my only options for rebuilding mythtv are to wait 
>> for upstream to update the ebuild or to update it myself. How 
>> difficult would the latter be?
> 
> If the package just moved from media-tv to virtual it's easy:
> 
> You should make a private overlay and copy the ebuild with the 
> dependency there:
> 
> mkdir /var/lib/layman/myoverlay/ mkdir
> /var/lib/layman/myoverlay/profile echo "myoverlay" >
> /var/lib/layman/myoverlay/profile/repo_name # Overlay is ready #
> add /var/lib/layman/myoverlay/ to /var/lib/layman/make.conf (using 
> you favorite editor. If you make it the last entry it'll override 
> other overlays.

Thanks, looks easy but I need to look into layman and overlays, I've
never approached that before.

In the meantime I found that another option is to auto-generate
ebuilds from the mythtv overlay:

http://www.mythtv.org/pipermail/mythtv-users/2011-February/309883.html

raf


Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?

2012-02-16 Thread J. Roeleveld

On Thu, February 16, 2012 6:24 am, Pandu Poluan wrote:
> I am wondering if any of you had experienced the same difficulty as me:
>
> A couple of days ago, I upgraded openrc from (whatever version it was
> previously) to 0.9.8.4.
>
> One of the scripts in /etc/init.d was a symlink to /opt/some/package/path
>
> (To be precise, /etc/init.d/gatewall ->
> /opt/wallmator/initscripts/gentoo/gatewall.init)
>
> ((wallmator is a "Firewall Automator" script I'm developing))
>
> This morning, I rebooted. Upon time to execute the "gatewall" script,
> it complained that some settings (set through /etc/conf.d/gatewall are
> not set). I double-checked the settings it complained; yep, they are
> there in /etc/conf.d/gatewall.
>
> I tried `/etc/init.d/gatewall start`, no luck. It still complains of
> some vital non-optional settings not being set.
>
> So, I replaced the symlink:
>
> cd /etc/init.d
> mv gatewall gatewall.old
> cp /opt/wallmator/initscripts/gentoo/gatewall.init gatewall
>
> And tried again `/etc/init.d/gatewall start` ... it worked!!
>
> So I tried `shutdown -r now` ... there's joy in Mudville! The
> "gatewall" initscript now properly reads the settings in
> /etc/conf.d/gatewall.
>
> My question is: Is there a change of behavior in how openrc executes a
> script in /etc/init.d/ when said script is a symlink instead of a
> 'normal' file?
>
> PS: For this particular system, everything under / except /boot
> resides in the same filesystem.
>
> PPS: For the contents of the "gatewall" initscript, see
> https://bitbucket.org/pepoluan/wallmator/src/edae2e294d07/initscript/gentoo/gatewall.init
>
> Rgds,
> --
> FdS Pandu E Poluan
> ~ IT Optimizer ~
>
>  • LOPSA Member #15248
>  • Blog : http://pepoluan.tumblr.com
>  • Linked-In : http://id.linkedin.com/in/pepoluan
>

Pandu,

I haven't checked the source yet, but I'm wondering if the scripts are
looking for the "conf.d" file in the location:
" ../conf.d " (based from the actual location of the init-script)

Can you try the following:
# mkdir -p /opt/wallmator/initscripts/conf.d
# ln -s /etc/init.d/gatewall /opt/wallmator/initscripts/conf.d/gatewall

and then recreate the original link for the init-script.

-- 
Joost





Re: [gentoo-user] Re: zlib use flag

2012-02-16 Thread Alan McKinnon
On Thu, 16 Feb 2012 13:53:45 +0700
Pandu Poluan  wrote:

> On Feb 16, 2012 1:49 PM, "Graham Murray" 
> wrote:
> >
> > walt  writes:
> >
> > > In any case, if you need -zlib in one package and zlib in another
> > > you
> can
> > > set/unset the needed flag for just one package in
> /etc/portage/package.use.
> >
> > The real problems come when you find that one package depends on
> > foo[bar] and another on foo[-bar]
> >
> 
> Was there ever such an incident?

Yes. The topic of the thread did just that



-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-16 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16.02.2012 08:58, Raffaele BELARDI wrote:
> After yesterday's sync I found mythtv's overlay not able to build 
> anymore due to missing dependency: media-tv/linuxtv-dvb-headers is
> no longer present in the tree. A quick search shows that it has now
> become virtual/linuxtv-dvb-headers [1].
> 
> I suppose that my only options for rebuilding mythtv are to wait
> for upstream to update the ebuild or to update it myself. How
> difficult would the latter be?
> 
> raf
> 
> [1] https://bugs.gentoo.org/show_bug.cgi?id=403929

If the package just moved from media-tv to virtual it's easy:

You should make a private overlay and copy the ebuild with the
dependency there:

mkdir /var/lib/layman/myoverlay/
mkdir /var/lib/layman/myoverlay/profile
echo "myoverlay" > /var/lib/layman/myoverlay/profile/repo_name
# Overlay is ready
# add /var/lib/layman/myoverlay/ to /var/lib/layman/make.conf (using
you favorite editor. If you make it the last entry it'll override
other overlays.

mkdir /var/lib/layman/myoverlay/
#e.g. media-video for package-category
cp -r /
/var/lib/layman/myoverlay/
# e.g. cp -r  /var/lib/layman/mythtv/media-video/mythtv
/var/lib/layman/myoverlay/media-video

Afterwards edit the ebuild with your favourite editor an replace the
media-tv/linuxtv-dvb-headers with virtual/linuxtv-dvb-headers

Then do (inside the directory of the package inside you own overlay):
ebuild  manifest

then emerge and you're ready.
You could send your modified ebuild to the mythtv-overlay
maintainer/owner.


Some explanations: I would recommend creating an own overlay so you
don't get problems on sync. If multiple packages are concerned you'll
have to repeat the procedure (except the overlay creation) for each of
them.
If the package was'nt moved, but really changed, it may not be enough
to get everything working...

Hope that helps!

Kind regards,

Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPLtqAAoJEJwwOFaNFkYcSxMIAIB+pxzrSVubsdZ9teXH8BZ6
hzLYGAWxtDmvBTPMkb58xdjTkR33t1prQ+fnDbFHZ2BuGKCZfKnTknfhAxEoFA7n
HQ/gR8Ad633P/A6wIsy3yWWEVac6GxzUfATVq1GPEJVlVbSItUASEEeq8wRgplWq
A7jIDiveIhkQuGkSsZ0NuC0+V+YEeulWWNQLz/zZsfAqX9YyidALZYQLWE2n6GhM
XJZiyF+QnOfPzwSyobdjwQD7W1QpmTshH1mvEF6QeA+HSk9a7HD5ElJVx+AKoFYs
p3TE56IHgwuyQioApCl7YBQxFixYxrdo0EIbg00JOpU2vohv3G7/E5HHMimp7Ns=
=1cAv
-END PGP SIGNATURE-