log_2024-03-25_14:33:25.html

html makers

TL;DR

too log didn't read

The state of chopchop on 2024-03-25 14:33:25.943536?

tldr@chopchop:~ $whoami

Raspberry Pi 4 Model B Rev 1.4

192.168.1.87

XPUB 1 users use chopchop as a shared community server. chopchop is usually located in the Piet Zward Wijnhaven building, although for this occassion it is resting on the shelf bellow this e-reader.

tldr@chopchop:~ $uptime -s

Uptime is the amount of time a server has been up, available, running, working, executing. This is time that is not spent idle, but time spent busy serving.

2024-03-25 09:20:37

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

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

Users are assigned to groups, which allow them rights to read or edit files, run commands or apply infrastructural changes. For chopchop, we all have 'sudo rights': the ability to perform any command, including the more sensitive ones. Sudo is a command that's short for 'superuser do', with it, a user has more privileges, like installing or updating a package or performing a restart. No new user created and trust network remain the dame size.

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

2024-03-19 10:38:35 install fonts-font-awesome:all 5.0.10+really4.7.0~dfsg-4.1

2024-03-19 10:38:35 install python3-dateutil:all 2.8.2-2

2024-03-19 10:38:36 install ghp-import:all 2.1.0-3

2024-03-19 10:38:36 install libjs-popper.js:all 1.16.1+ds-6

2024-03-19 10:38:36 install libjs-bootstrap4:all 4.6.1+dfsg1-4

2024-03-19 10:38:36 install libjs-highlight.js:all 9.18.5+dfsg1-2

2024-03-19 10:38:37 install libjs-lunr:all 2.3.9~dfsg-2

2024-03-19 10:38:37 install libjs-modernizr:all 2.6.2+ds1-5

2024-03-19 10:38:37 install libjs-sizzle:all 2.3.6+ds+~2.3.3-2

2024-03-19 10:38:37 install python3-tornado:armhf 6.2.0-3

2024-03-19 10:38:38 install python3-livereload:all 2.6.3-2

2024-03-19 10:38:38 install python3-colorama:all 0.4.6-2

2024-03-19 10:38:38 install python3-click:all 8.1.3-2

2024-03-19 10:38:38 install python3-joblib:all 1.2.0-4

2024-03-19 10:38:39 install python3-regex:armhf 0.1.20221031-1

2024-03-19 10:38:39 install python3-tqdm:all 4.64.1-1

2024-03-19 10:38:39 install python3-nltk:all 3.8-1

2024-03-19 10:38:40 install python3-lunr:all 0.6.2-2

2024-03-19 10:38:40 install sphinx-rtd-theme-common:all 1.2.0+dfsg-1

2024-03-19 10:38:40 install python3-markdown:all 3.4.1-2

2024-03-19 10:38:40 install python3-mergedeep:all 1.3.4-3

2024-03-19 10:38:40 install python3-yaml:armhf 6.0-3+b1

2024-03-19 10:38:41 install python3-pyyaml-env-tag:all 0.1-3

2024-03-19 10:38:41 install python3-watchdog:all 2.2.1-1

2024-03-19 10:38:41 install mkdocs:all 1.4.2+dfsg-2

2024-03-19 10:38:41 install node-jquery:all 3.6.1+dfsg+~3.5.14-1

2024-03-19 10:38:42 install python3-argcomplete:all 2.0.0-1

2024-03-19 10:38:42 install python3-userpath:all 1.8.0-1

2024-03-19 10:38:42 install pipx:all 1.1.0-1

2024-03-19 10:38:42 install python3-pyinotify:all 0.9.6-2

2024-03-19 10:38:43 install python3-simplejson:armhf 3.18.3-1

2024-03-19 10:42:57 install libjs-term.js:all 0.0.7-4

2024-03-19 10:42:57 install python3-ptyprocess:all 0.7.0-5

2024-03-19 10:42:57 install python3-terminado:all 0.17.0-1

2024-03-19 10:42:57 install python3-xstatic:all 1.0.0-7

2024-03-19 10:42:58 install python3-xstatic-term.js:all 0.0.7.0-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-login
    --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'

Users can login to the server using the SSH (secure shell) protocol. This allows a user to explore files, make changes, run commands and speak to the server from their own machine. This is useful when working remotely, and also to allow multiple users logging into the server simultaneously. Current XPUB1 students have a chopchop user, as well as the tutors. Additionally, there are some users not associated with a person, like our shared user 'chipchip' and users for running specific processes or creating projects. users have logged into our shared server (named chopchop).

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

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

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,chef

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:

chef:x:1023:

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

Mar 25 14:33:25 chopchop systemd[1]: Started kitchen-fridge.service - Kitchen Fridge Service.

Mar 25 14:33:25 chopchop systemd[1]: Stopped kitchen-fridge.service - Kitchen Fridge Service.

Mar 25 14:33:25 chopchop systemd[1]: kitchen-fridge.service: Scheduled restart job, restart counter is at 4192.

Mar 25 14:33:24 chopchop systemd[1]: kitchen-fridge.service: Failed with result 'exit-code'.

Mar 25 14:33:24 chopchop systemd[1]: kitchen-fridge.service: Main process exited, code=exited, status=1/FAILURE

Mar 25 14:33:24 chopchop python3[20464]: EOFError: EOF when reading a line

Mar 25 14:33:24 chopchop python3[20464]: ^^^^^^^

Mar 25 14:33:24 chopchop python3[20464]: answer = input()

Mar 25 14:33:24 chopchop python3[20464]: File "/home/chef/kitchen/fridge/Fridge.py", line 36, in main

Mar 25 14:33:24 chopchop python3[20464]: main()