{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/6/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/6", "feed_url": "https://matoken.org/blog/tag/6/feed/json", "language": "ja", "title": "6 – matoken's meme", "items": [ { "id": "https://matoken.org/blog/?p=4467", "url": "https://matoken.org/blog/2025/03/18/encfs-stopped-working-on-debian-sid/", "title": "Debian sid\u3067EncFS\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f", "content_html": "
\n
Debian sid amd64\u74b0\u5883\u3067\u6697\u53f7\u5316\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306eEncFS\u304c Segmentation fault
\u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u308a\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e
\nOne-Time Password\u306eTOTP(Time-based One-time Password)\u306e\u5171\u6709\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u66f8\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u3092EncFS\u306e\u9818\u57df\u306b\u7f6e\u3044\u3066oathtool\u3092\u4f7f\u3063\u305fscript\u3067OTP\u3092\u51fa\u529b\u3057\u3066\u3044\u308b\u306e\u3067\u56f0\u308a\u307e\u3059\uff0e
$ encfs ${HOME}/Nextcloud_matoken@files.matoken.org/Documents/encfs ${HOME}/fuse/encfs\nSegmentation fault\n
\n
\u3068\u308a\u3042\u3048\u305a\u5225\u306e\u7aef\u672b\u3067\u306f\u52d5\u3044\u305f\u306e\u3067\u305d\u3061\u3089\u3067\u3057\u306e\u304e\u3064\u3064\u539f\u56e0\u3092\u8abf\u3079\u307e\u3059\uff0e
\n\u306f\u3058\u3081encfs\u30b3\u30de\u30f3\u30c9\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c3/10\u306a\u306e\u3067\u6700\u8fd1\u306e\u66f4\u65b0\u3067\u58ca\u308c\u305f\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3088\u304f\u898b\u308b\u3068\u53bb\u5e74\u306e3/10\u306a\u306e\u3067\u95a2\u4fc2\u306a\u3055\u305d\u3046\u3067\u3059\uff0e
\n$ ls -l `which encfs`\n-rwxr-xr-x 1 root root 57184 Mar 10 2024 /usr/bin/encfs\n
CORE\u3092\u5c65\u304f\u3088\u3046\u306b\u3057\u3066\uff0cgdb\u3067\u78ba\u8a8d\u3059\u308b\u3068 /lib/x86_64-linux-gnu/libtinyxml2.so.10
\u304c\u602a\u3057\u305d\u3046\u3067\u3059\uff0e
$ ulimit -c unlimited\n$ encfs ${HOME}/Nextcloud_matoken@files.matoken.org/Documents/encfs ${HOME}/fuse/encfs\nSegmentation fault (\u30b3\u30a2\u30c0\u30f3\u30d7)\n$ gdb encfs core.2007082\nGNU gdb (Debian 16.2-7) 16.2\nCopyright (C) 2024 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\nType \"show copying\" and \"show warranty\" for details.\nThis GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\n<https://www.gnu.org/software/gdb/bugs/>.\nFind the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>.\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\"...\nReading symbols from encfs...\n(No debugging symbols found in encfs)\n[New LWP 2007082]\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\nCore was generated by `/usr/bin/encfs /home/matoken/Nextcloud_matoken@files.matoken.org/Documents/encfs /home/matoken/fuse/encfs'.\nProgram terminated with signal SIGSEGV, Segmentation fault.\n#0 0x00007f9f83f536ce in tinyxml2::XMLDocument::Identify(char*, tinyxml2::XMLNode**, bool) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10\n(gdb) backtrace\n#0 0x00007f9f83f536ce in tinyxml2::XMLDocument::Identify(char*, tinyxml2::XMLNode**, bool) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10\n#1 0x00007f9f83f54646 in tinyxml2::XMLNode::ParseDeep(char*, tinyxml2::StrPair*, int*) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10\n#2 0x00007f9f83f522e7 in tinyxml2::XMLDocument::Parse(char const*, unsigned long) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10\n#3 0x00007f9f84060a1f in encfs::XmlReader::load(char const*) () from /usr/lib/encfs/libencfs.so.1.9\n#4 0x00007f9f8404ded6 in encfs::readV6Config(char const*, encfs::EncFSConfig*, encfs::ConfigInfo*) () from /usr/lib/encfs/libencfs.so.1.9\n#5 0x00007f9f8404c0d7 in encfs::readConfig_load(encfs::ConfigInfo*, char const*, encfs::EncFSConfig*) () from /usr/lib/encfs/libencfs.so.1.9\n#6 0x00007f9f8404c508 in encfs::readConfig(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, encfs::EncFSConfig*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/encfs/libencfs.so.1.9\n#7 0x00007f9f8405a459 in encfs::initFS(encfs::EncFS_Context*, std::shared_ptr<encfs::EncFS_Opts> const&) () from /usr/lib/encfs/libencfs.so.1.9\n#8 0x000055a7bd21ca92 in main ()\n
\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3068 libtinyxml2-10
\u306e\u3088\u3046\u3067\u3059\uff0e
$ apt-file search -x /lib/x86_64-linux-gnu/libtinyxml2.so.10$\nlibtinyxml2-10: /usr/lib/x86_64-linux-gnu/libtinyxml2.so.10\n
http://packages.debian.org/libtinyxml2-10 \u304b\u3089\u8fbf\u3063\u3066\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u624b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3053\u306e\u3068\u304d\u306f 503 \u304c\u5e30\u3063\u3066\u304d\u3066\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e
\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8fbf\u308a https://ftp.debian.org/debian/pool/main/t/tinyxml2/ \u3092\u898b\u3066 libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb
\u3092\u5165\u624b\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067EncFS\u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
$ w3m -dump https://ftp.debian.org/debian/pool/main/t/tinyxml2/ | grep -E libtinyxml2 | grep amd64 | grep -v dev\n[ ] libtinyxml2-6a_7.0.0+dfsg-1_amd64.deb 2018-11-14 18:47 29K\n[ ] libtinyxml2-8_8.0.0+dfsg-2_amd64.deb 2020-05-14 06:28 30K\n[ ] libtinyxml2-9_9.0.0+dfsg-3.1_amd64.deb 2022-05-17 07:13 31K\n[ ] libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb 2024-10-29 09:17 30K\n[ ] libtinyxml2-10_10.1.0+dfsg-1_amd64.deb 2025-03-14 06:57 30K\n$ wget https://ftp.debian.org/debian/pool/main/t/tinyxml2/libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb\n$ sudo apt install ./libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb\n
EncFS\u30b3\u30de\u30f3\u30c9\u3082\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)
\n$ encfs ${HOME}/Nextcloud_matoken@files.matoken.org/Documents/encfs ${HOME}/fuse/encfs\nEncFS Password:\n$ ls ${HOME}/fuse/encfs/\nsecret-file\n$ fusermount -u ${HOME}/fuse/encfs\n$ 2auth-cli.sh word\nEncFs Password:\nmatoken.org/blog(wordpress) : 209062\n
BTS\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3063\u305f\u3089\u5831\u544a\u6e08\u3067\u3057\u305f\uff0e\u3053\u3063\u3061\u3092\u5148\u306b\u898b\u305f\u307b\u3046\u304c\u89e3\u6c7a\u307e\u3067\u65e9\u304b\u3063\u305f\u3067\u3059\u306d\uff0e
\n