Re: [arch-general] install Arch on Btrfs - dual boot w10/arch - can't find vmlinuz on boot menu

2017-04-01 Thread arnaud gaboury via arch-general
On Sat, Apr 1, 2017 at 12:27 PM arnaud gaboury <arnaud.gabo...@gmail.com> wrote: > I followed the arch install wiki to install arch alongside w10 and dual > boot. (w10 was already installed). > Here is a summarize of the output of fdisk: > --

[arch-general] install Arch on Btrfs - dual boot w10/arch - can't find vmlinuz on boot menu

2017-04-01 Thread arnaud gaboury via arch-general
I followed the arch install wiki to install arch alongside w10 and dual boot. (w10 was already installed). Here is a summarize of the output of fdisk: -- # fdisk -l Disk /dev/nvme0n1 /dev/nvme0n1p1 260M EFI System /dev/nvme0n1p3. 186G

Re: [arch-general] URXVT background color

2017-03-19 Thread arnaud gaboury via arch-general
On Sat, Mar 18, 2017 at 12:47 PM Maarten de Vries <maar...@de-vri.es> wrote: > On 18 March 2017 at 11:51, arnaud gaboury via arch-general < > arch-general@archlinux.org> wrote: > > I run many urxvt windows on my screen. Some are for the host system and > some ar

Re: [arch-general] URXVT background color

2017-03-18 Thread arnaud gaboury via arch-general
On Sat, Mar 18, 2017 at 4:38 PM Christian Rebischke < chris.rebisc...@archlinux.org> wrote: > On Sat, Mar 18, 2017 at 10:51:16AM +0000, arnaud gaboury via arch-general > wrote: > > I run many urxvt windows on my screen. Some are for the host system and > > some are f

[arch-general] URXVT background color

2017-03-18 Thread arnaud gaboury via arch-general
I run many urxvt windows on my screen. Some are for the host system and some are for my container (managed by systemd-nspawn). I am looking for a way to change color background according to hostname in order to quickly see which terminal I am on. My idea was to test $HOST variable in my

Re: [arch-general] UID/GID of a systemd container

2016-12-22 Thread arnaud gaboury via arch-general
On Thu, Dec 22, 2016, 6:16 PM Leonid Isaev <leonid.is...@jila.colorado.edu> wrote: > On Thu, Dec 22, 2016 at 09:16:29AM +0000, arnaud gaboury via arch-general > wrote: > > % systemctl --version > > systemd 232 > > +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK

[arch-general] UID/GID of a systemd container

2016-12-22 Thread arnaud gaboury via arch-general
% systemctl --version systemd 232 +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN % uname -r 4.8.13-1-hortensia (username space is set to YES) My setup:

Re: [arch-general] Pacman cache directory

2016-08-17 Thread arnaud gaboury via arch-general
On Wed, Aug 17, 2016 at 6:17 PM, Alex Theotokatos via arch-general <arch-general@archlinux.org> wrote: > On 08/17/2016 02:32 PM, arnaud gaboury via arch-general wrote: >>> >>> From /etc/pacman.conf: >> >> >> CacheDir= /drawer/system/pacman/cache/

[arch-general] Pacman cache directory

2016-08-17 Thread arnaud gaboury via arch-general
>From /etc/pacman.conf: CacheDir= /drawer/system/pacman/cache/pacman/pkg/ This is a convenient place to me as my root system is a not too large SSD. When doing some cleaning on my machines, I found this: $ ls -al /drawer/system . lrwxrwxrwx 1 gabx users 34 Aug 12 21:10 pacman ->

Re: [arch-general] fail to export gpg private key

2016-07-06 Thread arnaud gaboury via arch-general
On Wed, Jul 6, 2016 at 2:36 PM, Jens Adam wrote: > >> $ gpg --output tth_sec.gpg --armor --export-secret-key KeyID >> gpg: WARNING: nothing exported >> >> I have the tth_sec.pgp but with size of zero. >> >> What do I wrong? > > Are you doing this via ssh? In that case

[arch-general] fail to export gpg private key

2016-07-06 Thread arnaud gaboury via arch-general
I have successfully created a gpg key pair on one of my computer. I would like to use the same pair on another computer, so the need to export. Here are the commands: $ gpg --output tth_pub.gpg --armor --export KeyID Results in -rw-rw-r-- 1 poisonivy poisonivy 1.7K Jul 6 13:34 tth_pub.gpg

Re: [arch-general] messing with external USB and .mount/.automount drive

2016-01-22 Thread arnaud gaboury
On Fri, Jan 22, 2016 at 6:32 PM, arnaud gaboury <arnaud.gabo...@gmail.com> wrote: > I want to timer a simple backup of part of my system with rsync. The > partition I want to use for backup is on an external USB drive. > > For safety reasons (avoid any accidental erase), I

[arch-general] messing with external USB and .mount/.automount drive

2016-01-22 Thread arnaud gaboury
I want to timer a simple backup of part of my system with rsync. The partition I want to use for backup is on an external USB drive. For safety reasons (avoid any accidental erase), I want the partition be mounted only for the time of the rsync, then be umounted Here is my setup: /etc/fstab

[arch-general] gnupg, dirmngr and sockets

2015-12-18 Thread arnaud gaboury
As I was building an AUR package[0], I had an issue with validating the key. I run: $ gpg --rec-keys PkgKey only to get an error about dirmngr not being able to connect to ~/.config/gnupg/S.dirmngr $GNUPGHOME is set in my env. After hours of reading similar issues, but usually running such

Re: [arch-general] gnupg, dirmngr and sockets

2015-12-18 Thread arnaud gaboury
On Fri, Dec 18, 2015 at 8:12 PM Jens Adam wrote: > > EDIT : why is the system gnupg directory under /etc/pacman.d ? > > Wouldn't it be better to have /etc/gnupg ? > > There is no _system gnupg directory_. > pacman uses its own instance for package verification and usually > there's

Re: [arch-general] gnupg, dirmngr and sockets

2015-12-18 Thread arnaud gaboury
On Fri, Dec 18, 2015 at 6:57 PM, arnaud gaboury <arnaud.gabo...@gmail.com> wrote: > As I was building an AUR package[0], I had an issue with validating > the key. I run: > $ gpg --rec-keys PkgKey > > only to get an error about dirmngr not being able to connect to > ~

[arch-general] build package from source and shared libraries issue

2015-09-25 Thread arnaud gaboury
I am scratching my head since a week now and can't figure out how to solve my issue. Here is the situation: 1- I have installed parallel_studio_xe from Intel with the AUR package[0] 2- /etc/ld.sconf.so has all the needed .conf file to feed correctly my ld.so.cache 2- I build R package[1] from

[arch-general] systemd 215 breaks machinectl login

2015-09-05 Thread arnaud gaboury
I just upgraded to systemd 215, and connaction to my container is broken. # machinectl login MyMachine Connected to machine MyMachine. Press ^] three times within 1s to exit session. Then it hangs here indefinitely. No login shell. -- google.com/+arnaudgabourygabx

Re: [arch-general] Linux Kernel capabilities

2015-07-17 Thread arnaud gaboury
On Fri, Jul 17, 2015 at 1:08 PM, Jens Adam j...@byte.cx wrote: Unfortunately, it doesn't work and needed modules are not loaded from container but only from host. I realized there is no #define CAP_SYS_MODULE in /usr/lib/modules/4.1.2-2-ARCH/build/include/linux/capability.h. Look at

[arch-general] Linux Kernel capabilities

2015-07-17 Thread arnaud gaboury
I build my own kernel with ABS. To allow my nspawn container to load kernel modules, I must add this to nspawn unit file: --capability=CAP_SYS_MODULE. Unfortunately, it doesn't work and needed modules are not loaded from container but only from host. I realized there is no #define

Re: [arch-general] Linux Kernel capabilities

2015-07-17 Thread arnaud gaboury
Not at all, but you are right, it is not mentioned in systemd-nspawn man. But according to Mr Systemd, it is a valid option. On Fri, Jul 17, 2015, 12:42 PM Patrick Burroughs (Celti) ce...@celti.name wrote: On Fri, 17 Jul 2015 12:20:39 +0200 arnaud gaboury arnaud.gabo...@gmail.com wrote: I

Re: [arch-general] Linux Kernel capabilities

2015-07-17 Thread arnaud gaboury
On Fri, Jul 17, 2015, 12:42 PM Patrick Burroughs (Celti) ce...@celti.name wrote: On Fri, 17 Jul 2015 12:20:39 +0200 arnaud gaboury arnaud.gabo...@gmail.com wrote: I build my own kernel with ABS. To allow my nspawn container to load kernel modules, I must add this to nspawn unit file

Re: [arch-general] libicuuc.so.54: cannot open shared object

2015-04-13 Thread arnaud gaboury
On Mon, Apr 13, 2015 at 11:29 AM, arnaud gaboury arnaud.gabo...@gmail.com wrote: gabx@hortensia ➤➤ ~ % R /usr/lib64/R/bin/exec/R: error while loading shared libraries: libicuuc.so.54: cannot open shared object file: No such file or directory gabx@hortensia ➤➤ ~ % mypac icu 306:icu 55.1-1

[arch-general] libicuuc.so.54: cannot open shared object

2015-04-13 Thread arnaud gaboury
gabx@hortensia ➤➤ ~ % R /usr/lib64/R/bin/exec/R: error while loading shared libraries: libicuuc.so.54: cannot open shared object file: No such file or directory gabx@hortensia ➤➤ ~ % mypac icu 306:icu 55.1-1 386:lib32-icu 54.1-1 gabx@hortensia ➤➤ ~ % ls -al /usr/lib32/libicuio.so.54 lrwxrwxrwx 1

Re: [arch-general] libicuuc.so.54: cannot open shared object

2015-04-13 Thread arnaud gaboury
On Mon, Apr 13, 2015 at 11:31 AM, Armin K. kre...@email.com wrote: On 13.4.2015 11:29, arnaud gaboury wrote: gabx@hortensia ➤➤ ~ % R /usr/lib64/R/bin/exec/R: error while loading shared libraries: libicuuc.so.54: cannot open shared object file: No such file or directory gabx@hortensia

[arch-general] broken locale after glibc upgrade

2015-02-11 Thread arnaud gaboury
After a recent upgrade, my locale was broken. Here is extract from pacman.log: [2015-02-11 08:19] [PACMAN] Running 'pacman -Syu' [2015-02-11 08:19] [PACMAN] synchronizing package lists [2015-02-11 08:19] [PACMAN] starting full system upgrade [2015-02-11 08:20] [ALPM] transaction started

Re: [arch-general] broken locale after glibc upgrade

2015-02-11 Thread arnaud gaboury
On Wed, Feb 11, 2015 at 10:57 AM, Sebastiaan Lokhorst sebastiaanlokho...@gmail.com wrote: 2015-02-11 10:47 GMT+01:00 arnaud gaboury arnaud.gabo...@gmail.com: I had to manually edit /etc/locale.gen, uncomment the needed locales, then run locale-gen to fix this issue. You likely overwrote

Re: [arch-general] systemd-nspawn : centOS container

2015-01-31 Thread arnaud gaboury
You could untar the rootfs archive and start systemd-nspawn on it? instead of having to install the minimal image yourself? Yes, if it is not an install script as Arch iso. I must admit I didn't have a look inside the iso file. I will start to test all this soon. My preferred way is the

[arch-general] systemd-nspawn : centOS container

2015-01-30 Thread arnaud gaboury
I have happily used a second Arch as a container booted with systemd-nspawn. I would like now install a CentOS container, but I am not sure how to proceed the install. What is the correct way ? - first install minimal CentOS from an iso in a dedicated partition (in my case it will be a ssd), then

Re: [arch-general] glx module is not loaded

2015-01-24 Thread arnaud gaboury
Issue solved by removing nvidia-libgl-beta and installing mesa-libgl. --- [625644.598] (II) glx will be loaded. This was enabled by default and also specified in the config file. [625644.598] (II) LoadModule: glx [625644.599] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so

[arch-general] glx module is not loaded

2015-01-24 Thread arnaud gaboury
/etc/X11/xorg.conf.d/10-modules.conf -- Section Module Loadglx EndSection --- ~/.local/share/xorg/Xorg.o.log --- [19.596] (II) glx will be loaded. This was enabled by default and also specified in the config file.

[arch-general] pip install broken

2015-01-13 Thread arnaud gaboury
python-pip 6.0.6-1 Please find below error messages when runiing some pip commands. pip have been working like a charm until now. A bug or some misconfigurations ?? - $ pip install websocket-client Exception: Traceback (most recent call last): File

Re: [arch-general] kernel compilation with ABS

2014-11-08 Thread arnaud gaboury
That's it! Just delete $BUILDDIR/output/sources/linux/linux-3.17.tar.xz.part and your download will start from the beginning. Bingo! I understand I had a partial download in my source directory. This linux-3.17.tar.xz.part was blocking the download, correct ? Can you give me a short

[arch-general] kernel compilation with ABS

2014-11-07 Thread arnaud gaboury
I have been using this method for a while with no issue. With new 3.17.2-1, I can't makepkg. gabx@hortensia ➤➤ core/linux % makepkg == Making package: linux-hortensia 3.17.2-1 (Fri Nov 7 11:41:58 CET 2014) == Checking runtime dependencies... == Checking buildtime dependencies... == Retrieving

Re: [arch-general] kernel compilation with ABS

2014-11-07 Thread arnaud gaboury
Did you try deleting the file and start downloading again? Not sure what you call the file, but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux. I can manually download the kernel and pacth from https://www.kernel.org/pub/linux/kernel, but now hen

Re: [arch-general] kernel compilation with ABS

2014-11-07 Thread arnaud gaboury
Can you give the output from running: $ cat /etc/makepkg.conf | grep DLAGENTS Sent from my Android device with K-9 Mail. Please excuse my brevity. gabx@hortensia ➤➤ core/linux % cat /etc/makepkg.conf | grep DLAGENTS 11:DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3

Re: [arch-general] kernel compilation with ABS

2014-11-07 Thread arnaud gaboury
Unless he uses another source directory. What's the output from: grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf gabx@hortensia ➤➤ core/linux % grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf /etc/makepkg.conf:109:SRCDEST=$BUILDDIR/output/sources grep: /home/gabx/.makepkg.conf: No such

Re: [arch-general] java: cannot execute - too many levels of symbolic links

2014-09-09 Thread arnaud gaboury
On Tue, Sep 9, 2014 at 2:42 AM, Thorsten Jolitz tjol...@gmail.com wrote: Hi List, after updating yesterday java does not work anymore for me: , | [tj@arch ~]$ LC_ALL=C java --help | /usr/bin/java: line 2: /usr/lib/jvm/default/bin/java: Too many levels of | symbolic links |

[arch-general] 3.16.1-1 :install custom kernel failed. No packages were upgraded- depmod for a wrong kernel name

2014-08-26 Thread arnaud gaboury
Hi, I have been building/installing a custom kernel for some time now with no issues. I always follow the same process: * $ ABSROOT=. abs core/linux * edit the PKGBUILD: -pkgbase=linux-hortensia uncomment #make nconfig, * $ makepkg load

[arch-general] Unable to dual seat- one nvidia card- lightdm

2014-08-25 Thread arnaud gaboury
Even after lots of readings and many tries, I am not able to set up a working dual seat configuration on my machine. I have two users, two monitors, two mouses, two keyboard, unfortunately one only nvidia card. But from what I read, it is possible to have two users both logged and sharing only

Re: [arch-general] Unable to dual seat- one nvidia card- lightdm

2014-08-25 Thread arnaud gaboury
My issues: - I can not limit one user to one monitor. The screen uses the two monitots. - Second user has a double task bar in his mate session. Everything is repeated twice. This issue is fixed. Creating a new user account solved this issue. I do not know why, but some corrupted config file

[arch-general] Desktop Notifications

2014-08-19 Thread arnaud gaboury
kalu is used on my machine to manage AUR upgrades notifications. This package has been working well until now. Notification pop-up doesn't work. In the mate desktop, when going to system preferences Notification pop-up, clicking preview leaves me with this error: Error while

[arch-general] qemu-vm : access to KVM kernel denied

2014-08-17 Thread arnaud gaboury
I found my entries about this topic, but no clear answer. As user, I want to install a VM with virt-install. $ virt-install --connect qemu:///system --LONG list of options Error : could not access KVM kernel module: permission denied. Running the above command as root returns the same. My

Re: [arch-general] qemu-vm : access to KVM kernel denied

2014-08-17 Thread arnaud gaboury
On Sun, Aug 17, 2014 at 2:48 PM, Leonid Isaev lis...@umail.iu.edu wrote: On Sun, Aug 17, 2014 at 11:30:38AM +0200, arnaud gaboury wrote: I found my entries about this topic, but no clear answer. As user, I want to install a VM with virt-install. $ virt-install --connect qemu:///system

Re: [arch-general] qemu-vm : access to KVM kernel denied

2014-08-17 Thread arnaud gaboury
So, permissions on /dev/kvm look OK. Actually, you can remove yourself from the 'kvm' group. it is done. TY

[arch-general] makepkg breaks the build when building binaries manually doesn't

2014-08-11 Thread arnaud gaboury
I am trying to build/install libguestfs [1] from git. There is already am AUR package [2] but not the git version If I manually $ gitclone gitUrl $ cd libguestfs $ ./autogen.sh $ ./configure --someOptions the build goes until the end and leaves me with binaries. -

Re: [arch-general] makepkg breaks the build when building binaries manually doesn't

2014-08-11 Thread arnaud gaboury
makepkg sets a couple environment variables that are listed in /etc/makepkg.conf. By default this includes LDFLAGS=-Wl,--as-needed which I believe normally produces these kinds of errors. You'll have to make sure that the gcc command that is run has all necessary -lfoo arguments at the end of

Re: [arch-general] Gummiboot and EFISTUB booting irregularities

2014-07-10 Thread arnaud gaboury
On 9 July 2014 23:43, Mike Cloaked mike.cloa...@gmail.com wrote: On Wed, Jul 9, 2014 at 10:30 PM, Bigby James bigby.ja...@crepcran.com wrote: On 07/09, Murari wrote: When I start my laptop (or restart it) and select the Arch Linux entry in the gummiboot menu, I sometimes only see

Re: [arch-general] virtualize a w8 ntfs partition and run w8 inside Arch

2014-05-15 Thread arnaud gaboury
Isn't Windows going to complain about the hardware changing when you alternate between the virtual machine and the real PC? -- damjan I think it will be a serious issue. you are right. Hardware registration can be a barrier to this setup. -- google.com/+arnaudgabourygabx

Re: [arch-general] virtualize a w8 ntfs partition and run w8 inside Arch

2014-05-15 Thread arnaud gaboury
In any case there is no harm in trying. I will of course try first, especially as the box is not for professional use. I already installed w8 AFTER linux with NO issues at all using EFI. So I am ready for the dirty virtualization.

Re: [arch-general] Android support in Linux Arch

2014-04-18 Thread arnaud gaboury
Please have a look here[1]. It is a Arch based distro developed by Android dev. You can add the repo in your /etc/pacman.conf [1]http://bbqlinux.org/

[arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
Dear list, I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3). I have a weird behavior as regarding my web browser, could it be chromium or firefox. On my i3 config. I have this line: assign [instance=^chromium$]

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces No ?? really? Are you joking ?

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
According to the Arch Wiki : https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces; that seems to be the correct behavior. You are assigning chromium to be launched on tty1. No, I am assigning chromium to be launched on WORKSPACE 1 !! I apologize I just caught

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
On Tue, Mar 25, 2014 at 7:09 PM, Jakub Klinkovský j@gmx.com wrote: On 25.03.14 at 18:56, arnaud gaboury wrote: i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces No ?? really? Are you joking ? I'm certain. i3 workspaces are an implementation

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
On Tue, Mar 25, 2014 at 7:20 PM, Mark Lee m...@markelee.com wrote: -BEGIN PGP SIGNED MESSAGE- I just tested out i3 myself, and if you launch it with startx (from xorg-xinit), I don't have any issues launching chromium in the same TTY. See

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
The 'assign' directive will not start Chromium, you would need to combine it with 'exec'. Or have I misunderstood again? That is OK now with adding the exec line Furthermore, my keyboard is US, not the one I use. Part of my /etc/X11/xorg.conf Section InputDevice Identifier

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
See the other post, and please keep try to keep the problem solving linear (as in linear graph), don't switch branches if possible. Mutt and weechat are on my TODO list

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
On Tue, Mar 25, 2014 at 9:53 PM, Lieven Moors lievenmo...@gmail.com wrote: On Tue, Mar 25, 2014 at 07:36:01PM +0100, arnaud gaboury wrote: See the other post, and please keep try to keep the problem solving linear (as in linear graph), don't switch branches if possible. Mutt

Re: [arch-general] browser and tty

2014-03-25 Thread arnaud gaboury
As for firefox, these two lines starts firefox, BUT in workspace 2, as indicated in the i3 bar. exec firefox-aurora assign [instance=^firefox-aurora$] 1 exec --no-startup-id i3-msg 'workspace 1; exec firefox-aurora' did the trick

Re: [arch-general] tap device

2014-03-20 Thread arnaud gaboury
I don't get this: it seems normal to me that the interface would be down until it's configured by the container, pretty much like on a normal machine. The only situation in which you can expect an interface to be up already is in a network-booting situation, in which the initramfs

Re: [arch-general] tap device

2014-03-17 Thread arnaud gaboury
I guess someone will have to ask about it, either in the mailing list or irc, I haven't done so before because systemd-{nspawn,networkd} have lots of new functionality and I'm not sure I understand them all. After I related this issue (interfaces not being UP) on the systemd-devel mailing

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
I have found that you will need to bring the virtual interface up (the one handled by systemd-nspawn). Right. I am left after I boot my machine (the host) with this : 4: vb-dahlia: BROADCAST,MULTICAST mtu 1500 qdisc noop master br0 state DOWN group default qlen 1000 link/ether

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
If you are running systemd-networkd on the host then you can do that easily with a network file. I've called mine vb-veth.network and it contains: [Match] Name=vb-* Very good indeed. /etc/systemd/network/80-container-host0.network [Match] Name=vb-dahlia [Network] DHCP=no

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
No netctl here :) I systemd-networkd enabled on boot and 3 files in /etc/systemd/network cat brkvm.netdev [NetDev] Name=brkvm Kind=bridge cat brkvm.network [Match] Name=brkvm [Network] Description=Bride for use with virtual machines and containers Address=192.168.56.1/24 cat

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
Yeah, that sounds like a sensible reason; thank you. I believe Arnaud's usecase is a single container with no particularly special connectivity requirements (as far as I can tell). I'm worried that he's making his setup a lot more complicated than it needs to be. See my previous post : I want

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
It was UP before I brought vb down. sorry for typo : before I brought host0 down

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
On Wed, Mar 12, 2014 at 6:02 PM, Paul Gideon Dann pdgid...@gmail.com wrote: On Wednesday 12 Mar 2014 17:32:27 arnaud gaboury wrote: It was UP before I brought vb down. So you have your answer : yes. OK, so in that case, I'd recommend not doing anything special on the host to bring the vb

Re: [arch-general] tap device

2014-03-12 Thread arnaud gaboury
On Wed, Mar 12, 2014 at 3:00 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: If you are running systemd-networkd on the host then you can do that easily with a network file. I've called mine vb-veth.network and it contains: [Match] Name=vb-* Very good indeed. /etc/systemd/network/80

Re: [arch-general] tap device

2014-03-11 Thread arnaud gaboury
what do you want to accomplish? do you perhaps need a veth device? I want to create a network for a linux container managed by systemd-nspawn. As Jakub mentioned, the interface is DOWN, thus NO-CARRIER.

Re: [arch-general] tap device

2014-03-11 Thread arnaud gaboury
Hi Arnaud, I don't think you need the /etc/netctl/ethernet profile at all. The enp7s0 interface is being absorbed into the bridge, and so should not be considered on its own any more. Otherwise, this looks OK. Are you seeing any connectivity problems? Thank you. Btw, as I was thinking

Re: [arch-general] tap device

2014-03-11 Thread arnaud gaboury
systemd-networkd is still really new. If you're having difficulty with it, I recommend simply using netctl, which is a bit more mature. I do for part of the setup on host. I am trying to do zero network config on container, thus the use of networkd. But I can use netctl inside the container,

Re: [arch-general] tap device

2014-03-11 Thread arnaud gaboury
OK, so you really just need basic internet connectivity; you don't have any special filtering requirements. When you boot the container, can it see the enp7s0 interface? That is, is the enp7s0 interface visible both from the host and from the container? no. On container, I just see hos0,

[arch-general] tap device

2014-03-10 Thread arnaud gaboury
Hi, I am setting up a network for a container. I have a bridge br0 with a eth adapter enp7s0 and a tap device tap0 *** /etc/netctl/bridge Description=Bridge connection Interface=br0 Connection=bridge BindsToInterfaces=(enp7s0 tap0) IP=static

Re: [arch-general] systemd-nspawn/systemd-networkd/

2014-03-07 Thread arnaud gaboury
I've had a quick look at systemd-networkd, and I don't think it would be significantly different to set up than netctl in your case. I think the problem was one of theory: I don't know how much reading you've done, but you need to understand some theory of the networking stack, network

[arch-general] bridge with netctl

2014-03-06 Thread arnaud gaboury
Dear list, I am running a machine hortensia with a container dahlia. As the container will be a server, I want to have one IP for hortensia and another one for dahlia. On hortensia, with dhcpcd.service and systemd-networkd both disabled, I start at boot two netctl profiles.

Re: [arch-general] bridge with netctl

2014-03-06 Thread arnaud gaboury
This configuration make no sense whatsoever. 1) You create a bridge with no ports. What purpose does it serve? 2) If you want to add enp7s0 as a port, why do you have a configuration for enp7s0? If an interface is a bridge port, it cannot be used for IP traffic, so assigning it an IP is

Re: [arch-general] bridge with netctl

2014-03-06 Thread arnaud gaboury
I can't help you with your specific problem, but one thing is that you need to do, is to enable the machine to forward ip packets from one interface to another. Create something like a /etc/sysctl.d/99-sysctl.conf and add this: # Enable packet forwarding net.ipv4.ip_forward = 1

Re: [arch-general] bridge with netctl

2014-03-06 Thread arnaud gaboury
On Thu, Mar 6, 2014 at 8:00 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: 1) Two new virtual interfaces are create: one that is visible to the container, and one that is visible to the host. The host now has two interfaces, which may be bridged, or it may act as a NAT router

Re: [arch-general] Network-Issues after last updates

2014-03-05 Thread arnaud gaboury
On Wed, Mar 5, 2014 at 12:36 PM, Thomas Bächler tho...@archlinux.org wrote: Am 05.03.2014 12:26, schrieb Ruben Kelevra: I still using netcfg to statically configure my cards, the only hw-card was eth0 and now named ens3, which was the first problem on that upgrade ... changing eth0 to ens3 in

Re: [arch-general] Network-Issues after last updates

2014-03-05 Thread arnaud gaboury
On Wed, Mar 5, 2014 at 1:17 PM, Ruben Kelevra cyr...@gmail.com wrote: Well I gonna try to move the three Server to networkd, but with this complex network-setup this is a hugh pain. :/ I confirm. There is a clear lack of solid documentation and this service is quite new. I have set up many

Re: [arch-general] Network-Issues after last updates

2014-03-05 Thread arnaud gaboury
On Wed, Mar 5, 2014 at 1:26 PM, Ruben Kelevra cyr...@gmail.com wrote: The Problem is that I got ~25 Interfaces on any Server ... Bridges, Mesh, Tunnel Interfaces ... oh la la, I am very sorry for you. I wish I could help. Another solution could be to give a try at Libvirt. It is usually a

[arch-general] systemd-nspawn/systemd-networkd/

2014-03-05 Thread arnaud gaboury
Hi, I do not consider myself as a Linux expert, but rather an advanced user. I am running Arch for a few years now, with a clean setting environment and no major breakage. I am a great fan of systemd functionallities, but I waste my time the past two weeks setting up a working network on a

Re: [arch-general] systemd-nspawn/systemd-networkd/

2014-03-05 Thread arnaud gaboury
On Wed, Mar 5, 2014 at 10:00 PM, Mario Rugiero mrugi...@gmail.com wrote: Daniel is right. netctl and systemd-networkd are two different things. Yes, for sure. Let's take a bet : netctl will one day be obsoleted, no upstream, and replaced entirely by networl@.service and networkd. Want to bet

Re: [arch-general] systemd-nspawn/systemd-networkd/

2014-03-05 Thread arnaud gaboury
You're welcome to contribute to the documentation. I think the documentation is a significant improvement over what existed for the previous stack of technologies systemd is replacing. I often write/modify some parts of Arch Wiki, and believe me, the day I will have a clean set up for a

Re: [arch-general] Bridge interface with netctl

2014-02-26 Thread arnaud gaboury
This profile is wrong. Here is the right one: --- $ cat /etc/netctl/lxc_lan_bridge Description=LAN bridge for LXC containers Connection=bridge Interface=br0 SkipNoCarrier=yes BindsToInterfaces=() IP=static Address=(10.137.0.1/24) --- Also, since you are running systemd = 209, you can

Re: [arch-general] Bridge interface with netctl

2014-02-26 Thread arnaud gaboury
On Wed, Feb 26, 2014 at 1:37 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: -- Now: * Populate the iptables FORWARD chain to route traffic from your physical interface to the bridge and back. I missed totally this part of the setup. I must admit this topic is a little bit new to me

[arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
Dear list, I am messing with assigning a static IP on a systemd-nspawn container, on both sides (host,container). My idea is to first create a bridge (br0) on the host. My config on host : systemd-git netctl to configure network $ ifocnfig enp7s0:

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
On Tue, Feb 25, 2014 at 1:43 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: Now, I want to start the bridge: # netctl start bridge-hortensia % ping -c 3 8.8.8.8 connect: Network is unreachable I realized that starting the bridge profile empty the /etc/resolv.conf. Even if I modified

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
Note that the original author of [3] and [4] is Xyne, see his excellent tutorial [5]. [5]: http://xyne.archlinux.ca/notes/network/dhcp_with_dns.html Regards, Thank you for this very interesting link

[arch-general] nginx in a linux container

2014-02-23 Thread arnaud gaboury
Hi all, I have a running container managed by systemd-nspawn. I want now install/set up nginx inside it, following Arch wiki. gab@dahlia ➤➤ ~ # mkdir $JAIL/dev mkdir: cannot create directory ‘/srv/hhtp/dev’: No such file or directory ??? gab@dahlia ➤➤ ~ % ls -al / drwxr-xr-x 4 root root

[arch-general] Linux container with systemd-nspawn

2014-02-20 Thread arnaud gaboury
Hi all, I run systemd-git I manage a arch container using systemd-nspawn facilities. I am still strugling with the tty story on the container. The container is running and $ machinectl status dahlia output is correct. This output thus puzzles me: gabx@hortensia ➤➤ systemd/system % sudo

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-16 Thread arnaud gaboury
└» systemd-cgls That's the point : I do not see any machine.slice in the tree :-( gabx@hortensia ➤➤ ~aur/libvirt-git % systemctl status libvirt-guests.service libvirt-guests.service - Suspend Active Libvirt Guests Loaded: loaded (/usr/lib/systemd/system/libvirt-guests.service; enabled)

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-16 Thread arnaud gaboury
Three more thins I have some doubts about : 1- the guest : shall I mount it at rootfs in /dahlia or /machine/dahlia ? I have tried both. 2- in my dahlia.xml : partition/machine/dahlia/partition Is that correct for a /dahlia OR /machine/dahlia guest mount point ? I do have any .scope unit

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-16 Thread arnaud gaboury
On Sun, Feb 16, 2014 at 12:20 PM, Tom Kuther t...@kuther.net wrote: Am 16.02.2014 11:56, schrieb arnaud gaboury: └» systemd-cgls That would be strange. With your machine-dahlia.slice config and the partition setting in your domain.xml, I am not quite sur of a good setting of the partition

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-16 Thread arnaud gaboury
A few ideas : how do you boot ? I boot at console login with gabx % startx Did you : systemctl enable systemd-nspawn@machine.service ? I didn't

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-16 Thread arnaud gaboury
I can see the overall setup was not so bad. When I start the container this way : gabx@hortensia ➤➤ ~ # systemd-nspawn -bD /dahlia container boots. gabx@hortensia ➤➤ ~ % machinectl -l MACHINE CONTAINER SERVICE dahlia container nspawn 1

[arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-15 Thread arnaud gaboury
Dear list, I am bulding a VM using libvirt and lxc for linux container. I have an issue with my cgroups settings: gabx@hortensia ➤➤ ~ # virsh start dahlia error: Failed to start domain dahlia error: internal error: No valid cgroup for machine dahlia My environement: Host : Arch Linux -

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-15 Thread arnaud gaboury
On Sat, Feb 15, 2014 at 5:41 PM, Tom Kuther t...@kuther.net wrote: Am 15.02.2014 14:37, schrieb arnaud gaboury: Dear list, I am bulding a VM using libvirt and lxc for linux container. I have an issue with my cgroups settings: gabx@hortensia ➤➤ ~ # virsh start dahlia error: Failed to start

Re: [arch-general] libvirt / lxc : no valid cgroup for machine

2014-02-15 Thread arnaud gaboury
Thank you Tom for your long and precise help. I think I will give up libvirt and go to LXC. Btw, the container does not need so much settings offer by libvirt management. For your info, /etc/cgconfig is needed and read by systemd cgconfig.service. But there is no need in fact to enable this

  1   2   >