TL;DR

too log didn't read

What happened today?

Some temp debug info: This log was generated on 2024-03-18 22:38:41.543544, the next will be available after 2024-03-19 01:38:41.543544. I now have 68 logs generated!

tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u kitchen-bin.service -u kitchen-fridge.service -r -n

  • Mar 18 21:11:15 chopchop systemd[1]: Failed to start kitchen-fridge.service - Kitchen Fridge Service.
  • Mar 18 21:11:15 chopchop systemd[1]: kitchen-fridge.service: Failed with result 'exit-code'.
  • Mar 18 21:11:15 chopchop systemd[1]: kitchen-fridge.service: Start request repeated too quickly.
  • Mar 18 21:11:15 chopchop systemd[1]: Stopped kitchen-fridge.service - Kitchen Fridge Service.
  • Mar 18 21:11:15 chopchop systemd[1]: kitchen-fridge.service: Scheduled restart job, restart counter is at 6.
  • Mar 18 21:11:15 chopchop systemd[1]: kitchen-fridge.service: Failed with result 'exit-code'.
  • Mar 18 21:11:15 chopchop systemd[1]: kitchen-fridge.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
  • Mar 18 21:11:15 chopchop python3[26203]: /usr/bin/python3: can't open file '/home/xpub/kitchen/Fridge/fridge.py': [Errno 2] No such file or directory
  • Mar 18 21:11:14 chopchop systemd[1]: Failed to start kitchen-stove.service - Kitchen Stove Service.
  • Mar 18 21:11:14 chopchop systemd[1]: kitchen-stove.service: Failed with result 'exit-code'.

tldr@chopchop:~ $uptime -s

2024-03-18 07:51:34

This is common, the fragility of these machines are more prominant than any cloud user expects. Partially because of scale, partially because a lot of labour that happen in datacenters just escapes us all when we want to just upload an image.

tldr@chopchop:~ $sudo journalctl _COMM=useradd -r -n 1 --output-fields=MESSAGE

Feb 29 15:08:48 chopchop useradd[8744]: new user: name=colord, UID=118, GID=130, home=/var/lib/colord, shell=/usr/sbin/nologin, from=/dev/pts/4

Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).

tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r

A level 1 annotation for users_created_today

tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log

  • 2024-03-10 15:16:14 install libtk8.6:armhf 8.6.13-2
  • 2024-03-10 15:16:15 install tk8.6-blt2.5:armhf 2.5.3+dfsg-4.1
  • 2024-03-10 15:16:15 install blt:armhf 2.5.3+dfsg-4.1
  • 2024-03-10 15:16:15 install python3-tk:armhf 3.11.2-3
  • 2024-03-12 14:29:01 install python3-markupsafe:armhf 2.1.2-1
  • 2024-03-12 14:29:02 install python3-jinja2:all 3.1.2-1
  • 2024-03-15 09:51:48 install libhttp-parser2.9:armhf 2.9.4-5
  • 2024-03-15 09:51:48 install libmbedx509-1:armhf 2.28.3-1
  • 2024-03-15 09:51:48 install libmbedtls14:armhf 2.28.3-1
  • 2024-03-15 09:51:48 install libgit2-1.5:armhf 1.5.1+ds-1+deb12u1
  • 2024-03-15 09:51:49 install bat:armhf 0.22.1-4

tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log

  • 2024-03-15 09:55:52 startup packages remove
  • 2024-03-15 09:55:52 remove bat:armhf 0.22.1-4

tldr@chopchop:~ $sudo journalctl _COMM=systemd-logind -r --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'

tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE

tldr@chopchop:~ $sudo journalctl _COMM=groupremove -r --output-fields=MESSAGE

tldr@chopchop:~ $sudo journalctl _COMM=usermod -r

tldr@chopchop:~ $sudo journalctl _COMM=userdel -r


tldr@chopchop:~ $sudo service --status-all

  • [ - ] alsa-utils
  • [ - ] apparmor
  • [ + ] atop
  • [ + ] atopacct
  • [ + ] bluetooth
  • [ - ] console-setup.sh
  • [ + ] cron
  • [ + ] cups
  • [ + ] cups-browsed
  • [ + ] dbus
  • [ + ] dphys-swapfile
  • [ + ] exim4
  • [ + ] fake-hwclock
  • [ - ] fcgiwrap
  • [ - ] hwclock.sh
  • [ + ] incron
  • [ - ] keyboard-setup.sh
  • [ + ] kmod
  • [ + ] networking
  • [ - ] nfs-common
  • [ + ] nginx
  • [ - ] paxctld
  • [ - ] php7.4-fpm
  • [ + ] php8.2-fpm
  • [ + ] procps
  • [ - ] pulseaudio-enable-autospawn
  • [ + ] raspi-config
  • [ + ] rng-tools-debian
  • [ - ] rpcbind
  • [ - ] rsync
  • [ - ] saned
  • [ + ] ssh
  • [ - ] sudo
  • [ + ] triggerhappy
  • [ + ] udev
  • [ - ] uuidd
  • [ - ] x11-common

tldr@chopchop:~ $getent group

  • root:x:0:
  • daemon:x:1:
  • bin:x:2:
  • sys:x:3:
  • adm:x:4:xpub
  • tty:x:5:
  • disk:x:6:
  • lp:x:7:aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,xpub,zerozeta,zz1,www-data
  • mail:x:8:
  • news:x:9:
  • uucp:x:10:
  • man:x:12:
  • proxy:x:13:
  • kmem:x:15:
  • dialout:x:20:xpub,mb,river,joak,aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,zerozeta,zz1,murtaugh,mb
  • fax:x:21:
  • voice:x:22:
  • cdrom:x:24:xpub
  • floppy:x:25:
  • tape:x:26:
  • sudo:x:27:joak,aleevadh,bernabereit,lorenzo,mania,mszw,mxrwho,river,senak,thijsoid,v,vitrinekast,wang,xpub,zerozeta,zz1,murtaugh,mb,strt,cristina,chipchip,killer
  • audio:x:29:xpub,river,pulse,vitrinekast,liquidsoap
  • dip:x:30:
  • www-data:x:33:vitrinekast
  • backup:x:34:
  • operator:x:37:
  • list:x:38:
  • irc:x:39:
  • src:x:40:
  • gnats:x:41:
  • shadow:x:42:
  • utmp:x:43:
  • video:x:44:xpub
  • sasl:x:45:
  • plugdev:x:46:xpub
  • staff:x:50:
  • games:x:60:xpub
  • users:x:100:xpub,murtaugh,aleevadh,h4ck3r,mania,mszw,mxrwho,senak,v,wang,zerozeta,bernabereit,lorenzo,mb,river,thijsoid,vitrinekast,zz1,joak,cristina,strt,chipchip,killer
  • nogroup:x:65534:
  • systemd-journal:x:101:
  • systemd-network:x:102:
  • systemd-resolve:x:103:
  • input:x:104:xpub
  • kvm:x:105:
  • render:x:106:xpub
  • crontab:x:107:
  • netdev:x:108:xpub
  • systemd-timesync:x:109:
  • messagebus:x:110:
  • bluetooth:x:112:
  • avahi:x:113:
  • spi:x:999:xpub
  • i2c:x:998:xpub
  • gpio:x:997:xpub
  • systemd-coredump:x:996:
  • xpub:x:1000:
  • vitrinekast:x:1001:
  • senak:x:1002:
  • lorenzo:x:1003:
  • mxrwho:x:1004:
  • bernabereit:x:1005:
  • river:x:1006:
  • v:x:1007:
  • mania:x:1008:
  • aleevadh:x:1009:
  • h4ck3r:x:1010:
  • thijsoid:x:1011:
  • mszw:x:1012:
  • zerozeta:x:1013:
  • wang:x:1014:
  • zz1:x:1015:
  • Debian-exim:x:114:
  • rtkit:x:115:
  • murtaugh:x:1017:
  • mb:x:1016:
  • pulse:x:116:
  • pulse-access:x:117:
  • mlocate:x:118:
  • uuidd:x:119:
  • joak:x:1018:
  • sgx:x:120:
  • plocate:x:121:
  • polkitd:x:995:
  • _ssh:x:111:
  • pipewire:x:122:
  • cristina:x:1019:
  • strt:x:1020:
  • incron:x:123:
  • chipchip:x:1021:
  • killer:x:1022:
  • tcpdump:x:124:
  • liquidsoap:x:125:
  • lpadmin:x:126:river,xpub
  • ssl-cert:x:127:
  • scanner:x:128:saned
  • saned:x:129:
  • colord:x:130: