From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97548A00C5; Thu, 30 Apr 2020 18:09:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5EC6D1D9C8; Thu, 30 Apr 2020 18:09:13 +0200 (CEST) Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by dpdk.org (Postfix) with ESMTP id 156E91D6F5 for ; Thu, 30 Apr 2020 18:09:11 +0200 (CEST) Received: by mail-pj1-f67.google.com with SMTP id 7so3686225pjo.0 for ; Thu, 30 Apr 2020 09:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DvDGsqO04sYsTdMTm2rJIuhn8+hq04H8p7ikvjmqV6k=; b=rTZbwAflIV5hN3J1fzI1ol2JpZMAHzJuVv1mOceAWejC0hv5dgdn0i6dKFJvG79U41 wjMRnQqEUIoZPvnJ9OUMDfwTT0Cv3SBGleANvYLTPWHGaX/rC8c6z7JBBIBGGqv248IU +3nFzo9ofKqJbYEGPgYNsLku0cT4KnD15fDXQG6XkcgX59D1LgU+CaaK+qsFfY8A5vEd yUB6hmnqQGS/2QvOCjMowxtCcpukzGJ9mMLCTHMrvMWSF31qMVDaEPBu3jXWvsBdLsCl gWqYyTH4ih1d10c1nqYV0nGvFK/4Q98M9ZsI65pMYmXQTHOvCo3b0s4s3OTu6H5PFYOx 2ywg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DvDGsqO04sYsTdMTm2rJIuhn8+hq04H8p7ikvjmqV6k=; b=f22wku/XSqLAzw7LuJIj5Cd4rbTP1Z5nYo6RjiETa7jQLXs6BEHhFL0H2BFTit2Gfg uMiMZuEVvtTB/y3g7HnERnkq3QLKMkwhPDLqeBtMXggbDnX+DtkO3kD5ssDa0f+sLYjl fZJp7sZyEWSndTR0sFhmR2hOxcJUAcX/CqTOauko6gSXRAtgbRohyKX3O3pT45eSGlEe DnytRnFc25lQJ48Jk96FVeLEGLJ2n6Sy4k/zQF3CtrF7eMKh+WXPmDyRpFguYwp/aWsj VyrilNPGEat5PxgDPGci8Xzafv0jgfSVgI67FddVbgm6WmFFUtEbfTExwIA7yytVdw2N zuMA== X-Gm-Message-State: AGi0PuYx/I/C98rpsgB0mHQCyAkgybEk6y0ZRSC7f1HTNmKIMEendxu1 PmLEeTBFgJTS8QPPiOfi5EXLOQ== X-Google-Smtp-Source: APiQypIq09yr0vfsdII6c7Q0VsCnhSunS1jWhIQLfjFYxESUYFwest7ywGu8aZLLq1SYr1rBN57MdQ== X-Received: by 2002:a17:90a:db0a:: with SMTP id g10mr3847602pjv.54.1588262951150; Thu, 30 Apr 2020 09:09:11 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z7sm222774pff.47.2020.04.30.09.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 09:09:10 -0700 (PDT) Date: Thu, 30 Apr 2020 09:09:02 -0700 From: Stephen Hemminger To: "Burakov, Anatoly" Cc: =?UTF-8?B?6ZmI5Lqa6L6JLeS6keadieeglOWPkemDqA==?= , dev@dpdk.org, jiping@yunshan.net, xiangyang@yunshan.net, David Marchand Message-ID: <20200430090902.0add5a96@hermes.lan> In-Reply-To: <42a59c31-ccd4-f7b2-a1c2-e0ff20921145@intel.com> References: <42a59c31-ccd4-f7b2-a1c2-e0ff20921145@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] eal: can not run secondary process on openstack environment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 30 Apr 2020 10:14:57 +0100 "Burakov, Anatoly" wrote: > On 30-Apr-20 5:14 AM, =E9=99=88=E4=BA=9A=E8=BE=89-=E4=BA=91=E6=9D=89=E7= =A0=94=E5=8F=91=E9=83=A8 wrote: > > Deleting xdg_runtime_dir and fallback, runtime_dir will always be=20 > > "/var/run" defined by code: > > static const char *default_runtime_dir =3D "/var/run" > > =20 >=20 > I'm not sure this is a good solution. Generally, IMO, having separate=20 > directories for DPDK processes for different users is a good thing.=20 > Also, XDG directory exists for a reason, and i think on some distros=20 > /var/run is not even there any more (or symlinked to /run, or...). >=20 > So, i don't think this is the way to go. David, thoughts? >=20 The unix-domain sockets should be using the abstract socket naming which would solve a bunch of problems like removing on program crash, SELinux, and container namepaces. See unix(7) for more infomation.