Displaying 14 results from an estimated 14 matches for "usrmove".
Did you mean:
usermode
2016 Mar 17
0
Re: [PATCH] inspect: improve UsrMove detection (RHBZ#1186935)
...if (target == NULL)
> + return 0;
> +
> + return STREQ (target, wanted_target);
> +}
> +
> int
> guestfs_int_is_file_nocase (guestfs_h *g, const char *path)
> {
Yup, pretty good solution. ACK.
However, worth checking what Debian is doing now, since they
implemented UsrMove madness just recently.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libgues...
2016 Mar 17
2
[PATCH] inspect: improve UsrMove detection (RHBZ#1186935)
In case /usr is a symlink to /usr/bin, then we cannot rely on /usr/bin
to exist, since /usr might be in a different partition. Thus, in case
/bin is a symlink, check it points to "usr/bin".
---
src/inspect-fs.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/inspect-fs.c b/src/inspect-fs.c
index 02fdb2a..0714ae1 100644
---
2012 Feb 06
0
Attn Fedora Rawhide users
http://pkgs.fedoraproject.org/gitweb/?p=libguestfs.git;a=blob;f=0001-Workaround-for-usrmove-in-Fedora.patch;hb=HEAD
I have added this patch (not upstream) ^^
This is a workaround for a rather misguided feature called 'usrmove'
which was just dumped without notice into Rawhide, 3 days before the
F17 branch, while everyone was away at FOSDEM.
I still haven't got libguestfs to...
2015 Jul 23
1
[PATCH v2] appliance: exclude /lib/firmware
...nce/excludefiles.in
index d3c66cc..574c828 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -22,6 +22,11 @@ dnl The right kernel modules are added back by supermin.
-/boot/*
-/lib/modules/*
+dnl Firmware blobs should not be required by a virtual machine.
+dnl Because of UsrMove nonsense, we need to list both directories.
+-/lib/firmware/*
+-/usr/lib/firmware/*
+
-/usr/lib/locale/*
-/usr/share/cracklib/*
-/usr/share/doc/*
--
2.4.3
2015 Jul 23
1
[PATCH] appliance: Exclude /usr/lib/modules as well as /lib/modules.
...+++ b/appliance/excludefiles.in
@@ -21,6 +21,7 @@ dnl Of course, this may break the appliance, so be careful.
dnl The right kernel modules are added back by supermin.
-/boot/*
-/lib/modules/*
+-/usr/lib/modules/*
dnl Firmware blobs should not be required by a virtual machine.
dnl Because of UsrMove nonsense, we need to list both directories.
--
2.4.3
2015 Jul 23
2
[PATCH] appliance: exclude /usr/lib/firmware
Brings the size of the appliance down to 95 MB [xz-compressed], which
is the same as for libguestfs 1.28.
---
appliance/excludefiles.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index d3c66cc..a63eca9 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -22,6 +22,9 @@ dnl The right kernel modules are added
2016 Sep 28
1
[PATCH] daemon: Choose /usr/sbin first for the daemon (debian bug 838995).
Debian is also doing a UsrMove/UsrMerge:
https://wiki.debian.org/UsrMerge
However it is not finalized that Debian will actually make this
change.
Since some Debian systems have /sbin as a symlink and other have /sbin
as a real directory, and we should avoid choosing a symlinked
directory for the daemon, the easiest fix is simp...
2017 Mar 17
5
[PATCH 0/4] p2v: fix virt-p2v-make-disk on Debian
Hi,
this small series fixes the generation of Debian-based images using
virt-p2v-make-disk. With this series, the image can boot fine, X is
started, and the p2v interface appears. I haven't tried an actual
conversion, but I don't think there are Debian-specific problems
preventing that.
Thanks,
Pino Toscano (4):
p2v: fix Gtk dependencies on Debian
p2v: remove
2015 Jul 23
0
Re: [PATCH] appliance: exclude /usr/lib/firmware
...ed back by supermin.
> -/boot/*
> -/lib/modules/*
>
> +dnl Firmware blobs should not be required by a virtual machine.
> +-/usr/lib/firmware/*
> +
Hm this should rather be /lib/firmware, as that's the canonical
locations for firmwares on Linux (/usr/lib/firmware exists on UsrMove
systems).
LGTM if changed to /lib/firmware.
Thanks,
--
Pino Toscano
2012 Apr 10
2
Fix broken systemd integration in the build system
Hi Michal,
I'm finally back on systemd integration with NUT.
I've cc'ed Stanislav, since I've heard Suse is moving to systemd too.
I've been investigation on your systemd integration in the tree, found a
strange integration and understood why.
I've fixed this with 2 commits:
- r3528: only generate .in from configure, thus removing this annoying
autoreconf msg
- r3529:
2016 Dec 06
3
[PATCH 1/2] inspect: fstab: Canonicalize paths appearing in fstab.
For example, converts "///usr//local//" -> "/usr/local".
---
src/inspect-fs-unix.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
index a1a757c..0fea9c8 100644
--- a/src/inspect-fs-unix.c
+++ b/src/inspect-fs-unix.c
@@ -89,6 +89,7 @@ static char *resolve_fstab_device
2013 Apr 24
12
[PATCH 00/12] Various patches for fixing separated builds.
This just fixes 'make'.
'make check' is still broken. Further patches for that to follow
tomorrow.
Rich.
2012 Oct 08
3
[PATCH v3 0/3] Add support for disk labels and hotplugging.
This is, I guess, version 3 of this patch series which adds disk
labels and hotplugging (only hot-add implemented so far).
The good news is .. it works!
Rich.
2012 Oct 08
5
[PATCH v4 0/5] Finish hotplugging support.
This rounds off hotplugging support by allowing you to add and remove
drives at any stage (before and after launch).
Rich.