Re: [gentoo-user] Re: systemd-networkd: simpler config for my network

2014-04-07 Thread Stefan G. Weichinger
Am 06.04.2014 15:02, schrieb Tom H:

>> So the openrc-example might be simplified? ok with me ... does anyone
>> confirm?
> 
> It depends how you set up your network on the qemu command line.
> 
> If you use "qemu -netdev tap,id=hn0,script=no,downscript=no ...", you need 
> to set up a tap.
> 
> If you use "qemu -netdev tap,id=hn0 ...", you don't need to set up a tap if 
> you have a "/etc/qemu-ifup" script..
> 
> But you do need to set a bridge on both cases.

ok ... I would have to look that up as I don't use qemu via command line
but via virtmanager/libvirt.

Thanks, Stefan





Re: [gentoo-user] Re: Honeypot distro?

2014-04-07 Thread Peter Humphrey
On Monday 07 Apr 2014 01:30:03 James wrote:

> Here is a fork of Kojoney; that MAY be easier to work with:
> 
> https://code.google.com/p/kojoney-patch/downloads/list
> 
> And a gentoo ebuild:
> https://bugs.gentoo.org/show_bug.cgi?id=460066
> 
> or kippo:
> 
> https://code.google.com/p/gentoo-vaca-overlay/source/browse/tru
> nk/net-analyzer/kippo

That's interesting - thanks James. I'll look into those.

-- 
Regards
Peter




[gentoo-user] Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Hi,

I'm trying to run
   perl-cleaner --reallyall

And it fails with following reason:

Total: 137 packages (5 upgrades, 1 downgrade, 2 new, 129 reinstalls), Size
of downloads: 222 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/perl:0

  (dev-lang/perl-5.18.2:0/5.18::gentoo, installed) pulled in by
=dev-lang/perl-5.18* required by (virtual/perl-IO-1.280.0:0/0::gentoo,
ebuild scheduled for merge)
^
^

(and 9 more with the same problem)

  (dev-lang/perl-5.16.3:0/5.16::gentoo, ebuild scheduled for merge) pulled
in by
=dev-lang/perl-5.16* required by
(virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo, ebuild
scheduled for merge)
^
^

(and 3 more with the same problem)

Does anyone have any ideas how to solve it?

Thanks a lot in advance


Re: [gentoo-user] Perl-cleaner failing

2014-04-07 Thread Tom Wijsman
On Mon, 7 Apr 2014 19:12:23 +0300
Viktar Patotski  wrote:

> I'm trying to run
>perl-cleaner --reallyall
> 
> And it fails with following reason:
> 
> Total: 137 packages (5 upgrades, 1 downgrade, 2 new, 129 reinstalls),
> Size of downloads: 222 kB
> 
> !!! Multiple package instances within a single package slot have been
> pulled !!! into the dependency graph, resulting in a slot conflict:

Did you upgrade your system (`emerge -auvDN @world`) prior to this?

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D



Re: [gentoo-user] Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Thanks for your reply, Yes I tried to update. But packages failing to
install because of some perl XML libriaries problems. I googled and found
suggestions to run perl-cleaner and it doesn;t run for me.

Thanks


On Mon, Apr 7, 2014 at 7:42 PM, Tom Wijsman  wrote:

> On Mon, 7 Apr 2014 19:12:23 +0300
> Viktar Patotski  wrote:
>
> > I'm trying to run
> >perl-cleaner --reallyall
> >
> > And it fails with following reason:
> >
> > Total: 137 packages (5 upgrades, 1 downgrade, 2 new, 129 reinstalls),
> > Size of downloads: 222 kB
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled !!! into the dependency graph, resulting in a slot conflict:
>
> Did you upgrade your system (`emerge -auvDN @world`) prior to this?
>
> --
> With kind regards,
>
> Tom Wijsman (TomWij)
> Gentoo Developer
>
> E-mail address  : tom...@gentoo.org
> GPG Public Key  : 6D34E57D
> GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D
>
>


Re: [gentoo-user] Re: systemd-networkd: simpler config for my network

2014-04-07 Thread Tom H
On Mon, Apr 7, 2014 at 4:04 AM, Stefan G. Weichinger  wrote:
> Am 06.04.2014 15:02, schrieb Tom H:
>
>>> So the openrc-example might be simplified? ok with me ... does anyone
>>> confirm?
>>
>> It depends how you set up your network on the qemu command line.
>>
>> If you use "qemu -netdev tap,id=hn0,script=no,downscript=no ...", you need
>> to set up a tap.
>>
>> If you use "qemu -netdev tap,id=hn0 ...", you don't need to set up a tap if
>> you have a "/etc/qemu-ifup" script..
>>
>> But you do need to set a bridge on both cases.
>
> ok ... I would have to look that up as I don't use qemu via command line
> but via virtmanager/libvirt.
>
> Thanks, Stefan

You're welcome.

I've never used virt-manager but I assume that it functions like
virt-install or that it uses virt-install under the gui.

If that's the case, it won't use predefined tap devices, slaved to a
bridge or not. It'll create vnetX tap devices and add them to a bridge
on the fly. But if you want to use tapX tap devices rather than vnetX
ones, you can edit the xml to set that up.



Re: [gentoo-user] Perl-cleaner failing

2014-04-07 Thread Tom Wijsman
On Mon, 7 Apr 2014 20:00:43 +0300
Viktar Patotski  wrote:

> Thanks for your reply, Yes I tried to update. But packages failing to
> install because of some perl XML libriaries problems. I googled and
> found suggestions to run perl-cleaner and it doesn;t run for me.

Exclude those with --exclude ...; as perl-cleaner needs to be run after
a Perl upgrade (not only Perl, but also its libraries), and if that as
part of a system upgrade didn't completely go well then perl-cleaner
will come across blockers due to an inconsistent system state.

It is like before you're able to drive with your car (use Perl apps);
you need a certificate that your car is alright (perl-cleaner), but for
that to be in order you need to work on fixing up your car (upgrade).

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D



[gentoo-user] Stabilization of netifrc-0.2.2, "extra testers wanted"

2014-04-07 Thread Samuli Suominen
Extra testers requested for netifrc-0.2.2 stabilization, also, if you
know a reason this shouldn't go stable, like
regression from 0.1, speak up now.

See, http://bugs.gentoo.org/507070

(I'm purposely special casing this package over others like this.)

- Samuli



[gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread James
Tom Wijsman  gentoo.org> writes:


> > Thanks for your reply, Yes I tried to update. But packages failing to
> > install because of some perl XML libriaries problems. I googled and
> > found suggestions to run perl-cleaner and it doesn;t run for me.

> Exclude those with --exclude ...; as perl-cleaner needs to be run after
> a Perl upgrade (not only Perl, but also its libraries), and if that as
> part of a system upgrade didn't completely go well then perl-cleaner
> will come across blockers due to an inconsistent system state.


Sometimes I have to run these commands several times to
clean up perl:

perl-cleaner --modules
 
perl-cleaner --all




hth/ymmv,
James







Re: [gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Thanks again for reply, but same error:

dev-lang/perl:0

  (dev-lang/perl-5.18.2:0/5.18::gentoo, installed) pulled in by
dev-lang/perl:0/5.18=[-build(-)] required by
(dev-perl/Proc-ProcessTable-0.480.0:0/0::gentoo, installed)



=dev-lang/perl-5.18* required by (virtual/perl-IO-1.280.0:0/0::gentoo,
ebuild scheduled for merge)
^
^

(and 33 more with the same problems)

  (dev-lang/perl-5.16.3:0/5.16::gentoo, ebuild scheduled for merge) pulled
in by
=dev-lang/perl-5.16* required by
(virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo, ebuild
scheduled for merge)
^
^

(and 1 more with the same problem)


It seems to me that there is a problem with:
virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo which tries to
emerge dev-lang/perl-5.16.3, while dev-lang/perl-5.18.2:0 is used in the
system.

I think this is a bug.

Thanks,
Viktar


On Tue, Apr 8, 2014 at 12:32 AM, James  wrote:

> Tom Wijsman  gentoo.org> writes:
>
>
> > > Thanks for your reply, Yes I tried to update. But packages failing to
> > > install because of some perl XML libriaries problems. I googled and
> > > found suggestions to run perl-cleaner and it doesn;t run for me.
>
> > Exclude those with --exclude ...; as perl-cleaner needs to be run after
> > a Perl upgrade (not only Perl, but also its libraries), and if that as
> > part of a system upgrade didn't completely go well then perl-cleaner
> > will come across blockers due to an inconsistent system state.
>
>
> Sometimes I have to run these commands several times to
> clean up perl:
>
> perl-cleaner --modules
>
> perl-cleaner --all
>
> 
>
>
> hth/ymmv,
> James
>
>
>
>
>
>


Re: [gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread Neil Bothwick
On Tue, 8 Apr 2014 02:02:12 +0300, Viktar Patotski wrote:

> It seems to me that there is a problem with:
> virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo which tries
> to emerge dev-lang/perl-5.16.3, while dev-lang/perl-5.18.2:0 is used in
> the system.

That virtual depends on one of =dev-lang/perl-5.18* =dev-lang/perl-5.16*
=dev-lang/perl-5.14* ~dev-lang/perl-5.12.4... but it was probably
installed with 5.16.

As it is a virtual, you can safely unmerge it, portage should pull it
back in with the correct deps.


-- 
Neil Bothwick

Top Oxymorons Number 40: Same difference


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread Tom Wijsman
On Tue, 8 Apr 2014 00:06:49 +0100
Neil Bothwick  wrote:

> On Tue, 8 Apr 2014 02:02:12 +0300, Viktar Patotski wrote:
> 
> > It seems to me that there is a problem with:
> > virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo which
> > tries to emerge dev-lang/perl-5.16.3, while dev-lang/perl-5.18.2:0
> > is used in the system.
> 
> That virtual depends on one of =dev-lang/perl-5.18*
> =dev-lang/perl-5.16* =dev-lang/perl-5.14* ~dev-lang/perl-5.12.4...
> but it was probably installed with 5.16.
> 
> As it is a virtual, you can safely unmerge it, portage should pull it
> back in with the correct deps.

He just needs to do a world upgrade to fix this up; and in doing so,
backtrack as much as necessary (eg. --backtrack=9001 will do) as well
as exclude packages that bail out in the progress (eg. --exclude ATOM).

Unmerging might not necessarily fix up blockers by lack of backtracking.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] Stabilization of netifrc-0.2.2, "extra testers wanted"

2014-04-07 Thread Michael Orlitzky
On 04/07/2014 04:08 PM, Samuli Suominen wrote:
> Extra testers requested for netifrc-0.2.2 stabilization, also, if you
> know a reason this shouldn't go stable, like
> regression from 0.1, speak up now.
> 
> See, http://bugs.gentoo.org/507070
> 
> (I'm purposely special casing this package over others like this.)

The bug says "be careful!", but what sort of trouble should we expect?





Re: [gentoo-user] Stabilization of netifrc-0.2.2, "extra testers wanted"

2014-04-07 Thread Samuli Suominen

On 08/04/14 04:27, Michael Orlitzky wrote:
> On 04/07/2014 04:08 PM, Samuli Suominen wrote:
>> Extra testers requested for netifrc-0.2.2 stabilization, also, if you
>> know a reason this shouldn't go stable, like
>> regression from 0.1, speak up now.
>>
>> See, http://bugs.gentoo.org/507070
>>
>> (I'm purposely special casing this package over others like this.)
> The bug says "be careful!", but what sort of trouble should we expect?
>
>
>

I don't think you should really expect anything, it's just that we have
no intrested
in breaking peoples networking...
Personally I'm worried about users with alternative /bin/sh symlinks,
pointing to something
else than bash, like to dash, but that worry could be misguided too.

- Samuli



Re: [gentoo-user] Re: systemd-networkd: simpler config for my network

2014-04-07 Thread Stefan G. Weichinger
Am 07.04.2014 19:14, schrieb Tom H:

> You're welcome.
> 
> I've never used virt-manager but I assume that it functions like
> virt-install or that it uses virt-install under the gui.
> 
> If that's the case, it won't use predefined tap devices, slaved to a
> bridge or not. It'll create vnetX tap devices and add them to a bridge
> on the fly. But if you want to use tapX tap devices rather than vnetX
> ones, you can edit the xml to set that up.

I just looked up what systemd-networkd and virt-manager do.

No tap-devices here when I run a local VM ... so I might review the
openrc-script for reference.

Thanks, Stefan





Re: [gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread Raffaele BELARDI
Viktar Patotski wrote:
> Thanks again for reply, but same error:
> 
> dev-lang/perl:0
> 
>   (dev-lang/perl-5.18.2:0/5.18::gentoo, installed) pulled in by
> dev-lang/perl:0/5.18=[-build(-)] required by
> (dev-perl/Proc-ProcessTable-0.480.0:0/0::gentoo, installed)
> 
>   
> 
> 
> =dev-lang/perl-5.18* required by
> (virtual/perl-IO-1.280.0:0/0::gentoo, ebuild scheduled for merge)
> ^ 
> ^ 
>
> 
> (and 33 more with the same problems)
> 
>   (dev-lang/perl-5.16.3:0/5.16::gentoo, ebuild scheduled for merge)
> pulled in by
> =dev-lang/perl-5.16* required by
> (virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo, ebuild
> scheduled for merge)
> ^ 
> ^ 
>   
> 
> 
> (and 1 more with the same problem)
> 
> 
> It seems to me that there is a problem with:
> virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo which tries
> to emerge dev-lang/perl-5.16.3, while dev-lang/perl-5.18.2:0 is used in
> the system.
> 

I solved by unmerging packages depending on perl-5.16*, later rebuild
pulled them back in.

raffaele