Skip to content

Instantly share code, notes, and snippets.

View yuwata's full-sized avatar

Yu Watanabe yuwata

View GitHub Profile
-- Logs begin at Tue 2018-05-22 15:16:57 JST, end at Thu 2018-06-14 16:40:56 JST. --
Jun 14 16:38:42 systemd[1]: Got message type=method_call sender=:1.64852 destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=GetDynamicUsers cookie=2 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Jun 14 16:38:42 systemd[1]: Sent message type=method_return sender=n/a destination=:1.64852 path=n/a interface=n/a member=n/a cookie=1693777 reply_cookie=2 signature=a(us) error-name=n/a error-message=n/a
Jun 14 16:38:42 sudo[22183]: yu.watanabe : TTY=pts/3 ; PWD=/home/yu.watanabe/local ; USER=root ; COMMAND=/usr/bin/systemd-nspawn -b -i image.raw
Jun 14 16:38:42 sudo[22183]: pam_systemd(sudo:session): Cannot create session: Already running in a session or user slice
Jun 14 16:38:42 sudo[22183]: pam_unix(sudo:session): session opened for user root by yu.watanabe(uid=0)
Jun 14 16:38:43 kernel: loop0: p1
Jun 14 16:38:43 systemd[1]: dev-loop0.device: Chan
@yuwata
yuwata / journal.log
Created November 28, 2017 04:59
journal with PR #7481
Nov 28 13:56:43 systemd[1]: Setting log level to debug.
Nov 28 13:56:43 systemd[1]: Got disconnect on private connection.
Nov 28 13:56:43 sudo[12575]: pam_unix(sudo:session): session closed for user root
Nov 28 13:56:45 systemd[1]: systemd-networkd.service: Got notification message from PID 560 (WATCHDOG=1)
Nov 28 13:56:45 systemd[1]: systemd-udevd.service: Got notification message from PID 355 (WATCHDOG=1)
Nov 28 13:56:45 systemd[1]: systemd-timesyncd.service: Got notification message from PID 498 (WATCHDOG=1)
Nov 28 13:56:52 sudo[12602]: watanabe : TTY=pts/0 ; PWD=/home/watanabe ; USER=root ; COMMAND=/bin/systemctl daemon-reload
Nov 28 13:56:52 sudo[12602]: pam_systemd(sudo:session): Cannot create session: Already running in a session
Nov 28 13:56:52 sudo[12602]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 28 13:56:52 systemd[1]: Accepted new private connection.
@yuwata
yuwata / test-bpf.log
Created November 28, 2017 04:55
test-bpf with PR #7481
$ sudo ./test-bpf
[sudo] password for watanabe:
Found cgroup2 on /sys/fs/cgroup/unified, unified hierarchy for systemd controller
Found cgroup2 on /sys/fs/cgroup/unified, unified hierarchy for systemd controller
Unified cgroup hierarchy is located at /sys/fs/cgroup/unified/user.slice/user-1000.slice/session-2.scope/2c1e4d367297bfca. Controllers are on legacy hierarchies.
Controller 'cpu' supported: yes
Controller 'cpuacct' supported: yes
Controller 'io' supported: no
Controller 'blkio' supported: yes
Controller 'memory' supported: yes
@yuwata
yuwata / build.log
Last active May 31, 2017 04:29
mock
This file has been truncated, but you can view the full file.
Mock Version: 1.4.1
ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'x86_64', '--nodeps', '/builddir/build/SPECS/systemd.spec'], env={'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'LANG': 'en_US.utf8'}chrootPath='/var/lib/mock/fedora-rawhide-x86_64-systemd-43250/root'logger=<mockbuild.trace_decorator.getLog object at 0x7fb34c7791d0>uid=1014user='mockbuild'shell=Falsetimeout=0gid=135printOutput=Falsenspawn_args=[])
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2d873cbfd9704a61b0181b41359e8b08', '-D', '/var/lib/mock/fedora-rawhide-x86_64-systemd-43250/root', '-a', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=HOME=/builddir', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=TERM=vt100', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=SHELL=/bin/bash', '--setenv=L
@yuwata
yuwata / journal.txt
Last active October 25, 2016 14:50
systemd-f70ebf1 with PR-4448
This file has been truncated, but you can view the full file.
-- Logs begin at Mon 2015-08-24 23:27:39 JST, end at Tue 2016-10-25 23:43:29 JST. --
Oct 26 08:39:35 kernel: microcode: microcode updated early to revision 0x4, date = 2013-06-28
Oct 26 08:39:35 kernel: Linux version 4.7.9-200.fc24.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC) ) #1 SMP Thu Oct 20 14:26:16 UTC 2016
Oct 26 08:39:35 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.9-200.fc24.x86_64 root=UUID=d7f9ddab-d4b6-4d29-9123-ac24ced40a43 ro selinux=0 audit=0 LANG=en_US.UTF-8 systemd.log_level=debug
Oct 26 08:39:35 kernel: x86/fpu: Legacy x87 FPU detected.
Oct 26 08:39:35 kernel: x86/fpu: Using 'eager' FPU context switches.
Oct 26 08:39:35 kernel: e820: BIOS-provided physical RAM map:
Oct 26 08:39:35 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable
Oct 26 08:39:35 kernel: BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved
Oct 26 08:39:35 kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
@yuwata
yuwata / systemd-resolved-gdb-yitp01.txt
Created April 26, 2016 08:30
systemd-resolved issue 2942
# gdb
GNU gdb (GDB) Fedora 7.11-70.fc25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@yuwata
yuwata / systemd-resolved-gdb-yitp00.txt
Created April 26, 2016 08:29
systemd-resolved issue 2942
# gdb
GNU gdb (GDB) Fedora 7.11-70.fc25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@yuwata
yuwata / systemd-resolved-debug-yitp00.txt
Created April 26, 2016 04:47
systemd-resolved debug outputs
# SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/systemd-resolved
Positive Trust Anchors:
. IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa corp home internal intranet lan local private test
Using system hostname 'yitp00'.
New scope on link *, protocol dns, family *
Found new link 3/eth1
Found new link 2/localnet
Found new link 1/lo
New scope on link localnet, protocol llmnr, family AF_INET6
@yuwata
yuwata / prdvipdfmx.def
Created February 4, 2016 09:35 — forked from zr-tex8r/prdvipdfmx.def
LaTeX: To use priview package ('tightpage' option) with dvipdfmx
%
% prdvipdfmx.def
%
%% Avoids duplicate loading.
\csname bxpw@prdvipdfmx@loaded\endcsname
\def\bxpw@prdvipdfmx@loaded{\endinput}
%% If the engine is XeTeX or pdfTeX/LuaTeX then quits.
\@tempswatrue
\ifx\XeTeXversion\@undefined\else \@tempswafalse \fi
\ifx\pdfoutput\@undefined\else
@yuwata
yuwata / cve_2016_0728.c
Created January 20, 2016 09:31 — forked from libcrack/cve_2016_0728.c
cve_2016_0728 exploit
/* $ gcc cve_2016_0728.c -o cve_2016_0728 -lkeyutils -Wall */
/* $ ./cve_2016_072 PP_KEY */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <keyutils.h>
#include <unistd.h>
#include <time.h>