IRC logs for #automotive for Monday, 2016-08-29

*** andrunko has quit IRC00:07
*** andrunko has joined #automotive00:12
*** andrunko has quit IRC00:23
*** andrunko has joined #automotive00:26
*** FelixH has quit IRC01:11
*** FelixH has joined #automotive01:23
*** andrunko has quit IRC01:27
*** mdurnev has joined #automotive01:27
*** andrunko has joined #automotive01:36
*** praneeth has quit IRC04:29
*** praneeth has joined #automotive04:29
*** Jakubin has joined #automotive06:38
*** jobol has joined #automotive07:18
*** kbroulik has joined #automotive07:18
*** fulup-home has quit IRC07:24
*** leon has joined #automotive07:25
*** leon is now known as Guest6586907:25
*** Guest65869 is now known as leon-anavi07:29
leon-anavimorning07:29
Jakubinmorning07:35
*** fury has quit IRC07:37
*** toscalix has joined #automotive07:41
*** fury has joined #automotive07:42
*** gunnarx has joined #automotive07:42
*** toscalix has quit IRC07:55
dl9pfhi08:03
*** toscalix has joined #automotive08:03
gunnarxhi dl9pf - do you know some good trick to manipulate a filesystem image without root privileges?08:07
dl9pfgunnarx: hmm ...08:10
gunnarxthat means you're thinking, right? :)08:10
dl9pfyes08:10
gunnarxIt's only mounting it that is an issue if you want to copy files to it.  But I imagine the closest solution is to delegate the permission to "sudo mount" (but no other commands).08:12
gunnarxTypically you can create an image, partition and mkfs as a normal user but not mount it to copy files to it.  Ideally there are some user space tools that understand how to manipulate an ext file system image.  I'm sure there must be, I've never had to use them that's all :)08:13
dl9pfso you want to copy files to it "as root" ?08:13
gunnarxwell possibly, but that's what fakeroot/pseudo can do right?08:14
gunnarxit's not the issue I asked for though.  To copy files as any user whatsoever you need to mount it into the VFS right?  Unless there are some user space tools that can do the magic?08:14
dl9pfyes, this is more or less fakeroot/pseudos job ... lets you write wiles as if you were root08:14
dl9pfhmm, guestmount maybe08:15
* gunnarx goes to google mounting without root08:15
gunnarxYes, at first look guestmount/guestfs looks promising.... hmm I'm getting the feeling I've played with this before, unsuccessfully :)08:22
gunnarxdl9pf, I think guestmount might work but it seems to expect some certain things which would be indicative of a filesystem of an actual virtual machine - you can get error messages like "found no operating system".  I don't want it to care about that...08:33
*** fury has quit IRC08:34
*** fury has joined #automotive08:39
gunnarxI didn't find anything obviously solving the issue so I think something like a suid script (or better compiled binary) that clearly restricts what you can mount and where is possibly the safest.  This is to avoid general mounts would be quite unsafe.08:40
gunnarxPutting the whole operation inside a namespace or VM ... it would isolate it from the host, but again you run into the privilege question - being privileged to start containers is a thing in itself.08:40
dl9pffuse ?08:54
gunnarxYeah, that's what I'm thinking - there ought to be something...  but actually in order to copy some files in what you'd want is something that doesn't really mount the image at all, just manipulate it as if it were mounted.08:56
gunnarxguestfs uses fuse also btw08:56
dl9pfmount will always require root, unless a fixed mountpoint is declared in fstab -08:56
dl9pfspin up a qemu VM and script it inside and initrd with access to the image ... not really what I would want to do ...08:57
gunnarxI was just saying08:57
gunnarxor sorry, did you mean it as a suggestion?  I mentioned above..08:58
dl9pfah, yes.08:58
gunnarxultimately, if you install fuse and allow mounting fuse-implemented file systems, you're still allowing mounting so security wise I would say you end up in the same place...08:58
dl9pfthe prob is that once the files are created "as root" with pseudo/fakeroot, you need to edit them as root.08:58
gunnarxsure08:59
gunnarxanyhow, yeah I think it's more clear to me now, what's possible, what's reasonable, and what would be safe. thanks for bouncing some ideas here.08:59
dl9pfnp09:00
dl9pfis there a way to "merge" filesystem images ?09:01
dl9pfor have an upper/lower flesystem and then take a new image from the resulting state ?09:01
gunnarxwill keep looking for a purely user-space solution though (FUSE is not what I mean since it hooks into the kernel and system).  Can't see why it wouldn't be possible to have just a program that can copy files into an image.09:01
gunnarxdl9pf, do you mean something similar to a union filesystem?09:02
dl9pfyes09:02
dl9pfyour changes go into a dummy filesystem image, -> overlay A&B, image C09:02
dl9pfunion/aufs/overlayfs09:02
gunnarxWe have discussed this previously for GENIVI persistence.  In my opinion it seems the way to go.09:03
gunnarxIf you have mount privileges you can do it with unionfs I believe.09:03
dl9pfhttps://lwn.net/Articles/671641/09:03
gunnarx:) the more advanced the features get, there's always something missed09:05
*** gunnarx has quit IRC09:12
*** gunnarx has joined #automotive10:10
*** fury has quit IRC10:39
*** fury has joined #automotive10:44
*** gunnarx has quit IRC11:18
*** gunnarx has joined #automotive11:59
*** gunnarx has joined #automotive11:59
*** jeremiah has joined #automotive12:25
*** gan has joined #automotive12:30
*** mdurnev has quit IRC13:27
*** Olivier[matrix] has quit IRC13:51
*** Jakubin has quit IRC13:54
*** toscalix has quit IRC13:59
*** nisha has quit IRC14:02
*** nisha has joined #automotive14:11
*** toscalix has joined #automotive14:19
*** caiortp has joined #automotive14:24
*** Olivier[matrix] has joined #automotive14:33
*** gan has quit IRC14:44
*** gunnarx has quit IRC14:44
*** gunnarx has joined #automotive14:44
*** gunnarx has joined #automotive14:44
*** AlisonChaiken has quit IRC14:53
*** kbroulik has quit IRC14:59
*** kooltux has quit IRC15:00
*** mvick has joined #automotive15:06
*** persia has quit IRC15:13
*** persia has joined #automotive15:16
*** AlisonChaiken has joined #automotive15:23
*** clopez has quit IRC15:30
*** waltminer has joined #automotive15:32
*** clopez has joined #automotive15:36
*** waltminer_ has joined #automotive15:46
*** waltminer has quit IRC15:49
*** waltminer_ is now known as waltminer15:49
*** kooltux` has joined #automotive15:54
*** toscalix has quit IRC15:59
*** gunnarx has quit IRC16:09
*** lil_sprout has quit IRC16:17
*** jlrmagnus has joined #automotive16:38
*** mpaolino has joined #automotive17:01
mpaolinowaltminer, are you connected?17:02
mpaolinoin the AMM schedule, the HW isolation BoF is scheduled twice17:05
mpaolinosince in the current schedule, on September 7th you should be in two places at the same time, I guess the filan date is September 8th at 3PM17:07
mpaolinolet me know!17:07
*** waltminer has quit IRC17:13
*** mpaolino has quit IRC17:21
*** waltminer has joined #automotive17:25
*** jobol has quit IRC18:31
*** waltminer has quit IRC19:01
*** gunnarx has joined #automotive19:02
*** gunnarx has joined #automotive19:02
*** waltminer has joined #automotive19:03
*** waltminer_ has joined #automotive19:06
*** waltminer has quit IRC19:08
*** waltminer_ is now known as waltminer19:08
*** leon-anavi has quit IRC19:09
*** jlrmagnus has quit IRC20:05
*** jlrmagnus has joined #automotive20:20
*** jobol has joined #automotive20:31
*** jlrmagnus has quit IRC20:55
*** caiortp has quit IRC20:56
*** jeremiah has quit IRC21:00
*** jlrmagnus has joined #automotive21:03
*** jlrmagnus has quit IRC21:33
*** jlrmagnus has joined #automotive22:03
*** clopez has quit IRC22:29
*** clopez has joined #automotive22:36
*** jlrmagnus has quit IRC22:50
*** jlrmagnus has joined #automotive23:01
*** gunnarx has quit IRC23:09
*** jeremiah has joined #automotive23:29
*** jlrmagnus has quit IRC23:51

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!