similar to: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.

Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved."

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
2019 Apr 18
0
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
On Thursday, 18 April 2019 11:53:39 CEST Richard W.M. Jones wrote: > 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
2019 May 29
2
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
Hi, Is there any chance you will merge the suggested patch? Thanks, Jo On Thu, Apr 18, 2019 at 2:01 PM Richard W.M. Jones <rjones@redhat.com> wrote: > On Thu, Apr 18, 2019 at 12:17:18PM +0100, Ioanna Alifieraki wrote: > > 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
2019 Apr 15
2
supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
Hi, I am facing the following bug while runnign guestfish on Ubuntu Bionic onward, where the network cannot be configured : https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236 The actual problem is the combination of (a) supermin and the fact that it does chroot and (b) a dhclient hook present in Bionic (/etc/dhcp/dhclient-eneter-hooks.d/resolved) that overwrites the make_resolv_conf
2019 Apr 18
0
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
On Thu, Apr 18, 2019 at 12:17:18PM +0100, Ioanna Alifieraki wrote: > 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. Yes I think that is right. It
2019 May 29
0
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
On Wed, May 29, 2019 at 04:14:06PM +0100, Ioanna Alifieraki wrote: > Hi, > > Is there any chance you will merge the suggested patch? It's this one right? https://www.redhat.com/archives/libguestfs/2019-April/msg00129.html Yes I can push this. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog:
2014 Oct 02
2
Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
On Thu, Oct 02, Richard W.M. Jones wrote: > +if grep -sq guestfs_network=1 /proc/cmdline; then > + dhclient > +fi dhclient will be missing at least in openSUSE. Not an issue now, does the script fail if the command fails to execute due to ENOENT? Olaf
2014 Oct 02
5
Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
On Thu, Oct 02, Richard W.M. Jones wrote: > The script won't fail, but the network won't work. What's the > alternative on SuSE? I think that would be dhcpcd, which is also used by NetworkManager. Olaf
2015 Jul 28
4
[PATCH 0/2] Misc fixes
Here are two patches: one fixes the gpg-agent causing unmount to fail after running dnf to install packages. The other ones fixes dhcpcd call in the init program to provide it an interface name. Cédric Bosdonnat (2): appliance init: find NIC name for dhcpcd Make sure gpg-agent is terminated before umount appliance/init | 3 ++- customize/customize_run.ml | 3 ++- 2 files
2014 Oct 02
6
[PATCH v2 0/4] launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012).
v2: - Make virbr0 configurable. - Fix the tests.
2016 Jul 14
1
[PATCH] appliance: touch /etc/fstab when enabling the network (RHBZ#1224795)
Sadly, the dhclient-script shipped as part of isc-dhcp-client in Ubuntu unconditionally reads from /etc/fstab without checking for its existence. Since no package holds /etc/fstab, this file will not exist in the appliance, cause dhclient to fail (actually keep looping calling the failing dhclient-script) when the network is requested. As a workaround, touch /etc/fstab just before enabling the
2019 Apr 16
0
Re: supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
On Mon, Apr 15, 2019 at 10:52:40AM +0100, Ioanna Alifieraki wrote: > Hi, > > I am facing the following bug while runnign guestfish on Ubuntu Bionic > onward, > where the network cannot be configured : > https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236 > > The actual problem is the combination of (a) supermin and the fact that it > does chroot > and
2013 Mar 15
5
Data manipulation
Hello all, I would appreciate your thoughts on a seemingly simple problem. I have a database, where each row represent a single record. I want to aggregate this database so I use the aggregate command : D<-read.csv("C:\\Users\\test.csv") attach(D) by1<-factor(Class) by2<-factor(X) W<-aggregate(x=Count,by=list(by1,by2),FUN="sum") The results I
2015 Jul 29
1
[PATCH v2] appliance init: find NIC name for dhcpcd
dhcpcd requires an interface name as parameter to work. We are now getting it from /proc/sys/net/ipv4/conf/ folder children. dhclient on Debian also has the problem, thus use the guessed interface name for it too. --- appliance/init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appliance/init b/appliance/init index cca62e7..d5a428d 100755 --- a/appliance/init +++
2015 Oct 05
1
CentOS 7 & dhclient hooks
Hi, I have CentOS 7 and I am trying to get dhclient hooks working. I have 1) created file /etc/dhcp/dhclient-enp4s0.conf, 2) created directories /etc/dhcp/{dhclient-enter-hooks.d, dhclient-exit-hooks.d}, 3) added line 'DHCLIENTARGS="-nc"' into file ifcfg-enp4s0 and 4) added file /etc/dhcp/dhclient-enter-hooks.d/test with line echo "executed enter-hook", 5) but I was
2018 May 24
2
Manipulation of data.frame into an array
Hello everyone, Thank you for this. Nonetheless it is not exactly want i need. I need mydata[[1]] to provide the values for all 3 variables (Y, X1 and X2) of the first imputation only. As it stands it returns the whole database. Any ideas? Best, ioanna ________________________________ From: Bert Gunter <bgunter.4567 at gmail.com> Sent: 24 May 2018 16:04 To: Ioanna Ioannou Cc:
2018 May 24
4
Manipulation of data.frame into an array
Hello everyone, I want to transform a data.frame into an array (lets call it mydata), where: mydata[[1]] is the first imputed dataset...and for each mydata[[d]], the first p columns are covariates X, and the last one is the outcome Y. Lets assume a simple data.frame: Imputed = data.frame( X1 = c(1,2,1,2,1,2,1,2, 1,2,1,2,1,2,1,2), X2 =
2018 May 24
0
Manipulation of data.frame into an array
This is one of those instances where a less superficial knowledge of R's technical details comes in really handy. What you need to do is convert the data frame to a single (numeric) vector for, e.g. a matrix() call. This can be easily done by noting that a data frame is also a list and using do.call(): ## imp is the data frame: do.call(c,imp) X11 X12 X13 X14 X15 X16 X17 X18 X19
2013 Apr 08
3
Reshaping a table
Hello all, I have data in the form of a table: X Y1 Y2 0.1 3 2 0.2 2 1 And I would like to transform in the form: X Y 0.1 Y1 0.1 Y1 0.1 Y1 0.1 Y2 0.1 Y2 0.2 Y1 0.2 Y1 0.2 Y2 Any ideas how? Thanks in advance, IOanna [[alternative HTML version deleted]]
2014 Sep 30
4
[PATCH 1/2] appliance: Use dhclient instead of hard-coding IP address of appliance.
qemu in SLIRP mode offers DHCP services to the appliance. We don't use them, but use a fixed IP address intead. This changes the appliance to get its IP address using DHCP. Note: This is only used when the network is enabled. dhclient is somewhat slower, but the penalty (a few seconds) is only paid for network users. We could consider using the faster systemd dhcp client instead. ---