[needs packaging] xe-guest-utils
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xe-guest-utilities (Ubuntu) |
High
|
Ben Howard | ||
| | Wily |
High
|
Ben Howard | ||
Bug Description
xe-guest-utilities is a set of user-land scripts for running Linux on Citrix Xen Server. This package is needed for Hardware/Cloudware enablement.
Scripts for monitoring Virtual Machines on a Xen Hypervisor. It Writes distribution version information and IP address to XenStore.
Related branches
| description: | updated |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/
To change the source package that this bug is filed about visit https:/
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]
| tags: | added: bot-comment |
| Micah Gersten (micahg) wrote : | #4 |
Here's my initial review:
debian/rules should have get-orig-source target that handles the upstream ISO/tarball processing (Policy 4.9, see https:/
This should not be a native package (as listed in debian/
debian/copyright isn't in DEP-5 format (http://
I don't believe you need the empty postinst and prerm scripts
Should be arch:all since there isn't anything that's architecture dependent in this package.
Source lintian output:
N: Processing source package xe-guest-utilities (version 6.2.0-1120-
W: xe-guest-utilities source: native-
N:
N: Native packaging should only be used if a piece of software was written
N: specifically to be turned into a Debian package. In this case, the
N: version number should not contain a Debian revision part.
N:
N: Native source packages are sometimes created by accident. In most cases
N: the reason is the location of the original source tarball. For version
N: 1.0 source packages, dpkg-source determines whether they're non-native
N: by looking for a file named <package>
N: parent directory, where <upversion> is the upstream version from the
N: most recent debian/changelog entry. For version 3.0 packages, check
N: debian/
N:
N: Severity: normal, Certainty: certain
N:
N: Check: cruft, Type: source
N:
W: xe-guest-utilities source: quilt-series-
N:
N: The package contains a debian/
N: to apply patches at build time, but quilt is not listed in the build
N: dependencies.
N:
N: You should either remove the series file if it's effectively not useful
N: or add quilt to the build-dependencies if quilt is used during the build
N: process.
N:
N: If you don't need quilt during build but only during maintenance work,
N: then you can override this warning.
N:
N: Severity: normal, Certainty: possible
N:
N: Check: patch-systems, Type: source
N:
Binary lintian output:
N: Processing binary package xe-guest-utilities (version 6.2.0-1120-
W: xe-guest-utilities: copyright-
N:
N: The copyright file for this package does not appear to contain a
N: copyright notice. You should copy the copyright notice from the upstream
N: source (or add one of your own for a native package). A copyright notice
N: must consist of Copyright, Copr., or the Unicode symbol of C in a circle
N: followed by the years and the copyright holder. A copyright notice is
N: not required for a work to be copyrighted, but Debian requires the
N: copyright file include the authors and years of copyright, and including
N: a valid copyright notice is the best way to do that. Examples:
N:
N: Copyright YYYY Firstname Lastname <email address hidden>
N: Copr. YYYY-YYYY Firstname Lastname <email address hidden>
N: © YYY...
| Ben Howard (utlemming) wrote : | #5 |
Micah, thanks for taking a look. I've uploaded a new package for consideration.
Please read debian/
| Ben Howard (utlemming) wrote : | #6 |
Re-uploaded new package to https:/
| Steve Langasek (vorlon) wrote : | #7 |
Hi Ben,
I've had a look at this package and identified a few changes that I think are required before it can be uploaded to wily. Please find attached a debdiff of the changes I've made so far.
There is one outstanding issue; namely, that debian/rules attempts to key on the release version to decide whether or not to build --with systemd. This is incorrect for two reasons. First, packages should support all init systems, not just one, so that they don't have to be upgraded in lockstep with the init system (and I've partially addressed this in my patch, with changes to install both the upstart job and systemd unit in the dh_installinit target). Second, dh_systemd doesn't exist at all in precise, so this package will fail to build on precise no matter what due to an unsatisfied build dependency.
I'd like to know your thoughts on the best way to resolve this.
| Ben Howard (utlemming) wrote : | #8 |
Ingestion of feedback. Package builds and installs for 12.04 and later, installs init/systemd jobs properly
| Ben Howard (utlemming) wrote : | #9 |
Fixed issue with virtual-filesystems and a typo with "override_
| Steve Langasek (vorlon) wrote : | #10 |
The package looks good to me now, except for one last thing:
override_
The last line of this is definitely wrong; it's going to look for files named debian/
What it *doesn't* do is prevent the xe-daemon and xe-linux-
| Ben Howard (utlemming) wrote : | #11 |
Thanks Steve for the feedback, I've fixed, tested and confirmed that using "dh_inistallinit --no-restart-
| Ben Howard (utlemming) wrote : | #12 |
Here is another cut after feedback from infinity.
| Ben Howard (utlemming) wrote : | #13 |
In further review, the udev rule for the CPU hot add looked suspect. Its been updated to match the hyperV rule. In talking this over with an archive admin, there is the question whether or not the hyper-V rule should be generalized to include both Xen and HyperV rather than carrying the rule in some obscure universe package.
| Ben Howard (utlemming) wrote : | #14 |
| affects: | Ubuntu Wily → xe-guest-utilities (Ubuntu Wily) |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package xe-guest-utilities - 6.2.0-1120+
---------------
xe-guest-utilities (6.2.0-
[ Ben Howard ]
* Initial packaging/forking for usability in Ubuntu.
- depend on xenstore-utils rather than pre-packaged binary blobs.
- created systemd files
- created upstart files
* Source changes:
- deleted xenstore-
- deleted xenstore.tar.bz2
- deleted apt source 'citrix.list' as both broken and unneeded
- deleted debian/
- modified debian/rules
* Generalized upstart/systemd descriptions.
* Changed systemd target for proc-xen.mounts.
* Fix systemd job for xe-daemon.service to use ConditionPathEx
* Modernize the CPU hotplug udev rule.
* Closes (LP: #1459455).
[ Steve Langasek ]
* Adjust debian/copyright to comply with copyright-format 1.0; and fix
inclusion of personal copyright statement on Canonical code.
* Remove debian/postinst and debian/postrm that are empty except for the
debhelper tokens; fixes lintian warning due to ignored errors. Let
debhelper create the scripts itself so it gets them right.
* Drop a no-op debian/docs.
* Rename debian/
debian/
automatically in debian/rules.
* Don't make systemd vs. upstart support conditional on the target release.
-- Ben Howard <email address hidden> Thu, 13 Aug 2015 16:28:48 -0600
| Changed in xe-guest-utilities (Ubuntu Wily): | |
| status: | Fix Committed → Fix Released |


Uploaded to PPA: /launchpad. net/~utlemming/ +archive/ ubuntu/ 1459455
https:/