<waveform> ahasenack, just had a bit of a google around and ran across the fcntl module tests in python (https://github.com/python/cpython/blob/main/Lib/test/test_fcntl.py) -- of particular interest is get_lockdata from line 53
<waveform> following that down we can see that on linux it'll use the struct 'hh'+start_len+'hh'; start_len is ll on platforms without os.O_LARGEFILE, but qq on platforms with (which would suggest the struct in use is too short on armhf?)
<waveform> (assuming armhf has os.O_LARGEFILE -- I'll try and check that in a bit)
<waveform> yes, armhf has os.O_LARGEFILE so it'll be using a struct that's too short
Looks like all our arches have os.O_LARGEFILE defined, so the size should be qq everywhere.
I'll prepare a branch with that change, but it also looks like we could just drop this script. When it was added, it was claimed that freedombox caused the issue[1], but that is gone[2] now.
waveform on irc #ubuntu-devel figured it out:
<waveform> ahasenack, just had a bit of a google around and ran across the fcntl module tests in python (https:/ /github. com/python/ cpython/ blob/main/ Lib/test/ test_fcntl. py) -- of particular interest is get_lockdata from line 53 len+'hh' ; start_len is ll on platforms without os.O_LARGEFILE, but qq on platforms with (which would suggest the struct in use is too short on armhf?)
<waveform> following that down we can see that on linux it'll use the struct 'hh'+start_
<waveform> (assuming armhf has os.O_LARGEFILE -- I'll try and check that in a bit)
<waveform> yes, armhf has os.O_LARGEFILE so it'll be using a struct that's too short
Looks like all our arches have os.O_LARGEFILE defined, so the size should be qq everywhere.
I'll prepare a branch with that change, but it also looks like we could just drop this script. When it was added, it was claimed that freedombox caused the issue[1], but that is gone[2] now.
1. https:/ /git.launchpad. net/ubuntu/ +source/ update- motd/commit/ ?id=c060dd00247 3f5700d8db3916b d8da122ec94fc3 /git.launchpad. net/ubuntu/ +source/ update- motd/commit/ ?id=1fb924d7cb5 73df5202a16d93e bcae1e20d62e2a
2. https:/