File systemd-vboxinit.changes of Package systemd-vboxinit
--------------------------------------------------------------------------------------------------------------------
Wed Apr 16 10:36:04 2025 +0800 Jetchisel <jason.ferrer@gmail.com> - 2.2.6
- Change the header of systemd-vboxinit.bashcompletion from a shebang to '-*- shell-script -*-'
- Change ',p Q' to 'w q' from the spec file to actually edit the files...
--------------------------------------------------------------------------------------------------------------------
Wed Apr 16 09:57:38 2025 +0800 Jetchisel <jason.ferrer@gmail.com> - 2.2.5
- Change the header of systemd-vboxinit.bashcompletion from a shebang to `-*- shell-script -*-`
--------------------------------------------------------------------------------------------------------------------
Wed Apr 16 08:21:11 2025 +0800 Jetchisel <jason.ferrer@gmail.com> - 2.2.4
- Remove the .bash-completion extension fromt the systemd-vboxinit.bash-completion
bash completion file, It looks like it is not being sourced from /usr/share/bash-completion/completions
directory.
--------------------------------------------------------------------------------------------------------------------
Tue Apr 15 20:39:09 2025 +0800 Jetchisel <jason.ferrer@gmail.com> - 2.2.3
Update scripts
- Update ExtraData to version 1.0.2
* Change the long divider/box that encloses the comment with a '='
* instead of a *, since the latter is special to the shell
- Update systemd-vboxinit.bash-completion to 1.0.1
* Remove the prev variable since it has no use
* Change the curly braces from the cur variable to a double quotes
--------------------------------------------------------------------------------------------------------------------
Tue Apr 15 08:51:44 2025 +0800 Jetchisel <jason.ferrer@gmail.com>
Fix time-out error when stopping the service.
- Edit VBoxAutostart@.service unit file
* Change url to Home Page at the header
* Add a TODO section at the header
- Change the value of KillMode from none to mixed
* Kill with SIGTERM first and SIGKILL as the last resort for
the VBox daemon/process.
- Change the value of TimeoutStopSec from 40 to 5min
* Some virtual machine requires more time than others to
savestate, e.g. Windows 11
* Fixed failed unmounting /home message during shutdown of the host.
(for now.)
* Exit status of 3 when stopping the service might be found at the
systemctl man pages, e.g.
PAGER='less +/exit\ status' man systemctl
- Edit systemd-vboxinit script.
* Update to version 2.2.1
* Enable the SIGKILL option with the --disable, -d
* Change the message for the --disable, -d option
* Move the @() from the array name to the format specifier from
printf for RunningUuids
* Add an explicit exit/return status to most of the die messages
- Edit systemd-vboxinit.bash-completion
* Updated the copyright year at the headers
- Edit systemd-vboxinit_ManPage
* Updated the description of the name section
--------------------------------------------------------------------------------------------------------------------
Mon Apr 14 13:46:47 2025 +0800 <jason.ferrer@gmail.com>
Update documentation and verbose script messages.
- Update systemd-vboxinit script to 2.2.0
* Change the Description section from the header.
* TODO section from the header has a task now.
* Removed the open and close [ ] from the Options section of the header.
* Use the IFS and printf trick for the value of RunningUuids.
* Change the test from *auto* to *" auto" since it is at the end
of pvbx/startupMode output.
* Use an associative array to save both process name and pid of the
VirtualBox daemon from KillAllVBoxProcess.
* Print a more verbose output when stopping/killing the VirtualBox
daemons
* Change the InstallMessage from being an array to a normal variable.
* Update the Copyright year to the current year 2025 from the about function.
- Update systemd-vboxinit.bashcompletion
* Add a header from the systemd-vboxinit.bashcompletion
- Update the manpage
* Change/fix some grammar and add more info.
--------------------------------------------------------------------------------------------------------------------
Sat Mar 22 18:17:39 2025 +0800 '<jason.ferrer@gmail.com>'
Fix some minor bugs and change email address
- Update Extradata script to 1.0.1
* Add copyright to the header.
* Remove the % sign from some printf instances that is not needed.
* Add shellcheck disable on some lines to silence the warning.
- Update the systemd unit file VBoxAutostart@.service
* Add more info and format the header.
* Change the obsolete StandardOutput=syslog+console to StandardOutput=journal+console
- Update systemd-vboxinit script to 2.1.8
* Change the date format accordingly
* Add Copyright to the header
* Add additional curly braces to some variables to silence the
error/warning from shellcheck
* Fix bug, not executing the -d option/flag if there are no vms
running
- Update man page
* Change the date format at the bottom of the man page
* Highlight (change to bold fonts) some significant
words/strings/text
* Change the wiki/page/link of phpvirtualbox from sourceforge.net to
its new github page
--------------------------------------------------------------------------------------------------------------------
Mon Oct 01 01:52:27 UTC 2021 '<jason@ferrer.com.ph>'
Update to version 2.1.7
- Change systemd to systemctl for the required external commands from systemd-vboxinit script.
- Change KillMode value from "none" to "control-group" from the unit file.
- Change StandardOutput from "syslog+console" to "journal+console" from the unit file.
--------------------------------------------------------------------------------------------------------------------
Fri Dec 30 11:52:12 UTC 2016 '<jetchisel@opensuse.org>'
Update to version 2.1.4
- Fix bug "failed umounting home" message during shutdown.
- Add a test if vboxdrv.service is not running then kill all vbox processes.
- Add a KillAllVBoxProcess function.
- Fix typo, change vm_name to vm-name.
- Change the unit file in order to adopt with the vbox package from virtualbox.org
- Add VBoxManage and systemd to ExtComm packages.
- Make the warn die functions a bit more robust.
- Make an error if there are no vms configured or none is running.
- Save the pid of the vbox processes in an array and kill it one by one.
- Change the date in the about function from 2015 to 2016.
--------------------------------------------------------------------------------------------------------------------
Fri Aug 19 10:15:58 UTC 2016 '<jetchisel@opensuse.org>'
- Remove quote on the RHS of [[ ]] on the Extradata script it is not needed and cause errors!
--------------------------------------------------------------------------------------------------------------------
Fri Aug 19 10:00:20 UTC 2016 '<jetchisel@opensuse.org>'
- Remove quote on the RHS of [[ ]] on the systemd-vboxinit script it is not needed and cause errors!
--------------------------------------------------------------------------------------------------------------------
Fri Aug 19 08:48:13 UTC 2016 '<jetchisel@opensuse.org>'
- Remove the `exit 0' as the last part of all the shell script.
- Quote all the RHS of [[ ]] in the script.
- Remove all the trailing white spaces on all the files.
- Remove all the unused variables in the scripts.
- Rename UpdateMessage to InstallMessage in the systemd-vboxinit script.
--------------------------------------------------------------------------------------------------------------------
Wed May 13 16:18:00 UTC 2015 '<jetchisel@opensuse.org>'
- Remove the pkill in the ExtComm list.
- Set 127 as the exit status if the ExtComms are not installed.
- Change echo to printf in the MissingMessage.
- Chage || to && and do not negate in the ExitMessage.
- Declare the variables local to the specific functions.
- Remove the echos.
- Assign UpdateMessage in an array.
--------------------------------------------------------------------------------------------------------------------
Wed Dec 17 12:29:04 UTC 2014 '<jetchisel@opensuse.org>'
- Fixed the ExtraData array not appending all vms
- Added Green Color for ExtraData menu
--------------------------------------------------------------------------------------------------------------------
Fri Dec 12 07:21:14 UTC 2014 '<jetchisel@opensuse.org>'
- Fixed the -d option not stopping vbox daemons if no vms found running.
--------------------------------------------------------------------------------------------------------------------
Fri Nov 7 04:31:19 UTC 2014 '<jetchisel@opensuse.org>'
- Removed lsmod in systemd-vboxinit script.
- Grepping for vboxdrv in /proc/modules instead.
--------------------------------------------------------------------------------------------------------------------
Fri Aug 15 23:31:54 UTC 2014 '<jetchisel@opensuse.org>'
- Fixed the exit status of the -d flag from systemd-vboxinit script.
--------------------------------------------------------------------------------------------------------------------
Wed Aug 13 11:37:49 UTC 2014 '<jetchisel@opensuse.org>'
- Added the warn and die functions to systemd-vboxinit script.
--------------------------------------------------------------------------------------------------------------------
Sun Aug 3 18:49:27 UTC 2014 '<jetchisel@opensuse.org>'
- Removed the need to check for VirtualBox since it is just a GUI manager/interface.
- VBoxManage is what being checked now, so the distro package should be compatible now.
--------------------------------------------------------------------------------------------------------------------
Sat May 17 22:01:41 UTC 2014 '<jetchisel@opensuse.org>'
- version 1.6
- Added mapfile and fd 5 to it, for checking if there is any vms.
- The disable option relies heavily on pgrep and pkill.
- Removed comm and ps, added killproc(8) for openSuSE.
- Added a function to check if there is no vms, then exit if there is none found.
- Added the find command to list files inside /usr/lib/virtualbox, pgrep to check if it is running process.
- openSuSE has a killproc which is used to kill a process/daemon. If not available, fall back to pkill :-).
- Fixed the output status of a vm that is running but not on auto when started.
- Fixed the P.E. for extracting VmNames the extra '%' was removed, It fails on VmNames with double quotes :-).
- Fixed an empty array value for the NoAutoVms which prints a litteral single quotes.
- Fixed/improved code in ExtraData script. The fonts are now bold :-).
--------------------------------------------------------------------------------------------------------------------
Mon May 5 20:12:18 UTC 2014 '<jetchisel@opensuse.org>'
- Updated to version 1.6
- Added external commands comm and ps for processmanagenemt :-)
- Added fd 6
--------------------------------------------------------------------------------------------------------------------
Fri Apr 25 17:47:27 UTC 2014 '<jetchisel@opensuse.org>'
- Only short and long options remain in the options.
- Tab completion only works for long-options. (it is better this way :-))
- Added about and disable options.
- Switch to forking instead of oneshot (in the unit file type entry) for systemd-208 which is openSuSE 13.1
- The disable option is a must before updating to another version of VirtualBox, to avoid install errors. (if any)
- Restart of vboxweb-service is needed after the disable option specially when using app. such as phpvirtualbox.
- --stop is -x and --start is -s for short and long options.
- Grep is back :-), for checking vbox kernel modules.
--------------------------------------------------------------------------------------------------------------------
Thu Mar 6 20:44:05 UTC 2014 '<jetchisel@opensuse.org>'
- Improved the short and long options.
--------------------------------------------------------------------------------------------------------------------
Sat Feb 22 21:35:08 UTC 2014 '<jetchisel@opensuse.org>'
- Updated man page for the short and long options.
--------------------------------------------------------------------------------------------------------------------
Fri Feb 21 23:01:04 UTC 2014 '<jetchisel@opensuse.org>'
- Added support for long and short options for the OPTIONS.
- Added short and long options for bash_completion.
- Added additional checking if options/arguments is more than one.
--------------------------------------------------------------------------------------------------------------------
Wed Feb 19 04:29:58 UTC 2014 '<jetchisel@opensuse.org>'
- Save the Value of uuid and VmName variable in a Function to avoid repeating it twice.
--------------------------------------------------------------------------------------------------------------------
Wed Feb 12 20:59:29 UTC 2014 '<jetchisel@opensuse.org>'
- Added the help function.
* A more verbose explanation about the usage.
- Replaced ${0} with ${BASH_SOURCE}.
--------------------------------------------------------------------------------------------------------------------
Wed Jan 22 23:39:18 UTC 2014 '<jetchisel@opensuse.org>'
- Fix 'error broken pipe' by using a variable for the vms uuids instead of listing them using echo/printf.
- Removed the '2>/dev/null' from 'error broken pipe' which just redirects stderr to nothing.
- Added extglob so uuids can be tested in one line using '[[' instead of grep.
- Since grep is external to the shell it is now removed.
- The error 1 is replaced by 127 upon exit of systemd-vboxinit if it did not find VirtualBox or virtualbox.
- This means that an executable is not found in your system. eg the exit status of 'cnf'.
- See 'http://en.wikipedia.org/wiki/Exit_status' if you dont like 'man bash' EXIT STATUS section :-).
--------------------------------------------------------------------------------------------------------------------
Tue Jan 14 01:09:38 UTC 2014 '<jetchisel@opensuse.org>'
- Fix 'error broken pipe'
- If more than 5 vms are running the error broken pipe appears when stopping the daemon. (systemd!)
- While stopping systemd-vboxinit manually that 'broken pipe' does not appear.
- Added FD 7,8 and 9 to read inside the while loop.
--------------------------------------------------------------------------------------------------------------------
Thu Jan 9 07:46:08 UTC 2014 '<jetchisel@opensuse.org>'
- version systemd-vboxinit-1.5-10.1
- Added some more PATH checking for VirtualBox binaries/executables.
- /usr/lib/virtualbox/VirtualBox is checked also from the begining.
- Some custom install might not have VirtualBox and other binaries/executables in normal PATH.
- /usr/lib/virtualbox/VBoxManage is used if it exist and executable by vboxusers.
- else either VBoxManage or vboxmanage is searched in PATH and used.
--------------------------------------------------------------------------------------------------------------------
Thu Jan 2 02:20:08 UTC 2014 '<jetchisel@opensuse.org>'
- version systemd-vboxinit-1.5-6.1
- Added systemd-vboxinit-completion.bash
- Tab completion should work now for its option start stop license.
- running: /usr/lib/systemd-vboxinit.d/systemd-vboxinit <TAB> + <TAB> will show the options! (yey!)
---------------------------------------------------------------------------------------------------------------------
Thu Dec 26 09:31:07 UTC 2013 '<jetchisel@opensuse.org>'
- systedm-vboxinit updated to version 1.5
- Added the license function.
---------------------------------------------------------------------------------------------------------------------
Wed Dec 25 10:00:14 UTC 2013 '<jetchisel@opensuse.org>'
- version 1.0-103.1
- VBoxAutostart@.service now starts after vboxdrv.service.
- Since vboxdrv is present from vbox.org package and the distro this is not an issue.
- The need to add vboxdrv in /etc/sysconfig/kernel is not required anymore.
- User is still responsible for disabling any other autostart service/script that can cause conflict.
---------------------------------------------------------------------------------------------------------------------
Fri Dec 20 13:12:24 UTC 2013 '<jetchisel@opensuse.org>'
- version 1.0-98.1
- Removed VBoxManage showvminfo from systemd-vboxinit.
- Only parsing VBoxManage list running/vms.
- Parsing VBoxManage has been improved.
- systemd-vboxinit can now handle vms names with white space! (Arrgg..!)
- ExtraData can also handle vms names with white space!
---------------------------------------------------------------------------------------------------------------------
Mon Dec 10 2013 - '<jetchisel@opensuse.org>'
- Parsing VBoxManage for uuid has been made a bit more robust.
- If in case your vms names has some silly character like { or }, you will not suffer! :-)
---------------------------------------------------------------------------------------------------------------------
Sat Nov 23 2013 - '<jetchisel@opensuse.org>'
- Fix the permission issue of systemd-vboxinit
- When you install this package without installing virtualbox first then permission is messed up.
- The previous default group is vboxusers which is created by virtualbox and if it is not installed, meaning no
- vboxusers group exist in your system then it will fall back to root which a normal user does not have execute
- rights to systemd-vboxinit.
---------------------------------------------------------------------------------------------------------------------
Wed Nov 6 2013 - '<jetchisel@opensuse.org>'
- Moved systemd-vboxinit from /usr/bin to /usr/lib/systemd-vboxinit.d/ (which is created by systemd-vboxinit package)
- /etc/init.d is for the legacy system V init scripts and LSB headers is a must!
---------------------------------------------------------------------------------------------------------------------
Tue Oct 29 2013 - '<jetchisel@opensuse.org>'
- Added this changelog file
- Rename VBoxUser@.service to VBoxAutostart@.service
- Sorry for the rename but *Autostart seems to be more appropriate :-), If you were left with a broken symlink you
- can fix it with: find /etc/systemd/ -name '*VBoxUser*' -exec echo rm {} +
- remove the echo once your satisfied with the result.
---------------------------------------------------------------------------------------------------------------------
Mon Oct 26 2013 - '<jetchisel@opensuse.org>'
- initial packaging