Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread András Csányi
On 16 July 2013 20:20, Bruce Hill da...@happypenguincomputers.com wrote:
 On Tue, Jul 16, 2013 at 12:09:46PM -0500, Canek Peláez Valdés wrote:

 The ebuild says it:

 src_prepare() {
 DOC_CONTENTS=To modify system network connections without needing
 to enter the
 root password, add your user account to the 'plugdev'
 group.

 When you install it, a message appears with that text.

 Which wicd-version ebuild did you pull _that_ text from?

 mingdao@jeremiah ~ $ grep plugdev /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
 mingdao@jeremiah ~ $ grep users /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
 /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild:  ewarn 
 Wicd-1.6 and newer requires your user to be in the 'users' group. If
 /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild:  ewarn 
 Wicd-1.6 and newer requires your user to be in the 'users' group. If

Ok. How is possible to get the post-install message of an ebuild
without re-emerge the package neither opening the log file? The man
page of emerge cannot say anything about it.

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



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Алексей Мишустин
2013/7/17 András Csányi sayusi.a...@sayusi.hu:
 On 16 July 2013 20:20, Bruce Hill da...@happypenguincomputers.com wrote:
 On Tue, Jul 16, 2013 at 12:09:46PM -0500, Canek Peláez Valdés wrote:

 The ebuild says it:

 src_prepare() {
 DOC_CONTENTS=To modify system network connections without needing
 to enter the
 root password, add your user account to the 'plugdev'
 group.

 When you install it, a message appears with that text.

 Which wicd-version ebuild did you pull _that_ text from?

 mingdao@jeremiah ~ $ grep plugdev /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
 mingdao@jeremiah ~ $ grep users /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
 /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild:  ewarn 
 Wicd-1.6 and newer requires your user to be in the 'users' group. If
 /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild:  ewarn 
 Wicd-1.6 and newer requires your user to be in the 'users' group. If

 Ok. How is possible to get the post-install message of an ebuild
 without re-emerge the package neither opening the log file? The man
 page of emerge cannot say anything about it.

There are 2 programs reading emerge log files and displaying them in
an aesy format: elogv (ncurses) and elogviwer (X).

It is necessary to have the variables PORTAGE_ELOG_CLASSES and
PORTAGE_ELOG_SYSTEM set properly for get these program to work, for
example:

PORTAGE_ELOG_CLASSES=warn error log
PORTAGE_ELOG_SYSTEM=save

-- 
Regards,
Alex



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Алексей Мишустин
2013/7/17 Алексей Мишустин shum...@shumkar.ru:
 There are 2 programs reading emerge log files and displaying them in
 an aesy format: elogv (ncurses) and elogviwer (X).

elogviewer

 It is necessary to have the variables PORTAGE_ELOG_CLASSES and
 PORTAGE_ELOG_SYSTEM set properly for get these program to work, for
 example:

 PORTAGE_ELOG_CLASSES=warn error log
 PORTAGE_ELOG_SYSTEM=save

-- 
Regards,
Elex



Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-17 Thread Neil Bothwick
On Tue, 16 Jul 2013 20:44:18 -0400, gottl...@nyu.edu wrote:

 I just did it again with cut and paste from above.
 Now the end of make.conf is (from cut and paste)
 
   FEATURES= buildsyspkg
 
   USE=-networkmanager
 
 and I still get
 
   newlap gottlieb # emerge --depclean networkmanager
   
   Calculating dependencies... done!
 net-misc/networkmanager-0.9.8.2 pulled in by:
   gnome-base/gnome-control-center-3.6.3-r1 requires
   =net-misc/networkmanager-0.8.997  
   gnome-base/gnome-shell-3.6.3.1 requires
   =net-misc/networkmanager-0.8.999[introspection]  
   gnome-extra/nm-applet-0.9.6.4-r1 requires
 =net-misc/networkmanager-0.9.6 net-libs/libsocialweb-0.25.21 requires
 net-misc/networkmanager

Did you do emerge --update --deep --changed-use --ask @world after
changing make.conf? Changing the USE flag there doesn't change the flags
that those packages were built with. They will need to be rebuilt without
NM support before portage allows you to depclean it.


-- 
Neil Bothwick

WinErr 00F: Unexplained error - Please tell us how this happened


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Neil Bothwick
On Wed, 17 Jul 2013 10:04:12 +0200, András Csányi wrote:

 Ok. How is possible to get the post-install message of an ebuild
 without re-emerge the package neither opening the log file? The man
 page of emerge cannot say anything about it.

Read the ebuild.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread András Csányi
On 17 July 2013 11:35, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 17 Jul 2013 10:04:12 +0200, András Csányi wrote:

 Ok. How is possible to get the post-install message of an ebuild
 without re-emerge the package neither opening the log file? The man
 page of emerge cannot say anything about it.

 Read the ebuild.

I don't think this is a friendly solution in 2013.

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



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Bruce Hill
On Wed, Jul 17, 2013 at 10:04:12AM +0200, András Csányi wrote:
 
  mingdao@jeremiah ~ $ grep plugdev /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
  mingdao@jeremiah ~ $ grep users /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
  /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild:  ewarn 
  Wicd-1.6 and newer requires your user to be in the 'users' group. If
  /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild:  ewarn 
  Wicd-1.6 and newer requires your user to be in the 'users' group. If
 
 Ok. How is possible to get the post-install message of an ebuild
 without re-emerge the package neither opening the log file? The man
 page of emerge cannot say anything about it.

Read the pkg_postinst portion of the ebuild.

If you have installed app-portage/elogv issue elogv and find the desired
package.

Two quick ways off the top of my head after the first cup of coffee. ;)
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread András Csányi
On 17 July 2013 13:59, Bruce Hill da...@happypenguincomputers.com wrote:
 On Wed, Jul 17, 2013 at 10:04:12AM +0200, András Csányi wrote:
 
  mingdao@jeremiah ~ $ grep plugdev 
  /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
  mingdao@jeremiah ~ $ grep users /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
  /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild:  ewarn 
  Wicd-1.6 and newer requires your user to be in the 'users' group. If
  /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild:  ewarn 
  Wicd-1.6 and newer requires your user to be in the 'users' group. If

 Ok. How is possible to get the post-install message of an ebuild
 without re-emerge the package neither opening the log file? The man
 page of emerge cannot say anything about it.

 Read the pkg_postinst portion of the ebuild.

Great!

 If you have installed app-portage/elogv issue elogv and find the desired
 package.

Thanks, I'll check it!

 Two quick ways off the top of my head after the first cup of coffee. ;)

The magic is coming from coffee, I know! :)


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



Re: [gentoo-user] strange eix-sync

2013-07-17 Thread Douglas J Hunley
On Sat, Jul 13, 2013 at 7:40 AM, meino.cra...@gmx.de wrote:

 /dev/root on / type ext4
 (rw,noatime,user_xattr,commit=60,barrier=1,data=ordered)


You don't have a separate mount for /tmp, so the above would be pertinent.
And it shows support for xattr, so you should be good


-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Neil Bothwick
On Wed, 17 Jul 2013 13:39:36 +0200, András Csányi wrote:

  Ok. How is possible to get the post-install message of an ebuild
  without re-emerge the package neither opening the log file? The man
  page of emerge cannot say anything about it.  
 
  Read the ebuild.  
 
 I don't think this is a friendly solution in 2013.

It isn't. The friendly solution is to have portage log this to a file or
email it to you, but you ruled out those methods, leaving only the
unfriendly but effective option.


-- 
Neil Bothwick

Top Oxymorons Number 36: Alone together


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread András Csányi
On 17 July 2013 14:35, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 17 Jul 2013 13:39:36 +0200, András Csányi wrote:

  Ok. How is possible to get the post-install message of an ebuild
  without re-emerge the package neither opening the log file? The man
  page of emerge cannot say anything about it.
 
  Read the ebuild.

 I don't think this is a friendly solution in 2013.

 It isn't. The friendly solution is to have portage log this to a file or
 email it to you, but you ruled out those methods, leaving only the
 unfriendly but effective option.

I know it is my bad I haven't paid any attention to go deeper this
part of the gentoo system. To be honest, it haven't caused any pain
for me till yesterday. Lesson is learned.

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



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Bruce Hill
On Wed, Jul 17, 2013 at 01:39:36PM +0200, András Csányi wrote:
 On 17 July 2013 11:35, Neil Bothwick n...@digimed.co.uk wrote:
  On Wed, 17 Jul 2013 10:04:12 +0200, András Csányi wrote:
 
  Ok. How is possible to get the post-install message of an ebuild
  without re-emerge the package neither opening the log file? The man
  page of emerge cannot say anything about it.
 
  Read the ebuild.
 
 I don't think this is a friendly solution in 2013.

What would _you_ consider friendly? Gentoo is a source based Linux
distribution. That means _all_ your software is built from source; however, it
is _your_ responsibility to customize this software to make it work best for
your computer's hardware, and your software usage. Gentoo is _not_ a binary
distribution where every package has been built for the lowest common
denominator of computer, so that it works on almost anyone's computer just by
clicking the Install button, or some such {easy,friendly} solution.

If you were to install software on another Linux distribution, for which there
was no package prebuilt for that package manager, you would basically:

download source
untar source
cd source-directory
./configure -help (and read the options)
write your own build script with your options
make
make install
(or whatever method for that software and distro)

You would also be responsible for reading to find out where to install the
software, what dependencies it requires, what permissions and groups should be
used, etc.

Gentoo has provided all this for you, but you must learn The Gentoo Way (TM)
in order to Make It Work (TM). You seem to be lacking a proper understanding
in that area.

If you installed Gentoo using the Gentoo Handbook (why would you not?), then
you should have read: 12. Where to go from here? And there you would read this
sentence: You should definitely take a look at the next part of the Gentoo
Handbook entitled Working with Gentoo which explains how to keep your software
up to date, how to install more software, what USE flags are, how the Gentoo
init system works, etc.

There is a lot of information there, and a lot to learn. But I find that
_most_ people _stop_ reading the Handbook at that point, and begin their
learning by trial and error. That is acceptable, even friendly, but it might
take you _much_longer_ to get that information than simply reading the book.

If you hang out in #gentoo on FreeNode you will be able to learn a _lot_ of
what you read on this mailing list in a much shorter time. In fact, you can
log the channel, and use that as another option to _search_ for support
answers. Often I will issue:
grep wicd irclogs/#gentoo.log
and maybe:
grep postinst irclogs/#gentoo.log
to find some answers. Then maybe that search will lead me to issue:
awk '/iamben/  /postinst/ { print }' irclogs/#gentoo.log
because my previous search revealed that iamben gave a lot of answers
concerning postinst and people got their question answered.

Last but not least, there are search engines, such as Google. Just open your
web browser to http://.google.com and type post-install message of an
ebuild and see if any of the results answers your question. The first hit for
me was Gentoo Development Guide: Messages, which for me was simple and easy
to read, but might not be so for you if you have no experience reading/writing
ebuilds. The second hit was Gentoo Forums :: View topic - How to read emerge
messages? (I ... which gave 'friendly' answers to your question. (Which you
already got on this list, also.)

Gentoo is not considered a user friendly distro in 2013 by many people. The
primary reason is that _most_ people have been trained to point and click
but never _read_ anything. Those are the people for whom Mark Shuttleworth
designed Ubuntu Linux.

Gentoo wasn't designed for the point and click crowd. Read
http://www.gentoo.org/main/en/about.xml to get a better idea of Gentoo's
intended audience.

Cheers,
Bruce
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Bruce Hill
On Wed, Jul 17, 2013 at 02:18:22PM +0200, András Csányi wrote:
 On 17 July 2013 13:59, Bruce Hill da...@happypenguincomputers.com wrote:
  On Wed, Jul 17, 2013 at 10:04:12AM +0200, András Csányi wrote:
  
   mingdao@jeremiah ~ $ grep plugdev 
   /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
   mingdao@jeremiah ~ $ grep users 
   /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
   /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild:  ewarn 
   Wicd-1.6 and newer requires your user to be in the 'users' group. If
   /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild:  ewarn 
   Wicd-1.6 and newer requires your user to be in the 'users' group. If
 
  Ok. How is possible to get the post-install message of an ebuild
  without re-emerge the package neither opening the log file? The man
  page of emerge cannot say anything about it.
 
  Read the pkg_postinst portion of the ebuild.
 
 Great!
 
  If you have installed app-portage/elogv issue elogv and find the desired
  package.
 
 Thanks, I'll check it!
 
  Two quick ways off the top of my head after the first cup of coffee. ;)
 
 The magic is coming from coffee, I know! :)

Since reading the ebuild is not the _friendly_ way to get this information,
let me help you install the software to make this easy...

emerge -ajv app-portage/elogv (ncurses, which is text with colors)
or
emerge -ajv app-portage/elogviewer (GTK+ based utility, perhaps with GUI)

Now add these lines to /etc/portage/make.conf (/etc/make.conf on old systems)

PORTAGE_ELOG_SYSTEM=save
PORTAGE_ELOG_CLASSES=warn error info log qa

Then create this directory as root with this command:

mkdir -p /var/log/portage/elog

Then as root add your normal user to the portage group with this command:

gpasswd -a username portage (replace username with your normal user's name
and do not use the  

Then issue:

newgrp

as that user or logout of Linux and log back in (you do _not_ need to reboot).

Then you can issue elogv or start elogviewer from the desktop entry and read
the logs of your files.

Hope this helps.

Happy Gentooing!

Bruce
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] KDE and NetworkManager

2013-07-17 Thread Neil Bothwick
On Wed, 17 Jul 2013 08:03:29 -0500, Bruce Hill wrote:

 PORTAGE_ELOG_SYSTEM=save
 PORTAGE_ELOG_CLASSES=warn error info log qa

I wouldn't include qa, that's just noise for users.


-- 
Neil Bothwick

Deja Moo: The feeling that you heard this bull somewhere before.


signature.asc
Description: PGP signature


Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-17 Thread gottlieb
On Wed, Jul 17 2013, Neil Bothwick wrote:

 On Tue, 16 Jul 2013 20:44:18 -0400, gottl...@nyu.edu wrote:

 I just did it again with cut and paste from above.
 Now the end of make.conf is (from cut and paste)
 
   FEATURES= buildsyspkg
 
   USE=-networkmanager
 
 and I still get
 
   newlap gottlieb # emerge --depclean networkmanager
   
   Calculating dependencies... done!
 net-misc/networkmanager-0.9.8.2 pulled in by:
   gnome-base/gnome-control-center-3.6.3-r1 requires
   =net-misc/networkmanager-0.8.997  
   gnome-base/gnome-shell-3.6.3.1 requires
   =net-misc/networkmanager-0.8.999[introspection]  
   gnome-extra/nm-applet-0.9.6.4-r1 requires
 =net-misc/networkmanager-0.9.6 net-libs/libsocialweb-0.25.21 requires
 net-misc/networkmanager

 Did you do emerge --update --deep --changed-use --ask @world after
 changing make.conf? Changing the USE flag there doesn't change the flags
 that those packages were built with. They will need to be rebuilt without
 NM support before portage allows you to depclean it.

Right.  Our msgs outlining the problem and its soln crossed in the mail.
The above was indeed the problem and the required fix.

thanks as always,
allan



[gentoo-user] KVM networking help

2013-07-17 Thread Nilesh Govindrajan
Hi,

I need some help settling up networking with KVM machines.

I have one public interface with four publicly accessible IPs.

I want to run a private virtual network for the VMs, such that every VM can
access every other VM and host, also host can access every VM (required for
NAT).

So far I tried this:

Create two tap interfaces.
Add them to a bridge
Assign IP to bridge
Set different MACs for VMs' NICs.

This let's me access one VM to another also VM to host (not sure about
this, ping works).
But I'm not able to use host to VM (ping works), I'm not able to connect to
sshd running inside VM from host.


Re: [gentoo-user] KVM networking help

2013-07-17 Thread Alon Bar-Lev
On Wed, Jul 17, 2013 at 9:28 PM, Nilesh Govindrajan m...@nileshgr.com wrote:

 Hi,

 I need some help settling up networking with KVM machines.

 I have one public interface with four publicly accessible IPs.

 I want to run a private virtual network for the VMs, such that every VM can 
 access every other VM and host, also host can access every VM (required for 
 NAT).

 So far I tried this:

 Create two tap interfaces.
 Add them to a bridge
 Assign IP to bridge
 Set different MACs for VMs' NICs.

 This let's me access one VM to another also VM to host (not sure about this, 
 ping works).
 But I'm not able to use host to VM (ping works), I'm not able to connect to 
 sshd running inside VM from host.

See if the following[1] helps.

[1] http://alonbl.tropicalwikis.com/wiki/Gentoo/VM_Tap_Networking



[gentoo-user]

2013-07-17 Thread kyd . is . back
Date: Wed, 17 Jul 2013 15:37:50 -0300
From: pizta...@crow.satelite.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] KVM networking help
Message-ID: 20130717183750.gb20...@crow.satelite.com
References: cahgbc-txzr4trmw_eyk6i2-fvuz01-16rouagweilk24dno...@mail.gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: 
cahgbc-txzr4trmw_eyk6i2-fvuz01-16rouagweilk24dno...@mail.gmail.com
User-Agent: Mutt/1.5.21 (2010-09-15)

¿ There are a FW in the middle ? 

have you try making a telnet to ssh port ?
-
On Wed, Jul 17, 2013 at 11:58:49PM +0530, Nilesh Govindrajan wrote:
Hi,
 
I need some help settling up networking with KVM machines.
 
I have one public interface with four publicly accessible IPs.
 
I want to run a private virtual network for the VMs, such that every VM
can access every other VM and host, also host can access every VM
(required for NAT).
 
So far I tried this:
 
Create two tap interfaces.
Add them to a bridge
Assign IP to bridge
Set different MACs for VMs' NICs.
 
This let's me access one VM to another also VM to host (not sure about
this, ping works).
But I'm not able to use host to VM (ping works), I'm not able to
connect to sshd running inside VM from host.

-- 
-
Kyd
-



Re: [gentoo-user] KVM networking help

2013-07-17 Thread William Kenworthy
have a look at openvswitch ... gives more flexibility and is relatively
easy to use.  I am using fake-bridges with vlans for something like this
(mythbackend running in a vm on a media vlan with a hdhomerun and other
frontends, and a public vlan for other traffic)

BillK

On 18/07/13 02:28, Nilesh Govindrajan wrote:

 Hi,

 I need some help settling up networking with KVM machines.

 I have one public interface with four publicly accessible IPs.

 I want to run a private virtual network for the VMs, such that every
 VM can access every other VM and host, also host can access every VM
 (required for NAT).

 So far I tried this:

 Create two tap interfaces.
 Add them to a bridge
 Assign IP to bridge
 Set different MACs for VMs' NICs.

 This let's me access one VM to another also VM to host (not sure about
 this, ping works).
 But I'm not able to use host to VM (ping works), I'm not able to
 connect to sshd running inside VM from host.