Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225307
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: linux-image-4.9.0-12-amd64 breaks LUKS root |
| Date | 2020-07-27 07:30 +0200 |
| Message-ID | <Ax3S1-242-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <zPWyR-3ze-1@gated-at.bofh.it> <zPYqZ-4IE-3@gated-at.bofh.it> <zPZn3-5ii-5@gated-at.bofh.it> <AwYz0-73I-7@gated-at.bofh.it> <Ax2jf-11b-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2020-07-26 20:39, David Wright wrote:
> On Sun 26 Jul 2020 at 16:46:48 (-0700), David Christensen wrote:
>> 2020-07-26 16:35:36 root@po ~
>> # lsinitramfs -l /boot/initrd.img-4.9.0-9-amd64 >
>> lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
>>
>> 2020-07-26 16:35:57 root@po ~
>> # lsinitramfs -l /boot/initrd.img-4.9.0-11-amd64 >
>> lsinitramfs-l-initrd.img-4.9.0-11-amd64.out
>> 2020-07-26 16:40:52 root@po ~
>> # diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
>> lsinitramfs-l-initrd.img-4.9.0-11-amd64.out | grep '>' | head
>>> drwxr-xr-x 10 root root 0 Jul 26 15:46 .
>>> drwxr-xr-x 3 root root 0 Jul 26 15:46 conf
>>> drwxr-xr-x 2 root root 0 Jul 26 15:46 conf/conf.d
>>> -rw-r--r-- 1 root root 76 Jul 26 15:46
>> conf/conf.d/cryptroot
>>> -rw-r--r-- 1 root root 16 Jul 26 15:46 conf/arch.conf
>>> drwxr-xr-x 2 root root 0 Jul 26 15:46 sbin
>> < lrwxrwxrwx 1 root root 12 Jan 9 2020
>> sbin/mount.ntfs -> /bin/ntfs-3g
>>> lrwxrwxrwx 1 root root 12 Jul 26 15:46
>> sbin/mount.ntfs -> /bin/ntfs-3g
>> < lrwxrwxrwx 1 root root 12 Jan 9 2020
>> sbin/mount.ntfs-3g -> /bin/ntfs-3g
>>> lrwxrwxrwx 1 root root 12 Jul 26 15:46
>> sbin/mount.ntfs-3g -> /bin/ntfs-3g
>
> If you're going to diff listings like that, you at least need to pipe
> the output through something like
>
> cut --complement -b 43-54 /tmp/initrd.img-4.19.0-9-amd64.out | sed -e 's/4.19.0.9/4.19.0.X/'
>
> to strip the dates and kernel version. This will leave you with the
> sizes. If you're looking for missing files, drop the -l, the cut, and
> leave the sed.
Thanks for pointing out potential errors.
Yes, I should have nerfed the kernel version. But, I believe date and
time should be retained. I think we can also remove items with size 0:
2020-07-26 22:06:40 root@po ~
# perl -ane 's/4.9.0-\d+/4.9.0-xxx/; print if $F[4]'
lsinitramfs-l-initrd.img-4.9.0-9-amd64.out >
lsinitramfs-l-initrd.img-4.9.0-9-amd64.out2
2020-07-26 22:06:57 root@po ~
# perl -ane 's/4.9.0-\d+/4.9.0-xxx/; print if $F[4]'
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out >
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out2
My previous diff was outputting links in error. I believe these are the
files that have been added or changed:
2020-07-26 22:09:01 root@po ~
# diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out2
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out2 | egrep '^>' | wc
705 7104 84072
Stripping of everything except the file or link name:
2020-07-26 22:11:53 root@po ~
# perl -ae 'print $F[8], "\n" if $F[8]'
lsinitramfs-l-initrd.img-4.9.0-9-amd64.out2 | sort >
lsinitramfs-l-initrd.img-4.9.0-9-amd64.out3
2020-07-26 22:12:13 root@po ~
# perl -ae 'print $F[8], "\n" if $F[8]'
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out2 | sort >
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out3
It appears that no files have been added or removed:
2020-07-26 22:14:30 root@po ~
# diff -s lsinitramfs-l-initrd.img-4.9.0-9-amd64.out3
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out3
Files lsinitramfs-l-initrd.img-4.9.0-9-amd64.out3 and
lsinitramfs-l-initrd.img-4.9.0-11-amd64.out3 are identical
At this point, I need to put my efforts into a newer desktop distribution.
David
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-15 07:20 +0100
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-30 02:00 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root deloptes <deloptes@gmail.com> - 2020-03-30 09:00 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-30 11:00 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root deloptes <deloptes@gmail.com> - 2020-03-30 12:00 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 01:50 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David <bouncingcats@gmail.com> - 2020-07-27 03:20 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 06:20 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Wright <deblis@lionunicorn.co.uk> - 2020-07-27 05:50 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 07:30 +0200
Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Wright <deblis@lionunicorn.co.uk> - 2020-07-30 04:10 +0200
csiph-web