=== g4mbit is now known as Guest8696 | ||
=== blackro0t is now known as blackroot | ||
=== smoser1 is now known as smoser | ||
dobbicorp | hi, so, right now i'm installing my web-server so, should i install minimized version? | 15:48 |
---|---|---|
dobbicorp | from ubuntu-server iso | 15:48 |
tomreyn | dobbicorp: this choice is entirely up to you. | 15:59 |
ogra | adding stuff is usually easier than removing though ... | 16:01 |
feurig | also 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 |
feurig | yep. | 17:51 |
feurig | This was open when I logged in. It took so long to log in that I was trying to reset the login screen. | 17:53 |
feurig | sorry. | 17:53 |
=== HP-UX is now known as Linux | ||
Liver_K | hey does 22.04 LTS automatically reboot to upadte kernel packages by default? | 18:06 |
ogra | no | 18:11 |
Liver_K | then why did mine? | 18:11 |
Liver_K | i didnt change that setting, if it even exists | 18:12 |
ogra | it does exist in /etc/apt/apt.conf.d/50unattended-upgrades ... but is off by default | 18:15 |
=== Linux is now known as HP-UX | ||
=== HP-UX is now known as SysV | ||
Liver_K | hmmmm | 18:50 |
Liver_K | do 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_K | idk just tell me what that means | 18:51 |
patdk-lap | kernel packages are not upgrades | 18:51 |
patdk-lap | they are new versions | 18:51 |
Liver_K | so then what would be the setting to upgrade those automatically? | 18:54 |
=== SysV is now known as QNX | ||
rbasak | Liver_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 |
rbasak | In general this means that most users won't automatically get non-security-related updates. | 19:00 |
rbasak | However 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_K | what? your message showed up weird, i saw it from "the security pocket" til the end and i didnt see who its from | 19:01 |
rbasak | Liver_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 |
rbasak | In general this means that most users won't automatically get non-security-related updates. | 19:01 |
rbasak | However 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 |
rbasak | Better? | 19:01 |
Liver_K | ah yes i see it now | 19:01 |
rbasak | (I just sent the same messages again) | 19:02 |
Liver_K | yup | 19:02 |
Liver_K | so that means kernel upgrades will be applied automatically? | 19:03 |
Liver_K | (confirmation of what i think i understand) | 19:03 |
rbasak | I 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_K | will the system will be rebooted automatically one kernel upgrades are applied automatically? | 19:06 |
rbasak | So without livepatch, relying on unattended-upgrades to upgrade your kernels doesn't make much sense. | 19:06 |
rbasak | No | 19:06 |
rbasak | Though there's an option for that too, I think. | 19:06 |
Liver_K | hm well that is what happened | 19:06 |
rbasak | There are some options in /etc/apt/apt.conf.d/50unattended-upgrades | 19:07 |
rbasak | But the default is to not just reboot | 19:07 |
Liver_K | even after kernel upgrades? | 19:07 |
rbasak | Correct. | 19:07 |
patdk-lap | there is a reboot option on auto-update | 19:08 |
Liver_K | that 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 required | 19:08 |
Liver_K | and i am almost certain i havent set any options for automatically doing anything with upgrading packages | 19:09 |
rbasak | I 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 |
rbasak | None of my many server instances randomly reboot :) | 19:13 |
Liver_K | well it could also be that somehow the message just disappeared without it rebooting | 19:13 |
Liver_K | wait a minute | 19:13 |
Liver_K | if 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 restart | 19:15 |
Liver_K | what there are ads in apt upgrade now | 19:36 |
Liver_K | can i get rid of that asap? | 19:36 |
patdk-lap | I suppose you could get ride of them, I have never had them | 19:36 |
patdk-lap | have only seen ads when using npm | 19:37 |
sdeziel | Liver_K: `sudo rm /etc/apt/apt.conf.d/20apt-esm-hook.conf` should work | 19:37 |
rbasak | Liver_K: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1992026 | 19: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 | |
rbasak | Yeah what sdeziel said | 19:38 |
Liver_K | well it looks like this | 19:38 |
Liver_K | root@livers-server:~# apt upgrade | 19:38 |
Liver_K | Reading package lists... Done | 19:38 |
Liver_K | Building dependency tree... Done | 19:38 |
Liver_K | Reading state information... Done | 19:38 |
Liver_K | Calculating upgrade... Done | 19:38 |
Liver_K | The 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-jsonpatch | 19:38 |
Liver_K | python3-jsonschema python3-markupsafe python3-pyrsistent python3-requests python3-tz python3-urllib3 | 19:38 |
Liver_K | Use 'apt autoremove' to remove them. | 19:38 |
Liver_K | Try Ubuntu Pro beta with a free personal subscription on up to 5 machines. | 19:38 |
Liver_K | Learn more at https://ubuntu.com/pro | 19:38 |
Liver_K | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | 19:38 |
Liver_K | root@livers-server:~# | 19:38 |
rbasak | !flood | 19:38 |
ubottu | For 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-lap | ah, I haven't seen that, but I don't have the esm installed anywhere | 19:38 |
sdeziel | patdk-lap: the conf file is shipped by the ubuntu-advantage-tools | 19:39 |
patdk-lap | ya, not installed here | 19:39 |
patdk-lap | oh, minimal depends on it now | 19:40 |
Liver_K | !pastebinit | 19:44 |
ubottu | pastebinit 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 | pastebinit | 19:44 |
Liver_K | what is it talking about command lines for? | 19:46 |
Liver_K | this is a chat dialog not a shell | 19:46 |
sarnold | all your output came from a shell | 19:47 |
Liver_K | well is my input starting with "!" going into a shell? | 19:47 |
sarnold | words starting with a ! on irc ask the bot to regurgitate a factoid | 19:49 |
Liver_K | so am i using a shell when i do that or what | 19:49 |
sarnold | the shell also has a ! mechanism to re-run previous commands | 19:54 |
Liver_K | so yes it is a shell? | 19:56 |
sarnold | i haven't got a clue what you're actually trying to do | 19:57 |
Liver_K | im trying to get information | 19:57 |
sarnold | you pasted way too much data here and someone suggested you should use a pastebin site for it | 19:57 |
sarnold | that's solid advice | 19:57 |
Liver_K | i am talking about the !pastebinit bot command | 19:57 |
Liver_K | and how it says it is some sort of cli tool | 19:57 |
Liver_K | which is confusing | 19:58 |
sarnold | pastebinit 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 useful | 20:00 |
Liver-K | is 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_K | sarnold? | 20:13 |
JanC | if pastebinit is broken, you should file a bug report :) | 20:15 |
Liver_K | no i dont know what it does | 20:16 |
Liver_K | or how to use it | 20:16 |
sarnold | JanC: https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1812232 https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1917500 etc | 20: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 | |
sarnold | JanC: after paste.ubuntu.com switched to requiring logins, most people switched to using | nc termbin.com 9999 or paste.debian.net | 20:17 |
Liver_K | correction, i can guess what it does, i want to know what it IS | 20:17 |
JanC | eh, why is is the Ubuntu pastebin requiring login now? | 20:18 |
sdeziel | JanC: IIRC it was because of some abuse and/or copyrighted stuff being published | 20:19 |
sarnold | JanC: there was way too much abuse | 20:19 |
JanC | also, pastebinit should be fixed to not use paste.ubuntu.com by default then | 20:19 |
JanC | also, if I wanted to publish copyrighted stuff on Canonical infrastructure I could also just use Launchpad or whatever :P | 20:21 |
sarnold | yeah, people abuse that too | 20:21 |
sarnold | but the pastebin site got way more abuse and required a lot more time to deal with | 20:21 |
JanC | or forums or ... | 20:21 |
JanC | couldn't they require login to paste instead of to view? | 20:22 |
sarnold | it does | 20:22 |
JanC | hm, I just pasted something? | 20:23 |
sarnold | the 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_K | so no ones gonna tell me what this "pastebinit" thing is or how to use it? | 20:24 |
JanC | I used pastebinit to paste | 20:24 |
=== Guest8696 is now known as g4mbit | ||
JanC | it didn't ask me to login? | 20:24 |
sdeziel | I /think/ that if you paste anonymously, the readers will have to auth? | 20:24 |
Liver_K | bbl | 20:25 |
JanC | ah, yes, that's possible | 20:25 |
JanC | so what is really needed is for pastebinit to be able to login? | 20:25 |
JanC | (or some other tool) | 20:27 |
JanC | seems like that might be possible; let's see... | 20:29 |
JanC | but not for the Ubuntu pastebin... | 20:34 |
JanC | okay, that sucks | 20:34 |
sarnold | unit193 has a pastebinin in his ppa that fixes a *lot* of the pastebinit problems, but it might not fix all of them.. | 20:36 |
JanC | IIRC you can interact with LP programmatically, so I suppose it should be possible to implement that with the pastebin too? | 20:57 |
sarnold | hah, our launchpad team has so much on their plate I can't imagine they'd love to reimplement a pastebin | 21:03 |
JanC | I meant it more like if the login is the same, pastebinit could copy code from the LP tools | 21:05 |
JanC | if the login method is the same | 21:05 |
JanC | (both use the Ubuntu One account) | 21:06 |
JanC | also, is the LP team so understaffed now? I see more & more Canonical stuff moving off LP... | 21:08 |
rbasak | The community generally seems to snub Launchpad and prefers GitHub for things. | 21:16 |
patdk-lap | I just keep getting tired of dealing with LP | 21:24 |
patdk-lap | and went to self hosting it now instead | 21:24 |
JanC | patdk-lap: you are self-hosting LP? | 21:26 |
patdk-lap | na, moved my ppa's | 21:27 |
JanC | PPAs seem to work fine mostly | 21:27 |
patdk-lap | I could only take 12-48hours for a build to happen for so long | 21:27 |
JanC | heh | 21:27 |
JanC | I never had that problem (for what limited stuff I used it for) | 21:28 |
JanC | or maybe once, but that was during a build-everything period | 21:29 |
patdk-lap | the stuff I used to push there very often, have been dockerized, so they just build in the docker container build | 21:30 |
JanC | then again, I usually only build stuff once every release ;) | 21:30 |
JanC | it's mostly abandoned stuff, so it never changes | 21:31 |
sarnold | JanC: 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 |
JanC | well, 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 |
sarnold | JanC: exactly | 23:10 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!