vboxadd: line 469: udevcontrol: command not found

Discussions about using Linux guests in VirtualBox.
Post Reply
nixuser
Posts: 32
Joined: 12. Dec 2018, 04:56

vboxadd: line 469: udevcontrol: command not found

Post by nixuser »

Building guest additions test build 6.0.9 build 131849 on Fedora 30 produces the error:

Code: Select all

/opt/VBoxGuestAdditions-6.0.9/init/vboxadd: line 469: udevcontrol: command not found
The build seems to work OK despite the error, but AFAIK udevcontrol is not available in any of the default Fedora repos.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vboxadd: line 469: udevcontrol: command not found

Post by socratis »

It seems that this is the last change in the VBoxGuestAdditions installation routine (trunk/src/VBox/Additions/linux/installer/vboxadd.sh), between revisions 79438 and 79510 that happened 11 days ago, on 2018-07-03 with changeset 79510, and it seems that it's in response to a bug (bugref:9138), but that's their internal bug tracker, not the public one...

I believe that the message is not an actual error, more of like a red herring. I saw it too lately with (I believe) a Kali guest. No problems there as well, but it certainly doesn't feel ... right. ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: vboxadd: line 469: udevcontrol: command not found

Post by andyp73 »

From vboxadd.sh:

Code: Select all

468	    udevadm control --reload 2>&1 || true
469	    udevcontrol reload_rules 2>&1 || true
Those look like two different commands to do the same thing. Which one executes then presumably depends on which distribution you are running. It looks like lazy programming to me as they should be wrapped in an if... fi to only be run if the executable actually exists.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vboxadd: line 469: udevcontrol: command not found

Post by socratis »

andyp73 wrote:It looks like lazy programming to me as they should be wrapped in an if... fi to only be run if the executable actually exists
Either that (preferably), or redirect the output to /dev/null. Come Monday I'll let the developers know on IRC and point them to the thread.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vboxadd: line 469: udevcontrol: command not found

Post by socratis »

Apparently the issue has been addressed, it's simply that the trunk has not been updated. It's only a cosmetic issue in any case...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply