Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
Gamut
Lurker
Posts: 2
Liked: 1 time
Joined: Jun 19, 2024 6:41 am
Contact:

[Linux] Veeam changes group of /boot/efi resulting in OS update problems

Post by Gamut » 1 person likes this post

Symptom:

Code: Select all

[root@host ~]# yum update
Updating Subscription Management repositories.
(snip)
Dependencies resolved.
================================================================================
 Package        Arch    Version            Repository                      Size
================================================================================
Upgrading:
 grub2-common   noarch  1:2.06-80.el9_4    rhel-9-for-x86_64-baseos-rpms  916 k
 grub2-efi-x64  x86_64  1:2.06-80.el9_4    rhel-9-for-x86_64-baseos-rpms  1.3 M

Transaction Summary
================================================================================
Upgrade  2 Packages

Total download size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): grub2-common-2.06-80.el9_4.noarch.rpm     11 MB/s | 916 kB     00:00    
(2/2): grub2-efi-x64-2.06-80.el9_4.x86_64.rpm    14 MB/s | 1.3 MB     00:00    
--------------------------------------------------------------------------------
Total                                            23 MB/s | 2.2 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : grub2-common-1:2.06-80.el9_4.noarch                    1/4 
Error unpacking rpm package grub2-common-1:2.06-80.el9_4.noarch
  Upgrading        : grub2-efi-x64-1:2.06-80.el9_4.x86_64                   2/4 
error: unpacking of archive failed on file /boot/efi/EFI/redhat: cpio: chown failed - Directory not empty
error: grub2-common-1:2.06-80.el9_4.noarch: install failed

Error unpacking rpm package grub2-efi-x64-1:2.06-80.el9_4.x86_64
  Verifying        : grub2-common-1:2.06-80.el9_4.noarch                    1/4 
  Verifying        : grub2-common-1:2.06-77.el9.noarch                      2/4 
  Verifying        : grub2-efi-x64-1:2.06-80.el9_4.x86_64                   3/4 
  Verifying        : grub2-efi-x64-1:2.06-77.el9.x86_64                     4/4 
Installed products updated.

Failed:
  grub2-common-1:2.06-77.el9.noarch     grub2-common-1:2.06-80.el9_4.noarch    
  grub2-efi-x64-1:2.06-77.el9.x86_64    grub2-efi-x64-1:2.06-80.el9_4.x86_64   

Error: Transaction failed
[root@host ~]# 
Analysis:

Code: Select all

[root@host ~]# ls -ld /boot/efi
drwx------. 3 root veeam 4096 Jan  1  1970 /boot/efi
[root@host ~]# 
We can clearly see that /boot/efi has group "veeam", while RHEL 9 ships it with group "root".

The workaround is therefore simple. Change things back to how they were:

Code: Select all

umount /boot/efi && mount /boot/efi
Note: the above is my personal workaround. It is not a solution.
rovshan.pashayev
Veeam Software
Posts: 569
Liked: 113 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: [Linux] Veeam changes group of /boot/efi resulting in OS update problems

Post by rovshan.pashayev »

Hello,

Which version of VAL are you running?
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Gamut
Lurker
Posts: 2
Liked: 1 time
Joined: Jun 19, 2024 6:41 am
Contact:

Re: [Linux] Veeam changes group of /boot/efi resulting in OS update problems

Post by Gamut »

We appear to be running version 6.1.2.1781 of the Veeam Agent for Linux:

Code: Select all

[root@host ~]# date
Wed Jun 19 11:02:28 AM CEST 2024
[root@host ~]# rpm -q --queryformat '%{NAME}\t%{VERSION}\n' -- veeam-libs veeam-nosnap 
veeam-libs	6.1.2.1781
veeam-nosnap	6.1.2.1781
[root@host ~]# 
vt_lyndon
Novice
Posts: 4
Liked: 2 times
Joined: Jul 26, 2021 7:30 pm
Full Name: Lyndon Lapierre
Contact:

Re: [Linux] Veeam changes group of /boot/efi resulting in OS update problems

Post by vt_lyndon »

+1, we just bumped into this on our RHEL8 NFS cluster. Thanks for reporting it here Gamut, saved me a lot of headache!
rovshan.pashayev
Veeam Software
Posts: 569
Liked: 113 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: [Linux] Veeam changes group of /boot/efi resulting in OS update problems

Post by rovshan.pashayev »

Hi All,

Thanks for report. We will address this issue.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests