/srv/irclogs.ubuntu.com/2018/04/20/#ubuntu-devel.txt

xnoxhallyn, a more canonical name was taken00:13
Unit193The confusion exists with github.com/ubuntu/ \o/00:32
xnoxUnit193, that's the other half of the company we don't speak to =)00:46
xnoxmuahahahahhaha00:46
* Unit193 makes note to give xnox a good sanity check. :>00:51
dpb1hallyn: :)00:55
slangasekUnit193: like an autopkgtest, when the sanity check always comes back negative, it doesn't do you much good01:03
=== Whoopie_ is now known as Whoopie
=== sergiusens_ is now known as sergiusens
LaibschCan somebody help me understand what's going on in bug 991471? It still affects bionic and I'd like to see what I can do to get it fixed. IOW, how does the automatic mounting happen?15:19
ubottubug 991471 in udisks2 (Ubuntu) "multi-device btrfs filesystem automatically mounted once for each device" [Medium,Confirmed] https://launchpad.net/bugs/99147115:19
FauxThe ticket says udisks2, presumably driven by gvfs or some other gnome automounting component. You've asked before, so presumably read the ticket. What else is there to know?15:21
LaibschWell, it's me who set the component to udisks2 ;-)15:22
LaibschI'm not entirely sure that's correct, but seems like the most likely candidate.15:22
FauxPresumably reproducing the problem isn't too hard if you have a system you don't mind installing udisks2 on, and a usb stick.15:23
LaibschWhat I'd like to know for example is why in the case of a 2-device btrfs the automounter mounts it twice.  What is the command-line I can check where this goes astray.15:23
LaibschFaux: I *am* affected by the problem15:24
Laibschno need for a test system.15:24
FauxI imagine the automounter is very much "for device in new_devices; do mount $device /media/automounted$i; i=$((i+1)); done".15:24
Laibschthen the question is what populates $new_devices15:24
LaibschI have to admit I simply don't know enough of what's going on under the hood.  That's why I'm here to ask.15:26
FauxThe fact that those devices just appeared on the system? I don't think this is the appropriate place to discuss it, nor do I know anything about udisks2.15:26
Laibscha 10-device btrfs is still just a single FS and should be mounted only once15:26
FauxI have a multi-device btrfs here and mount using /etc/fstab and it works fine. :)15:27
LaibschIn the past I've experienced it that one additional mount was added every hour or so.  You appear awfully non-chalant about this.  I can tell you it's highly annoying.15:28
LaibschYes, multi-FS btrfs in /etc/fstab are excluded from the problem15:28
LaibschBut then again, they do not show up in nautilus, etc. as automounts anyhow.15:28
FauxI don't mean to be rude, but this is almost certainly the wrong place, and I'm the wrong person.15:29
LaibschOK15:29
LaibschWhat is a better place?15:29
LaibschI've already asked ubuntu+1.  And posed this question several times over the last few years.15:29
Laibschsomebody must know HOW automounting happens15:30
Laibschthat's all I'm trying to understand15:30
xnoxLaibsch, it's just a property of btrfs, that all btrfs drives are added together to the total pool, no?15:32
xnoxLaibsch, as in you cannot connected two sets of drives, with distict / disjoint btrfs pools and operate them separately.15:33
Laibschnot sure I get your question right, but other FS are also affected15:33
Fauxxnox: No, you can have many btrfs filesystems made from many different partitions in a machine; it's not systemwide like that.15:33
xnoxLaibsch, i don't see how any other FS is also affected. the bug is very btrfs specific, as far as I can tell.15:34
xnoxor, the fact that generic functionality, doesn't work as expected with a special-case of advanced btrfs features.15:35
LaibschI have to concede that in the bug tracker there is no mention of other FS, it's just something I seem to recall, but I've seen this for years now so I might be wrong15:37
xnoxwe used to have bugs with lvm snapshots being shown in nautilus over and over and over again, which was a bit ugly. that was fixed. but again, was specific to lvm features in that case.15:41
Laibschwhat's a good place to discuss this?15:42
bdmurrayxnox: Have you seen bug 1765724?18:21
ubottubug 1765724 in cryptsetup (Ubuntu) "Xenial -> Bionic - System fails to boot after upgrade - <email address hidden> fails to start" [Critical,New] https://launchpad.net/bugs/176572418:21
xnoxbdmurray, lovely18:22
xnoxbdmurray, will debug18:22
bdmurrayxnox: thanks!18:22
ahasenackhi, has anybody seen debhelper (or one of its tools) do this to a manpage:18:56
ahasenack./usr/share/man/man3/pmem_deep_drain.3.gz.gz -> pmem_flush.3.gz18:56
ahasenackpmem_deep_drain.3 contains just a .so reference, so dh_installman correctly creates a symlink18:56
ahasenackbut the package in the end is getting this double .gz :/18:56
sarnold.gz.gz ?18:56
ahasenackyeah18:56
ahasenackI used dh_installman -v18:56
ahasenackand it showed this:18:56
ahasenack        rm -f debian/libpmem-dev/usr/share/man/man3/pmem_deep_drain.3.gz18:56
ahasenack        ln -s pmem_flush.3 debian/libpmem-dev/usr/share/man/man3/pmem_deep_drain.3.gz18:56
ahasenackso up to that point it all seems correct18:56
ahasenackI also added -v to dh_install, and it all looks fine18:57
ahasenackbut after the build, debian/*/usr/share/man/man3 has the double gz18:57
ahasenackI'm now adding find -type l to some build stages in d/rules via overrides to try to catch it18:58
cjwatsonwhat does the .so line say?19:04
cjwatsonahasenack: ^-19:04
ahasenackchecking19:05
ahasenackcjwatson:19:05
ahasenack$ cat doc/generated/pmem_deep_drain.319:05
ahasenack.so pmem_flush.319:05
cjwatsonhuh, I was at least half-expecting to see an extra .gz extension on the .so line there, but that seems correct.  in that case I have no immediate explanation, sounds like a debhelper bug then19:06
ahasenackok, thanks anyway19:06
* ahasenack intercepts dh_compress19:17
cjwatsonahasenack: just export DH_VERBOSE=1 for the whole build, no point messing around with individual commands19:22
ahasenackI also injected a find -type l before and after19:32
ahasenackok, getting close19:35
ahasenackso, I was following the "life" of pmemlog_create.3*20:11
ahasenackthe .gz.gz happens in dh_compress20:11
ahasenackhttps://pastebin.ubuntu.com/p/TmyKycSkGK/ (search for pmemlog_create to follow)20:11
ahasenacker, pmemlog_close20:12
ahasenacknot create20:12
ahasenackhttp://people.ubuntu.com/~ahasenack/build-log is the whole build log (2.6Mb)20:16
jbichaahasenack: I can't see the source but I suspect the upstream build system is compressing the manpages and Debian doesn't expect that20:21
ahasenackjbicha: yep, upstream's Makefile is definitely compressing them20:47
jbichayou can use override_dh_compress but I suggest also filing a bug against debhelper to tell it not to compress a file if it's already compressed!21:05
ahasenackthis is surprisingly annoying21:12
ahasenackdh_compress is not just about manpages21:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!