Porteus-v5.01 240306 bug

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8437
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.01 240306 bug

Post#1 by Ed_P » 07 Mar 2024, 06:05

A script I run to compare the differences between two systems doesn't work with the Cinnamon 240306 ISO I just downloaded.

The script when run with Cinnamon 231229 ISO:

Code: Select all

guest@porteus:~$ ./guestGuest.sh x

 *diff  /home/guest                 /mnt/nvme0n1p7/porteus5.0/Guest 
diff /home/guest/ntfsfix.txt /mnt/nvme0n1p7/porteus5.0/Guest/ntfsfix.txt

 *diff  /home/guest/Backups/FireFox /mnt/nvme0n1p7/porteus5.0/Guest/Backups/FireFox 

 *diff  /home/guest/mkmods          /mnt/nvme0n1p7/porteus5.0/Guest/mkmods 
diff /home/guest/mkmods/mkmod50changes.sh /mnt/nvme0n1p7/porteus5.0/Guest/mkmods/mkmod50changes.sh
diff /home/guest/mkmods/mkmodBkups4Q.sh /mnt/nvme0n1p7/porteus5.0/Guest/mkmods/mkmodBkups4Q.sh
diff /home/guest/mkmods/mkmodGETMOD.sh /mnt/nvme0n1p7/porteus5.0/Guest/mkmods/mkmodGETMOD.sh

 *diff  /home/guest/porteus-usb     /mnt/nvme0n1p7/porteus5.0/Guest/porteus-usb 

 *diff  /home/guest/savedat         /mnt/nvme0n1p7/porteus5.0/Guest/savedat 
diff /home/guest/savedat/savedat2xzm.sh /mnt/nvme0n1p7/porteus5.0/Guest/savedat/savedat2xzm.sh


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 <  lines from guest FILE
 >  lines from Guest FILE

The script when run with Cinnamon 240306 ISO:

Code: Select all

guest@porteus:~$ ./guestGuest.sh x

 *diff  /home/guest                 /mnt/nvme0n1p7/porteus5.0/Guest 

 *diff  /home/guest/Backups/FireFox /mnt/nvme0n1p7/porteus5.0/Guest/Backups/FireFox 

 *diff  /home/guest/mkmods          /mnt/nvme0n1p7/porteus5.0/Guest/mkmods 

 *diff  /home/guest/porteus-usb     /mnt/nvme0n1p7/porteus5.0/Guest/porteus-usb 

 *diff  /home/guest/savedat         /mnt/nvme0n1p7/porteus5.0/Guest/savedat 


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 <  lines from guest FILE
 >  lines from Guest FILE.
The code that is failing:

Code: Select all

  BOLDDIFF "*diff  /home/guest                 $GUEST"
  diff /home/guest                 $GUEST                 | grep diff
  echo 
  BOLDDIFF "*diff  /home/guest/Backups/FireFox $GUEST/Backups/FireFox"
  diff /home/guest/Backups/FireFox $GUEST/Backups/FireFox | grep diff
  echo 
  BOLDDIFF "*diff  /home/guest/mkmods          $GUEST/mkmods"
  diff /home/guest/mkmods          $GUEST/mkmods          | grep diff
  echo 
  BOLDDIFF "*diff  /home/guest/porteus-usb     $GUEST/porteus-usb"
  diff /home/guest/porteus-usb     $GUEST/porteus-usb     | grep diff
  echo 
  BOLDDIFF "*diff  /home/guest/savedat         $GUEST/savedat"
  diff /home/guest/savedat         $GUEST/savedat         | grep diff
  echo  
#  BOLDDIFF "*diff  /home/guest/weather         $GUEST/weather"
#  diff /home/guest/weather         $GUEST/weather         | grep diff
  tput sgr0
My system:

Code: Select all

~#  uname -a
Linux porteus.example.net 6.6.20-porteus #1 SMP PREEMPT_DYNAMIC Tue Mar  5 20:06:09 MSK 2024 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20240301
002-xorg.xzm:20240301
002-xtra.xzm:20240301
003-cinnamon.xzm:20230922
initrd.xz:20230923

~#  ls -l /mnt/live/memory/images
000-kernel.xzm : Mar 5 12:26
001-core.xzm : Mar 1 06:24
002-xorg.xzm : Mar 1 06:29
002-xtra.xzm : Mar 1 06:34
003-cinnamon.xzm : Aug 7 2023
07-printing-x86_64-2023-02-04.xzm : Feb 4 2023
Dell6.4.10-wifi.xzm : Aug 18 2023
Dellautonet.xzm : Dec 19 16:00
Dellsound.xzm : May 14 2022
firefox-122.0-x86_64-en-US.xzm : Jan 27 23:51
mychanges.xzm : Mar 1 20:48
wmctrl-1.07-x86_64-2salix15.0.xzm : Feb 6 11:54

~#  cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-240306.iso volume=33 reboot=cold extramod=/porteus5.0/Modules noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;menu2

ISO: /ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-240306.iso

Added in 13 hours 9 minutes 40 seconds:

:crazy: I don't get it. :wall:

Code: Select all

uest@porteus:~$ ls -ton /home/guest/mkmods
total 88
-rwxrwxrwx 1 1000 11499 Feb 26 14:56 mkmod50changes.sh*
-rwxrwxrwx 1 1000  2414 Feb 26 00:50 mkmodBkups4Q.sh*
-rwxrwxrwx 1 1000   815 Feb 14 01:24 mkmodGETMOD.sh*
-rwxrwxrwx 1 1000   604 Dec 19 15:52 mkmodDellautonet.sh*
-rwxrwxrwx 1 1000  2649 Dec 15 01:34 sh-new.txt*
-rwxrwxrwx 1 1000  3051 Dec 15 01:33 mkmod50nemobkmks.sh*
-rwxr-xr-x 1 1000  2377 Nov 27 13:29 mkmodnemobkmks.sh*
-rw-r--r-- 1 1000   557 Nov 27 13:21 anyfolder2xzm.txt
-rw-r--r-- 1 1000  7399 Oct  8  2022 getmod.txt
-rwxrwxrwx 1 1000   334 Aug 26  2022 sh-old.txt*
-rwxrwxrwx 1 1000  1084 Aug  3  2022 mkmodDellwifi2.sh*
-rwxrwxrwx 1 1000   727 Jul 29  2022 wifi50.sh*
-rwxrwxrwx 1 1000  1201 Jul 10  2022 mkmodDellwifi.sh*
-rwxrwxrwx 1 1000   606 May 14  2022 mkmodDellsound.sh*
-rwxrwxrwx 1 1000  6700 Mar 22  2022 wifi.txt*
-rwxrwxrwx 1 1000   530 Mar 21  2022 mergemods.sh*
-rwxrwxrwx 1 1000   461 Mar  2  2022 mkmoddwnld2xzm.sh*
-rwxrwxrwx 1 1000   996 Jan  7  2022 mkmodiwlwifi.sh*
guest@porteus:~$ 
The dates and times and sizes of the matching files in the 2 difference folders match! :o :%)

Code: Select all

guest@porteus:~$ ls -ton /mnt/nvme0n1p7/porteus5.0/Guest/mkmods
total 74
-rwxrwxrwx 1 1000 11499 Feb 26 14:56 mkmod50changes.sh*
-rwxrwxrwx 1 1000  2414 Feb 26 00:50 mkmodBkups4Q.sh*
-rwxrwxrwx 1 1000   815 Feb 14 01:24 mkmodGETMOD.sh*
-rwxrwxrwx 1 1000  1890 Feb  5 19:48 mkmodchanges.txt*
-rwxrwxrwx 1 1000   604 Dec 19 15:52 mkmodDellautonet.sh*
drwxrwxrwx 1 1000  4096 Dec 15 13:22 Old/
-rwxrwxrwx 1 1000  2649 Dec 15 01:34 sh-new.txt*
-rwxrwxrwx 1 1000  3051 Dec 15 01:33 mkmod50nemobkmks.sh*
-rwxrwxrwx 1 1000  2377 Nov 27 13:29 mkmodnemobkmks.sh*
-rwxrwxrwx 1 1000   557 Nov 27 13:21 anyfolder2xzm.txt*
-rwxrwxrwx 1 1000  7399 Oct  8  2022 getmod.txt*
-rwxrwxrwx 1 1000   334 Aug 26  2022 sh-old.txt*
-rwxrwxrwx 1 1000  1084 Aug  3  2022 mkmodDellwifi2.sh*
-rwxrwxrwx 1 1000   727 Jul 29  2022 wifi50.sh*
-rwxrwxrwx 1 1000  1201 Jul 10  2022 mkmodDellwifi.sh*
-rwxrwxrwx 1 1000   606 May 14  2022 mkmodDellsound.sh*
-rwxrwxrwx 1 1000  6700 Mar 22  2022 wifi.txt*
-rwxrwxrwx 1 1000   530 Mar 21  2022 mergemods.sh*
-rwxrwxrwx 1 1000   461 Mar  2  2022 mkmoddwnld2xzm.sh*
-rwxrwxrwx 1 1000   996 Jan  7  2022 mkmodiwlwifi.sh*
guest@porteus:~$
So apparently 240306 is accurate and 231229 has the bug. :sorry:
Ed