**** BEGIN LOGGING AT Mon May 08 03:00:02 2017 May 08 11:58:41 oh please... https://arstechnica.com/security/2017/05/theres-a-spike-in-android-apps-that-covertly-listen-for-inaudible-sounds-in-ads/ May 08 12:32:01 huh? May 08 12:32:05 april's fool? May 08 12:32:43 ohnoes! that's serious I guess May 08 12:36:50 http://www.shopkick.com/ May 08 12:37:53 btw is that just me? my brain explodes, parsing >> Enabling the file effective capability bit implies that any file permitted or inheritable capability that causes a thread to acquire the corresponding permitted capability during an execve(2) (see the transformation rules described below) will also acquire that capability in its effective set.<< May 08 12:38:57 linux documentation lul May 08 12:51:11 * DocScrutinizer05 wishes man pages (e.g man ip) would clearly state which capabilities the process needs to have granted to execute particular commands May 08 12:54:27 /me also wonders why on his suse system >> saturn:~ # getfattr `which ping` ;-->$ZILCH; saturn:~ # getcap `which ping` ;--> /usr/bin/ping = cap_net_raw+ep << May 08 12:54:42 selinux, apparmor? May 08 13:22:56 ooh ok. getfattr --match=.* does the trick May 08 14:45:16 DocScrutinizer05: meanwhile freebsd can block raw sockets in jails even if you're literally uid 0 May 08 14:45:20 :3 May 08 14:45:45 suresure May 08 14:45:53 it actually does so by default May 08 14:45:56 you have to reenable raw sockets May 08 14:46:04 admittedly there's no granularity there May 08 14:46:12 for your leisure: https://people.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf (dates back to 2002 or somesuch) May 08 14:46:26 ye but try freebsd tho ;o May 08 14:46:33 and https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443 May 08 14:46:37 it's like if linux was actually sane May 08 14:47:13 the whole init system is written in bourne shell ;o May 08 14:47:18 the installer too May 08 14:47:40 >>systemd, the new service supervision and init system that can be found in some Linux distributions, is intended to do what inetd can do. However, it doesn't use a suite of small self-contained programs. One has to audit systemd in its entirety, unfortunately.<< May 08 14:48:07 it does have some pretty heavy monolithic parts May 08 14:48:09 like zfs May 08 14:48:14 but zfs is actually well written May 08 14:49:16 * DocScrutinizer05 wonders if fremantle ubifs supports xattr May 08 14:49:42 we should migrate fremantle to zfs May 08 14:50:13 start with nuking optification! May 08 14:50:17 it only requires a hard minimum of 64mb May 08 14:50:25 what's 25% of your total ram, after all May 08 14:57:02 DocScrutinizer05: i think we can't freebsd, it doesn't have any filesystems for raw flash May 08 14:57:05 :( May 08 14:57:35 wait i lie May 08 14:57:37 it has a nandfs May 08 14:57:43 I bet you do, here May 08 14:57:59 I think freebsd is on a lot of embedded stuff May 08 14:58:11 are those embedded things actually running with just raw flash tho' May 08 14:58:12 ? May 08 14:58:20 no idea May 08 14:58:24 i thought the usual nowadays was eMMC May 08 15:03:18 DocScrutinizer05: btw i still haven't figured out how asterisk works :< May 08 15:18:47 kerio: you could always load freebsd from nand and boot with an emmc-located rootfs anyway ;) May 08 15:18:54 sure May 08 15:18:55 (load kernel* from nand) May 08 15:19:05 ...and use the internal nand as L2ARC ;o May 08 15:19:17 :D May 08 15:19:34 praise the zfs May 08 15:19:54 riight, this device has too much ram to spare May 08 15:20:02 let's add some dedup May 08 15:20:23 LOL May 08 15:21:29 hey, the iphone is getting a copy-on-write filesystem May 08 15:21:54 * DocScrutinizer05 wonders if a fs based on hashing single blocks (4k) instead of whole files might work May 08 15:22:05 hashing? May 08 15:22:21 zfs dedup is probably not whole-file-based already May 08 15:22:31 yes, it's block-based May 08 15:23:05 with the size being (up to) the dataset's recordsize or (exactly) the zvol's volblocksize May 08 15:23:08 what btrfs and git do: store files only under their hash'name' and have the directory refer to those. automatically de-duplicates May 08 15:23:18 that's not really what btrfs does May 08 15:23:23 i'm pretty sure that btrfs is also block-based May 08 15:23:34 and no, it doesn't automatically dedup May 08 15:23:35 hmm, probably you're right May 08 15:23:51 git does, though May 08 15:23:53 it does refcounting if you snapshot and clone May 08 15:24:09 and you can copy and tell it to not actually write the blocks May 08 15:24:10 I know how btrfs works May 08 15:24:15 in general May 08 15:24:25 well, zfs also has an optional block-level dedup May 08 15:24:36 which i believe is not avaliable in btrfs (yet?) May 08 15:24:47 don't know May 08 15:25:11 I only seem to recal btrfs does dedup, no idea *how* May 08 15:25:22 I was assuming, probably incorrectly May 08 15:25:28 /dev/null is a pretty good dedup option May 08 15:25:30 it's not dedup in the way people would think of it May 08 15:26:01 it's like... May 08 15:26:04 opportunistic dedup? May 08 15:26:28 anyway block level hash/dedup seems like a smart approach May 08 15:26:41 global dedup is probably a bad idea tbh May 08 15:26:53 unless your needs are very peculiar May 08 15:27:08 hm? May 08 15:27:26 how often do you think you'll have block-aligned duplicated data in your filesystem? May 08 15:27:40 with the block being quite big by default, like 128kb May 08 15:27:42 more often than you think May 08 15:28:00 sure if you copy a container you'll have perfect deduplication May 08 15:28:05 huh, who's using 128k blocks? May 08 15:28:07 but you can just do it explicitly with a snapshot and a clone May 08 15:28:18 DocScrutinizer05: the default recordsize for filesystem datasets in zfs is 128k May 08 15:28:24 which means that the blocks are up to 128kb May 08 15:28:31 zfs, meh May 08 15:28:55 yeah better to use the cheap penguin clone with the broken parity redundancy :^) May 08 15:29:08 huh? May 08 15:29:18 raid5 and the like May 08 15:29:29 * DocScrutinizer05 heads out May 08 15:30:05 can't see raid5 in embedded May 08 15:30:39 no raid at all, to be honnest May 08 15:31:11 striping could be an option if having more storage devices ends up being cheaper than having one bigger storage device May 08 15:31:19 although that's probably seldom the case May 08 15:31:35 doing hash over a block in buffer before writing it to storage, then slightly modify metadata though seems a feasible approach May 08 15:33:01 just add one layer of redirection/abstraction, where dir entries don't list block numbers for a file but rather they list block hashes May 08 15:33:03 well, log-structured filesystems count as copy-on-write May 08 15:33:25 and there's *no way* you're doing full dedup on an embedded device May 08 15:33:42 aha May 08 15:34:13 that one layer of indirection ends up requiring either a lot of round trips to nonvolatile storage or an ungodly amount of ram May 08 15:34:29 huh? why? May 08 15:34:38 because every block has to be in there May 08 15:34:44 no May 08 15:35:19 yes May 08 15:35:24 I *could* implement that shit in bashscript even May 08 15:35:55 and it just writes 4k files called /.storage/7d643nfcj64393774fhswke73 May 08 15:36:08 and when said file already exists then no write May 08 15:37:37 a 40k file /foo/bar would actually resemble a "symlink" of sorts, pointing to 10 block file like /.storage/7d643nfcj64393774fhswke73 May 08 15:38:55 writing a second identical file /foo2/barX wouldn't create any data blocks but only generate same "symlink" list of 10 data block file hashes May 08 15:39:29 and writing a 4GB all-zeroes file would utomatically colape to only one data block May 08 15:40:05 since blockN=block2=block May 08 15:40:12 1 May 08 15:43:04 i mean May 08 15:43:21 the usual recommendation for zfs dedup are *five gigabytes* per tb of storage May 08 15:43:26 of ram, that is May 08 15:43:36 I'm NOT talking about zfs May 08 15:43:41 but i'm sure you could do it in shellscirpt May 08 15:43:47 *script May 08 15:48:07 I'm talking about basically doing a md5sum (or sha*) over a 4k block in filesystem buffer and then writing it to a "regular" filesystem under the name of that hash May 08 15:49:18 then create a file with the name that was originally meant for that 4k block, and write the hash name into it May 08 15:50:16 you're free to call that a "symlink" since in fact it works pretty similar May 08 15:50:47 just this "symlink" has a list of file destinations instead a single one May 08 15:51:33 and for read you concatenate the symlink destination data May 08 15:52:29 when ever any process writes a block with same hash (aka same content) then the data block already exists and thus doesn't need to get rewritten May 08 15:53:38 the problem with this approach is to *delete* data blocks. You need to do a garbage collection of sorts, or alternatively you had to count links just like with hardlinks May 08 15:55:25 probbaly the GC can get simplified when each unlink() appends the list of hashes to a journal, so the GC only needs to check those data blocks for other links pointing to them May 08 15:56:41 or you implement refcount just like in inode based fs May 08 15:58:37 ("symlink" since in fact it works pretty similar) for files <4k it actually IS a symlink May 08 16:02:48 yes, you need some RAM for the GC. But not for regular use May 08 16:03:48 it's slower than a 'normal' fs - unless you have duplicate blocks in a file May 08 16:05:19 deduplication is pretty much instant, it basically comes for free May 08 16:05:50 except for the hash calculation May 08 16:06:56 thinking about it, I wonder if ubifs works similar already May 08 16:14:20 thimk about all the read-modify-write procedures that edit files and then write them back completely under a "new" name. They only need to write the changed 4k blocks, reusing the already existing unchanged blocks May 08 16:23:46 PoC perfectly feasuble in less than 100 lines bashscript, for a hashfs-read /foo/bar|hashfs-write /foo/bar2; hashfs-ls /foo; hashfs-rm /foo/bar (without the GC though) May 08 18:39:20 http://maemo.org/packages/view/qmledit-qmlpreview/ seems nice :) May 08 19:12:34 anyone have a link to try that hildon port to devuan? May 08 21:30:20 there's no hildon port to devuan. freemangordon works on porting parts of hildon May 08 21:31:17 tbh hildon is a eather futty term May 08 21:31:34 rather fuzzy* May 08 21:32:53 if anything, hildon is similar to KDE or gnome. A DE May 08 21:43:02 http://paste.ubuntu.com/24539137 May 08 21:45:48 add in a lot of this: http://paste.ubuntu.com/24539159 May 08 21:46:33 an a few of these: http://paste.ubuntu.com/24539165 May 08 21:49:20 for example without maemo-invoker/maemo-launcher none of the hildon-*.launch will start (and their counterparts without .launch extension are just symlinks: lrwxrwxrwx 1 root root 22 2014-12-06 12:41 /usr/bin/hildon-home -> /usr/bin/maemo-invoker ) May 08 21:53:39 checking the dependencies is real fun May 08 21:55:20 I guess you could run hildon-desktop on matchbox or even standard xorg, but... that's not really exciting May 08 21:57:53 of course you again need maemo-invoker/maemo-launcher (unless you build HD for running plain without launcher) May 08 21:59:26 that's however like running kwin on a system that has no other KDE support. Or even worse, since kwin could at least display other apps made for e.g. gnome May 08 22:00:22 * DocScrutinizer05 waves and goes offline for a 25h May 08 22:11:11 Bye DocScrutinizer05 , thanks for all the info. **** ENDING LOGGING AT Tue May 09 03:00:01 2017