From 6fc3f3012452f948d32448d2c40de60b838217a1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 11 Dec 2015 12:40:44 -0400 Subject: comment --- ...mment_1_d65fd2ebfca6b9994db9512232ce78ff._comment | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/todo/should_not_overwrite_unchanged_private_files/comment_1_d65fd2ebfca6b9994db9512232ce78ff._comment (limited to 'doc/todo/should_not_overwrite_unchanged_private_files') diff --git a/doc/todo/should_not_overwrite_unchanged_private_files/comment_1_d65fd2ebfca6b9994db9512232ce78ff._comment b/doc/todo/should_not_overwrite_unchanged_private_files/comment_1_d65fd2ebfca6b9994db9512232ce78ff._comment new file mode 100644 index 00000000..6e44dde6 --- /dev/null +++ b/doc/todo/should_not_overwrite_unchanged_private_files/comment_1_d65fd2ebfca6b9994db9512232ce78ff._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-12-11T16:35:43Z" + content=""" +Doesn't rebuilding propellor overwrite lots of files too? Is the +privdata.local file somehow a particular problem, perhaps becuase +of its permissions? + +You should find it easy enough to make propellor read any existing +file and only update the file when there are changes. But it seems to me +your integrity checker would still go off whenever a new version +of the file is legitimately reveiced. Perhaps it would be better to +write a property to configure your integrity checker to not fire on +this file? + +(I've thought from time to time about having rsync update the privdata.local +file. Since it's unchanged in most spins, that would probably save network +bandwidth.) +"""]] -- cgit v1.2.3 From 7bea86e0efb9a914b85459811113b8bc3ae47b9e Mon Sep 17 00:00:00 2001 From: gueux Date: Sun, 13 Dec 2015 20:44:20 +0000 Subject: Added a comment --- .../comment_2_2e37e89b8f108f027d2d8c5962a24536._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/todo/should_not_overwrite_unchanged_private_files/comment_2_2e37e89b8f108f027d2d8c5962a24536._comment (limited to 'doc/todo/should_not_overwrite_unchanged_private_files') diff --git a/doc/todo/should_not_overwrite_unchanged_private_files/comment_2_2e37e89b8f108f027d2d8c5962a24536._comment b/doc/todo/should_not_overwrite_unchanged_private_files/comment_2_2e37e89b8f108f027d2d8c5962a24536._comment new file mode 100644 index 00000000..dbf7ac3b --- /dev/null +++ b/doc/todo/should_not_overwrite_unchanged_private_files/comment_2_2e37e89b8f108f027d2d8c5962a24536._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="gueux" + subject="comment 2" + date="2015-12-13T20:44:20Z" + content=""" +The integrity checker should shout everytime it finds a new version of a file (and if a new version of the file is legitimately received, I can then run \"samhain -t update -m none --interactive\"). As the private files are very often sensitive information, the integrity should shout on them too. To me, it sounds like it should be the default (it may also be useful for backup systems that check when a file was last modified?), but I dont see exactly what should be changed to enable that. What do you think? + +Having privdata uploaded only if it is updated would certainly be cool for slow internet connections. +"""]] -- cgit v1.2.3 From ea1b7f15af0fd277ec5431d034b6aecaa45a8d72 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 13 Dec 2015 22:05:42 -0400 Subject: comment --- .../comment_3_5e7127049c1798dfc830d33da0fd78d7._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/todo/should_not_overwrite_unchanged_private_files/comment_3_5e7127049c1798dfc830d33da0fd78d7._comment (limited to 'doc/todo/should_not_overwrite_unchanged_private_files') diff --git a/doc/todo/should_not_overwrite_unchanged_private_files/comment_3_5e7127049c1798dfc830d33da0fd78d7._comment b/doc/todo/should_not_overwrite_unchanged_private_files/comment_3_5e7127049c1798dfc830d33da0fd78d7._comment new file mode 100644 index 00000000..b2de7f4a --- /dev/null +++ b/doc/todo/should_not_overwrite_unchanged_private_files/comment_3_5e7127049c1798dfc830d33da0fd78d7._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2015-12-14T02:03:40Z" + content=""" +The place the privdata file gets saved is Spin.hs, when `update` +calls "writeFileProtected privfile" +"""]] -- cgit v1.2.3