Displaying 6 results from an estimated 6 matches for "174c01b1e92f".
2023 Jun 29
1
[v2v PATCH v2 2/3] lib/utils: make "chown_for_libvirt_rhbz_1045069" fail hard
...es
- permissions so can still access the resource.
-
- This is best-effort. If something fails then we carry
- on and hope for the best. *)
+ permissions so can still access the resource. *)
val error_if_no_ssh_agent : unit -> unit
diff --git a/lib/utils.ml b/lib/utils.ml
index 174c01b1e92f..7d69c9e0d177 100644
--- a/lib/utils.ml
+++ b/lib/utils.ml
@@ -149,21 +149,15 @@ let backend_is_libvirt () =
let rec chown_for_libvirt_rhbz_1045069 file =
let running_as_root = Unix.geteuid () = 0 in
- if running_as_root && backend_is_libvirt () then (
- try
- let user = Opti...
2023 Jun 29
1
[v2v PATCH v2 2/3] lib/utils: make "chown_for_libvirt_rhbz_1045069" fail hard
...esource.
> -
> - This is best-effort. If something fails then we carry
> - on and hope for the best. *)
> + permissions so can still access the resource. *)
>
> val error_if_no_ssh_agent : unit -> unit
>
> diff --git a/lib/utils.ml b/lib/utils.ml
> index 174c01b1e92f..7d69c9e0d177 100644
> --- a/lib/utils.ml
> +++ b/lib/utils.ml
> @@ -149,21 +149,15 @@ let backend_is_libvirt () =
>
> let rec chown_for_libvirt_rhbz_1045069 file =
> let running_as_root = Unix.geteuid () = 0 in
> - if running_as_root && backend_is_libvirt () the...
2023 Jun 29
1
[v2v PATCH v2 2/3] lib/utils: make "chown_for_libvirt_rhbz_1045069" fail hard
...is is best-effort. If something fails then we carry
>> - on and hope for the best. *)
>> + permissions so can still access the resource. *)
>>
>> val error_if_no_ssh_agent : unit -> unit
>>
>> diff --git a/lib/utils.ml b/lib/utils.ml
>> index 174c01b1e92f..7d69c9e0d177 100644
>> --- a/lib/utils.ml
>> +++ b/lib/utils.ml
>> @@ -149,21 +149,15 @@ let backend_is_libvirt () =
>>
>> let rec chown_for_libvirt_rhbz_1045069 file =
>> let running_as_root = Unix.geteuid () = 0 in
>> - if running_as_root &&am...
2023 Jun 29
1
[v2v PATCH v2 2/3] lib/utils: make "chown_for_libvirt_rhbz_1045069" fail hard
...ils then we carry
> >> - on and hope for the best. *)
> >> + permissions so can still access the resource. *)
> >>
> >> val error_if_no_ssh_agent : unit -> unit
> >>
> >> diff --git a/lib/utils.ml b/lib/utils.ml
> >> index 174c01b1e92f..7d69c9e0d177 100644
> >> --- a/lib/utils.ml
> >> +++ b/lib/utils.ml
> >> @@ -149,21 +149,15 @@ let backend_is_libvirt () =
> >>
> >> let rec chown_for_libvirt_rhbz_1045069 file =
> >> let running_as_root = Unix.geteuid () = 0 in
> >...
2023 Jun 29
1
[v2v PATCH v2 2/3] lib/utils: make "chown_for_libvirt_rhbz_1045069" fail hard
...;>>> - on and hope for the best. *)
>>>> + permissions so can still access the resource. *)
>>>>
>>>> val error_if_no_ssh_agent : unit -> unit
>>>>
>>>> diff --git a/lib/utils.ml b/lib/utils.ml
>>>> index 174c01b1e92f..7d69c9e0d177 100644
>>>> --- a/lib/utils.ml
>>>> +++ b/lib/utils.ml
>>>> @@ -149,21 +149,15 @@ let backend_is_libvirt () =
>>>>
>>>> let rec chown_for_libvirt_rhbz_1045069 file =
>>>> let running_as_root = Unix.geteuid (...
2023 Jun 29
3
[v2v PATCH v2 0/3] improve UX when running as root and we can't chown
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2182024
v1 was here:
<https://listman.redhat.com/archives/libguestfs/2023-June/031910.html>.
Make any "chown_for_libvirt_rhbz_1045069" failure a hard one; that way
the user gets to see more direct and more uniform error messages (namely
that we couldn't connect to libvirt).
Document those connection problems, and a simple