Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392403 - app-emulation/xen-tools-4.1.2-r2 should install /etc/init.d/xenconsoled
Summary: app-emulation/xen-tools-4.1.2-r2 should install /etc/init.d/xenconsoled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
: 398655 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-29 14:34 UTC by Lutz Heermann
Modified: 2012-01-12 13:38 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Corrected ebuild (xen-tools-4.1.2-r2.ebuild,9.52 KB, text/plain)
2011-11-29 14:36 UTC, Lutz Heermann
Details
ebuild patch (xen-tools-4.1.2-r1.patch,1.46 KB, patch)
2011-12-05 15:24 UTC, Ian Delaney (RETIRED)
Details | Diff
ebuild patch (xen-tools-4.1.2-r1.patch,1.74 KB, patch)
2011-12-06 08:05 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Heermann 2011-11-29 14:34:26 UTC
After upgrading to app-emulation/xen-tools-4.1.2-r2 the init script /etc/init.d/xenconsoled is missing.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-emulation/xen-tools-4.1.2-r2
2. ls -l /etc/init.d/xenconsoled

Actual Results:  
ls: cannot access /etc/init.d/xenconsoled: No such file or directory

Expected Results:  
-rwxr-xr-x 1 root root 652 Nov 29 14:12 /etc/init.d/xenconsoled
Comment 1 Lutz Heermann 2011-11-29 14:36:42 UTC
Created attachment 294179 [details]
Corrected ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-04 04:42:53 UTC
Yes, obviously the newinitd ebuild function reads only the first two arguments, and merrily skips the third and fourth. Probably caused as an unwanted side effect of the EAPI=4 changes.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-12-05 15:24:21 UTC
Created attachment 294865 [details, diff]
ebuild patch
Comment 4 Lutz Heermann 2011-12-05 15:45:30 UTC
The attached ebuild.patch changes from xendomains.initd-r2 back to xendomains.initd-r1 and might introduce some regressions.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-12-06 08:05:54 UTC
Created attachment 294947 [details, diff]
ebuild patch

xendomains.initd-r2 is the file for when xl manages xen.
Comment 6 Richard Yao (RETIRED) gentoo-dev 2012-01-02 22:52:41 UTC
The 2011-12-06 patch is against an outdated version of portage. alexxy committed a change a week earlier that moved xend from need to after, which seems to be the right thing to do.

Touching only the ebuild file to modify it to install the xenconsoled init script works and it seems to be the right thing to do.
Comment 7 Sebastian Luther (few) 2012-01-12 12:13:21 UTC
*** Bug 398655 has been marked as a duplicate of this bug. ***
Comment 8 Alexey Shvetsov archtester gentoo-dev 2012-01-12 13:38:35 UTC
Fixed in cvs