Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
Hi, noid wrote (27 May 2015 18:13:49 GMT) : Exact output it's: localuser:tails-persistence-setup being added to access control list [sudo] password for amnesia: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized localuser:tails-persistence-setup being removed from access control

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
Hi, Exact command-line: tails-persistence-setup --force --override-boot-device /org/freedesktop/UDisks/devices/sdb --override-system-partition /org/freedesktop/UDisks/devices/sdb1 --passphrase 1234 --step bootstrap -- verbose Output: localuser:tails-persistence-setup being added to access

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
noid wrote (28 May 2015 09:42:43 GMT) : Exact command-line: Thanks. tails-persistence-setup --force --override-boot-device /org/freedesktop/UDisks/devices/sdb --override-system-partition /org/freedesktop/UDisks/devices/sdb1 --passphrase 1234 --step bootstrap -- verbose Creating

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
What kind of device is /dev/sdb? It's a USB device which has just been cloned by Tails Installer with Clone and Install Option. A dump of the info UDisks has about it would be useful. Here's the dump, don't take care of sdb vs sdc thing, I've tried with two environments (virt-manager

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
n...@riseup.net wrote (28 May 2015 11:26:16 GMT) : What kind of device is /dev/sdb? It's a USB device which has just been cloned by Tails Installer with Clone and Install Option. A dump of the info UDisks has about it would be useful. Here's the dump, don't take care of sdb vs sdc thing,

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
Thanks. You're running t-p-s from within a pristine, unmodified Tails 1.4, right? ___ Yes. Here's the about info: Build information: 1.4 - 20150511 265149a838932877384b452cd3b6ffa4ea9cd3f9 live-build: 3.0.5+really+is+2.0.12-0.tails1 live-boot:

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
n...@riseup.net wrote (28 May 2015 12:31:15 GMT) : A detail, tried to create persistence in Tails boot USB device with same command with no problems. With same command, really? Or almost the same? ___ Tails-dev mailing list Tails-dev@boum.org

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
noid wrote (28 May 2015 14:02:25 GMT) : Sorry: almost: changing device to apropiate one. Then you probably want to give the t-p-s user more polkit credentials. See /etc/polkit-1/localauthority/10-vendor.d/org.boum.tails.pkla to start with. ___

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
A detail, tried to create persistence in Tails boot USB device with same command with no problems. With same command, really? Or almost the same? Sorry: almost: changing device to apropiate one. Tests done are: USB1/2 referring to physical USB devices. USB1 referring to a Tails installed

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
Then you probably want to give the t-p-s user more polkit credentials. See /etc/polkit-1/localauthority/10-vendor.d/org.boum.tails.pkla to start with. Yes, that solved this question. There were credentials just to mount and modify internal system devices so added: [Modify storage devices]

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
El Jueves, 28 de mayo de 2015 17:02:22 noid escribió: Yes, that solved this question. There were credentials just to mount and modify internal system devices so added: Not really. Works ok on virt-manager usb virtual device, but doesn't in bare- metal by the moment. Keep testing.

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread intrigeri
noid wrote (28 May 2015 15:02:22 GMT) : Now there are still 2 I must resolve: 1. Passing passphrase in command line makes no effect. 2. How to turn this into full command line execution without user interaction? Some ideas from where I can start? I would have to dive into the code to

Re: [Tails-dev] tails persistence setup from command line

2015-05-28 Thread noid
El Jueves, 28 de mayo de 2015 18:40:21 intrigeri escribió: so at this point I believe that *you* should dive into that codebase Ok. I think so too, seems reasonable ;). Nice to get response on specific questions anyway. ___ Tails-dev mailing list

Re: [Tails-dev] tails persistence setup from command line

2015-05-27 Thread Una Posició
Checked patch and tails live and looks like amnesia user path has /usr/local/bin/ prior to /usr/bin so running tails-persistence-setup from command line already executes correct version which includes the run_as_user line. Exact output it's: localuser:tails-persistence-setup being added to

Re: [Tails-dev] tails persistence setup from command line

2015-05-27 Thread noid
(this corrrect mail sorry for the mess about it) Checked patch and tails live and looks like amnesia user path has /usr/local/bin/ prior to /usr/bin so running tails-persistence-setup from command line already executes correct version which includes the run_as_user line. Exact output it's:

Re: [Tails-dev] tails persistence setup from command line

2015-05-25 Thread intrigeri
Hi, [fully quoting for the benefit of the list.] Una Posició wrote (23 May 2015 16:19:13 GMT) : I'm trying to develope an application to group install in Tails, you may remember a mail about it some weeks ago. I keep on it and have some questions to resolve as I posted in the list. One of