/srv/irclogs.ubuntu.com/2022/05/16/#ubuntu-server.txt

=== ssh0732 is now known as ssh073
=== scoobydoo_ is now known as scoobydoo
ahasenackmorning12:04
athosahasenack: morning :)12:04
ahasenackhi athos12:08
lotuspsychjeflaf: did you get answered yet on your issue?14:15
flafHi lotuspsychje. Not yet unfortunately. According to this comment https://bugs.launchpad.net/subiquity/+bug/1946609/comments/2 , I think the feature exists but I have not found.14:18
ubottuLaunchpad bug 1946609 in subiquity "Error when I purge snapd package in late-commands" [Undecided, New]14:18
lotuspsychjeyou filed the bug flaf ?14:21
flaflotuspsychje: in fact it's a old bug I had filed and during the discussion I have said "to avoid my problem, it was cool if an option could allow a minimal install". And someone tells me "the option exists now since Ubuntu 21.10".14:26
flaflotuspsychje: I would to deploy Ubuntu 22.04 now and I would like to use this feature (a minimal install) by I have found no info concerning this feature in the documentation of Subiquity.14:27
lotuspsychjei see flaf maybe the volunteers here might guide you to the best road14:28
ahasenackflaf: can you try 22.04 in a vm and see if the option is there, and if it does what you need?14:31
flaflotuspsychje: yes. I had some private messages with dbungert, which is a dev of Subiquity. He helped me very well and, in return, I have filed some bugs. ;) But he doesn't seem to be present on this chan anymore.14:31
flafahasenack: This feature ("minmal" install) is present via a non interactive install (tested, I put the CD and answer to the questions...). But, in my case, I try a full automatic install via a user-data file (Subiquity/cloud-init/curtin etc). By this way, I have not found the option in user-data file to select a minimal install.14:34
flafahasenack: I hope I'm clear...14:35
flafoups... this feature is present via an *interactive* install... But not found via user-data file (ie full automatic install).14:36
ahasenackok14:37
jrwrene2fsck says a fs is in use. it doesn't show as mounted. I can mount it and unmount it. I cannot lvchange -a n it. reboot will probably fix it, but I'm trying to skip that.  What to do?16:08
ahasenackwhat about /proc/mounts?17:01
ygk_12345HI all17:16
ygk_12345i am trying to set systemd service overrides by issuing the command systemctl edit <service-name>17:16
ygk_12345but the the value for LimitNOFILESoft is not changing even after systemstl daemon-reload.17:17
ygk_12345its ubuntu 20.04. how to modify limits only for a specific process ?17:17
ygk_12345i dont want global change17:17
ygk_12345I mean for systemd specific service only17:18
daumi'm on 20.04 on a server and recently started getting packet loss.  Looking at the output of ifconfig i see the dropped count slowly increasing.  Any ideas what i could look at to try to resolve this?  17:20
sdezielygk_12345: could you share the `systemctl cat <service-name>` output via pastebin?17:21
ygk_12345sdeziel i dont have it handy right now.  But the LimitNOFILESOft is set to 1024. i want to change it to 2048 for that service only17:22
sdezielygk_12345: then having the following in the override snippet should work: https://termbin.com/ejo517:25
ygk_12345@sd17:26
ygk_12345sdeziel bu it is not working even after a reload and a restart17:26
ygk_12345sdeziel still systemctl show service  is reporting old values only17:27
sdezielygk_12345: LimitNOFILESoft is not a valid name (there is no Soft suffix) so maybe that's the problem? Without seeing the cat output, it's hard to be sure17:31
ygk_12345sdeziel its exactly this "{LimitNOFILESoft"17:31
ygk_12345"LimitNOFILESoft"17:32
sdezielygk_12345: my bad, "LimitNOFILESoft" is valid, but it doesn't show in `man systemd.exec` which is weird. I think it's still worth trying with "LimitNOFILE"17:38
ygk_12345sdeziel "LimitNOFILE" is hard limit17:39
ygk_12345sdeziel i want to increase only the soft limit17:39
sdezielygk_12345: `man systemd.exec` says: > Set soft and hard limits on various resources for executed processes.17:40
ygk_12345sdeziel maybe I can try this "colon-separated pair soft:hard"17:42
sdezielygk_12345: I just tested and using `LimitNOFILE=2048:524288`, gives me LimitNOFILE=524288 and LimitNOFILESoft=204817:43
ygk_12345sdeziel ok i will try it. thanks so much for your time and help. Have a nice day ahead :)17:43
sdezielygk_12345: you are welcome, you too17:44
sdezielapt-get crashes one of my server no matter what I do with it https://termbin.com/gt0o. It started crashing after a power outage but a fresh `btrfs strub` says it's all clean, any ideas?17:56
sdezieland dmesg had this: traps: apt-get[1783701] general protection fault ip:7e3cf64bef7b sp:7ffd15913248 error:0 in libc-2.31.so[7e3cf649e000+178000]17:56
ahasenackjammy or kinetic?17:57
sdezielahasenack: sorry, 20.0417:57
sdeziellibc6 was upgraded on May 11th: Upgrade: libc6:amd64 (2.31-0ubuntu9.7, 2.31-0ubuntu9.9)17:58
ahasenackhaven't seen that before17:59
sdezielyeah, me neither and it only affects one of 3 machines I keep almost identical17:59
sdezielI will try to downgrade using dpkg on old .deb18:01
sdezieldowngrading libc6:amd64 from 2.31-0ubuntu9.9 to 2.31-0ubuntu9.7 => didn't help :/18:04
sdezieloh well, a reboot made it work and I can go back to 9.9 and it still works, sorry for the noiswe18:10
* ahasenack is scared of the samba merge this cycle19:06
sergiodjhow's it looking?19:07
ahasenackI'm just watching the traffic, and there were many many changes19:09
ahasenackI was waiting for it to calm down a bit, before tackling the merge19:10
sergiodjany news from the Debian side, or will we stay ahead of them?19:10
ahasenackat least the new maintainer is very active, and has no qualms with asking upstream when he sees something that feels wrong19:10
ahasenackdebian moved on, they are on 4.16.x already (the new maintainer did it)19:10
sergiodjah, great19:10
ahasenackhe is making many changes to the build system19:11
ahasenackthe package build, that is19:11
sergiodjright19:11
ahasenackwhich is where the delta hurts19:11
ahasenackwe still have i386 delta19:11
ahasenackI wonder when we will get rid of i386 for goot19:11
ahasenackgood*19:11
sergiodjinteresting.  I will try to check what happened during these last few months19:11
sergiodjah, i386...  never ending story19:11
patdk-lapholdoff till I can kill frontpage? :)19:12
sergiodjFWIW openldap 2.6 also changed libldap's soname, which will require a new binary package19:13
ahasenackI actually had to think for one or two seconds for that one19:13
ahasenackfrontpage19:13
ahasenacksergiodj: that's fine19:13
patdk-lap:)19:13
sergiodjyeah19:13
ahasenackfirst thing I remembered were frontpage exploits, access.log full of some fp? links19:13
sergiodjI'm double check everything because I don't want to mess up this rename19:13
patdk-lapya, it is suppose to have root on the server, in each clients web space :(19:14
sergiodjs/check/checking/19:14
patdk-lapmine is hacked to run as a normal cgi under normal user permissions19:14
patdk-lapshould see how many customers are logging into it still19:14
ahasenacksergiodj: I think openldap is failing to do sasl digest-md5 authentication (yes, quite obscure)20:35
ahasenackI was just trying with postfix (another server I know uses cyrus-sasl2), and it works there, so I'm about to rule out a cyrus-sasl2 bug20:35
ahasenackbut will test openldap with previous cyrus-sasl2 now20:35
sergiodjahasenack: OK, thanks for the heads up20:36
ahasenackgetting postfix to work with sasl auth was "interesting", since it defaults to a chroot20:36
ahasenackand I think I found a bug in the way it prepares that chroot20:36
ahasenackit copies files into it without preserving the permission20:37
ahasenackso my secrets file was copied over and made 0644 (!)20:37
sergiodjahasenack: kinetic, right?20:38
ahasenackyes20:38
sergiodjlet me see if I can find a bug in the upstream bugzilla20:38
sergiodjalthough, as you said, it's very obscure20:38
ahasenackand openldap is deeming digest-md5 obsolete/insecure, so I'm unsure if they will even want to check it20:39
ahasenackbut hey, got a dep8 failure about it20:39
ahasenacktests/test_ldapconnection.py::test_bind_digest Fatal Python error: Segmentation fault20:39
sergiodjfound two bugs with "digetst-md5" in their comment sections, but they don't seem related to the error you're mentioning20:43
sarnoldif that's on a github-hosted repo, https://github.com/check-spelling/check-spelling  might be a nice suggestion :)20:47
ahasenackyour highlight rules are a mistery to me :)20:49
sarnoldalas, it's much less sophisticated than that, it's just if the most recent few lines in a channel look interesting..20:51
sarnoldand 'md5' surely stands out as 'interesting' :)20:51
ahasenackno typo there either :)20:54
sarnoldalas they got that part right! :D20:57
ahasenackhm, found other bugs21:00
ahasenackthe openldap cli utilities no longer take -h for hostname21:00
ahasenackthat explains this I"m seeing in tests: "ldapwhoami: unrecognized option -�"21:01
ahasenackalas, it's not failing the tests21:01
ahasenackscript is not run with set -e21:01
sergiodjI don't remember seeing this in the release notes21:02
sergiodjhuh21:02
ahasenackok, got digest-md5 working with previous cyrus21:04
ahasenackand with the new one, the client core dumps21:06
ahasenackgrumbl21:06
ahasenackhttps://pastebin.ubuntu.com/p/qxygkxddjJ/21:09
ahasenackbefore I EOD, let me check if I can at least see if the crash is inside openldap or cyrus21:10
ahasenackoh, plot twist21:11
ahasenackit's in libssl321:11
sergiodjhahah21:11
sergiodjoh, man21:12
ahasenackI mean, libcrypto.so.321:12
ahasenackI meant to say openssl321:12
sergiodjright21:12
ahasenack#0  0x00007ffff740854b in EVP_EncryptUpdate () from /lib/x86_64-linux-gnu/libcrypto.so.321:12
ahasenack#1  0x00007ffff70a07a9 in ?? () from /usr/lib/x86_64-linux-gnu/sasl2/libdigestmd5.so21:12
ahasenackwill install debug symbols tomorrow21:12
sergiodjwhere's debuginfod again?!21:12
ahasenackslacking21:12
ahasenacktsc, tsc21:13
ahasenackI keep reading it as debug info fod21:13
ahasenackor debugin fod21:13
sergiodjyeah, some people say "debug infod"21:13
sergiodjheh21:13
sergiodjbad naming21:13
ahasenackcorrect is debuginfo d, right?21:13
ahasenackas in debuginfo daemon?21:13
sergiodjyes21:13
ahasenackk21:13
ahasenackpostfix digest-md5 worked, but it didn't setup a security layer (ssf was zero)21:16
ahasenackldap sets a security layer, ssf=128 21:16
ahasenackand something goes wrong21:16
ahasenackpostfix digest-md5, showing it worked, but ssf=0: https://pastebin.ubuntu.com/p/R5xNQnYKJ2/21:16
ahasenackand if I try to force it, it doesn't auth21:17
ahasenack"too weak": https://pastebin.ubuntu.com/p/f9HG3MH2Nm/21:17
sergiodjsorry, I'm pulling my hair out a little bit with Breaks/Conflicts/Replaces and the new openldap library name21:20
ahasenackah, no, I'm just thinking out loud21:21
sergiodjyeah, please keep going21:21
sergiodjit's fun watching a live debug session21:21
sergiodj:)21:21
ahasenackif I disable the security factor (i.e., ssf=0), then digest-md5 works with ldap just like it did for postfix (where it was zero)21:22
ahasenackubuntu@k1-sasl-digest-ldap:~$ ldapwhoami  -U ubuntu@lxd -w ubuntusecret -O maxssf=021:22
ahasenackSASL/DIGEST-MD5 authentication started21:22
ahasenackSASL username: ubuntu@lxd21:22
ahasenackSASL SSF: 021:22
ahasenackdn:uid=ubuntu@lxd,cn=vms,cn=digest-md5,cn=auth21:22
ahasenackubuntu@k1-sasl-digest-ldap:~$ 21:22
ahasenackno core dump21:22
ahasenackok, probably have enough for tomorrow21:23
octav1aI have a raid1 mdadm with two disks. I don't see any I/O errors in dmesg. For some reason, when rebooting the machine safely with sudo reboot, when it comes back up I still get a "recovery" process every time in /proc/mdstat22:08
octav1aDoes anyone know why this happens?22:08
octav1athey are SSD so I feel this is putting undue wear on them22:09
patdk-lapmust not be rebooting correctly? never seen a recovery thing in mdstat due to a reboot23:17
patdk-laphow did you configure md?23:18
sdezielI remember some (old) bug where something was not properly umounted causing this behavior23:19

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