Re: How to bump ulimit?

2017-03-16 Thread Michi Henning
> Would you mind pasting exact command that worked for you from inside a snap? > > In my case ulimit works just fine outside of confinement. For example: > jacek@laptop:~$ ulimit -n 10240 > jacek@laptop:~$ ulimit -n > 10240 > > But when I try the same when confined I can only go as high as 4096.

Re: Store - Organizations/Namespaces/Transfer packages

2017-03-16 Thread Tim Süberkrüb
Hey Michael, thanks for your reply! On 16.03.2017 19:22, Michael Hall wrote: On 03/16/2017 01:41 PM, Tim Süberkrüb wrote: Hey everyone, I have some questions about best practices for organizations (like our Liri Project) regarding the store. 1. Accounts: Is it possible to have a "pure" orga

Re: Store - Organizations/Namespaces/Transfer packages

2017-03-16 Thread Michael Hall
On 03/16/2017 01:41 PM, Tim Süberkrüb wrote: > Hey everyone, > > I have some questions about best practices for organizations (like our > Liri Project) regarding the store. > > 1. Accounts: > > Is it possible to have a "pure" organization account in the store where > several people have full or

Store - Organizations/Namespaces/Transfer packages

2017-03-16 Thread Tim Süberkrüb
Hey everyone, I have some questions about best practices for organizations (like our Liri Project) regarding the store. 1. Accounts: Is it possible to have a "pure" organization account in the store where several people have full or partial access? The only option I can see right now would

Re: Shared UI Themes

2017-03-16 Thread Michał Sawicz
W dniu 16.03.2017 o 17:34, Sebastien Bacher pisze: > One other issue is that snaps are per-system and theme are > per-user-session/desktop. You could have different users login into > different desktop environment on your laptop, how do we handle them > needing different themes? Sounds like we'd n

Re: Shared UI Themes

2017-03-16 Thread Sebastien Bacher
Hey Michał, Thanks for the email, that's indeed a topic that had been pending for a while. Just for reference we have https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1576300 which is a similar topic Le 16/03/2017 à 11:34, Michał Sawicz a écrit : > On Ubuntu, we'd auto-connect our themes One

Re: To get the environment variables in snapping

2017-03-16 Thread Kyle Fazzari
On Mar 13, 2017 1:30 AM, "Jin Hsieh" wrote: But you could recognize the modification we made *is hard to upstream guys to accept/merge the changes into their trunk*, so many getenv("SNAP") in the code or in where the code flow uses clean_env() we also need to cache the SNAP-related variables, I a

How to convert the initrd.img during buiding the kernel snap.

2017-03-16 Thread Madper Xie
Hi all, My u-boot do not support the format of the initrd.img. So I need to manually convert it via mkimage every time. I tried to use scriptlet to convert the initrd.img file but failed. ``` install: | mkimage -n 'RamdiskImage' -A arm -O linux -T ramdisk -C gzip -d initrd.img ramfs.im

Re: How to bump ulimit?

2017-03-16 Thread Jacek Nykis
Hi, Would you mind pasting exact command that worked for you from inside a snap? In my case ulimit works just fine outside of confinement. For example: jacek@laptop:~$ ulimit -n 10240 jacek@laptop:~$ ulimit -n 10240 But when I try the same when confined I can only go as high as 4096. -- Jacek

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: [Dragonboard410c] Ubuntu OS Build Issues, and Support

2017-03-16 Thread John Lenton
Hi Sunny, I don't understand what's going on with your system: * snapd is running out of memory. snapd should be using about 20MB of resident memory. How much was it trying to use when it ran out? How much is available? What does dmesg say about this crash? * snapd on a core system that doesn't li

Shared UI Themes

2017-03-16 Thread Michał Sawicz
Hi all, One of the interfaces we listed as things to be done to support UI applications proper was UI themes. Albert had a stab [1] at approaching this, but I'd like to discuss what we want here long-term, how flexible we want this to be. Right now the approach he's taken was to have a single sn

Re: To get the environment variables in snapping

2017-03-16 Thread Jin Hsieh
Hey Manik, Thanks for the reply! Right, we considered that before it is obviously okay if we snap it as a classic one, but now we are trying to deploy such the services into Ubuntu Core. (the services in this case: Postfix, Dovecot, ...etc.) So you may understand what we did becomes to give thos

Re: Simple daemon settings

2017-03-16 Thread Sergey Borovkov
Thanks, just what I needed. On 16 March 2017 at 12:00, Roberto Mier Escandón  < roberto.escan...@canonical.com> wrote: > > You can find all the restart conditions here [1] > > Basically it says: > > # Condition to restart the daemon under. Defaults to on-failure. > # See the systemd.service manu

Re: Simple daemon settings

2017-03-16 Thread Roberto Mier Escandón 
You can find all the restart conditions here [1] Basically it says: # Condition to restart the daemon under. Defaults to on-failure. # See the systemd.service manual on Restart for details. restart-condition: \ on-failure | on-success | on-abnormal | on-abort | always | never Cheers. [1] http

Re: Simple daemon settings

2017-03-16 Thread Ara Pulido
On Thu, Mar 16, 2017 at 9:32 AM, Sergey Borovkov wrote: > Hello, > I am running service using daemon: simple in snapcraft. Is there any way > to configure how systemd handles restarting in the snapcraft.yaml? Current > behavior is that it restarts the service when it exits with non zero exit > co

Simple daemon settings

2017-03-16 Thread Sergey Borovkov
Hello, I am running service using daemon: simple in snapcraft. Is there any way to configure how systemd handles restarting in the snapcraft.yaml? Current behavior is that it restarts the service when it exits with non zero exit code. But it does not get restarted otherwise. Can this be tweaked? --

[Dragonboard410c] Ubuntu OS Build Issues, and Support

2017-03-16 Thread Sunny Bhayani
Hi John, Thank you for the finding. > note that in that log, snapd isn't running because > > snapd[2217]: fatal error: runtime: out of memory > But there is no process invoked explicitly from our end. So is there something that we can check for this error ? @paolo.pisati