I'm trying to figure out how to create an LXC using multiple LVM logical
volumes. I'd like to dohave the root filesystem of the LXC on its own
LV, the /var directory of the LXC on its own LV, and the /tmp directory
of the LXC on its own LV. Here is what I've done sofaron the host:
===
Based on the documentation I read, this can be the same, however all I
really care about is that the LV gets mounted to that location on the host.
On Tue, Feb 11, 2014 at 1:13 PM, Alvaro Miranda Aguilera
wrote:
>
> On Wed, Feb 12, 2014 at 4:11 AM, Joshua Schaeffer <
> jschaeffer0.
have already mounted your lv inside the container, unmount it,
> mount it somewhere else, and try as I tell you, for me it works.
>
> if you have time, I wrote this:
>
> http://kikitux.net/lxc/lxc.html
>
>
>
>
>
> On Wed, Feb 12, 2014 at 9:34 AM, Joshua Schaeffer <
mount it somewhere else, and try as I tell you, for me it works.
if you have time, I wrote this:
http://kikitux.net/lxc/lxc.html
On Wed, Feb 12, 2014 at 9:34 AM, Joshua Schaeffer
mailto:jschaeffer0...@gmail.com>> wrote:
Based on the documentation I read, this can be the same,
or 'testme1'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'testme1'
Thanks,
Josh
On 02/17/2014 09:55 AM, Serge Hallyn wrote:
Quoting Joshua Schaeffer (jschaeffer0...@gmail.com):
I still can&
Okay thanks for the pointers. I'll be able to try this out tonight and
report back.
On Mon, Feb 17, 2014 at 10:30 PM, Serge Hallyn wrote:
> Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> > Quoting Joshua Schaeffer (jschaeffer0...@gmail.com):
> > > Yes it failed to st
00
Everything seems to be working correctly now. Thanks for all your help,
Josh
On 02/17/2014 10:30 PM, Serge Hallyn wrote:
Quoting Serge Hallyn (serge.hal...@ubuntu.com):
Quoting Joshua Schaeffer (jschaeffer0...@gmail.com):
Yes it failed to start:
1. lxc-create -n testme1 -t debian
2. r
I've been using LXC's on Debian 7 for over a year now and everything has
been working great, but I've just been using the version that is packaged
with the distro and I figured it's probably time to get up to date and
start taking advantage of the newer features and unprivileged containers.
So I've
= veth
lxc.network.link = lxcbr0
lxc.network.name = eth0
lxc.id_map = u 0 165536 65536
lxc.id_map = g 0 165536 65536
root@thinkhost:~# cat /etc/sub* | grep lxcuser
lxcuser:165536:65536
lxcuser:165536:65536
Thanks,
Joshua
On Thu, Apr 2, 2015 at 2:49 PM, Serge Hallyn
wrote:
> Quoting Jos
eged containers and make them
> autostart. This is called mithlond,
>
> https://github.com/Meseira/mithlond
>
> This is build for Debian Jessie, thus you should find some useful things
> inside, i hope ;-)
>
> Xavier
>
>
> Le 02/04/2015 22:49, Serge Hallyn a écrit :
>
I have a lxc container on version 1.1.2 on Debian that cannot connect to
the network. My host has br0 setup and I can access any machine on the
network and internet from the host:
This is the host:
jschaeffer@prvlxc01:~$ sudo ifconfig
[sudo] password for jschaeffer:
br0 Link encap:Ethernet
ment,
>
> Benoît Georgelin -
> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
> mail qu'en cas de nécessité
>
> --
> *De: *"Joshua Schaeffer"
> *À: *"lxc-users"
> *Envoyé: *Vendr
Oh, also forgot to mention that I'm using OVS to create the bridge. I
didn't think this would be a problem if I got the bridge working on the
host, but let me know if I've missed something.
Thanks,
Joshua
On Fri, Oct 23, 2015 at 1:36 PM, Joshua Schaeffer
wrote:
> Here ya go.
you look at this file , it should be 1
> cat /proc/sys/net/ipv4/ip_forward
>
> Also can you send the OVS db content:
>
> ovs-vsctl show
>
>
> Cordialement,
>
> Benoît Georgelin -
> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
> ma
oot@thinkweb:/# ping 8.8.8.8
connect: Network is unreachable
Is this because of my routing table on the container?
Thanks,
Joshua
On Fri, Oct 23, 2015 at 3:50 PM, Joshua Schaeffer
wrote:
> Okay, ip_forward was set to 0 on the host. I changed it to 1, but I still
> wasn't able to ping th
. Why would
adding the gateway to the config work, but not in interfaces. I've never
needed to add the gateway to the config before.
On Sat, Oct 24, 2015 at 12:50 AM, Fajar A. Nugraha wrote:
> On Sat, Oct 24, 2015 at 5:34 AM, Joshua Schaeffer <
> jschaeffer0...@gmail.com> wrot
I'm getting an error when trying to start an unprivileged container on
Debian Jessie. LXC version 1.1.2. I installed CGManager using the
instructions here: https://linuxcontainers.org/cgmanager/getting-started/.
There weren't any problems installing. Creating the container succeeded
without issue.
On Wed, Jan 13, 2016 at 8:45 PM, Fajar A. Nugraha wrote:
> On Thu, Jan 14, 2016 at 6:13 AM, Joshua Schaeffer <
> jschaeffer0...@gmail.com> wrote:
>
>> I'm getting an error when trying to start an unprivileged container on
>> Debian Jessie. LXC version 1.1.2.
>
I'm trying to setup a container on a new VLAN that only allows tagged
traffic and I'm getting varied success. Maybe somebody can point me in the
right direction. I can ping the gateway from the host but not from the
container and I can't see what I'm missing. I'm using LXC 1.1.5 on Debian
Jessie. T
On Wed, Jan 27, 2016 at 2:39 PM, Fajar A. Nugraha wrote:
>
>
> Is eth1 connected to your switch as trunk? If no (e.g. you have the same
> settings for eth1 and eth2 on the switch side),
>
Both ports are connected as trunk. As far as the switch side goes each
ports is configured the same. Trunked
On Wed, Jan 27, 2016 at 4:38 PM, Guido Jäkel wrote:
> Dear Joshua,
>
> you wrote, that there's a trunk on eth1 and eth2. But for eth2, i can't
> see any VLAN (501 ?) detrunking as with eth1 & eth1.500. In the other hand
> you wrote, that eth2 is working. Are you shure, that you realy receive this
On Wed, Jan 27, 2016 at 6:09 PM, Fajar A. Nugraha wrote:
>
>
>> eth2 already works. I set it up for testing outside of all containers
>> (i.e. on the host only). From the host:
>>
>>
> That doesn't match what you said earlier.
>
It actually does. Remember that this LXC host is a virtual machine
I'm trying to run iptables-save inside a container and it returns nothing
(no results, no error... nothing). I found this thread from 2014 and was
wondering if it still an issue?
https://lists.linuxcontainers.org/pipermail/lxc-users/2014-November/008094.html
I am running an unprivileged container
Newbie question here. I have an unprivileged container using the following
network configuration:
lxc.network.type= veth
lxc.network.link= br0-500
lxc.network.ipv4= 10.240.78.3/24
lxc.network.ipv4.gateway= 10.2
I'm trying to setup OpenVPN in an unprivileged container. The host and
container are both Debian Jessie on LXC version 1.1.5. When I try to start
OpenVPN I get:
Sat May 28 20:55:57 2016 us=360137 ERROR: Cannot open TUN/TAP dev /dev/net/tun:
No such file or directory (errno=2)
So it makes sens
For starters, from "man lxc.container.conf"
lxc.hook.autodev
A hook to be run in the container's namespace after mounting
has been done and after any mount hooks have run, but before
the pivot_root, if lxc.autodev == 1.
You can never modprobe in unpri
loop unix-block
path=/dev/loop0
root@broodwar:~# ls -l /dev/loop*
brw-rw 1 root root 7, 0 Sep 28 16:00 /dev/loop0
Running mount -v gives no extra messages. The ISO file itself is good, I
can mount it successfully on the host, just not the container. Does anyone
know how to fix this issue?
Than
p 30 23:14 wmem_max
-rw-r--r-- 1 root root 0 Sep 30 23:14 xfrm_acq_expires
-rw-r--r-- 1 root root 0 Sep 30 23:14 xfrm_aevent_etime
-rw-r--r-- 1 root root 0 Sep 30 23:14 xfrm_aevent_rseqth
-rw-r--r-- 1 root root 0 Sep 30 23:14 xfrm_larval_drop
Thanks,
Joshua
Anybody know how to do this?
On Mon, Oct 3, 2016 at 8:26 AM, Joshua Schaeffer
wrote:
> I have a user that is trying to do an "ipsec start" inside a container and
> they are getting the following error:
>
> [root@utah ~]# ipsec start
> /usr/libexec/ipsec/_stackmanager: l
On Tue, Mar 28, 2017 at 7:07 PM, Serge E. Hallyn wrote:
> One thing I've always thought would be useful, but not had the time to
> pursue, woudl be to have a concept of 'clients' or somesuch, where each
> client can get one or more unique ranges. They can then use those
> ranges however they wan
ge device:
lxduser@raynor:~$ lxc storage list
+-++-+-+
| NAME | DRIVER | SOURCE | USED BY |
+-++-+-+
| lxdpool | zfs| lxdpool | 15 |
+-++-----+--
I guess I should have mentioned an important change. When I switched from
BTRFS to ZFS I also went from LXD 2.0 to 2.13.
On Wed, May 31, 2017 at 10:27 AM, Joshua Schaeffer wrote:
> I've recently switch from using BTRFS to ZFS backend, and my containers on
> the ZFS backend aren'
Thanks for the explanation Stéphane, I will add the device locally. I
figured it was a change in versions that caused my discrepancy.
Joshua Schaeffer
On Wed, May 31, 2017 at 11:25 AM, Stéphane Graber
wrote:
> On Wed, May 31, 2017 at 11:01:39AM -0600, Joshua Schaeffer wrote:
> >
I just want the container to look like it has two disks, one mounted on / and
the other mounted under /mnt.
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
So is adding a storage volume the proper way to add a 2nd, 3rd,
4th... disk to a container, then? What is the relationship between "lxc storage" and "lxc storage volume"? It sounds like when a
container is created it gets a container volume. What is the
difference between a c
e host.
root@bllldap01:~# getent passwd jschaeffer
jschaeffer:*:10:10:Joshua Schaeffer:/home/jschaeffer:/bin/bash
root@bllldap01:~# ldapwhoami -Q
dn:uid=jschaeffer,ou=end users,ou=people,dc=appendata,dc=net
root@bllldap01:~# ldapsearch -LLLQ -b "uid=jschaeffer,ou=End
Users,o
o set a prefix based on a profile, not just globally.
Using LXD 2.15.
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
tials.
On 07/20/2017 11:09 AM, Joshua Schaeffer wrote:
> Hey guys,
>
> I'm trying to setup my subuid and subgid parameters correctly and I'm clearly
> doing something wrong as I keep getting "setgid: Invalid argument" when I try
> to su to my user. I have all m
he cores of the host? I can certainly limit
BIND to using less threads, but it shouldn't be able to see that many cores in
the first place. I'm using LXD 2.15
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists.lin
crt
error: No client certificate provided
Why would the remote not send its certificate? I have the files: server.ca,
server.crt, and server.key in /var/lib/lxd/ for both the server and the remote.
I replaced the the default files with my own. I can ve
g_is_fatal set to true (the default). I haven't been able
to figure out why the container never gets a response after the vif interface
is created. If I set vif_plugging_is_fatal to false the container gets created,
but I can't ping the IP address that gets assigned to it. Any help wou
a container/profile, but I
haven't been able to figure out how to do this directly through LXD (i.e
using the `lxc network ...` command). Is this possible?
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists
ether 00:16:3e:21:ac:dc brd ff:ff:ff:ff:ff:ff link-netnsid 0
lxcuser@blllxc02:~$ lxc exec bllmail02 -- ip -4 addr show veth-ext-svc
314: veth-ext-svc@if315: mtu 1500 qdisc
noqueue state UP group default qlen 1000 link-netnsid 0
inet 192.41.41.85/26 brd 192.41.41.127 scope global veth-ext-svc
20-03-19T05:06:03-0600 lvl=info msg="Updating images"
t=2020-03-19T05:06:03-0600 lvl=info msg="Done updating images"
t=2020-03-19T11:06:03-0600 lvl=info msg="Updating images"
t=2020-03-19T11:06:03-0600 lvl=info msg="Done updating images"
Any idea where I can get more information about what is going on to
successfully add the node to the cluster?
--
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
leged container.
>
> I'm guessing that remapping UID/GID 48 is not permitted in a non-privileged
> container.
I would guess the same thing
>
> Is there a better way to do this?
I would also be interested if there is a better way to do this as the method I
listed above may not a
= 0
futex(0x17e4af0, FUTEX_WAIT, 2, NULL) = 0
futex(0x17e4af0, FUTEX_WAKE, 1) = 1
futex(0x17e5628, FUTEX_WAIT, 0, NULL
^C) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
strace: Process 13785 detached
On 3/19/20 11:41, Joshua Schaeffer wrote:
> Hey all, I'm trying to
table LXD 4.0.0
> which has just been released. You can install it on 18.04 using "snap
> install lxd", but make sure "apt-get remove lxd" first.
Thanks, I'll give that a try
--
Thanks,
Joshua Schaeffer
___
lxc-users mailing
tting on one or both interfaces.
- Looking at the lxd logs to see if anything related shows up.
Any pointers on where I could look to get more info would be appreciated.
--
Thanks,
Joshua Schaeffer
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
Thanks Fajar, I'll look into the workaround.
On 7/1/20 12:40 AM, Fajar A. Nugraha wrote:
> On Wed, Jul 1, 2020 at 1:05 PM Joshua Schaeffer
> wrote:
>> And the really odd part is that if I try to actually ping *from* the
>> container *to* my local box it works AND afte
s now, but
thought I'd ask to see if anybody can point me in the right direction.
lxcuser@host:~$ lxd --version
3.0.3
lxcuser@host:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Cod
On 7/6/20 9:35 PM, Fajar A. Nugraha wrote:
> Try editing /etc/apparmor.d/usr.sbin.slapd inside the container
I added /run/saslauthd/mux rw, to the usr.sbin.slapd profile inside the
container and it fixed the problem.
--
Thanks,
Joshua Schaef
| lxcserver |
+--+--+-+-+---+
lxcuser@lxcserver:~$ lxc storage volume move btrfspool1/bllweb05
cephpool1/bllweb05
Error: not found
How are you supposed to specify the move command to move a volume from one
storage pool to another?
--
Thanks,
J
52 matches
Mail list logo