vboxadd: line 469: udevcontrol: command not found

Discussions about using Linux guests in VirtualBox.

vboxadd: line 469: udevcontrol: command not found

Postby nixuser » 14. Jul 2019, 06:24

Building guest additions test build 6.0.9 build 131849 on Fedora 30 produces the error:
Code: Select all   Expand viewCollapse view
/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.
nixuser
 
Posts: 20
Joined: 12. Dec 2018, 04:56

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

Postby socratis » 14. Jul 2019, 09:49

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.
socratis
Site Moderator
 
Posts: 27426
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

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

Postby andyp73 » 14. Jul 2019, 10:22

From vboxadd.sh:
Code: Select all   Expand viewCollapse view
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.
andyp73
Volunteer
 
Posts: 1642
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

Postby socratis » 14. Jul 2019, 18:15

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: 27426
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

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

Postby socratis » 16. Jul 2019, 13:46

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.
socratis
Site Moderator
 
Posts: 27426
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests