Re: How to bump ulimit?

2017-03-16 Thread Michi Henning
only go as high as 4096. $ cat /proc/sys/fs/file-max 1624349 $ ulimit -Hn 65536 $ ulimit -Sn 1024 $ ulimit -Sn 65536 $ ulimit -Sn 65536 This works for me when running a confined shell: $ snap run —shell mysnap.mycommand Michi. > > -- > Jacek > > > On 16/03/17 13:06, M

Re: How to bump ulimit?

2017-03-16 Thread Michi Henning
Typing "ubuntu more than 4096 file descriptors” into Google worked well for me. Michi. > On 15 Mar 2017, at 21:56 , Jacek Nykis wrote: > > Hello, > > I have a server application that hit max open files limit, which by > default is set to 1024. > > I'd like to bump that limit significantly bu

Re: content interface, DENIED mounting $SNAP/mydir

2017-03-02 Thread Michi Henning
> On 3 Mar 2017, at 4:33 , knitzsche wrote: > > Hi, > > I am trying to use the wifi-ap content sharing interface. > > It is DENIED (see below) when I try to use a $SNAP directory. > > It works when I instead use $SNAP_DATA directory for the content sharing. > But, I have to create that direc

Re: HOWTO: How to snap timg (text image viewer)

2017-03-01 Thread Michi Henning
> > That's not true. When a command or daemon in a strict mode snap gets > executed, it runs in a different mount namespace where the file system > root is the contents of the "core" snap. You can verify this by > executing the following: > >snap run --shell command_name > > .. and use tha

Re: HOWTO: How to snap timg (text image viewer)

2017-02-28 Thread Michi Henning
> Upon further thinking, I believe that I did not have to use a fresh > LXD container, because the "strict" confinement would preclude anyway > the snap from using any of my desktop's existing system libraries. > Isn't that indeed the case? I don’ think so. System libraries are visible even with

Re: Package too old for cleanbuild

2017-02-12 Thread Michi Henning
> > While I don't disagree with the suggestions here, if I may suggest a > workaround: > > If you find yourself using cleanbuild a lot (it makes a new ephemeral > container, builds, then destroys the container), you might find some > workflow improvements by simply developing the snap in a contai

Re: Package too old for cleanbuild

2017-02-12 Thread Michi Henning
I’ve opened a bug here for the overlay build: https://launchpad.net/bugs/1664100 Michi. > On 10 Feb 2017, at 9:12 , Leo Arias wrote: > > Hello, > > We have a few cleanbuild bugs open: > https://bugs.launchpad.net/snapcraft/+bugs?field.tag=cleanbuild > >

Re: Package too old for cleanbuild

2017-02-05 Thread Michi Henning
> Would it make sense to extend the snapcraft yaml to let the developer > specify where build-packages and stage-packages should be taken from? > > It would be nice to be able to run a "snapcraft cleanbuild" from zesty > while effectively using all the packages from xenial+overlay... :-) That cer

Package too old for cleanbuild

2017-02-05 Thread Michi Henning
I’m trying to get thumbnailer to build with snapcraft cleanbuild. We depend on cmake-extras for the build. I’ve added that to the build-packages list. The version of cmake that gets installed is 0.6, but we need the latest 1.0. Is it possible to add the overlay PPA to cleanbuild somehow? If not

Re: Max retries exceeded?

2017-02-05 Thread Michi Henning
> Can you try: > $ lxc exec snapcraft-merely-model-ewe -- curl > https://parts.snapcraft.io/v1/parts.yaml > > > ? I can only confirm that curling that from various machines here responds > fine (and that there haven't been any alerts for that service f

Re: Max retries exceeded?

2017-02-05 Thread Michi Henning
> I'm guessing this is coming from the system resolver on the host > system. I'm on zesty, so this could be a systemd-resolve problem. I’m seeing this on xenial + overlay. Michi. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com

Max retries exceeded?

2017-02-05 Thread Michi Henning
I keep getting this error when doing a snapcraft cleanbuild. Any suggestions? I checked name resolution, and my DNS resolves parts.snapcraft.io just fine. Thanks, Michi. Setting up python3-lxml (3.5.0-1build1) ... Setting up python3-petname (2.0-0ubuntu1~16.04) ...

Re: Daemon: dbus examples

2016-12-12 Thread Michi Henning
> In snapd 2.20 we are working to have the 'dbus' generic interface in place[2]. > With it you can specify the bus name (session or system), the well-known name > to > bind to and then use interface connections to connect your client to your > service. Thanks for that Jamie! I take I’ll be able

Re: Daemon: dbus examples

2016-12-12 Thread Michi Henning
I tried this too, and the “dbus” key value was rejected. Looks like this might be a moldie oldie? Michi. > On 12 Dec. 2016, at 17:41 , Didier Roche wrote: > > Le 10/12/2016 à 14:29, l-snapcr...@znn.info a écrit : >> Hi Snapcrafter, > > Hey lightonflux >> >> in the documentation about keys i