[3.x.x] Minor bugs in package xendomains
On systems with a temp drive mounted to /var, the pygrub script will crash due to the missing sub-folders straight after booting, issuing the error message:
libxl: error: libxl_bootloader.c:364:libxl__bootloader_run: failed to create bootloader dir /var/run/xen/bootloader.5.d: No such file or directory
I recommend the following solution:
—- /etc/init.d/xendomains
+ /etc/init.d/xendomains
@@ –72,0 +73 @@
- checkpath -d -m 755 /var/run/xen
Furthermore, xendomains requires Perl for script execution, which is not stated as requirement in the corresponding APKBUILD of xendomain and should therefore be added. It took me quite a while to figure out why the domains wouldn’t start only to realize that Perl was not installed on my test system. Adding Perl as requirement for xendomains will prevent other users from making the same mistake.
(from redmine: issue id 2837, created on 2014-04-11, closed on 2014-06-26)
- Changesets:
- Revision 382912ec by Natanael Copa on 2014-06-11T13:18:03Z:
main/xen: make sure /var/run/xen exists
- start xendomains after localmount so localmount does not mount over
our /var
- add checkpath to xendomains, just in case
ref #2837
- Revision f209a1ac by Natanael Copa on 2014-06-26T10:27:41Z:
main/xen: make sure /var/run/xen exists
- start xendomains after localmount so localmount does not mount over
our /var
- add checkpath to xendomains, just in case
fixes #2837