pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51992
The following reply was made to PR pkg/51992; it has been noted by GNATS.
From: Alistair Crooks <agc%pkgsrc.org@localhost>
To: tech-pkg <tech-pkg%netbsd.org@localhost>, Paul Goyette <paul%whooppee.com@localhost>, gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/51992
Date: Fri, 10 Nov 2023 12:41:22 -0800
--0000000000008d8fd50609d2587e
Content-Type: text/plain; charset="UTF-8"
On Fri, 10 Nov 2023 at 12:04, Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
> [This is a PR from Paul about improvements for mksandbox. CC to tech-pkg
> for comments -- agc]
>
> Finally getting around to looking at PR 51992, it includes some excellent
> suggestions - thanks, Paul!
>
> The attached diff should address the first 2 parts of the PR, still
> working on the third part.
>
> Does anyone have any comments on these?
>
> Thanks,
> Al
>
> PS. I tried a lot of different ways before landing on this one, which
> seems to be the
> cleanest way.
>
I should have pasted what the operations look like:
[2023/11/10 Fri 12:37:35] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [237]
> mkdir ~/sb6
[2023/11/10 Fri 12:37:47] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [238]
> sudo mksandbox ~/sb6
WARNING: LOCALPATCHES directory does not exist - ignoring
Copying the kernel
Checking package hierarchy in /usr/pkg and package database in
/usr/pkg/pkgdb exist
Make and populate /home/agc/sb6/dev
Make and populate /home/agc/sb6/etc
Make empty dirs upon which to mount the null mounts
Making /tmp in /home/agc/sb6
Making /var/games in /home/agc/sb6
Making /var/run in /home/agc/sb6
Making /var/log in /home/agc/sb6
Making /var/spool/lock in /home/agc/sb6
Making /var/run/utmp in /home/agc/sb6
Making /var/run/utmpx in /home/agc/sb6
Making /var/log/wtmp in /home/agc/sb6
Making /var/log/wtmpx in /home/agc/sb6
Making /var/log/lastlog in /home/agc/sb6
Making /var/log/lastlogx in /home/agc/sb6
Mount /usr/src from /home/agc/sb6
Mount /usr/pkgsrc from /home/agc/sb6
Mounting /usr/pkgsrc/packages and /usr/pkgsrc/distfiles from /home/agc/sb6
Mount /usr/xsrc from /home/agc/sb6
Sandbox creation is now complete
[2023/11/10 Fri 12:38:02] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [239]
> sudo ~/sb6/sandbox mount
/home/agc/sb6 already mounted
[2023/11/10 Fri 12:38:22] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [240]
> sudo ~/sb6/sandbox umount
[2023/11/10 Fri 12:38:29] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [241]
> sudo ~/sb6/sandbox umount
/home/agc/sb6 not mounted
[2023/11/10 Fri 12:38:32] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [242]
>
--0000000000008d8fd50609d2587e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, 10 Nov 2023 at 12:04, Alistai=
r Crooks <<a href=3D"mailto:agc%pkgsrc.org@localhost">agc%pkgsrc.org@localhost</a>> wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r">[This is a PR from Paul about improvements for mksandbox. CC to tech-pkg=
for comments -- agc]<div><br></div><div>Finally getting around to looking =
at PR 51992, it includes some excellent suggestions - thanks, Paul!<div><br=
></div><div>The attached diff should address the first 2 parts of the PR, s=
till working on the third part.</div><div><br></div><div>Does anyone have a=
ny comments on these?</div><div><br></div><div>Thanks,</div><div>Al</div><d=
iv><br></div><div>PS. I tried a lot of different ways before landing on thi=
s one, which seems to be the</div><div>cleanest way.</div></div></div></blo=
ckquote><div><br></div><div>I should have pasted=C2=A0what the operations l=
ook like:</div><div><br></div>[2023/11/10 Fri 12:37:35] agc@netbsd-012 ...p=
kgsrc/pkgtools/mksandbox [237] > mkdir ~/sb6<br>[2023/11/10 Fri 12:37:47=
] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [238] > sudo mksandbox ~/s=
b6<br>WARNING: LOCALPATCHES directory does not exist - ignoring<br>Copying =
the kernel<br>Checking package hierarchy in /usr/pkg and package database i=
n /usr/pkg/pkgdb exist<br>Make and populate /home/agc/sb6/dev<br>Make and p=
opulate /home/agc/sb6/etc<br>Make empty dirs upon which to mount the null m=
ounts<br>Making /tmp in /home/agc/sb6<br>Making /var/games in /home/agc/sb6=
<br>Making /var/run in /home/agc/sb6<br>Making /var/log in /home/agc/sb6<br=
>Making /var/spool/lock in /home/agc/sb6<br>Making /var/run/utmp in /home/a=
gc/sb6<br>Making /var/run/utmpx in /home/agc/sb6<br>Making /var/log/wtmp in=
/home/agc/sb6<br>Making /var/log/wtmpx in /home/agc/sb6<br>Making /var/log=
/lastlog in /home/agc/sb6<br>Making /var/log/lastlogx in /home/agc/sb6<br>M=
ount /usr/src from /home/agc/sb6<br>Mount /usr/pkgsrc from /home/agc/sb6<br=
>Mounting /usr/pkgsrc/packages and /usr/pkgsrc/distfiles from /home/agc/sb6=
<br>Mount /usr/xsrc from /home/agc/sb6<br>Sandbox creation is now complete<=
br>[2023/11/10 Fri 12:38:02] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [2=
39] > sudo ~/sb6/sandbox mount<br>/home/agc/sb6 already mounted<br>[2023=
/11/10 Fri 12:38:22] agc@netbsd-012 ...pkgsrc/pkgtools/mksandbox [240] >=
sudo ~/sb6/sandbox umount<br>[2023/11/10 Fri 12:38:29] agc@netbsd-012 ...p=
kgsrc/pkgtools/mksandbox [241] > sudo ~/sb6/sandbox umount<br>/home/agc/=
sb6 not mounted<br><div>[2023/11/10 Fri 12:38:32] agc@netbsd-012 ...pkgsrc/=
pkgtools/mksandbox [242] >=C2=A0</div></div></div>
--0000000000008d8fd50609d2587e--
Home |
Main Index |
Thread Index |
Old Index