-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
rhel-8.10
What were you trying to do that didn't work?
When the admin configured explicitly the temporary runtime directory for a given user in /etc/fstab, leapp fails during reboot phase.
Example:
# grep /run/user/1000 /etc/fstab tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=10240k,mode=700,uid=1000 0 0
Result:
[ 2.142824] upgrade[593]: mount: mount point /run/user/1000 does not exist [ 17.869752] upgrade[610]: ==> Processing phase `InitRamStart` [ 17.870413] upgrade[610]: ====> * remove_upgrade_boot_entry [ 17.870877] upgrade[610]: Remove boot entry for Leapp provided initramfs. [ 19.260653] upgrade[1097]: Process Process-216: [ 19.261143] upgrade[1097]: Traceback (most recent call last): [ 19.261643] upgrade[1097]: File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap [ 19.262463] upgrade[1097]: self.run() [ 19.262803] upgrade[1097]: File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run [ 19.263550] upgrade[1097]: self._target(*self._args, **self._kwargs) [ 19.264096] upgrade[1097]: File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run [ 19.265028] upgrade[1097]: actor_instance.run(*args, **kwargs) [ 19.265530] upgrade[1097]: File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 289, in run [ 19.266340] upgrade[1097]: self.process(*args) [ 19.266723] upgrade[1097]: File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/removeupgradebootentry/actor.py", line 20, in process [ 19.267893] upgrade[1097]: remove_boot_entry() [ 19.268332] upgrade[1097]: File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/removeupgradebootentry/libraries/removeupgradebootentry.py", line 41, in remove_boot_entry [ 19.269756] upgrade[1097]: '/bin/mount', '-a' [ 19.270171] upgrade[1097]: File "/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/__init__.py", line 188, in run [ 19.271070] upgrade[1097]: result=result [ 19.271432] upgrade[1097]: CalledProcessError: Command ['/bin/mount', '-a'] failed with exit code 32.
Please provide the package NVR for which bug is seen:
leapp-upgrade-el7toel8-0.18.0-3.el7_9.noarch
How reproducible:
Always
Steps to reproduce
- Create a user on the system
# useradd user
- Statically defined its runtime directory in etc/fstab
# echo "tmpfs /run/user/$(id -u user) tmpfs rw,nosuid,nodev,relatime,size=10240k,mode=700,uid=$(id -u user) 0 0" >> /etc/fstab
- Execute leapp upgrade and reboot
Expected results
Upgrade happens
Actual results
Upgrade fails
- relates to
-
RHEL-35446 [RFE] leapp upgrade: update the storage initialisation when booting to the upgrade enviroment
-
- In Progress
-
- links to