Re: First time snapcraft user having issues

2016-09-14 Thread Robert Park
Fun times, gentlemen: HOST="/var/lib/snapd/hostfs" # Break out of snap chroot if [ -x "$HOST/usr/bin/sudo" ]; then app="$(mktemp $HOST/tmp/bileto-app-XXX.sh)" $HOST/usr/bin/sudo cp --verbose --force $0 $app inchroot="$(echo $app | sed "s#$HOST##")" $HOST/usr/bin/sudo $HOST/usr/sbi

Re: First time snapcraft user having issues

2016-09-14 Thread Kyle Fazzari
On 09/14/2016 10:18 AM, Kyle Fazzari wrote: > > On 09/14/2016 10:11 AM, Robert Park wrote: >> On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari >> wrote: >>> On 09/13/2016 08:08 PM, Robert Park wrote: So I want to snap up a script that needs root and does administrative stuff on the host sys

Re: First time snapcraft user having issues

2016-09-14 Thread Sergio Schvezov
El 14/09/16 a las 14:11, Robert Park escribió: On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari wrote: On 09/13/2016 08:08 PM, Robert Park wrote: So I want to snap up a script that needs root and does administrative stuff on the host system. I realize this goes against snaps' goals of being all s

Re: First time snapcraft user having issues

2016-09-14 Thread Kyle Fazzari
On 09/14/2016 10:11 AM, Robert Park wrote: > On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari > wrote: >> On 09/13/2016 08:08 PM, Robert Park wrote: >>> So I want to snap up a script that needs root and does administrative >>> stuff on the host system. I realize this goes against snaps' goals of >>

Re: First time snapcraft user having issues

2016-09-14 Thread Robert Park
On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari wrote: > On 09/13/2016 08:08 PM, Robert Park wrote: >> So I want to snap up a script that needs root and does administrative >> stuff on the host system. I realize this goes against snaps' goals of >> being all secure and confined, is there any way I c

Re: First time snapcraft user having issues

2016-09-14 Thread Evan Dandrea
On Wed, 14 Sep 2016 at 10:49 Robert Park wrote: > On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari > wrote: > > Yeah, installing with --devmode disables confinement (but enables > > warnings). Make sure the "confinement" property in the snapcraft.yaml is > > set to devmode as well, which will make

Re: First time snapcraft user having issues

2016-09-14 Thread Robert Park
On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari wrote: > Yeah, installing with --devmode disables confinement (but enables > warnings). Make sure the "confinement" property in the snapcraft.yaml is > set to devmode as well, which will make it impossible to install without > --devmode. Is it possibl

Re: First time snapcraft user having issues

2016-09-14 Thread Sergio Schvezov
El 14/09/16 a las 12:08, Akash Chandrashekar escribió: Additionally if you want to figure out things like how apparmor blocks certain things and resolve them you can follow /var/log/syslog. Preferably `snap install snappy-debug` and use that :-) http://askubuntu.com/questions/783979/how-d

Re: First time snapcraft user having issues

2016-09-14 Thread Akash Chandrashekar
Additionally if you want to figure out things like how apparmor blocks certain things and resolve them you can follow /var/log/syslog. Regards, Akash On Sep 14, 2016 7:54 AM, "Kyle Fazzari" wrote: > > On 09/13/2016 08:08 PM, Robert Park wrote: > > Hi all, > > > > So I want to snap up a script t

Re: First time snapcraft user having issues

2016-09-14 Thread Kyle Fazzari
On 09/13/2016 08:08 PM, Robert Park wrote: > Hi all, > > So I want to snap up a script that needs root and does administrative > stuff on the host system. I realize this goes against snaps' goals of > being all secure and confined, is there any way I can list a plug in > my 'plugs:' that would giv

Re: First time snapcraft user having issues

2016-09-13 Thread Robert Park
On Sep 13, 2016 8:16 PM, "Sergio Schvezov" wrote: > > El 14/09/16 a las 00:08, Robert Park escribió: > > >> Hi all, >> >> So I want to snap up a script that needs root and does administrative >> stuff on the host system. I realize this goes against snaps' goals of >> being all secure and confined,

Re: First time snapcraft user having issues

2016-09-13 Thread David Callé
On 14/09/2016 05:15, Sergio Schvezov wrote: > El 14/09/16 a las 00:08, Robert Park escribió: > >> Hi all, >> >> So I want to snap up a script that needs root and does administrative >> stuff on the host system. I realize this goes against snaps' goals of >> being all secure and confined, is there a

Re: First time snapcraft user having issues

2016-09-13 Thread Sergio Schvezov
El 14/09/16 a las 00:08, Robert Park escribió: Hi all, So I want to snap up a script that needs root and does administrative stuff on the host system. I realize this goes against snaps' goals of being all secure and confined, is there any way I can list a plug in my 'plugs:' that would give me

First time snapcraft user having issues

2016-09-13 Thread Robert Park
Hi all, So I want to snap up a script that needs root and does administrative stuff on the host system. I realize this goes against snaps' goals of being all secure and confined, is there any way I can list a plug in my 'plugs:' that would give me root on the users computer, perhaps giving the use