From: David Gibson <david@gibson.dropbear.id.au>
To: passt-dev@passt.top
Subject: Re: [PATCH 1/2] doc/demo: Drop /sbin from dhclient command, pass script file explicitly
Date: Sat, 17 Sep 2022 19:50:49 +1000 [thread overview]
Message-ID: <YyWYeVCX43/f6Aql@yekko> (raw)
In-Reply-To: <20220917104431.0b825fdc@elisabeth>
[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]
On Sat, Sep 17, 2022 at 10:44:31AM +0200, Stefano Brivio wrote:
> On Sat, 17 Sep 2022 13:23:55 +1000
> David Gibson <david(a)gibson.dropbear.id.au> wrote:
>
> > On Sat, Sep 17, 2022 at 01:55:18AM +0200, Stefano Brivio wrote:
> > > dhclient might be in /usr/sbin on recent versions of Fedora, and
> > > mbuto just adds it to the same location as it was on the host:
> > > just call dhclient instead of /sbin/dhclient.
> > >
> > > This also applies for dhclient-script: given that we create the file
> > > on boot, pass its explicit location with -sf.
> > >
> > > Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
> >
> > Hm, for the tests mbuto image I addressed this with symlinks instead.
> > Not sure which is more elegant.
>
> Yes, I noticed... I think the symlinks are actually more elegant, but
> this is meant for interactive usage, and that has some potential to
> confuse the user.
Fair enough. I don't think I've ever tried to do anything with demo.sh
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-09-17 9:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-16 23:55 [PATCH 0/2] doc/demo: Fix two issues seen on Fedora 36 Stefano Brivio
2022-09-16 23:55 ` [PATCH 1/2] doc/demo: Drop /sbin from dhclient command, pass script file explicitly Stefano Brivio
2022-09-17 3:23 ` David Gibson
2022-09-17 8:44 ` Stefano Brivio
2022-09-17 9:50 ` David Gibson [this message]
2022-09-16 23:55 ` [PATCH 2/2] doc/demo: Clone and use mbuto in init namespace Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YyWYeVCX43/f6Aql@yekko \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).