内容へ移動
wiki.matoken.org
ユーザ用ツール
ユーザー登録
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ユーザー登録
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
memo:2019:08:2019-08-21
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
## Wayland 現在何で動いているか確認 ``` $ echo $XDG_SESSION_TYPE x11 $ ps aux| grep Xorg root 3663 3.2 0.5 422664 85916 tty7 Ssl+ Aug21 2:42 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch ``` weston導入 ``` $ sudo apt install weston ``` weston実行 ``` $ weston ``` Xアプリを実行できるように ``` $ cat ~/.config/weston.ini [core] xwayland=true ``` ``` $ oneko -sakura & oneko -tomoyo & ``` {{ :memo:2019:08:20190822_00_08_09-22409.jpg?400 |}} * [GitHub \- Timidger/awesome\-wayland: Awesome backend for Wayland](https://github.com/timidger/awesome-wayland) > This project is discontinued, it's too much work to do this out of tree from Way Cooler. ## Debian stretch -> Buster upgrade 何かあってもいいようにバックアップを取得しておく.(dump, tar, rsync……) その間にbusterの文章を読む.アーキテクチャごとに分かれているので該当のものを. * [Debian \-\- Debian “buster” Release Information](https://www.debian.org/releases/buster/) * [Debian 10 \-\- Release Notes](https://www.debian.org/releases/buster/releasenotes) * [Debian buster \-\- Installation Guide](https://www.debian.org/releases/buster/installmanual) 仕事などで失敗できない,停止時間を短くしたい場合は仮想マシンなどに旧環境を構築,テストして新しい環境の設定を固めてから行う. aptの状態を確認して古いパッケージを削除するなどする ``` $ aptitude search '~i(!~ODebian)' $ apt-forktracer | sort ``` source.listで非公式なソースがないか確認 ``` $ lv /etc/apt/sources.list $ ls -lA /etc/apt/sources.list.d/ total 0 ``` APT の pin 機能を使っていないか確認 ``` $ grep -i pin /etc/apt/preferences $ grep -i pin /etc/apt/preferences.d/* ``` パッケージの状態をチェックする ``` $ dpkg --audit ``` hold状態にあるパッケージの検索 ``` $ sudo aptitude search "~ahold" ``` source-list ファイルの準備 ``` $ sudo apt edit-sources ``` で `stretch` を `buster` に書き換える GNU screenを起動する ログを取得開始する ``` $ script -t 2>~/upgrade-busterstep.time -a ~/upgrade-busterstep.script ``` ``` sudo -s ``` 必要な容量が存在するか確認 ``` # apt -o APT::Get::Trivial-Only=true full-upgrade ``` 最低アップグレード ``` # apt-get upgrade ``` ``` Configuration file '/etc/fail2ban/jail.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** jail.conf (Y/I/N/O/D/Z) [default=N] ? ``` D で確認しつつ 設定を選択. 後で `diff -u jail.conf jail.conf.dpkg-old` とかしつつ修正. xl2tpd が転けてた.この機能は自分以外使ってないのでとりあえず後で確認. ``` Setting up xl2tpd (1.3.12-1.1) ... Job for xl2tpd.service failed because the control process exited with error code. See "systemctl status xl2tpd.service" and "journalctl -xe" for details. invoke-rc.d: initscript xl2tpd, action "restart" failed. ● xl2tpd.service - LSB: layer 2 tunelling protocol daemon Loaded: loaded (/etc/init.d/xl2tpd; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2019-08-21 21:02:21 JST; 8ms ago Docs: man:systemd-sysv-generator(8) Process: 25743 ExecStop=/etc/init.d/xl2tpd stop (code=exited, status=0/SUCCESS) Process: 25748 ExecStart=/etc/init.d/xl2tpd start (code=exited, status=1/FAILURE) Tasks: 3 (limit: 4915) CGroup: /system.slice/xl2tpd.service └─924 /usr/sbin/xl2tpd Aug 21 21:02:21 www6073uo systemd[1]: Stopped LSB: layer 2 tunelling protocol daemon. Aug 21 21:02:21 www6073uo systemd[1]: Starting LSB: layer 2 tunelling protocol daemon... Aug 21 21:02:21 www6073uo xl2tpd[25748]: Starting xl2tpd: Aug 21 21:02:21 www6073uo systemd[1]: xl2tpd.service: Control process exited, code=exited status=1 Aug 21 21:02:21 www6073uo systemd[1]: Failed to start LSB: layer 2 tunelling protocol daemon. Aug 21 21:02:21 www6073uo systemd[1]: xl2tpd.service: Unit entered failed state. Aug 21 21:02:21 www6073uo systemd[1]: xl2tpd.service: Failed with result 'exit-code'. Aug 21 21:02:21 www6073uo xl2tpd[924]: death_handler: Fatal signal 15 received dpkg: error processing package xl2tpd (--configure): subprocess installed post-installation script returned error exit status 1 ``` フルアップグレード ``` # apt full-upgrade ``` ``` Configuration file '/etc/logrotate.d/dpkg' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** dpkg (Y/I/N/O/D/Z) [default=N] ? D ``` Oにした ``` Configuration file '/etc/monit/monitrc' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** monitrc (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/logrotate.d/rsyslog' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** rsyslog (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/rsyslog.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** rsyslog.conf (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/logrotate.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** logrotate.conf (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/default/mumble-server' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** mumble-server (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/logrotate.d/mumble-server' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** mumble-server (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/mumble-server.ini' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** mumble-server.ini (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/default/radicale' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** radicale (Y/I/N/O/D/Z) [default=N] ? ``` ``` Configuration file '/etc/default/radicale' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** radicale (Y/I/N/O/D/Z) [default=N] ? D ``` ``` Configuration file '/etc/radicale/config' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** config (Y/I/N/O/D/Z) [default=N] ? D ``` ``` Configuration file '/etc/radicale/config' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** config (Y/I/N/O/D/Z) [default=N] ? ``` ``` ┌──────────────────────────────────────────────────────────────┤ Configuring openssh-server ├──────────────────────────────────────────────────────────────┐ │ A new version (/tmp/file32zgwE) of configuration file /etc/ssh/sshd_config is available, but the version installed currently has been locally modified. │ │ │ │ What do you want to do about modified configuration file sshd_config? │ │ │ │ install the package maintainer's version │ │ keep the local version currently installed │ │ show the differences between the versions │ │ show a side-by-side difference between the versions │ │ show a 3-way difference between available versions │ │ do a 3-way merge between available versions │ │ start a new shell to examine the situation │ │ │ │ │ │ <Ok> │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` ``` Configuration file '/etc/logrotate.d/apache2' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** apache2 (Y/I/N/O/D/Z) [default=N] ? ``` ``` W: APT had planned for dpkg to do more than it reported back (4970 vs 4979). Affected packages: uim:amd64 xl2tpd:amd64 ``` ### postfixでメール送受信がうまく行かない ``` atal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains ``` * [\#892218 \- postfix: Upgrading to 3\.3\.0 missed important settings for smtpd\_relay\_restrictions or smtpd\_recipient\_restrictions \- Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892218) ## Tiny Tiny RSS * [Tiny Tiny RSS](https://tt-rss.org/) Debian buster amd64 環境に導入なメモ install dbを先に導入しておく ``` $ sudo apt install mariadb-server ``` ``` $ sudo apt install tt-rss ``` 初期installなので<YES>を選択 ``` ┌──────────────────────────────────────────────────────────────────────┤ Configuring tt-rss ├───────────────────────────────────────────────────────────────────────┐ │ │ │ The tt-rss package must have a database installed and configured before it can be used. This can be optionally handled with dbconfig-common. │ │ │ │ If you are an advanced database administrator and know that you want to perform this configuration manually, or if your database has already been installed and │ │ configured, you should refuse this option. Details on what needs to be done should most likely be provided in /usr/share/doc/tt-rss. │ │ │ │ Otherwise, you should probably choose this option. │ │ │ │ Configure database for tt-rss with dbconfig-common? │ │ │ │ <Yes> <No> │ │ │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` データベースパスワードを入力.若しくはNULLで自動生成. ``` ┌─────────────────────────────────────────────────────┤ Configuring tt-rss ├──────────────────────────────────────────────────────┐ │ Please provide a password for tt-rss to register with the database server. If left blank, a random password will be generated. │ │ │ │ MySQL application password for tt-rss: │ │ │ │ _______________________________________________________________________________________________________________________________ │ │ │ │ <Ok> <Cancel> │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` 好みのWebServerを選択 ``` ┌───────────────────────────────────┤ Configuring tt-rss ├────────────────────────────────────┐ │ Please choose the web server that should be automatically configured to run Tiny Tiny RSS. │ │ │ │ Web server to reconfigure automatically: │ │ │ │ [ ] apache2 │ │ [ ] lighttpd │ │ │ │ │ │ <Ok> <Cancel> │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────┘ ``` tt-rssにアクセスするためのURLを入力 ``` ┌────────────────────────────────────────────────────────────────────────┤ Configuring tt-rss ├─────────────────────────────────────────────────────────────────────────┐ │ Please enter the URL that should be used to access tt-rss with a web browser. │ │ │ │ This should include the location of the tt-rss directory - for instance http://example.org/tt-rss/. If this is not set correctly, several features, including PUSH, │ │ bookmarklets, and browser integration, will not work properly. │ │ │ │ Full URL of the tt-rss installation: │ │ │ │ http://example.org/tt-rss/___________________________________________________________________________________________________________________________________________ │ │ │ │ <Ok> <Cancel> │ │ │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` ``` ┌────────────────────────────────────────────────────────┤ Configuring tt-rss ├─────────────────────────────────────────────────────────┐ │ Please provide the password for the administrative account "root" with which this package should create its MySQL database and user. │ │ │ │ Password of the database's administrative user: │ │ │ │ _____________________________________________________________________________________________________________________________________ │ │ │ │ <Ok> │ │ │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` ### adminパスワード変更 ※`admin:password` なのですぐに変更する  上で設定したURLにアクセスして, `admin:password` でloginする. > You are using default tt-rss password. Please change it in the Preferences (Personal data / Authentication). で「Open Preferences」の「ユーザー」タブでパスワードを変更する. 通常利用向けのアクセスレベル「ユーザー」のアカウントを作成する. 設定終了 -> ログアウト アクセスレベル「ユーザー」の一般ユーザでログイン. 「設定」の「フィード」タブでOPMLインポート,エクスポートが可能 feedlyでのOPML exportは https://feedly.com/i/account/privacy の「Download your personal data」 からアーカイブを作成(少し時間がかかるたまに refleshを押したりメールを待つ)してダウンロードしたアーカイブの中にある `subscriptions.opml` APIでOPML入手も可能なようだが要認証. ## Pockrt * [](https://github.com/Volmarg/personal-management-system) * [辺境の地図を簡単作成 国連、ソフト無償公開へ 日本の技術で難民支援 :日本経済新聞](https://www.nikkei.com/article/DGKKZO48701260Z10C19A8MM0000/) * [OITAサイクルフェスに行ってきました。2日目 : 宮崎県サイクリング協会](http://miyazakicycling.miyachan.cc/e555820.html) * [宮崎県初 あの有名な自転車イベントに二人のサイクリストが挑戦!! : 宮崎県サイクリング協会](http://miyazakicycling.miyachan.cc/e555821.html) * [](https://t.umblr.com/redirect?z=http%3A%2F%2Fwww.gizmodo.jp%2F2014%2F05%2Fpost_14526.html&t=NmE5YzliZjk5MDBkZGMwY2YwMThjMTQ2NDgyY2E0OGYyMzgxOTUwYyxkZGQxZGVlZTg4ZGFiOTI4YmE2ZDcxNTk4OTBlZmMzMzc4OWI4Mjgx) * [Password Checkup 拡張機能](https://chrome.google.com/webstore/detail/password-checkup-extensio/pncabnpcffmalkkjpajodfhijclecjno) * [みてください](https://www.gizmodo.jp/2014/05/post_14526.html) * [みてください](https://mobile.twitter.com/aikaeito/status/1162304454512664576) * [システム構築の上流工程強化(非機能要求グレード):IPA 独立行政法人 情報処理推進機構](https://www.ipa.go.jp/sec/softwareengineering/std/ent03-b.html) * [ドコモ、ファーウェイ「P30 Pro」の予約受付を再開--禁輸措置の猶予延長で](https://japan.cnet.com/article/35141481/) * [](https://akiba-pc.watch.impress.co.jp/docs/news/news/1201686.html) * [](http://www.joyfull.co.jp/news/archives/592) * [マルウェアがオートコンプリートで記憶されたデータをブラウザーから盗む手口](https://blog.kaspersky.co.jp/browser-data-theft/23883/) * [Instagram、データ不正使用の発見者に報奨金を提供へ](https://japan.cnet.com/article/35141461/) * [ライフイベントごとの手続きや提出書類を市町村別に確認できる「Yahoo!くらし」](https://japan.cnet.com/article/35141447/) * [](https://github.com/seemoo-lab/opendrop) * [](https://gigazine.net/news/20190820-edwards-dam-removal/) * [](https://hackaday.com/2019/08/19/old-chainsaw-repurposed-for-kitchen-use/) * [](https://www.instructables.com/id/Commodore-64-Revamp-With-Raspberry-Pi-Arduino-and-/) * [](https://distrowatch.com/dwres-mobile.php?resource=showheadline&story=8785) * [](https://spacefighternow.hatenablog.com/entry/2019/08/19/224229) * [](https://blog.adafruit.com/2019/08/19/adafruit-stickers-1000-thanks/) * [みてください](https://www.afpbb.com/articles/-/3042151?act=all) * [Windows 10 のディスク イメージ (ISO ファイル) のダウンロード](https://www.microsoft.com/ja-jp/software-download/windows10ISO) * [趣味で作ったソフトウェアが海外企業に買われるまでの話 - knqyf263's blog](http://knqyf263.hatenablog.com/entry/2019/08/20/120713) * [LINE「OpenChat」で「出会い募集」相次ぐ 運営元「強制退会、利用停止など行う」](https://www.itmedia.co.jp/news/articles/1908/20/news078.html) * [The SYZBOT CTF](http://i-love.sakura.ne.jp/The_SYZBOT_CTF.html) * [JOC杯マウンテンバイクU18優勝 南大隅高1年瀬戸口さん | 鹿児島のニュース | 南日本新聞 | 373news.com](https://373news.com/_news/?storyid=109183) * [Twitterにいるオタクの皆さん、もっと軽率にブログとか始めてもいいのよ…… - ジゴワットレポート](https://www.jigowatt121.com/entry/2019/08/15/180314) * [第 150 回関西 Debian 勉強会 - connpass](https://debianjp.connpass.com/event/144135/) * [事業会社とOSS - Qiita](https://qiita.com/shibukawa/items/95a5ef6caf02a8db03df)
memo/2019/08/2019-08-21.txt
· 最終更新: 2019/08/22 01:22 by
matoken
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ