Displaying 20 results from an estimated 300 matches similar to: "[PATCH v2 0/3] appliance: Exclude more log files (RHBZ#1239154)."
2015 Jul 09
2
[PATCH] appliance: Exclude everything in /var/log/* from the appliance (RHBZ#1239154).
---
appliance/excludefiles.in | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 9a48db7..c53a913 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -32,12 +32,7 @@ dnl The right kernel modules are added back by supermin.
-/usr/share/i18n/*
-/usr/share/pkgconfig/*
--/var/log/*.log*
2016 Jul 21
3
[PATCH] appliance: move virt-rescue welcome to /etc/issue
To allow easier downstream tweaks to the virt-rescue welcome message,
just output the content of the /etc/issue file in the appliance.
Thus, a new extras.tar.gz file appeared in supermin.d containing
the etc/issue file and future tweaks like this one.
---
appliance/Makefile.am | 11 +++++++++++
appliance/init | 11 ++---------
appliance/issue | 9 +++++++++
3 files changed, 22
2015 Sep 29
1
[PATCH] [repost] build: Remove ./configure --enable-valgrind-daemon.
Previously posted here:
https://www.redhat.com/archives/libguestfs/2015-June/msg00266.html
Rich.
2015 Jul 09
0
Re: [PATCH] appliance: Exclude everything in /var/log/* from the appliance (RHBZ#1239154).
In data giovedì 9 luglio 2015 09:58:45, Richard W.M. Jones ha scritto:
> ---
> appliance/excludefiles.in | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
> index 9a48db7..c53a913 100644
> --- a/appliance/excludefiles.in
> +++ b/appliance/excludefiles.in
> @@ -32,12 +32,7 @@ dnl The
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
Do not error out on empty files, just ignore them.
---
src/mode_build.ml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/mode_build.ml b/src/mode_build.ml
index b5f5fa6..9cd0a21 100644
--- a/src/mode_build.ml
+++ b/src/mode_build.ml
@@ -46,6 +46,7 @@ and file_content =
| Packages
| Hostfiles
| Excludefiles
+| Empty
let rec string_of_file_type = function
|
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
2015 Jul 23
1
[PATCH] appliance: exclude /usr/share/fonts and /usr/share/icons.
I also sorted the list.
Between libguestfs 1.28 and 1.30, the appliance grew from 95MB to 213MB.
Using guestmount and filelight (see link below) I could see that the
main contributor was these two directories, which should not be
necessary.
With this change, the size goes down to 119MB.
See also:
https://rwmj.wordpress.com/2015/07/23/why-has-the-libguestfs-appliance-grown-by-118-mb/
---
2015 Jul 23
1
[PATCH v2] appliance: exclude /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 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/appliance/excludefiles.in b/appliance/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
2015 Jul 23
1
[PATCH] appliance: Exclude /usr/lib/modules as well as /lib/modules.
It normally makes no difference to the final size of the appliance,
because 'supermin --build' will copy back the host kernel modules.
---
appliance/excludefiles.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 574c828..181b182 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -21,6 +21,7 @@ dnl Of
2015 May 04
1
[PATCH] build: remove unreadable files after filtering
Move the removal of the files which don't exist or cannot be read, doing
it after the filtering with excludefiles and hostfiles files.
This avoid stat'ing files which will be excluded later anyway, hence
reducing the I/O during a supermin build phase.
---
src/build.ml | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/build.ml
2019 Apr 18
2
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
I had tried this approach, to add /etc/dhcp/dhclient-enter-hooks.d/resolved
to excludefiles, however it didn't work.
As far as I know, this hook is included in the base image and according
to [1], the current implementation does not apply excludefiles to the base
image.
Jo
[1]
https://github.com/libguestfs/supermin/blob/b2401285cd3e3d42006fc164ef1f046cc35a50c4/src/mode_build.ml#L137
On
2009 Feb 12
5
logs such as messages, boot.log, and kernel contained 0 size
Hi,
My both CentOS 5 servers have logging problems. Logs such as messages, boot.log, kernel, spooler, and tallylog in /var/log directory are all 0 size.
The kernel is: Linux 2.6.18-92.1.22.el5 #1 SMP.
Since the /var/log/messages contained no information it would be impossible to troubleshoot the problem.
I am very sure both systems have not been hacked by others.
Sincerely,
Frank Ling
2018 Dec 03
4
[supermin PATCH v2 0/3] Better handle no config files
This is a "merge" of two previous series:
https://www.redhat.com/archives/libguestfs/2018-December/msg00015.html
https://www.redhat.com/archives/libguestfs/2018-December/msg00020.html
The goal is to handle better situations like:
- empty file in the appliance directory
- no config files available in the packages to include in an appliance
Compared to the two series, the changes are:
-
2016 Jul 21
2
How to debug supermin5 issue?
Hi, Rich:
I met a supermin issue on CentOS 7.1:
supermin: version: 5.1.10
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /root/test/aaa/lock
supermin: build: /usr/lib64/guestfs/supermin.d
supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz type gzip base image (tar)
supermin: build: visiting
2019 Apr 18
2
[PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
Workaround for Ubuntu which uses this script to try to start a systemd
service. That won't work because systemd is not used inside the
appliance. See:
https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236
Thanks: Ioanna Alifieraki
---
appliance/init | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/appliance/init b/appliance/init
index 4f2b55822..b1c4d09ea
2014 May 29
2
Re: libguestfs error
Glad Buddy.:-)
It worked.
Thanks a lot.
I'm having some urgent deliverable and this would really help me alot.
Thanks again.
Would love to trouble you again .
On Thu, May 29, 2014 at 9:34 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Thu, May 29, 2014 at 09:30:45PM +0530, abhishek jain wrote:
> [...]
> > checking for main in -lreadline... no
> >
2014 Oct 02
4
[PATCH 0/3] RFC: appliance flavours
Hi,
this is a prototype of something I've around for some time.
Basically it is about adding new appliances in addition to the main
one currently used and kept up-to-date automatically: this way it is
possible to create new appliances with extra packages, to be used in
specific contexts (like virt-rescue, with more network/recovery tools)
without filling the main appliance.
It's still
2012 Apr 27
2
[PATCH 1/2] sysprep: remove the logfiles configured by logrotate
Remove the logfiles configured by /etc/logrotate.d/*.
Omit the logfile of "samba" and "sssd" which we removed
them separately .
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
sysprep/sysprep_operation_logfiles.ml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/sysprep/sysprep_operation_logfiles.ml
2018 Oct 15
2
Bug Report, .vhdx file not attaching
I am trying to mount a windows 10 backup .vhdx file.
I installed libguestfs through ```sudo apt-get install libguestfs-tools```
I am running Ubuntu 18.04.1 LTS and this is the installed version: ```1:1.36.13-1ubuntu3.2```
This is the output of the command I ran:
```
~$ guestmount --add Documents/8be29c38-0000-0000-0000-602200000000.vhdx --inspector --ro /media/Windows10/
libguestfs: trace:
2019 Nov 02
4
supermin: failed to find a suitable kernel
Hi all
I am trying to run the dockerized version of linaro lava. Unfortunately it is not possible to start libguetsfs inside one of the containers.
My settings are: Ubuntu Server 18.04.3, Docker version 18.09.7 running a Debian:stretch based contianer
Running libguestfs-test-tool gives me the following output:
root at e91c89e0874d:/# libguestfs-test-tool