/srv/irclogs.ubuntu.com/2022/10/12/#ubuntu-server.txt

=== g4mbit is now known as Guest8696
=== blackro0t is now known as blackroot
=== smoser1 is now known as smoser
dobbicorphi, so, right now i'm installing my web-server so, should i install minimized version?15:48
dobbicorpfrom ubuntu-server iso15:48
tomreyndobbicorp: this choice is entirely up to you.15:59
ograadding stuff is usually easier than removing though ...16:01
feurigalso just note that ceph is not on the table given our organizations previous experiences.17:04
arraybolt3[m]feurig: Wrong channel?17:07
arraybolt3[m]Or maybe some stuff didn't come through to Matrix...17:07
feurigyep.17:51
feurigThis was open when I logged in. It took so long to log in that I was trying to reset the login screen.17:53
feurigsorry.17:53
=== HP-UX is now known as Linux
Liver_Khey does 22.04 LTS automatically reboot to upadte kernel packages by default?18:06
ograno18:11
Liver_Kthen why did mine?18:11
Liver_Ki didnt change that setting, if it even exists18:12
ograit does exist in /etc/apt/apt.conf.d/50unattended-upgrades ... but is off by default18:15
=== Linux is now known as HP-UX
=== HP-UX is now known as SysV
Liver_Khmmmm18:50
Liver_Kdo the lines with the distro id and codename as allowed origins for unattended upgrades mean that it will automatically upgrade distro packages like the kernel packages?18:51
Liver_Kidk just tell me what that means18:51
patdk-lapkernel packages are not upgrades18:51
patdk-lapthey are new versions18:51
Liver_Kso then what would be the setting to upgrade those automatically?18:54
=== SysV is now known as QNX
rbasakLiver_K: by default, it'll automatically upgrade packages only if they're published in the security pocket. That generally happens if there's a security issue that would be fixed by the update, but there are exceptions.19:00
rbasakIn general this means that most users won't automatically get non-security-related updates.19:00
rbasakHowever kernels are an exception. Kernel updates run on a three week cadence and at leaset historically nearly always contained security related fixes, so they get published to the security pocket regardless.19:00
Liver_Kwhat? your message showed up weird, i saw it from "the security pocket" til the end and i didnt see who its from19:01
rbasakLiver_K: by default, it'll automatically upgrade packages only if they're published in the security pocket. That generally happens if there's a security issue that would be fixed by the update, but there are exceptions.19:01
rbasakIn general this means that most users won't automatically get non-security-related updates.19:01
rbasakHowever kernels are an exception. Kernel updates run on a three week cadence and at leaset historically nearly always contained security related fixes, so they get published to the security pocket regardless.19:01
rbasakBetter?19:01
Liver_Kah yes i see it now19:01
rbasak(I just sent the same messages again)19:02
Liver_Kyup19:02
Liver_Kso that means kernel upgrades will be applied automatically?19:03
Liver_K(confirmation of what i think i understand)19:03
rbasakI believe so, yes. But you do need to reboot for that to take effect (or subscribe to Ubuntu Pro to get livepatch)19:05
Liver_Kwill the system will be rebooted automatically one kernel upgrades are applied automatically?19:06
rbasakSo without livepatch, relying on unattended-upgrades to upgrade your kernels doesn't make much sense.19:06
rbasakNo19:06
rbasakThough there's an option for that too, I think.19:06
Liver_Khm well that is what happened19:06
rbasakThere are some options in /etc/apt/apt.conf.d/50unattended-upgrades19:07
rbasakBut the default is to not just reboot19:07
Liver_Keven after kernel upgrades?19:07
rbasakCorrect.19:07
patdk-lapthere is a reboot option on auto-update19:08
Liver_Kthat is strange cause i updated my package db and saw 4 kernel package upgrades and when i updated the motd it said a restart was required, then i logged out and when i logged in again the upgradable package list was empty, and the motd no longer said a restart was required19:08
Liver_Kand i am almost certain i havent set any options for automatically doing anything with upgrading packages19:09
rbasakI think it's likely you have some local configuration doing that then, that is not the default. If you don't think so, then please provide steps to reproduce the issue on a fresh installation.19:12
rbasakNone of my many server instances randomly reboot :)19:13
Liver_Kwell it could also be that somehow the message just disappeared without it rebooting19:13
Liver_Kwait a minute19:13
Liver_Kif the kernel upgrades are automatically installed, like they should be by default, and a restart is required, maybe I just restarted it for something else and didnt remember and then when i logged back on it had already finished the upgrade and the restart19:15
Liver_Kwhat there are ads in apt upgrade now19:36
Liver_Kcan i get rid of that asap?19:36
patdk-lapI suppose you could get ride of them, I have never had them19:36
patdk-laphave only seen ads when using npm19:37
sdezielLiver_K: `sudo rm /etc/apt/apt.conf.d/20apt-esm-hook.conf` should work19:37
rbasakLiver_K: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/199202619:38
-ubottu:#ubuntu-server- Launchpad bug 1992026 in ubuntu-advantage-tools (Ubuntu) "Ubuntu Pro APT integration is a bit much" [Critical, In Progress]19:38
rbasakYeah what sdeziel said19:38
Liver_Kwell it looks like this 19:38
Liver_Kroot@livers-server:~# apt upgrade19:38
Liver_KReading package lists... Done19:38
Liver_KBuilding dependency tree... Done19:38
Liver_KReading state information... Done19:38
Liver_KCalculating upgrade... Done19:38
Liver_KThe following packages were automatically installed and are no longer required:19:38
Liver_K  eatmydata libeatmydata1 python-babel-localedata python3-babel python3-certifi python3-jinja2 python3-json-pointer python3-jsonpatch19:38
Liver_K  python3-jsonschema python3-markupsafe python3-pyrsistent python3-requests python3-tz python3-urllib319:38
Liver_KUse 'apt autoremove' to remove them.19:38
Liver_KTry Ubuntu Pro beta with a free personal subscription on up to 5 machines.19:38
Liver_KLearn more at https://ubuntu.com/pro19:38
Liver_K0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.19:38
Liver_Kroot@livers-server:~#19:38
rbasak!flood19:38
ubottuFor posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.19:38
patdk-lapah, I haven't seen that, but I don't have the esm installed anywhere19:38
sdezielpatdk-lap: the conf file is shipped by the ubuntu-advantage-tools19:39
patdk-lapya, not installed here19:39
patdk-lapoh, minimal depends on it now19:40
Liver_K!pastebinit19:44
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit19:44
Liver_Kwhat is it talking about command lines for?19:46
Liver_Kthis is a chat dialog not a shell19:46
sarnoldall your output came from a shell19:47
Liver_Kwell is my input starting with "!" going into a shell?19:47
sarnoldwords starting with a ! on irc ask the bot to regurgitate a factoid19:49
Liver_K so am i using a shell when i do that or what19:49
sarnoldthe shell also has a ! mechanism to re-run previous commands19:54
Liver_Kso yes it is a shell?19:56
sarnoldi haven't got a clue what you're actually trying to do19:57
Liver_Kim trying to get information19:57
sarnoldyou pasted way too much data here and someone suggested you should use a pastebin site for it19:57
sarnoldthat's solid advice19:57
Liver_Ki am talking about the !pastebinit bot command19:57
Liver_Kand how it says it is some sort of cli tool19:57
Liver_Kwhich is confusing19:58
sarnoldpastebinit is a shell command; it's also pretty broken :( all the pastebin servers have changed their requirements since it was packaged, and now it's not very useful20:00
Liver-Kis it saying i have to install some sort of 3rd party package to automatically make pastebins in here, or is it saying that the bot command itself is a cli tool and the bot command interface is somehow a shell or something?20:00
=== Liver-K is now known as Liver_K
Liver_Ksarnold?20:13
JanCif pastebinit is broken, you should file a bug report  :)20:15
Liver_Kno i dont know what it does20:16
Liver_Kor how to use it20:16
sarnoldJanC: https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1812232  https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1917500  etc20:17
-ubottu:#ubuntu-server- Launchpad bug 1812232 in pastebinit (Ubuntu Eoan) "Deprecation warnings" [Medium, Fix Released]20:17
-ubottu:#ubuntu-server- Launchpad bug 1917500 in pastebinit (Ubuntu) "pastebin.com as a fallback errors with HTTP 405s" [Undecided, Confirmed]20:17
sarnoldJanC: after paste.ubuntu.com switched to requiring logins, most people switched to using | nc termbin.com 9999  or paste.debian.net20:17
Liver_Kcorrection, i can guess what it does, i want to know what it IS20:17
JanCeh, why is is the Ubuntu pastebin requiring login now?20:18
sdezielJanC: IIRC it was because of some abuse and/or copyrighted stuff being published20:19
sarnoldJanC: there was way too much abuse20:19
JanCalso, pastebinit should be fixed to not use paste.ubuntu.com by default then20:19
JanCalso, if I wanted to publish copyrighted stuff on Canonical infrastructure I could also just use Launchpad or whatever  :P20:21
sarnoldyeah, people abuse that too20:21
sarnoldbut the pastebin site got way more abuse and required a lot more time to deal with20:21
JanCor forums or ...20:21
JanCcouldn't they require login to paste instead of to view?20:22
sarnoldit does20:22
JanChm, I just pasted something?20:23
sarnoldthe sso system doesn't prompt *all* the time, you were probably already logged in recently or something. I get "Please log in to create a paste." when I visit https://paste.ubuntu.com/20:23
Liver_Kso no ones gonna tell me what this "pastebinit" thing is or how to use it?20:24
JanCI used pastebinit to paste20:24
=== Guest8696 is now known as g4mbit
JanCit didn't ask me to login?20:24
sdezielI /think/ that if you paste anonymously, the readers will have to auth?20:24
Liver_Kbbl20:25
JanCah, yes, that's possible20:25
JanCso what is really needed is for pastebinit to be able to login?20:25
JanC(or some other tool)20:27
JanCseems like that might be possible; let's see...20:29
JanCbut not for the Ubuntu pastebin...20:34
JanCokay, that sucks20:34
sarnoldunit193 has a pastebinin in his ppa that fixes a *lot* of the pastebinit problems, but it might not fix all of them..20:36
JanCIIRC you can interact with LP programmatically, so I suppose it should be possible to implement that with the pastebin too?20:57
sarnoldhah, our launchpad team has so much on their plate I can't imagine they'd love to reimplement a pastebin21:03
JanCI meant it more like if the login is the same, pastebinit could copy code from the LP tools21:05
JanCif the login method is the same21:05
JanC(both use the Ubuntu One account)21:06
JanCalso, is the LP team so understaffed now? I see more & more Canonical stuff moving off LP...21:08
rbasakThe community generally seems to snub Launchpad and prefers GitHub for things.21:16
patdk-lapI just keep getting tired of dealing with LP21:24
patdk-lapand went to self hosting it now instead21:24
JanCpatdk-lap: you are self-hosting LP?21:26
patdk-lapna, moved my ppa's21:27
JanCPPAs seem to work fine mostly21:27
patdk-lapI could only take 12-48hours for a build to happen for so long21:27
JanCheh21:27
JanCI never had that problem (for what limited stuff I used it for)21:28
JanCor maybe once, but that was during a build-everything period21:29
patdk-lapthe stuff I used to push there very often, have been dockerized, so they just build in the docker container build21:30
JanCthen again, I usually only build stuff once every release  ;)21:30
JanCit's mostly abandoned stuff, so it never changes21:31
sarnoldJanC: I think the launchpad team is probably the best staffed it's ever been now; but it's got more than a decade of technical debt to work off and github covers way more use cases right now..21:59
JanCwell, LP pretty much stagnated for a decade or so? and never implemented features people asked for... (like being able to host a basic site)22:28
JanC(people asked for the latter in LP before GitHub had it)22:29
sarnoldJanC: exactly23:10

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