Displaying 20 results from an estimated 26 matches for "for_al".
Did you mean:
formal
2004 Mar 01
4
AW: samba configuration multiple ethernet card
Ok, and then?
in file smb.conf.192.168.0.1
[global]
...
bind interfase only = yes
interfaces = eth0
...
[FOR_ALL]
...
in file smb.conf.192.168.0.2
[global]
...
bind interfase only = yes
interfaces = eth1
...
[ADMINS]
...
Does this configuration works?
Is this a good solution? i really don't know, so what's
the global thinking about this.
--
Information Systems Engineering GmbH
Br?nde...
2020 Apr 03
5
[supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an
output when checking whether the appliance must be rebuilt using
--if-newer.
At the moment it is implemented only for the build mode, and for its
ext2 output format.
Pino Toscano (4):
build: factor ext2 filenames
Tighten Unix_error check for missing outputdir
Extend modes with list of outputs
build: set
2020 Apr 03
0
[supermin PATCH 3/4] Extend modes with list of outputs
...st.map ((//) outputdir) mode_outputs in
+ let odates = List.map (fun d -> (lstat d).st_mtime) (outputdir :: mode_outputs) in
let idates = List.map (fun d -> (lstat d).st_mtime) inputs in
let pdate = (get_package_handler ()).ph_get_package_database_mtime () in
- if List.for_all (fun idate -> idate < odate) (pdate :: idates) then (
+ if List.for_all (fun idate -> List.for_all (fun odate -> idate < odate) odates) (pdate :: idates) then (
if debug >= 1 then
printf "supermin: if-newer: output does not need rebuilding\n%!";...
2020 Apr 03
0
[supermin PATCH v2 4/4] build: check for outputs in --if-newer check (RHBZ#1813809)
...tputs = List.map ((//) outputdir) outputs in
+ let odates = List.map (fun d -> (lstat d).st_mtime) (outputdir :: outputs) in
let idates = List.map (fun d -> (lstat d).st_mtime) inputs in
let pdate = (get_package_handler ()).ph_get_package_database_mtime () in
- if List.for_all (fun idate -> idate < odate) (pdate :: idates) then (
+ if List.for_all (fun idate -> List.for_all (fun odate -> idate < odate) odates) (pdate :: idates) then (
if debug >= 1 then
printf "supermin: if-newer: output does not need rebuilding\n%!";...
2020 Apr 03
2
Re: [supermin PATCH 3/4] Extend modes with list of outputs
...ir) mode_outputs in
> + let odates = List.map (fun d -> (lstat d).st_mtime) (outputdir :: mode_outputs) in
> let idates = List.map (fun d -> (lstat d).st_mtime) inputs in
> let pdate = (get_package_handler ()).ph_get_package_database_mtime () in
> - if List.for_all (fun idate -> idate < odate) (pdate :: idates) then (
> + if List.for_all (fun idate -> List.for_all (fun odate -> idate < odate) odates) (pdate :: idates) then (
> if debug >= 1 then
> printf "supermin: if-newer: output does not need rebuil...
2020 Apr 03
5
[supermin PATCH v2 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an
output when checking whether the appliance must be rebuilt using
--if-newer.
At the moment it is implemented only for the ext2 output format of the
build mode.
Changes from v1:
- drop empty stub for the prepare mode
- add patch to ignore --if-newer on modes different than build
- squash patch with stub for the build mode
2019 Mar 04
2
[supermin PATCH] rebuild the output it when SUPERMIN_KERNEL or SUPERMIN_MODULES are defined
...@ -236,13 +236,17 @@ appliance automatically.
*)
if if_newer then (
try
- let odate = (lstat outputdir).st_mtime in
- let idates = List.map (fun d -> (lstat d).st_mtime) inputs in
- let pdate = (get_package_handler ()).ph_get_package_database_mtime () in
- if List.for_all (fun idate -> idate < odate) (pdate :: idates) then (
- if debug >= 1 then
- printf "supermin: if-newer: output does not need rebuilding\n%!";
- exit 0
+ let kernel = try getenv "SUPERMIN_KERNEL" with Not_found -> "" in
+ l...
2017 Jul 24
0
Re: [PATCH] common/mlstdutils: Implement StringSet.
...al compare: t -> t -> int
> +val equal: t -> t -> bool
> +val subset: t -> t -> bool
> +val iter: (elt -> unit) -> t -> unit
> +val map: (elt -> elt) -> t -> t
> +val fold: (elt -> 'a -> 'a) -> t -> 'a -> 'a
> +val for_all: (elt -> bool) -> t -> bool
> +val exists: (elt -> bool) -> t -> bool
> +val filter: (elt -> bool) -> t -> t
> +val partition: (elt -> bool) -> t -> t * t
> +val cardinal: t -> int
> +val elements: t -> elt list
> +val min_elt: t -> el...
2017 Oct 08
0
[PATCH v2 1/4] common/mlstdutils: Extend the List module.
...;b list -> 'c list
+ val fold_left2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b list -> 'c list -> 'a
+ val fold_right2 : ('a -> 'b -> 'c -> 'c) -> 'a list -> 'b list -> 'c -> 'c
+ val for_all : ('a -> bool) -> 'a list -> bool
+ val exists : ('a -> bool) -> 'a list -> bool
+ val for_all2 : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool
+ val exists2 : ('a -> 'b -> bool) -> 'a list -> '...
2017 Apr 06
0
[PATCH v3 2/8] v2v: linux: Fix Xen PV-only detection.
...--git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index c768902cc..5a83be625 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -397,7 +397,7 @@ let rec convert (g : G.guestfs) inspect source output rcaps =
(* Check a non-Xen kernel exists. *)
let only_xen_kernels = List.for_all (
- fun { ki_is_xen_kernel = is_xen_kernel } -> is_xen_kernel
+ fun { ki_is_xen_pv_only_kernel = is_xen_pv_only_kernel } -> is_xen_pv_only_kernel
) bootloader_kernels in
if only_xen_kernels then
error (f_"only Xen kernels are installed in this guest.\n\nRead t...
2017 Apr 06
0
[PATCH v4 2/9] v2v: linux: Fix Xen PV-only detection.
...--git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index c768902cc..5a83be625 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -397,7 +397,7 @@ let rec convert (g : G.guestfs) inspect source output rcaps =
(* Check a non-Xen kernel exists. *)
let only_xen_kernels = List.for_all (
- fun { ki_is_xen_kernel = is_xen_kernel } -> is_xen_kernel
+ fun { ki_is_xen_pv_only_kernel = is_xen_pv_only_kernel } -> is_xen_pv_only_kernel
) bootloader_kernels in
if only_xen_kernels then
error (f_"only Xen kernels are installed in this guest.\n\nRead t...
2014 Mar 08
9
supermin and dpkg-divert
While trying to run libguestfs tests after building with
"--enable-appliance --with-supermin-extra-options=--use-installed", I
ran into a peculiar error message in the c-api test:
,----
| libguestfs: error: strings: /abssymlink: strings: error while loading
| shared libraries: libbfd-2.24-multiarch.so: cannot open shared object
| file: No such file or directory
`----
The problem here
2014 Mar 13
3
[supermin 1/3] Recognize dpkg-divert
---
configure.ac | 1 +
src/config.ml.in | 1 +
src/dpkg.ml | 1 +
3 files changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 2141540..99ea913 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@ AC_PATH_PROG(APT_GET,[apt-get],[no])
AC_PATH_PROG(DPKG,[dpkg],[no])
AC_PATH_PROG(DPKG_DEB,[dpkg-deb],[no])
AC_PATH_PROG(DPKG_QUERY,[dpkg-query],[no])
2014 Mar 10
3
[supermin 3/3] Use the file tuple up to the point where files are copied into the filesystem / chroot
...(lstat file.ft_path); true
+ with Unix_error (err, fn, _) -> false
) files in
if debug >= 1 then
@@ -139,9 +137,9 @@ let rec build debug
else (
let fn_flags = [FNM_NOESCAPE] in
List.filter (
- fun path ->
+ fun file ->
List.for_all (
- fun pattern -> not (fnmatch pattern path fn_flags)
+ fun pattern -> not (fnmatch pattern file.ft_path fn_flags)
) appliance.excludefiles
) files
) in
@@ -159,7 +157,9 @@ let rec build debug
) appliance.hostfiles in
let hostfiles...
2018 Dec 04
2
[PATCH FOR DISCUSSION ONLY 0/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
This patch is just for discussion. There are still a couple of issues
that I'm trying to fix.
One is that all of the test guests I have, even ones with static IPs,
have multiple interfaces, some using DHCP, so the conditions for
adding the Powershell script don't kick in. This makes testing very
awkward.
However a bigger issue is that I think the premise is wrong. In some
registries
2016 Sep 09
0
[PATCH] v2v: linux: Move kernel detection to a separate module.
...configuration of this guest.")
prog;
(*----------------------------------------------------------------------*)
@@ -592,7 +399,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
(* Check a non-Xen kernel exists. *)
let only_xen_kernels = List.for_all (
fun { ki_is_xen_kernel = is_xen_kernel } -> is_xen_kernel
- ) grub_kernels in
+ ) bootloader_kernels in
if only_xen_kernels then
error (f_"only Xen kernels are installed in this guest.\n\nRead the %s(1) manual, section \"XEN PARAVIRTUALIZED GUESTS\", to...
2016 Jul 13
6
[PATCH 0/5] Fix SELinux
We can use the setfiles(8) command to relabel the guest filesystem,
even though we don't have a policy loaded nor SELinux enabled in the
appliance kernel.
This also deprecates or removes the old and broken SELinux support.
This patch isn't quite complete - I would like to add some tests to
the new API. I'm posting here to garner early feedback.
Rich.
2016 Sep 09
2
[PATCH] v2v: linux: Move kernel detection to a separate module.
This is a sort of follow-up to the Linux_bootloaders patch.
It turns out all the kernel detection code is nicely self-
contained and can therefore be moved to its own module.
Rich.
2017 Jul 21
4
[PATCH] common/mlstdutils: Implement StringSet.
...val diff: t -> t -> t
+val compare: t -> t -> int
+val equal: t -> t -> bool
+val subset: t -> t -> bool
+val iter: (elt -> unit) -> t -> unit
+val map: (elt -> elt) -> t -> t
+val fold: (elt -> 'a -> 'a) -> t -> 'a -> 'a
+val for_all: (elt -> bool) -> t -> bool
+val exists: (elt -> bool) -> t -> bool
+val filter: (elt -> bool) -> t -> t
+val partition: (elt -> bool) -> t -> t * t
+val cardinal: t -> int
+val elements: t -> elt list
+val min_elt: t -> elt
+val max_elt: t -> elt
+v...
2018 Dec 11
2
[PATCH v2 2/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
v1 was here with much discussion:
https://www.redhat.com/archives/libguestfs/2018-December/msg00048.html
v2:
- Fix the case where there are multiple interfaces. Note this does
not preserve order correctly (see patch for comment on why that
is a hard problem).
- Preserve name servers.
This patch is still for discussion only. I'd like to see what might
be done to get this upstream