!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

203 Members
https://wiki.debian.org/Matrix76 Servers

Load older messages


SenderMessageTime
16 Feb 2019
* @max:kamax.ioMaximus hoped for a quiet weekend for once00:06:33
@max:kamax.ioMaximuswell in my case, things are always configured without interaction possible. the previous issue was that it would default to true in this case00:07:03
@lindalap:matrix.orgLinda

Mmhm. For those with it enabled, it may accidentally ask again defaulting to disable it. Not good user experience.

00:08:23
@lindalap:matrix.orgLinda

but I read it was enabled by default earlier

00:08:46
@max:kamax.ioMaximusyes, until I reported it the first time it was00:09:13
@lindalap:matrix.orgLinda

mmhm

00:09:19
@lindalap:matrix.orgLinda

With matrix-archive-keyring, I've made sure debconf(1) remembers the answers to questions and doesn't prompt unnecessarily, even if the caches are gone.

+debian0.10 version atm.

00:10:06
@lindalap:matrix.orgLinda

Probably isn't in the +debian0.6 version I gave you

00:10:26
@lindalap:matrix.orgLinda

so it may forget from time to time

00:10:33
@max:kamax.ioMaximusI'm going to do a purge and full re-install anyway00:12:07
@max:kamax.ioMaximusclearly this is not right and I want a clean setup00:12:21
@max:kamax.ioMaximuscan't have stats reporting on my managed servers...00:12:33
@max:kamax.ioMaximusor even risk having it00:12:49
@lindalap:matrix.orgLinda

Well, as it currently is (you're right with reporting the issue), it will keep reactivating.

00:15:17
@lindalap:matrix.orgLinda

I can give you an updated source/deb

00:15:28
* @max:kamax.ioMaximus sighs00:16:29
@max:kamax.ioMaximus Linda: thank you, but it's ok. I'll just lock the file so it can't be updated anymore 00:17:04
@uhoreg:matrix.orguhoreg
In reply to @lindalap:matrix.org
  1. If there is no answer to the question, it asks. You choose no.
  2. The answer is "false" this time. report_stats is not enabled, debconf(1) remembers this question in its cache.
  3. Next time you upgrade or reconfigure matrix-synapse-py3, debconf(1) checks its cache for answer. If it is there, $RET will exit with a status code 10 or higher. Or effectively "true".

You can see where this goes.

I don't get this. $RET gets filled with the value of the report-stats option, so the config file gets written with whatever report-stats in set to. It also doesn't explain why debconf has the option set to true on Max's system.
00:17:14
@lindalap:matrix.orgLinda

dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

Well, guess I wouldn't do that anyway

00:17:55
@max:kamax.ioMaximus uhoreg: because when I installed it the very first time, it was unattended. It defaulted to true back then. and I guess I never updated the cache 00:18:00
@max:kamax.ioMaximus but regardless: the report_stats.yaml file exists. it must not be overwritten 00:18:22
@max:kamax.ioMaximusdoesn't matter what the cache is00:18:32
@lindalap:matrix.orgLinda

uhoreg: Because of db_input high matrix-synapse/report-stats || true? Actually, true being exit code 1. It satisfies [ if "$RET" ]; then.

00:18:42
@lindalap:matrix.orgLinda

|| true happens if there's a known answer.

00:18:56
@lindalap:matrix.orgLinda

Actually, uhoreg might be right

00:19:39
@max:kamax.ioMaximus in any case, the change happened on a system where the cache was false, and the config file itself was set to false 00:21:54
@max:kamax.ioMaximusjust discovered it on another server00:22:03
@max:kamax.ioMaximus so it can go to true either way 00:22:12
@uhoreg:matrix.orguhoreg The || true is just there so that the script doesn't die if the db_input command errors for whatever reason. It doesn't affect the behaviour of db_input. 00:23:27
@lindalap:matrix.orgLinda

It's a false assumption $RET will be "true" or "false for a boolean question.

00:23:28

Show newer messages


Back to Room ListRoom Version: