{"id":4467,"date":"2025-03-18T18:42:09","date_gmt":"2025-03-18T09:42:09","guid":{"rendered":"https:\/\/matoken.org\/blog\/?p=4467"},"modified":"2025-03-18T18:49:48","modified_gmt":"2025-03-18T09:49:48","slug":"encfs-stopped-working-on-debian-sid","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2025\/03\/18\/encfs-stopped-working-on-debian-sid\/","title":{"rendered":"Debian sid\u3067EncFS\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f"},"content":{"rendered":"<p><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"48\" height=\"48\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"m20 17.15l-2-2V10h-5.15l-2-2H15V6q0-1.25-.862-2.125T12.025 3t-2.1.863T9.075 6v.225L7.25 4.4q.55-1.525 1.875-2.463t2.9-.937Q14.1 1 15.55 2.463T17 6v2h1q.825 0 1.413.588T20 10zm.5 6.15l-1.55-1.55q-.275.125-.5.188T18 22H6q-.825 0-1.412-.587T4 20V10q0-.625.363-1.15T5.3 8.1L.7 3.5l1.4-1.4l19.8 19.8zM17.15 20l-3.675-3.725q-.275.275-.637.425t-.788.15q-.825 0-1.412-.587t-.588-1.413q0-.425.15-.787t.425-.638L7.15 10H6v10zm-1.725-7.425\"\/><\/svg> <!-- material-symbols:no-encryption-outline --><\/p>\n<div class=\"paragraph\">\n<p>Debian sid amd64\u74b0\u5883\u3067\u6697\u53f7\u5316\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306eEncFS\u304c <code>Segmentation fault<\/code> \u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u308a\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e<br \/>\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<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ encfs ${HOME}\/Nextcloud_matoken@files.matoken.org\/Documents\/encfs ${HOME}\/fuse\/encfs\nSegmentation fault<\/pre>\n<\/div>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/vgough.github.io\/encfs\/\">EncFS<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"paragraph\">\n<p>\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<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>\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<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ ls -l `which encfs`\n-rwxr-xr-x 1 root root 57184 Mar 10  2024 \/usr\/bin\/encfs<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>CORE\u3092\u5c65\u304f\u3088\u3046\u306b\u3057\u3066\uff0cgdb\u3067\u78ba\u8a8d\u3059\u308b\u3068 <code>\/lib\/x86_64-linux-gnu\/libtinyxml2.so.10<\/code> \u304c\u602a\u3057\u305d\u3046\u3067\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ 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 &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;\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&lt;https:\/\/www.gnu.org\/software\/gdb\/bugs\/&gt;.\nFind the GDB manual and other documentation resources online at:\n    &lt;http:\/\/www.gnu.org\/software\/gdb\/documentation\/&gt;.\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&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, encfs::EncFSConfig*, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;) () from \/usr\/lib\/encfs\/libencfs.so.1.9\n#7  0x00007f9f8405a459 in encfs::initFS(encfs::EncFS_Context*, std::shared_ptr&lt;encfs::EncFS_Opts&gt; const&amp;) () from \/usr\/lib\/encfs\/libencfs.so.1.9\n#8  0x000055a7bd21ca92 in main ()<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3068 <code>libtinyxml2-10<\/code> \u306e\u3088\u3046\u3067\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ apt-file search -x \/lib\/x86_64-linux-gnu\/libtinyxml2.so.10$\nlibtinyxml2-10: \/usr\/lib\/x86_64-linux-gnu\/libtinyxml2.so.10<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p><a href=\"http:\/\/packages.debian.org\/libtinyxml2-10\" class=\"bare\">http:\/\/packages.debian.org\/libtinyxml2-10<\/a> \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<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8fbf\u308a <a href=\"https:\/\/ftp.debian.org\/debian\/pool\/main\/t\/tinyxml2\/\" class=\"bare\">https:\/\/ftp.debian.org\/debian\/pool\/main\/t\/tinyxml2\/<\/a> \u3092\u898b\u3066 <code>libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb<\/code> \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<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ 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<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>EncFS\u30b3\u30de\u30f3\u30c9\u3082\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ 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<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>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<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=1100661\">#1100661 &#8211; libtinyxml2-10: apparent ABI break &#8211; Debian Bug report logs<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=1100588\">#1100588 &#8211; encfs: After the upgrade to libtinyxml2-10_10.1.0, encfs no longer works &#8211; Debian Bug report logs<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 One-Time Password\u306eTOTP(Time-based  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":null,"activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[7,6,199],"tags":[776,1154,1195,1194,1187,1188,1189,1190,1191,1192,1193,87,216],"class_list":["post-4467","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-1154","tag-1195","tag-1194","tag-1187","tag-1188","tag-1189","tag-1190","tag-1191","tag-1192","tag-1193","tag-encfs","tag-encryption-file-system"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=4467"}],"version-history":[{"count":2,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4467\/revisions"}],"predecessor-version":[{"id":4478,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4467\/revisions\/4478"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=4467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=4467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=4467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}