Friday, September 02, 2022
dev@conference.yunohost.org
September
Mon Tue Wed Thu Fri Sat Sun
      1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
             

[08:08:18] <ljf> i am changing some password in our infra
[09:26:26] <tituspijean> I'm wondering, should we deploy a Vaultwarden instance for it? It's so much nicer than a txt file :)
[11:46:40] <Yunohost Git/Infra notifications> [yunohost-admin] @kay0u pushed 1 commit to dark-mode: wip: add dark theme setting https://github.com/YunoHost/yunohost-admin/commit/831dcec8b5fd00fa36c0d7ecc169ce103e20d259
[11:46:40] <Yunohost Git/Infra notifications> [yunohost-admin] @kay0u created new branch dark-mode
[11:47:11] <Yunohost Git/Infra notifications> [yunohost-admin] @kay0u opened pull request #463: [WIP] Add dark theme setting https://github.com/YunoHost/yunohost-admin/pull/463
[12:14:59] <Aleks> :O
[12:14:59] <Aleks> omg
[14:19:15] <kayou> The web admin is cool, but the web admin destroy my eyes each time I try to use it during the night
[14:26:48] <Aleks> 👍️
[14:32:17] <Aleks> btw the other day I was bored in the train and tried a super quick draft of what the "intermediate page" for app install could look like (between the catalog and the actual install form) using the info that should be available in manifest v2


[14:32:22] <Aleks> aaaaand i can't find my .png anymore
[14:35:09] <Aleks> wat teh frak
[14:41:06] <Aleks> https://aria.im/_matrix/media/v1/download/matrix.org/acRiwibiNukVMacMbBKsLgdE
[14:41:09] <Aleks> myeah idk
[14:41:16] <Aleks> (mobile first and heavily inspired from Fdroid)
[17:37:06] <yalh76> > <@titus:pijean.ovh> I'm wondering, should we deploy a Vaultwarden instance for it? It's so much nicer than a txt file :)

there is already an ansible vault, I think
[17:37:29] <tituspijean> How does one access it? :o
[17:42:05] <Aleks> eh i don't think there is, there was some discussion between ansible-vault and keepass and ended up choosing keepass and then I got lost into overthinking encrypting the master password with SSH keys and whatever
[19:02:04] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 2 commits to manifestv2: https://github.com/YunoHost/yunohost/compare/0610a1808b12...7bd5857b3cf3
[19:02:08] <Yunohost Git/Infra notifications> [yunohost/manifestv2] manifestv2: moar attempts to fix mypy errors - Alexandre Aubin
[19:02:12] <Yunohost Git/Infra notifications> [yunohost/manifestv2] manifestv2: fix some FIXME, add some others @_@ - Alexandre Aubin
[19:03:39] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to manifestv2: Unused imports https://github.com/YunoHost/yunohost/commit/ebe41411adc0ea23c79c663f12b02223064b0030
[19:04:14] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to manifestv2: Unused imports https://github.com/YunoHost/yunohost/commit/28d0b6d891197076382fc87b2f9f0232ca230f9e
[19:07:24] <Yunohost Git/Infra notifications> [yunohost] Pipeline canceled on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/630112134 on commit https://github.com/YunoHost/yunohost/commit/7bd5857b3cf38ea507e0e1d7f8a989dad068d8f2 "manifestv2: fix some FIXME, add some others @_@" by @Alexandre Aubin on branches manifestv2
[19:16:35] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/630117377 on commit https://github.com/YunoHost/yunohost/commit/28d0b6d891197076382fc87b2f9f0232ca230f9e "Unused imports" by @Alexandre Aubin on branches manifestv2
[19:44:16] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to manifestv2: Stupid typo >_> https://github.com/YunoHost/yunohost/commit/74e745a291d651c2ea965a15931da7e875c3490c
[20:16:49] <Yunohost Git/Infra notifications> [yunohost] Pipeline failed on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/630171629 on commit https://github.com/YunoHost/yunohost/commit/74e745a291d651c2ea965a15931da7e875c3490c "Stupid typo >_>" by @Alexandre Aubin on branches manifestv2
[20:39:15] <yalh76> > <@Alekswag:matrix.org> eh i don't think there is, there was some discussion between ansible-vault and keepass and ended up choosing keepass and then I got lost into overthinking encrypting the master password with SSH keys and whatever

I think kayou worked on something => https://github.com/YunoHost/infra
[20:43:10] <Aleks> (because you can interface your browser with keepass etc)
[20:43:10] <Aleks> yeah but that was for ansible-ization of the infra and yeah choosing ansible-vault was motivated by the fact that this was consistent with ansible-izing the infra, but keepass is also more practical when it's about humans having to handle passwords
[20:43:55] <tituspijean> (with vaultwarden too, my 2cts, but it's way heavier than a keepass file that cannot be opened and saved by multiple persons at the same time)
[20:45:11] <yalh76> > <@titus:pijean.ovh> (with vaultwarden too, my 2cts, but it's way heavier than a keepass file that cannot be opened and saved by multiple persons at the same time)

yes but it's application broken proof ^^
[20:45:30] <tituspijean> it's a what?
[20:45:42] <tituspijean> ah yeah indeed
[20:46:10] <tituspijean> (took me a second to parse the sentence :) )
[20:52:17] <yalh76> > <@titus:pijean.ovh> (took me a second to parse the sentence :) )

lol, sorry my english is not very fluent ^^
[20:53:39] <yalh76> Aleks and kayou , building buster image on `devbaseimgs` samourai lxc, stucks on https://github.com/YunoHost/lxd\_img\_builder/blob/87022f9894b7d9e38dfae523aacf470749a3a838/image\_builder#L86 .
Not the case, when testing it on my own server ...
I'm not able to solve that

last logs:

```
Setting up unattended-upgrades (1.11.2) ...

Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version

Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/s
Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sy
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
```

When you have time ^^
[20:53:57] <tituspijean> > <@yalh:matrix.yalh.net> lol, sorry my english is not very fluent ^^

and I have a headache due to bash scripting :')
[20:54:31] <yalh76> > <@titus:pijean.ovh> and I have a headache due to bash scripting :')

try jq, your headache will get worst
[20:55:02] <tituspijean> try echo-ing jq to bash :p
[20:55:30] <Aleks> > <@yalh:matrix.yalh.net> Aleks and kayou , building buster image on `devbaseimgs` samourai lxc, stucks on https://github.com/YunoHost/lxd\_img\_builder/blob/87022f9894b7d9e38dfae523aacf470749a3a838/image\_builder#L86 .
> Not the case, when testing it on my own server ...
> I'm not able to solve that
>
> last logs:
>
> ```
> Setting up unattended-upgrades (1.11.2) ...
>
> Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
>
> Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
> Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/s
> Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sy
> Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
> ```
>
> When you have time ^^

those logs look fine 🤔
[20:57:33] <yalh76> > <@Alekswag:matrix.org> those logs look fine 🤔

but still on that step since 19 hours ...
[20:57:49] <Aleks> > <@titus:pijean.ovh> try echo-ing jq to bash :p

https://i.imgflip.com/6s26sp.jpg
[20:58:11] <yalh76> https://aria.im/_matrix/media/v1/download/matrix.yalh.net/fPiqVhGsGlhyOEfypmNfXzpI
[20:58:21] <Aleks> > <@yalh:matrix.yalh.net> but still on that step since 19 hours ...

eeeh if you have a bash access on the machine, can be worth checking `ps -ef --forest | grep apt -A10`
[20:59:35] <yalh76> inside the lxc:
``
root@stable-buster-amd64:~# ps -ef --forest | grep apt -A10
root 55579 47173 0 20:59 pts/4 00:00:00 \_ grep apt -A10
root 2670 0 0 Aug31 pts/1 00:00:00 /bin/bash -c curl https://install.yunohost.org/buster | bash -s -- -a -d stable
root 2672 2670 0 Aug31 pts/1 00:00:00 \_ bash -s -- -a -d stable
root 19265 2672 0 Aug31 pts/1 00:03:11 \_ apt-get -o Dpkg::Options::=--force-confold -o APT::install-recommends=true -y install yunohost yunohost-admin postfix
root 39136 19265 0 Aug31 pts/2 00:00:00 | \_ /usr/bin/dpkg --force-confold --status-fd 19 --configure --pending
root 42602 39136 0 Aug31 pts/2 00:00:00 | \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/unattended-upgrades.postinst configure
root 42605 42602 0 Aug31 pts/2 00:00:00 | \_ /bin/sh /var/lib/dpkg/info/unattended-upgrades.postinst configure
root 42962 42605 0 Aug31 pts/2 00:00:04 | \_ /bin/systemctl start unattended-upgrades.service
root 19266 2672 0 Aug31 pts/1 00:00:00 \_ tee -a /var/log/yunohost-installation_20220831_221201.log
root 1 0 0 Aug31 ? 00:01:51 /sbin/init
root 51 1 0 Aug31 ? 00:00:16 /lib/systemd/systemd-journald
root 77 1 0 Aug31 ? 00:00:00 /sbin/dhclient -4 -v -i -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
message+ 84 1 0 Aug31 ? 00:00:11 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 101 1 0 Aug31 pts/0 00:00:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 vt220
``
[21:00:09] <yalh76> https://aria.im/_matrix/media/v1/download/matrix.yalh.net/mUuYaeRBFOesHicuVNpuDQDW
[21:02:23] <kayou> i'm not @ home this we, I can't really investigate too much, but I remember have issues during the last rebuild because of LXD
[21:03:05] <kayou> can you enter the container and do a `systemctl status` to check which service have trouble to start
[21:03:07] <yalh76> just unstucked it doing service unattended-upgrades restart
[21:03:20] <yalh76> thanks to Aleks
[21:04:22] <yalh76> so I will have a working buster image for my own jenkins ci_package_check ^^
[21:04:45] <Aleks> bustwat
[21:05:25] <tituspijean> (that's a bit offensive... 🚌 twat)
[21:06:00] <yalh76> I can go to another subject ^^ buster to bullseye upgrade of the ci-apps\* ... ci-apps-bullseye already upgraded since 1 week
[21:27:53] <Yunohost Git/Infra notifications> [yunohost] @tituspijean created new branch fix-delete-checksum-config
[21:27:53] <Yunohost Git/Infra notifications> [yunohost] @tituspijean pushed 1 commit to fix-delete-checksum-config: Fix ynh_delete_file_checksum in helpers/config no need for --update_only https://github.com/YunoHost/yunohost/commit/68b4d3098650a3ce0fa3c57b2b2170a6ec49ba0e
[21:28:50] <Yunohost Git/Infra notifications> [yunohost] @tituspijean opened pull request #1501: Fix ynh_delete_file_checksum in helpers/config https://github.com/YunoHost/yunohost/pull/1501
[21:29:21] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 2 commits to dev: https://github.com/YunoHost/yunohost/compare/b77e81140227...a92ed9afc1a9
[21:29:25] <Yunohost Git/Infra notifications> [yunohost] @alexAubin merged pull request #1501: Fix ynh_delete_file_checksum in helpers/config https://github.com/YunoHost/yunohost/pull/1501
[21:29:28] <Yunohost Git/Infra notifications> [yunohost] @alexAubin deleted branch fix-delete-checksum-config
[21:29:28] <Yunohost Git/Infra notifications> [yunohost/dev] Fix ynh_delete_file_checksum in helpers/config no need for --update_only - tituspijean
[21:29:30] <Yunohost Git/Infra notifications> [yunohost/dev] Merge pull request #1501 from YunoHost/fix-delete-checksum-config Fix ynh_delete_file_checksum in helpers/config - Alexandre Aubin
[21:29:45] <tituspijean> How come? There are no unit tests for config panels? 😝
[21:30:07] <Aleks> actually there are 🤔
[21:30:27] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.0.9.12+202209022130 for bullseye/unstable/all ...
[21:30:44] *tituspijean hides in shame
[21:30:50] <Aleks> `if [[ "${!short_setting}" == "" ]]` dafuq 🤔
[21:31:24] <Aleks> `"set__${bind%%(*}" $short_setting $type $bind`
[21:31:25] <Aleks> wtf
[21:31:47] *tituspijean will stop looking at these to keep his sanity
[21:31:52] <Aleks> confusedgollum.gif
[21:32:19] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.0.9.12+202209022130 for bullseye/unstable/all.
[21:32:26] <Aleks> `elif [[ "$bind" == *"("* ]]`
[21:32:26] <tituspijean> New SCP cognitohazard: YunoHost's config panel internal code
[21:32:28] <Aleks> wwwwwut
[21:32:34] <Aleks> haha
[21:40:18] <Yunohost Git/Infra notifications> [yunohost] Pipeline canceled on GitLab https://gitlab.com/yunohost/yunohost/-/pipelines/630237633 on commit https://github.com/YunoHost/yunohost/commit/68b4d3098650a3ce0fa3c57b2b2170a6ec49ba0e "Fix ynh_delete_file_checksum in helpers/config no need for --update_only" by @GitHub on branches dev
[21:45:30] <yalh76> github doesn't seem completly functionnal
[21:45:49] <yalh76> back working
[21:56:05] <Maranda> It even popped unicorns!
[23:19:37] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 2 commits to manifestv2: https://github.com/YunoHost/yunohost/compare/74e745a291d6...f6970ba40347
[23:19:41] <Yunohost Git/Infra notifications> [yunohost/manifestv2] Typo again ugh - Alexandre Aubin
[23:19:43] <Yunohost Git/Infra notifications> [yunohost/manifestv2] manifestv2: Add doc about each resource type + script to create doc file - Alexandre Aubin