FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-30-2012, 08:59 AM
"Alexander Y. Tiurin"
 
Default qlist wrong detect samba use flag

Hello



For example:





# qlist -U tcpdump

net-analyzer/tcpdump (chroot ssl)



# equery u tcpdump

[ Legend : U - final flag setting for installation]

[******* : I - package is installed with flag**** ]

[ Colors : set, unset**************************** ]

** Found these USE flags for net-analyzer/tcpdump-4.3.0:

*U I

*+ + chroot : Enable chrooting when dropping privileges

*- - ipv6** : Adds support for IP version 6

*+ + samba* : Adds support for SAMBA (Windows File and Printer
sharing)

*- - smi*** : Build with net-libs/libsmi to load MIBs on the fly
to decode SNMP packets

*+ + ssl*** : Adds support for Secure Socket Layer connections

*- - suid** : Enable setuid root program, with potential security
risks

*- - test** : Workaround to pull in packages needed to run with
FEATURES=test. Portage-2.1.2 handles this internally, so don't set
it in make.conf/package.use anymore



# eix tcpdump

[i] net-analyzer/tcpdump

**** Available versions:* 3.9.8 3.9.8-r1{tbz2} ~4.1.1 ~4.2.0
~4.2.1 4.3.0{tbz2} {{(+)chroot ipv6 (-)samba smi ssl suid test}}

**** Installed versions:* 4.3.0{tbz2}(12:25:55 AM
09/30/2012)(chroot samba ssl -ipv6 -smi -suid -test)

**** Homepage:*********** http://www.tcpdump.org/

**** Description:******** A Tool for network monitoring and data
acquisition






Should I open a bug?
 
Old 10-02-2012, 04:44 PM
Kerin Millar
 
Default qlist wrong detect samba use flag

Alexander Y. Tiurin wrote:

Hello

For example:


# qlist -U tcpdump
net-analyzer/tcpdump (chroot ssl)

# equery u tcpdump
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-analyzer/tcpdump-4.3.0:
U I
+ + chroot : Enable chrooting when dropping privileges
- - ipv6 : Adds support for IP version 6
+ + samba : Adds support for SAMBA (Windows File and Printer sharing)
- - smi : Build with net-libs/libsmi to load MIBs on the fly to
decode SNMP packets
+ + ssl : Adds support for Secure Socket Layer connections
- - suid : Enable setuid root program, with potential security risks
- - test : Workaround to pull in packages needed to run with
FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in
make.conf/package.use anymore

# eix tcpdump
[i] net-analyzer/tcpdump
Available versions: 3.9.8 3.9.8-r1{tbz2} ~4.1.1 ~4.2.0 ~4.2.1
4.3.0{tbz2} {{(+)chroot ipv6 (-)samba smi ssl suid test}}
Installed versions: 4.3.0{tbz2}(12:25:55 AM 09/30/2012)(chroot
samba ssl -ipv6 -smi -suid -test)
Homepage: http://www.tcpdump.org/
Description: A Tool for network monitoring and data
acquisition

Should I open a bug?




Have you tried portage-utils-0.11? The current 'stable' version is quite
buggy.


--Kerin
 
Old 10-10-2012, 10:07 AM
"Alexander Y. Tiurin"
 
Default qlist wrong detect samba use flag

On 10/02/2012 08:44 PM, Kerin Millar wrote:
>
> Have you tried portage-utils-0.11? The current 'stable' version is
> quite buggy.
>
> --Kerin
>

With portage-utils-0.11 problem not solved yet.

# qlist -U tcpdump
net-analyzer/tcpdump (chroot ssl)




Wed Oct 10 12:30:01 2012
Return-Path: <devel-bounces@lists.fedoraproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
eagle542.startdedicated.com
X-Spam-Level:
X-Spam-Status: No, score=-4.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNS WL_MED,RP_MATCHES_RCVD,
SPF_PASS,T_DKIM_INVALID,WEIRD_PORT autolearn=ham version=3.3.2
X-Original-To: tom@linux-archive.org
Delivered-To: tom-linux-archive.org@eagle542.startdedicated.com
Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [209.132.181.2])
by eagle542.startdedicated.com (Postfix) with ESMTP id 1EED020E019B
for <tom@linux-archive.org>; Wed, 10 Oct 2012 12:13:14 +0200 (CEST)
Received: from lists.fedoraproject.org (collab03.vpn.fedoraproject.org [192.168.1.70])
by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id E281A21296;
Wed, 10 Oct 2012 10:13:12 +0000 (UTC)
Received: from collab03.fedoraproject.org (localhost [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 8A3BC40A6F;
Wed, 10 Oct 2012 10:13:12 +0000 (UTC)
X-Original-To: devel@lists.fedoraproject.org
Delivered-To: devel@lists.fedoraproject.org
Received: from smtp-mm02.fedoraproject.org (smtp-mm02.fedoraproject.org
[66.35.62.164])
by lists.fedoraproject.org (Postfix) with ESMTP id D819D40769
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 10:13:10 +0000 (UTC)
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51])
by smtp-mm02.fedoraproject.org (Postfix) with ESMTP id 64E8D409E3
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 10:13:10 +0000 (UTC)
Received: by mail-wg0-f51.google.com with SMTP id ed3so215273wgb.20
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 03:13:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type;
bh=VO1tvdIIwT5lcjbh/pr+NbMTSHDC3fMrj8f5pbkMGP4=;
b=foX4r/aKpOZ3hVHcLlPLDuS+2qdS15ADHMjgmkwCXCpSDpjE/SWQ8ExKMu0Q82ceti
vjgANuvWCcKsAtLSHG0AzE/yiysR/6ZyKVT8ge2tq7mGF09I8W11G3JAvA8h2zbU0t3R
Wa/8jFpmN5IfH33yYumBCdrpyQfU/s7ardgtlm2oyG1MI1c1GKu1+jrQjI5QsWMUjkXx
8rn/5yb+dYIm4+mZ4jZMry7GqxszHGoEOi+DW3iaXvP81UOHrGuWZt dmWUB4z0hugsud
B+bpK2VNOnSe+pIuYgGDvR2H7aqnzcOr8u8ut0DF1tGtXM9bBQ 5jppHKuhz+C/JR5bq2
IjTQ==
Received: by 10.216.199.30 with SMTP id w30mr13014093wen.25.1349863989379;
Wed, 10 Oct 2012 03:13:09 -0700 (PDT)
Received: from localhost.localdomain ([217.28.190.130])
by mx.google.com with ESMTPS id gg4sm1993907wib.6.2012.10.10.03.13.02
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 10 Oct 2012 03:13:06 -0700 (PDT)
Message-ID: <507549B7.5050303@gmail.com>
Date: Wed, 10 Oct 2012 10:11:03 +0000
From: =?UTF-8?B?IkrDs2hhbm4gQi4gR3XDsG11bmRzc29uIg==?=
<johannbg@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:15.0) Gecko/20120911 Thunderbird/15.0.1
MIME-Version: 1.0
To: devel@lists.fedoraproject.org
Subject: Re: replacing rsyslogd in minimal with journald [was Re: systemd
requires HTTP server and serves QR codes]
References: <slrnk75q1g.afo.ppisar@dhcp-0-146.brq.redhat.com>
<20121009140934.GD17404@hiwaay.net>
<20121009141614.GL19792@tango.0pointer.de>
<1693653.MRE59kdEL5@hactar.xn--rombobjrn-67a.se>
<20121010085428.GA25496@rhmail.home.annexia.org>
In-Reply-To: <20121010085428.GA25496@rhmail.home.annexia.org>
X-BeenThere: devel@lists.fedoraproject.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Development discussions related to Fedora
<devel@lists.fedoraproject.org>
List-Id: Development discussions related to Fedora
<devel.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/options/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/devel/>
List-Post: <mailto:devel@lists.fedoraproject.org>
List-Help: <mailto:devel-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0559405093621658734=="
Sender: devel-bounces@lists.fedoraproject.org
Errors-To: devel-bounces@lists.fedoraproject.org

This is a multi-part message in MIME format.
--===============0559405093621658734==
Content-Type: multipart/alternative;
boundary="------------060509080802080301050001"

This is a multi-part message in MIME format.
--------------060509080802080301050001
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 10/10/2012 08:54 AM, Richard W.M. Jones wrote:
> This would be essential for libguestfs tools to parse logs out of
> guests (we do it now by reading /var/log/messages etc which has all of
> the properties you state).

I'm not sure how you are doing this currently but for shutdown guest I
assume you would mount then run something like

journalctl -D /path/to/journal/files | the script you use to parse the logs

And or use systemd-gateway for active guests as in

<https://jira.skyggnir.is/secure/admin/user/ViewUser.jspa?atl_token=B392-8G0S-SYQQ-21VP%7Ccbcceb6069c5f860c32629fc73971afb2f37df29%7C lin&name=haf-sbj>#
systemctl start systemd-journal-gatewayd.service

Then run

# wget http://localhost:19531/entries

To download the journal contents in a /var/log/messages compatible format

Or if you want to download it in JASON compatible format

# curl -H"Accept: application/json" http://localhost:19531/entries

If you simply want to browse the log file of an running guest you would
just visit the http://IP:19531/browse <http://localhost:19531/browse> in
your favorite browser

JBG

--------------060509080802080301050001
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/10/2012 08:54 AM, Richard W.M.
Jones wrote:<br>
</div>
<blockquote
cite="mid:20121010085428.GA25496@rhmail.home.annex ia.org"
type="cite">
<pre wrap="">This would be essential for libguestfs tools to parse logs out of
guests (we do it now by reading /var/log/messages etc which has all of
the properties you state).
</pre>
</blockquote>
<br>
I'm not sure how you are doing this currently but for shutdown guest
I assume you would mount then run something like<br>
<br>
journalctl -D /path/to/journal/files | the script you use to parse
the logs<br>
<br>
And or use systemd-gateway for active guests as in<br>
<br>
<a id="haf-sbj" rel="haf-sbj" class="user-hover user-avatar"
style="background-image:url(/secure/useravatar?size=small&amp;avatarId=10372);"
href="https://jira.skyggnir.is/secure/admin/user/ViewUser.jspa?atl_token=B392-8G0S-SYQQ-21VP%7Ccbcceb6069c5f860c32629fc73971afb2f37df29%7C lin&amp;name=haf-sbj"><span
class="username"></span></a># systemctl start
systemd-journal-gatewayd.service<br>
<br>
Then run<br>
<br>
# wget <a href="http://localhost:19531/entries" class="ot-anchor">http://localhost:19531/entries</a><br>
<br>
To download the journal contents in a /var/log/messages compatible
format<br>
<br>
Or if you want to download it in JASON compatible format<br>
<br>
# curl -H"Accept: application/json" <a
href="http://localhost:19531/entries" class="ot-anchor">http://localhost:19531/entries</a><br>
<br>
If you simply want to browse the log file of an running guest you
would just visit the <a href="http://localhost:19531/browse"
class="ot-anchor">http://IP:19531/browse</a> in your favorite
browser<br>
<br>
JBG<br>
</body>
</html>

--------------060509080802080301050001--

--===============0559405093621658734==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCmRldmVsIG1haWxpbmcgbGlzdApkZXZlbEBsaXN0cy5mZW RvcmFwcm9qZWN0Lm9yZwpodHRw
czovL2FkbWluLmZlZG9yYXByb2plY3Qub3JnL21haWxtYW4vbG lzdGluZm8vZGV2ZWw=

--===============0559405093621658734==--


Wed Oct 10 12:30:01 2012
Return-Path: <devel-bounces@lists.fedoraproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
eagle542.startdedicated.com
X-Spam-Level:
X-Spam-Status: No, score=-4.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MAT CHES_RCVD,SPF_PASS,
T_DKIM_INVALID autolearn=ham version=3.3.2
X-Original-To: tom@linux-archive.org
Delivered-To: tom-linux-archive.org@eagle542.startdedicated.com
Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [209.132.181.2])
by eagle542.startdedicated.com (Postfix) with ESMTP id 641C620E019B
for <tom@linux-archive.org>; Wed, 10 Oct 2012 12:15:51 +0200 (CEST)
Received: from lists.fedoraproject.org (collab03.vpn.fedoraproject.org [192.168.1.70])
by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id EE84021264;
Wed, 10 Oct 2012 10:15:49 +0000 (UTC)
Received: from collab03.fedoraproject.org (localhost [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 7719740A6F;
Wed, 10 Oct 2012 10:15:49 +0000 (UTC)
X-Original-To: devel@lists.fedoraproject.org
Delivered-To: devel@lists.fedoraproject.org
Received: from smtp-mm03.fedoraproject.org (vm4.fedora.ibiblio.org
[152.19.134.143])
by lists.fedoraproject.org (Postfix) with ESMTP id C5F9E40769
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 10:15:47 +0000 (UTC)
Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com
[209.85.215.173])
by smtp-mm03.fedoraproject.org (Postfix) with ESMTP id 305F3400EF
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 10:15:47 +0000 (UTC)
Received: by mail-ea0-f173.google.com with SMTP id a1so62495eaa.32
for <devel@lists.fedoraproject.org>;
Wed, 10 Oct 2012 03:15:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
bh=hpEpHQ3lE1K2rzPx7VpxL0N7DxrwkOdcTJNOhU7870U=;
b=OndvL6g+hN1iPEbZSndQnGNjBqTfywdYnqa+ol8BpwY4qBVS u1FXFjC4pmRM45bCEK
MpWpRGFjO1bK3Qr98YeEhwg88uU4mGAxBbaoHJC46YyCwKrqaX ydMifBgpWVVLI6Lvok
Hrr0I/9ZPsN9HhYCeQBo9PZnoX594CHn1+bh+8rA3h0Aho+5hJovThqp E9yvoVxTxKod
HJmxwHlU/u0KFIs7mQoVC61VFBFH7GgZNn3IE/WsqzSWIEwJjiekmX+/qvt7ZdSeornR
YKAupZLpni50lSKNllHzjcvqeW6q59Fal6N0fshKgpwSWD7Nud 0ylODE8K+3AbUuwGbJ
jqkg==
Received: by 10.14.172.195 with SMTP id t43mr3840912eel.17.1349864146520;
Wed, 10 Oct 2012 03:15:46 -0700 (PDT)
Received: from localhost.localdomain ([217.28.190.130])
by mx.google.com with ESMTPS id t1sm1478174eeo.3.2012.10.10.03.15.45
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 10 Oct 2012 03:15:45 -0700 (PDT)
Message-ID: <50754A5A.9050506@gmail.com>
Date: Wed, 10 Oct 2012 10:13:46 +0000
From: =?UTF-8?B?IkrDs2hhbm4gQi4gR3XDsG11bmRzc29uIg==?=
<johannbg@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:15.0) Gecko/20120911 Thunderbird/15.0.1
MIME-Version: 1.0
To: devel@lists.fedoraproject.org
Subject: Re: replacing rsyslogd in minimal with journald [was Re: systemd
requires HTTP server and serves QR codes]
References: <slrnk75q1g.afo.ppisar@dhcp-0-146.brq.redhat.com>
<20121008153059.GA27284@tango.0pointer.de>
<CAM+Wa1eFCauqcr-2J-THt5MjQkBYPBT0KnH6Bv0MmsCJ7bV_tA@mail.gmail.com>
<20121008221440.GB15931@tango.0pointer.de>
<5073FB43.1060402@redhat.com> <50740365.7050000@gmail.com>
<20121009115304.GA24573@disco.bu.edu>
<20121009140404.GG19792@tango.0pointer.de>
<20121009140934.GD17404@hiwaay.net>
<20121009141614.GL19792@tango.0pointer.de>
<507529B9.4010106@gmail.com>
In-Reply-To: <507529B9.4010106@gmail.com>
X-BeenThere: devel@lists.fedoraproject.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Development discussions related to Fedora
<devel@lists.fedoraproject.org>
List-Id: Development discussions related to Fedora
<devel.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/options/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/devel/>
List-Post: <mailto:devel@lists.fedoraproject.org>
List-Help: <mailto:devel-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: devel-bounces@lists.fedoraproject.org
Errors-To: devel-bounces@lists.fedoraproject.org

T24gMTAvMTAvMjAxMiAwNzo1NCBBTSwgRnJhbmsgTXVycGh5IH dyb3RlOgo+IE9uIDA5LzEwLzEy
IDE1OjE2LCBMZW5uYXJ0IFBvZXR0ZXJpbmcgd3JvdGU6Cj4KPj 4gam91cm5hbGN0bCAtRCA8cGF0
aHRvdGhlam91cm5hbGZpbGVzPgo+Pgo+PiBMZW5uYXJ0Cj4+Cj 4KPiBDYW4gam91cm5hbGN0bCBz
ZW5kIHRoZSBsb2dzIHZpYSBsb2d3YXRjaD8gCgoKQXMgZmFyIG FzIEkga25vdyBsb2d3YXRjaCBo
YXMgbm90IGJlZW4gcGF0Y2hlZCB0byBwYXJzZSBhbmQgdXNlIG pvdXJuYWwuCgpUcnkgZmlsaW5n
IGFuIFJGRSBhZ2FpbnN0IGxvZ3dhdGNoIGZvciB0aGF0CgpKQk cKLS0gCmRldmVsIG1haWxpbmcg
bGlzdApkZXZlbEBsaXN0cy5mZWRvcmFwcm9qZWN0Lm9yZwpodH RwczovL2FkbWluLmZlZG9yYXBy
b2plY3Qub3JnL21haWxtYW4vbGlzdGluZm8vZGV2ZWw=
 

Thread Tools




All times are GMT. The time now is 02:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org