[04:16] Hello! Would this be a good place to ask about Ubuntu Advantage for FIPS mode enablement on Ubuntu Server? [06:08] good morning [06:17] lvoytek: swtpm is being MIRed already, so I thought the quote on the FFe was not a perfect match [06:18] lvoytek: I have updated the description with this and a bit more - see https://bugs.launchpad.net/ubuntu/+source/swtpm/+bug/1950631/+activity [06:18] Launchpad bug 1950631 in swtpm (Ubuntu) "[FFe] wrap swtpm in an apparmor profile" [High, New] [06:18] lvoytek: thanks for the ping, I hope this helps to get it accepted in the first try [07:35] If I reduce vm.swappiness, when should (if it should) ubuntu server reduce it's swap? Now it still full even though I have around 30% of free RAM. [07:39] or maybe I could run swapoff -a , if its safe [07:56] it should swap into RAM when that memory is actually used, I suppose, so why care? [07:57] are you having an actual problem with it? [07:57] well in my case i have 30 GB of free ram and swap at 12 out of 12 [07:57] seems ineffecient and I am running temporary intensive process which I would like to speed up as much as possible [07:58] afaik swapoff should be safe to run [07:58] if it doesn't get swapped into RAM, it means it isn't being used? [07:58] you could do that, but it would probably swap unused stuff into RAM? [07:59] meaning you'd have less free RAM for whatever you're doing? [07:59] good point, not sure to be honest, maybe I am reading / thinking about swap wrong [08:01] generally, when RAM is getting full, RAM that is not used (often) gets moved to swap [08:04] it might even be memory that will be never used again (e.g. because it "leaked" because of programming bugs) [08:04] yeah but my RAM is not getting full [08:04] so I don't see much of benefit of using swap with 30 GB of free memory [08:04] I mean at worst I can turn it back on [08:07] you can always test what works best: with or without swap... [08:24] good morning [08:38] mirespace: o/ [08:40] :) [10:14] is there an init script style area that can't be avoided/aborted by the user/someone else? [11:44] morning [11:58] fating a very strange issue with an ubuntu-server-20.04... attempting to configure apache2 with php7.4.. [11:59] all default ubuntu packages.. for some reason php is not getting executed.. doing a curl gives me the source code. [11:59] a2query -m php7.4 -----output ----> php7.4 (enabled by maintainer script) [12:00] no php configs are changed / modified.. [12:01] https://pastebin.com/zeJeNukL [12:02] test.php uploaded in /var/www/html... but this is not executing.. [12:02] a2enmod php7.4 [12:02] ? [12:02] yes.. already done.. [12:03] https://pastebin.com/QsAHWFwA [12:03] and what about the php5 conflict? [12:03] did you upgrade from 18.04? [12:04] removed the old packages? [12:04] nope.. this is a brand new linode ubuntu 20.04 [12:04] not sure what they do to the poor ubuntu images [12:05] does php come preinstalled there? [12:05] hmm. i don't think its to do with them honestly.. i did spin a new node same OS etc, and its working.. [12:05] no, i had to install it myself.. [12:06] if the new node works... is it much work to copy stuff over? [12:06] :D -- well.. i can.. its a new setup.. but wanted to find out what is going on. [12:06] im sure it can also be fixed but that will require some debug work [12:07] and if its a new node anyway maybe spare everyone a headache and use the new one? :) [12:08] :-( [12:09] i reinstalled libapache2-mod-php, apache2 - purged infact.. and still its the same. [12:18] apache loads many config files from many directories. Maybe you have one such file undoing something a previous one did [12:19] maybe you are missing what assigns the .php extension to the module [13:27] hornbill: would you mind filing a bug in launchpad? [13:30] hornbill: dunno if it's related but I find it unusual to have both php7.4-fpm and libapache2-mod-php7.4 [13:33] athos, i can do that.. but im not able to reproduce it.. [13:34] oh :/ [13:35] im being lucky for having this in just this server :-) all others are well... [13:35] hence im inclined to think about a mistake i have done.. but not able to figure it out [13:39] im purging all apache, php packages and going to reinstall them againn [13:40] sdeziel, hopefully that will help to find if they are related [13:44] good, let us know how it goes ;) [13:51] no change.. [13:51] https://pastebin.com/RKFYJdwk [13:51] apache modules loaded [13:51] https://pastebin.com/b04baqPd [13:53] hornbill: please pastebin `grep -rF Handler /etc/apache2` [13:53] i will bang my head somewhere.. its my fault.. PHP tags were WRONG... [13:53] oh :) [13:54] :-( so embarassing.. sorry guys.. things are working as expected.. [13:54] thank you for your efforts.. and sorry for the trouble.. not in my senses.. [13:55] hornbill: well, it's a good reminder (for me at least) to check the basis first :) [14:03] what did you mean php "tags"? [14:03] did you see that in the output of the grep command sdeziel suggested? [14:04] I would think it was a bogus/missing " ahasenack, sdeziel yes.. missing this grafana snap update is giving me a hard time === MJCD is now known as VolodymyrMonomak === VolodymyrMonomak is now known as MJCD [18:42] how do i find the oom score for a service? [18:46] goddard: try grep . /proc/self/oom* [19:40] grep .> ooh, that's a nice trick. Thank you! [19:40] (TIL) [19:42] I learned it from someone else on irc in the last few years. it's amazing just what's still available to learn :) [19:56] :D thanks [22:36] @athos, give me a holler if you have questions/comments on those php packages. I'm going to try to spend the afternoon on figuring out how to disentangle php-twig [22:38] also if you spot errors in autopkgtest logs mentioning Symfony/blah function(x) is incompatible with Whatever/blah function(string x), those indicate errors actually in the symfony package. Let me know if you spot those, I'm working on a symfony update to include fixes for those types of issues.