As part of creating a jail, I'm using zfs diff to generate a tarball of the files that have changed between a snapshot of a FreeBSD-12.1 base image and a filesystem with python3.7 installed. When I do a zfs diff between the snapshot and the filesystem, everything for python3.7 is in the diff except python3.7 binary itself. My only thought is that the python3.7 binary and python3.7m binary are exactly the same size (but neither are symlinks).
The python files in the filesystem. As you can see, python3.7 is there:
The output of zfs diff, python3.7 is not there but everything else is:
The 'a' snapshot is just a snapshot of FreeBSD-12.1-RELEASE so /usr/local/ is empty.
Any help is greatly appreciated. This seems like a bug in zfs diff but maybe I'm missing a step?
Code:
[shane@fbsddev-thinkpad ~]$ uname -a
FreeBSD fbsddev-thinkpad 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64
The python files in the filesystem. As you can see, python3.7 is there:
Code:
lrwxr-xr-x 1 root wheel 7 Oct 5 13:52 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python -> python3
lrwxr-xr-x 1 root wheel 14 Oct 5 13:52 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python-config -> python3-config
lrwxr-xr-x 1 root wheel 9 Oct 3 19:21 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3 -> python3.7
lrwxr-xr-x 1 root wheel 16 Oct 3 19:21 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3-config -> python3.7-config
-r-xr-xr-x 2 root wheel 15208 Oct 2 20:30 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3.7
lrwxr-xr-x 1 root wheel 17 Oct 2 20:30 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3.7-config -> python3.7m-config
-r-xr-xr-x 2 root wheel 15208 Oct 2 20:30 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3.7m
-r-xr-xr-x 1 root wheel 2936 Oct 2 20:30 /zroot/jails/re:1.1.0/.zfs/snapshot/b/usr/local/bin/python3.7m-config
The output of zfs diff, python3.7 is not there but everything else is:
Code:
[shane@fbsddev-thinkpad ~]$ sudo zfs diff -t -F zroot/jails/re:1.1.0@a zroot/jails/re:1.1.0 | grep "usr/local/bin/python"
1606053200.241491000 + F /zroot/jails/re:1.1.0/usr/local/bin/python3.7m
1606053200.241231000 + F /zroot/jails/re:1.1.0/usr/local/bin/python3.7m-config
1606053200.241522000 + @ /zroot/jails/re:1.1.0/usr/local/bin/python3.7-config
1606053200.905544000 + @ /zroot/jails/re:1.1.0/usr/local/bin/python3
1606053200.905572000 + @ /zroot/jails/re:1.1.0/usr/local/bin/python3-config
1606053200.911275000 + @ /zroot/jails/re:1.1.0/usr/local/bin/python
1606053200.911303000 + @ /zroot/jails/re:1.1.0/usr/local/bin/python-config
The 'a' snapshot is just a snapshot of FreeBSD-12.1-RELEASE so /usr/local/ is empty.
Any help is greatly appreciated. This seems like a bug in zfs diff but maybe I'm missing a step?