/srv/irclogs.ubuntu.com/2022/08/04/#ubuntu-discuss.txt

lotuspsychjegood morning01:42
Maiklotuspsychje: Ubuntu should do it like Fedora, keep at least three kernels and when a new one is added it removes the oldest one automatically10:41
ravageit usually keeps the latest 2. but when you switch to a newer kernel like it happened with 20.04 (HWE -> 5.15) it keeps those too10:43
lotuspsychjei installed focal at a customer recently wich pulled HWE 5.15 on updates10:43
ravageand the other kernels he had were from previous ubuntu releases. sometimes you just have to clean up a bit10:43
lotuspsychjebut didnt check the remaining ones10:43
leftyfbogra: I've got octoprint all tricked out to do lots of things for me. I get periodic notifications on my phone of the print status with a picture, I have it set to power off the printer when the print is finished, also turns off the custom LCD screen on the pi that I use to control octoprint. I can gracefully cancel prints or just select objects or areas of the print bed to stop printing if only that part is failing, while it continues to 17:14
leftyfbprint everything else. I also use the Obico(previous the spaghetti detective) service to monitor prints and will warn me or pause the print if it detects any major failures. I can also print all my past sliced prints saved on the pi. I can start prints remotely if I like. Also, if for whatever reason the bed or hot end are left on for a period of time without activity, it'll shut itself down17:14
leftyfbogra: I'm curious if your prints failed due to clog or something. ALSO, a while back before I upgraded to a pi4 4gb, a couple times the pi did run out of memory for whatever reason and did kill the print. I guess this would be a downside to octoprint. But since upgrading over a year ago and printing scores of objects since, I17:15
leftyfbI've had zero issues17:15
ograyeah, it is helpful if you do really remote things ... but i rarely do nowadays ... printer sits next to me in the office and i have the cam stream visible in my living room in case i'm not near it ... i rarely print while not at home 17:16
leftyfbmy printer is almost always running :)17:17
ograi dont even have the usb attaced anymore ... SD and hitting th print button on the printer is good enough17:17
ograi only use USB for E-Step calibration and such ... but thats something you only do once every now and then anyway17:17
leftyfbI don't trust sd cards at all17:18
leftyfbalso haste sneakernetting17:18
leftyfbhate*17:18
ograthe "plastic vomit incidents" were all with my former delta printer and due to some mechanical issues it had ...17:19
leftyfbright, so what does that have to do with octoprint?17:19
ograbut if you forget to watch it for a few hours the "hairball" it produces can gt quite big ... and a mess to clean up 🙂17:19
leftyfbsee, that's where obico comes in17:20
ograhas indeed nothing to do with octoprint ... i just dont use it anymore, my printer rarely prints unattended17:20
leftyfbI have always watched the first layer. Other than that, I walk away or don't pay attention (the printer is about a foot away from me while I work)17:20
ograsimilar here ... 17:22
leftyfbhttps://photos.app.goo.gl/4tmRzVpDvcK4w6xt817:23
ograneat 17:24
leftyfbthe interface on the LCD on the right has changed since I took the picture17:24
ograputting the reels at the top is pretty brave ... 17:24
leftyfbwhy? That's it's design17:25
ograi have had that before but saw awful pics when something went wrong ... its like an accelerant if your bed verheats and sets stuff on fire or some such17:25
ograi.e. the worst place you could put it when there is fire ... 17:26
leftyfbagain, if the hot end and bed stay on too long without movement, it'll shut them off and the printer shuts off17:27
leftyfbit's also directly below a smoke detector :)17:27
ograheh ... clever17:28
leftyfboctoprint sends a signal to a smart plug which kills power to the printer completely 17:28
webchat117Hello!  My boss has assigned me to find out if it's the year of the Linux Desktop yet.  Anyone here successfully managing Ubuntu laptops in an enterprise environment?20:46
sarnoldoh man, you must have aced the "replace the blinker fluid in all the fleet cars" to get assigned this job20:47
oerhekswebchat117, keep polling, and mail your boss the results in 203020:49
leftyfbwebchat117: there are plenty of businesses that utilize linux workstations20:50
leftyfbwebchat117: polling isn't going to help you at all. Start with your needs and test to see if ubuntu on the desktop works for you.20:50
sarnoldoh snap, real advice :)20:51
tomreynaccording to your bosses' website, the company is already using linux desktops. i guess the assignment won't add much value then.20:54
leftyfbstock photos?20:57
tomreynentirely possible21:00
leftyfbnot sure if we're looking at the same side, but I'm pretty sure they are using mac's in these picutres. I know one of them definitely is. And I see a macbook in one picture21:00
leftyfbcan't seem to grab the damn pic though. Stupid hidden html21:00
sarnoldnetwork inspector?21:01
leftyfbgood call21:01
tomreynhttps://www.hudsonrivertrading.com/wp-content/uploads/2020/02/Home-Hero-0201.jpg and https://www.hudsonrivertrading.com/wp-content/uploads/2019/11/Home-Hero-03-Updated.jpg21:01
tomreynright-click "open image in new tab" on firefox. not on chrom*21:01
leftyfbyeah, the 2nd one is the one I was looking at21:02
leftyfbno indication it's linux. Not the workstation anyway21:03
leftyfband the macbook is on the left21:03
leftyfb2 of them 21:03
webchat117Being a bit tongue in cheek.  Yeah, we're mostly a Mac shop.  I'm investigating putting together a plan to roll out some Linux endpoints and wanted to know if anyone had advice.21:05
leftyfbwebchat117: try it21:05
webchat117I am currently in the midst of trying it, but the seeming lack of an MDM is troubling to my Mac-brain.  I didn't know if there were any management idioms in the Linux world.  If this is the wrong place and I just need to RTFM, feel free to say so.21:07
leftyfbI don't know of any MDM for linux21:08
tomreyni guess it depends much on how much central management / auditing you need. if you want to restrict users to non root access they will hardly be happy, and if you don't then maybe you won't be able to convince all auditors that "you are working securely"21:08
arraybolt3[m]webchat117: Linux is successfully deployed in enterprise environments all over the place - in fact, Google uses their own version of Debian exclusively.21:08
arraybolt3[m]webchat117: Ubuntu is designed for enterprise use.21:08
arraybolt3[m]webchat117: As far as MDM, give users non-root access, set a BIOS password, and keep Secure Boot on. Maybe also set up your own account so you can SSH into the system whenever if they're connected to the primary VPN.21:10
tomreynto get you started, there is https://ubuntu.com/landscape/features and there is sssd21:10
arraybolt3[m]webchat117: You could even set it up so that the system always tried to connect to the VPN and maybe even block Internet access if the VPN wasn't connected so that users had to be connected to the corporate network in order for the system to really work.21:11
leftyfbarraybolt3[m]: that's not MDM21:11
webchat117We need to have EDR and DLP software in place, and we need some assurance they don't get out of place.  We're talking about developers, so non-root is out of the question.21:11
arraybolt3[m]leftyfb: True, but I've dealt with MDM devices and this is about as close as you can get with a desktop AFAIK.21:11
leftyfbwebchat117: with root, all bets are off21:11
webchat117That21:11
leftyfbunless you add in something like grsec21:11
webchat117's my concern.21:12
arraybolt3[m]webchat117: Why not keep them non-root on the physical hardware and give them a VM that they can run as root?21:12
tomreynthat'd be my take, too21:12
webchat117At that point I'd just give them a Mac, a Linux server, and SSH/X11 forwarding.21:12
arraybolt3[m]GNOME Boxes + a Lubuntu ISO = developer gets root access without being allowed to wreak havoc on the physical machine.21:12
arraybolt3[m](Oh, also, you'd want to set a password on the GRUB bootloader so that someone couldn't drop into the bootloader and boot whatever they wanted to.)21:13
webchat117Re Landscape, that's the reason I'm in ubuntu-discuss and not some other-discuss21:13
tomreynyou should probably have this discussion with sales@canonical, too21:14
tomreynbut i guess the DLP + EDR parts will be difficult if you also want to keep the platform open21:15
tomreynor even in general, because there won't be much 'accredited' software which provides linux desktop support21:15
webchat117Oh yeah, I've reached out to sales.21:15
tomreynmaybe start with this first, if it's a fixed requirement21:15
arraybolt3[m]https://help.ubuntu.com/community/MyDLP21:16
webchat117I'm not that much of a jackass, I did some amount of due diligence before bothering y'all21:16
tomreyninteresting, i wasn't aware of 'MyDLP'21:17
arraybolt3[m]And there's also various Linux EDR solutions I can see, though they don't look like they're provided by Canonical.21:17
webchat117Yeah, we've got EDR and DLP in place on other platforms and I'm hoping to use those.  They're both currently running somewhat happily on my test machine, so that box is checked.21:18
arraybolt3[m](Then again MyDLP doesn't appear to be Canonical's doing either.)21:18
tomreynwebchat117: oh, that's quite the achievement already, i would have thought this will be the hardest part.21:19
arraybolt3[m]Really, if you want to give users root access without giving them root access, virtualization is probably going to be the way to go IMO. Containerization might also work (I'm not sure on this one, other's probably know way more about that than I do), but I know for a fact you can give a user full root access in a VM and only standard access on the host system.21:19
tomreynwebchat117: well, the other hard part will be convincing the dev's they can't have root on the main system21:20
webchat117Honestly, if they have root in the VM and that VM has network access, it's no solution.21:21
webchat117The issue is less about the endpoint and more about what it can touch.21:21
tomreynyou'd need a software request management system like all the enterprises have it. tick a box on this web app to request this software to be installe don your computer. if licensing fees are involved, granting that wish will depend on your role or line managers' decision.21:21
arraybolt3[m]If that's the case, I'm missing something - that sounds like a security issue to be tackled on those other systems.21:22
tomreynyou could limit network access for the guest on the host21:23
tomreynor just via cgroups21:23
tomreynbut normally you want to do such using network firewalls / proxy servers, i guess.21:24
oerheksi still have 3 packages held back; The following packages have been kept back:  python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk 21:24
webchat117The problem with root is being able to remove EDR/DLP software and then do bad things to IP/infrastructure.  Defense in depth is the name of the game, but having what is essentially a rogue endpoint is never a great thing.21:24
oerhekserr wrong channel21:24
arraybolt3[m]webchat117: And that EDR/DLP software would have to run on the guest?21:25
arraybolt3[m]webchat117: My thinking was, run the EDR/DLP on the host and then give the devs a clean, do whatever you want VM to develop in.21:25
webchat117I guess the solution would be zero trust network access where non-compliant devices cannot talk, but that's currently bordering on a fictional technology21:25
webchat117The VM would be functionally identical to the rogue physical machine as far as being able to ruin my day21:26
arraybolt3[m]webchat117: Require the presence of the EDR/DLP software in order to allow connecting to the corporate VPN?21:26
arraybolt3[m]I dunno if that's a thing, but that seems like it would be easy enough to do from a programming standpoint.21:27
webchat117That'd be the ZTNA piece.  We'd also need to figure out an on-prem solution.21:27
webchat117The problem itself is simple, but I'm not aware of a solution that really solves the problem yet.  I assume it's an implementation nightmare, otherwise someone would have done it by now.  MS is making strides with Azure/Defender21:28
arraybolt3[m](Just fyi, I'm not an expert at any of this - this is just me throwing around what I know of Linux to try to help solve the problem.)21:28
webchat117No worries, I appreciate hearing ideas21:29
arraybolt3[m]webchat117: So, here's something to think about - an employee could potentially bring in a copy of QEMU that was statically linked, and run their own VM with root privileges within the VM and network access, without having to have root on the host. Would that also mess up your system? Because if so, that sounds like a poorly designed system to me.21:29
webchat117I mean, "mess up" isn't the right way to think about this.  It adds risk.  A rogue endpoint shouldn't actually cause a catastrophic failure, but if you stack enough risks, systems will start failing.21:31
webchat117See "it never gets cold in Florida" leading to the Challenger21:31
arraybolt3[m]I see what you're saying.21:31
* arraybolt3[m] goes afk21:32
webchat117Thanks for the chat all, this was helpful21:32
arraybolt3[m]webchat117: I have another thought.21:38
tomreynthey wont listen21:38
arraybolt3[m]webchat117: What is it that a user can do with root in a VM that they couldn't do without root in that same VM? (No need to answer, just think about it.)21:38
leftyfbthey left21:38
arraybolt3[m]leftyfb: Oh, my chat isn't showing me that.21:38
* arraybolt3[m] grumbles at Matrix21:39
tomreynone of the fewer interesting discussions we've had here, though :)21:39
leftyfbif the VM needs to be bridged on the network, it's just another node that is now unencumbered 21:39
leftyfbno different than the host21:39
arraybolt3[m]Right. Maybe that was the confusion part - I was thinking of a VM with usermode networking.21:39
arraybolt3[m]Where QEMU's network access appears to be the same as any other application. No network bridging.21:40
arraybolt3[m]s/confusion/confusing21:40

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