Friday, 13 October 2017

[linux 4.13.0] Unsurmountable

Today I put on my sysadmin hat and did some

  apt-get update; apt-get upgrade

After that the list of things being held back was rather large so I started to probe by seeing what apt-get would do if I tried to install them one-by-one.

util-linux
udisks2
nvidia-kernel-support
mess
linux-image-amd64
linux-headers-amd64
licensecheck # this put my hackles up: felt very DRM
cups-filters
libspice-server1


I rebooted and once I got back to shell I found that the NFS was missing, (it should have mounted by itself, as usual.)

As Simon Tatham taught us you should freeze and do NOTHING. I did exactly that and logged into another server on the LAN that had not been updated.

mount -V told me 2.25.2 (libmount 2.25.0 ...)
(and it could mount the NAS both via -t nft and -t cifs

I went back to the broken system and ran

showmount -e NAS

which gave me the same Export list as on the working server.
So the NAS, (which hasn't been updated) seems to work, (even checked from windows 7 and 8 on the LAN and they both worked.)

I thought that I'd go back to my slackware roots and

git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
./autogen.sh  ||  apt-get install -y bison ;  ./autogen.sh
./configure && make

I posted my problem to serverfault.com to see if it was a known debian 8 jessie problem. While I waited I answered a few other questions and did other SO admin, (which lead me to install  shellcheck and start testing some of my bash lib.)

I jumped onto irc to see if anyone knew of this problem and only got, "have you tried with the latest version?" (Which turned out to be fair as it seems to be a kernel bug. I haven't hit one of those in production for over 10 years.)

I tried with the latest util-linux version, (that I'd compiled) and even tried 

git checkout v2.25.2 ; ./autogen.sh ./configure && make

to see if the working version would work. Both gave the same error... which made me think that it was a kernel problem.

While I let my, (and the Internet's) grey-cells think about it I fell back on

sshfs nfs-admin@NAS:/export/backups/$(hostname) ~/backup

until I get to the bottom of this.

In the mean time I had to add 

set mouse-=a

to  the end of ~/.vimrc  because Shift+Insert (and both other "paste from clipboard" were misbehaving in "some of your string will be pasted but other characters might be interpreted as commands and might quit vim" like vim when your keyboard swaps layout and feels like its taken some recreational drugs.)

[ I think that it was a problem with lxterminal or gnome-pty-helper or screen

so I ran tmux in tilda and the problem was interestingly absent. One problem at a time; please!]


booted back into 4.12.0-1-amd64 kernel and mount.cifs and mount.nfs are working again.

so I apologise to the util-linux team for doubting them and wonder how I report my problem... 

https://bugzilla.kernel.org/show_bug.cgi?id=196599 looks like the kernel tracker might know about it, but then the question is why did the debian kernel team let a faulty kernel into stable?

For reference mount.cifs works on:

scripts/ver_linux
 

Linux acer 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux

GNU Make                4.1
Binutils                2.29.1
Util-linux              2.29.2
Mount                   2.29.2
Linux C Library         2.24
Dynamic linker (ldd)    2.24
readlink: missing operand
Try 'readlink --help' for more information.
Procps                  3.3.12
Kbd                     2.0.4
Console-tools           2.0.4
Sh-utils                8.26
Udev                    234
Modules Loaded          ac acer_wmi aesni_intel aes_x86_64 ahci appletalk arc4 async_memcpy async_pq async_raid6_recov async_tx async_xor ath ath3k ath9k ath9k_common ath9k_hw autofs4 ax25 battery binfmt_misc bluetooth bnep btbcm btintel btrfs btrtl btusb button ccm cdrom cfg80211 cifs cmac coretemp crc16 crc32c_generic crc32c_intel crc32_pclmul crct10dif_pclmul cryptd crypto_simd ctr dns_resolver drm drm_kms_helper dw_dmac dw_dmac_core ecb ecdh_generic efi_pstore efivarfs efivars ehci_hcd ehci_pci evdev ext4 falco_probe fat fscache fscrypto fuse ghash_clmulni_intel glue_helper hid hid_generic hid_multitouch i2c_algo_bit i2c_designware_core i2c_designware_platform i2c_hid i2c_i801 i915 intel_cstate intel_powerclamp intel_rapl intel_rapl_perf intel_uncore ip_tables ipx irqbypass iTCO_vendor_support iTCO_wdt jbd2 joydev kvm kvm_intel libahci libata libcrc32c linear llc lp lpc_ich mac80211 mbcache md4 md_mod media mei mei_me memstick mfd_core mii mmc_core multipath nfnetlink nfnetlink_log nfnetlink_queue nls_ascii nls_cp437 nls_utf8 nvidia nvidia_drm nvidia_modeset p8022 p8023 parport parport_pc pcspkr ppdev psnap r8169 raid0 raid10 raid1 raid456 raid6_pq rfcomm rfkill rtsx_pci rtsx_pci_ms rtsx_pci_sdmmc scsi_mod sdhci sdhci_acpi sd_mod serio_raw sg shpchp snd snd_compress snd_hda_codec snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_core snd_hda_intel snd_hwdep snd_pcm snd_soc_core snd_soc_rl6231 snd_soc_rt5640 snd_soc_sst_acpi snd_soc_sst_match snd_timer soc_button_array soundcore sparse_keymap sr_mod sunrpc usb_common usbcore usbhid uvcvideo vfat video videobuf2_core videobuf2_memops videobuf2_v4l2 videobuf2_vmalloc videodev wmi x86_pkg_temp_thermal xhci_hcd xhci_pci xor x_tables

 
 

but fails with the unhelpful 

mount error(112): Host is down

on scripts/ver_linux
Linux acer 4.13.0-1-amd64 #1 SMP Debian 4.13.4-1 (2017-10-01) x86_64 GNU/Linux

GNU Make                4.1
Binutils                2.29.1
Util-linux              2.29.2
Mount                   2.29.2
Linux C Library         2.24
Dynamic linker (ldd)    2.24
readlink: missing operand
Try 'readlink --help' for more information.
Procps                  3.3.12
Kbd                     2.0.4
Console-tools           2.0.4
Sh-utils                8.26
Udev                    234
Modules Loaded          ac acer_wmi aesni_intel aes_x86_64 ahci ansi_cprng appletalk arc4 async_memcpy async_pq async_raid6_recov async_tx async_xor ath ath3k ath9k ath9k_common ath9k_hw autofs4 ax25 battery binfmt_misc bluetooth bnep btbcm btintel btrfs btrtl btusb button ccm cdrom cfg80211 cifs cmac coretemp crc16 crc32c_generic crc32c_intel crc32_pclmul crct10dif_pclmul cryptd crypto_simd ctr dns_resolver drbg drm drm_kms_helper dw_dmac dw_dmac_core ecb ecdh_generic efi_pstore efivarfs efivars ehci_hcd ehci_pci evdev ext4 falco_probe fat fscache fscrypto fuse ghash_clmulni_intel glue_helper hid hid_generic hid_multitouch i2c_algo_bit i2c_designware_core i2c_designware_platform i2c_hid i2c_i801 i915 intel_cstate intel_powerclamp intel_rapl intel_rapl_perf intel_uncore ip_tables ipx irqbypass iTCO_vendor_support iTCO_wdt jbd2 joydev kvm kvm_intel libahci libata libcrc32c linear llc lp lpc_ich mac80211 mbcache md_mod media mei mei_me memstick mfd_core mii mmc_core multipath nfnetlink nfnetlink_log nfnetlink_queue nls_ascii nls_cp437 nls_utf8 nvidia nvidia_drm nvidia_modeset p8022 p8023 parport parport_pc pcspkr ppdev psnap r8169 raid0 raid10 raid1 raid456 raid6_pq rfcomm rfkill rtsx_pci rtsx_pci_ms rtsx_pci_sdmmc scsi_mod sdhci sdhci_acpi sd_mod serio_raw sg shpchp snd snd_compress snd_hda_codec snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_core snd_hda_intel snd_hwdep snd_pcm snd_soc_core snd_soc_rl6231 snd_soc_rt5640 snd_soc_sst_acpi snd_soc_sst_match snd_timer soc_button_array soundcore sparse_keymap spi_pxa2xx_platform sr_mod sunrpc usb_common usbcore usbhid uvcvideo vfat video videobuf2_core videobuf2_memops videobuf2_v4l2 videobuf2_vmalloc videodev wmi wmi_bmof x86_pkg_temp_thermal xhci_hcd xhci_pci xor x_tables



TL;DR  debian linux kernel 4.12.0 to 4.13.0 removed md4 module and gained ansi_cprng drbg spi_pxa2xx_platform  wmi_bmof and lost the ability to mount cifs vers=1.0 and my nfs
 Progress! ;-s

Tuesday, 3 October 2017

Not married to the idea

Interesting case that spans ethics, philosophy and etymology. A friend asked me if there was a word in the English language for the emotion of sadness and crushing betrayal that included manipulation despite people warning you for years that the person in question is suspicious. (I think run-on sentences are acceptable when you are balling-your-eyes-out and half of your brain seems to be flowing out of your nose.)

I honestly don't think that there is such a specific word; the closest I can find is deflation. When I suggested that, they paused and then agreed. "That makes sense - the moment the realisation hit me I collapsed like a deflated balloon."

So what happened? It was an invitation to a party.

Date: Mon, 5 Dec 2016 10:33:51 +0000
Subject: My News!

Hello ████████████,
I hope all is well with you, █{partners name spelled incorrectly}█?

I got engaged █{redacted}█ We met █{redacted}█ 3 months ago.

█{redacted}█ would you do me the honour of being my best man please?! █{redacted}█ It would not be a big affair, registry office and then retreating to a beer tent for a buffet meal, etc. Mainly friends and apart from █{daughter}█, no other family. █{redacted}█

(The purple is original, the redacting and highlighting is mine.)

My friend's suspicion was up. They thought that they were friends, but not "will you be my best man" friends. Something felt wrong. Also why not invite their partner?

Their emails expressing doubt go back and forth including one reply from the groom:

Hello ████████████,
Actually I am serious! So, I would be happy to pay for your flight to and from █{redacted}█No problem re Best Man duties, I have asked █{redacted}█ to perform for me, such as it will be...

So what's up with the "no other family". My friend said, "I do not want any contact with them."
(Clearly something that causes them pain, and from the emails it seems to be understood by both parties.)

So they saved up for months and bought their own flight, (they felt it was the least that they could do, despite having no disposable income.) Which explains why their phone does not have roaming and they could not send or receive SMS or phone calls when they got to a country where they don't speak a word.

"I felt powerless and exposed. My credit card would not work. Its a strange vulnerability we have when we travel. So much trust in the travel system and that our destination will catch us. It is a leap into darkness, and when it fails its like losing a kidney."

 They had remembered the directions and "pick you up around 5 pm" so that is how they spent over 3 hours in front of a corner bodega, (between 4pm and 6:30pm). When it started to become dark they walked to the address that they had memorised and though it was hard for them to tell me through the pain and anger, "Houses have windows" more crying "you know?"


So they had become aware that they were not needed. Their friend had plenty of family there and their presence was not of vital importance. They had been manipulated. They felt betrayed and stupid.

"Its the kind of hurt that gets worse the more you think about it."
I showed them how to add email filters to delete any messages from their former friend, so that they would not be needled by seeing messages from them. Also a temporary filter to delete any message with "wedding" or related words. (I was going to write a quick Markov model to find the relevant words from their email exchange, but they thought they knew the words to us for filtering.) I also set the ring-tone on their phone to silent for that contact and tuned off vibration so that their abuser could not further force their attention upon them.

I expect that the newly married will justify their action with a sentence containing the four letters, JUST. Interestingly my analysis of this in french turns up the same four letters as the most common fulcrum of cognitive dissonance resolution.

About this blog

Sort of a test blog... until it isn't