[opensuse] Messy Update Output on Update to kernel-default-4.4.57-18.3
All, First, things went OK on the latest kernel update for Leap 42.2, but the output was horrendous. I fully anticipated problems based on the update output, but surprisingly, it all turned out OK. Specifically, during initrd creation, the following output was received (granted, I understand the vbox modules wouldn't be in the normal list): Additional rpm output: Creating initrd: /boot/initrd-4.4.57-18.3-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.4.57-18.3-default 4.4.57-18.3-default modinfo: ERROR: Module vboxnetflt not found. modinfo: ERROR: Module vboxnetadp not found. modinfo: ERROR: Module vboxpci not found. modinfo: ERROR: Module vboxdrv not found. ... dracut: Could not find FONT_MAP none! ... (Normal ending output follows) dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=3cadab5b-13b4-4dce-84d3-05e2070f741c dracut: root=UUID=8e3d344b-32ba-4edc-85b7-03a1bba70427 rootfstype=ext4 rootflags=rw,relatime,data=ordered dracut: *** Creating image file '/boot/initrd-4.4.57-18.3-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.4.57-18.3-default' done *** Additional rpm output: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' /root/.bashrc: line 129: syntax error near unexpected token `<' /root/.bashrc: line 129: ` done < <(find "$1" -type f)' (49/60) Installing: libreoffice-base-5.2.5.1-18.3.2.x86_64 ..................................................[done] Additional rpm output: /root/.bashrc: line 129: syntax error near unexpected token `<' /root/.bashrc: line 129: ` done < <(find "$1" -type f)' The same error was received for: (50/60) Installing: libreoffice-calc-5.2.5.1-18.3.2.x86_64 (51/60) Installing: libreoffice-draw-5.2.5.1-18.3.2.x86_64 (52/60) Installing: libreoffice-impress-5.2.5.1-18.3.2.x86_64 (53/60) Installing: libreoffice-math-5.2.5.1-18.3.2.x86_64 (54/60) Installing: libreoffice-writer-5.2.5.1-18.3.2.x86_64 If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 2 Apr 2017 00:32, David C. Rankin wrote: [snip]
(49/60) Installing: libreoffice-base-5.2.5.1-18.3.2.x86_64 ..................................................[done] Additional rpm output: /root/.bashrc: line 129: syntax error near unexpected token `<' /root/.bashrc: line 129: ` done < <(find "$1" -type f)'
[snip]
If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up?
Sorry to say so, but you are barking at the wrong tree. Here the error is caused by the content of the ".bashrc" file of YOUR local root-account. Edit that file, find out what is wrong (Hint: one space too much, and a missing "$" is the most likely cause. Line 129: AS IS NOW: 'done < <(find "$1" -type f)' SHOULD BE: 'done << $(find "$1" -type f)' (Most likely, can't read your private /root/.bashrc at all) - Yamaban -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/01/2017 05:49 PM, Yamaban wrote:
If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up?
Sorry to say so, but you are barking at the wrong tree.
Here the error is caused by the content of the ".bashrc" file of YOUR local root-account.
Edit that file, find out what is wrong (Hint: one space too much, and a missing "$" is the most likely cause. Line 129: AS IS NOW: 'done < <(find "$1" -type f)' SHOULD BE: 'done << $(find "$1" -type f)' (Most likely, can't read your private /root/.bashrc at all)
- Yamaban
No, It's not my .bashrc. The part of the function that locates the oldest file in a directory, uses rank-basic *process substitution*, and is 100% correct e.g.: ## oldest file in directory lsoldest() { [ -z "$1" ] && { printf "usage: %s dirname (for oldest)\n" "${0//*\//}" return 1 } local oldest unset -v oldest while IFS= read -r i; do [ "$i" -ot "$oldest" -o "$oldest" = "" ] && oldest="$i" done < <(find "$1" -type f) echo "$oldest" } The 'done < <(find "$1" -type f)' is 100% correct bash. Why is the libreinstall launching an interactive shell anyway? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
02.04.2017 02:18, David C. Rankin пишет:
On 04/01/2017 05:49 PM, Yamaban wrote:
If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up?
Sorry to say so, but you are barking at the wrong tree.
Here the error is caused by the content of the ".bashrc" file of YOUR local root-account.
Edit that file, find out what is wrong (Hint: one space too much, and a missing "$" is the most likely cause. Line 129: AS IS NOW: 'done < <(find "$1" -type f)' SHOULD BE: 'done << $(find "$1" -type f)' (Most likely, can't read your private /root/.bashrc at all)
- Yamaban
No,
It's not my .bashrc. The part of the function that locates the oldest file in a directory, uses rank-basic *process substitution*, and is 100% correct e.g.:
## oldest file in directory lsoldest() { [ -z "$1" ] && { printf "usage: %s dirname (for oldest)\n" "${0//*\//}" return 1 } local oldest unset -v oldest while IFS= read -r i; do [ "$i" -ot "$oldest" -o "$oldest" = "" ] && oldest="$i" done < <(find "$1" -type f) echo "$oldest" }
The 'done < <(find "$1" -type f)' is 100% correct bash.
There is no evidence that this error comes from bash running in bash mode.
Why is the libreinstall launching an interactive shell anyway?
It does not. But 129+ lines of ~/.bashrc hints at rather extensive customizations which can be everywhere, so any reply will be just stab in the dark. Examine installation scripts that libreoffice is using (someone capable of creating 129+ lines of .bashrc certainly can interpret them); run "rpm -i" in verbose mode and look at exact command invocation that returns this error). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
David C. Rankin
-
Yamaban