/srv/irclogs.ubuntu.com/2024/06/20/#ubuntu-server.txt

=== chris14_ is now known as chris14
mybalzitchdoes anyone in prod really want their server to dhcp on all interfaces by default?01:23
oerheksmybalzitch, no, i would do static in router01:27
oerheksone beyond dhcp.01:27
oerheksdhcp 1-128, server 12901:27
oerheksno standard ports, 22, and such01:28
* oerheks checking state of fail2ban01:29
=== BarnabasDK_ is now known as BarnabasDK
mjt0kahasenack: can you give me at least the current git repo for samba in ubuntu? I've some spare minutes so I can get some stuff merged..13:21
ahasenackmjt0k: https://code.launchpad.net/ubuntu/+source/samba13:22
ahasenackbut it's down atm13:22
ahasenackbig outage going on13:22
ahasenackstatus.canonical.com13:22
mjt0koh ok13:22
mjt0kI'm just in time, it looks like :)13:22
ahasenackthe branches are: ubuntu/devel -> tip (oracular, currently)13:22
ahasenackubuntu/<release>-devel: tip of that release (for example, ubuntu/jammy-devel)13:22
mjt0kis it the same for qemu?13:24
mjt0kthe repo and layout that is13:24
ahasenackbeing down? Yes13:24
ahasenackbranch structure? Yes13:24
ahasenackqemu git repo would be https://code.launchpad.net/ubuntu/+source/qemu13:24
mjt0kgot it, thanks!13:25
ahasenackthat's the web ui, the git clone argument would be...13:25
ahasenackpkghttps://git.launchpad.net/ubuntu/+source/qemu (fetch)13:25
ahasenackpkgssh://<yourlpid>@git.launchpad.net/ubuntu/+source/qemu (push)13:25
mjt0kI plan, for samba, to eliminate samba-vfs-modules (it makes no sense), and due to gluster, the extra package with the gluster module will stay.  It'd be nice to name it samba-vfs-gluster perhaps, but I'm not sure for this (since ubuntu already has -modules-supplemental)13:27
ahasenackI thought perhaps other modules in the future would join gluster, but I don't mind renaming13:27
mjt0kand for qemu, either qemu-block-gluster or qemu-block-extra-extra (whatever it was, I forgot)13:28
ahasenackqemu-block-extra existed, I added qemu-block-supplemental13:28
mjt0kyeah13:28
mjt0krh ships each module in its own package, fwiw13:29
mjt0kbut I'd love something in-between :)13:29
ahasenackas long as there is a meta package pulling them back together, that would also work13:29
mjt0kok. It'd be nice still if you had something which I can merge in one way or another.  Maybe just a list of commits which should be picked up, so I'll not study them all one by one13:31
ahasenacklet's see13:31
mjt0klike, eg, 980381b3331f1e7895725ce80de53e410c638b29 for qemu13:31
ahasenackwe try to keep the delta tidy13:31
mjt0khmm. this commit disables vnc for microvm..13:32
ahasenackmjt0k: this one for qemu? https://paste.debian.net/1320894/13:33
mjt0kyes, that's the one in question, - either keep it this way or rename it to -gluster13:34
mjt0kI can just pick it up (hopefully it wont break debian)13:35
ahasenackin samba it's 3: https://paste.debian.net/1320895/13:35
mjt0kis that all??  I thought there's much more..13:35
mjt0kheh13:35
ahasenackgluster had delta before because of i38613:35
ahasenackbut I think you have that one too now13:35
mjt0kyup13:36
mjt0kok. that makes sense. I'll just merge that stuff for samba (plus some logic to d/rules) and for qemu13:37
mjt0kthanks!13:37
ahasenackawesome13:38
mjt0kbtw, is there an "ubuntu" build profile?13:41
mjt0kso that the same source can be built on both debian and ubuntu but with different build-deps13:42
mjt0kand maybe with different set of packages13:42
ahasenackI don't think there is13:42
ahasenackqemu has some smarts in d/control-in, but it's not a build profile13:42
mjt0kthese smarts exists exactly *because* there's no such profile, I'd say :)13:43
ahasenackheh13:43
mybalzitchin the login banner, what temperature is it referencing14:52
fricklermybalzitch: "the temperature reported in MOTD is the highest temperature of all thermal zones reported by Sysfs API, at login" was the answer aonth ago14:56
mybalzitchoh thanks14:57
mjt0kahasenack: 980381b3331f1e7895725ce8 (qemu) is needed too, right?  Can you tell me why vnc has been disabled? It was explicitly asked feature in debian..15:42
ahasenackjust a sec, in a call15:43
ahasenackmjt0k: that one I don't know about, or remember. sergiodj?15:44
mjt0kI can't reach LP#2045594 now either :)15:44
ahasenack:/15:45
mjt0kbtw, for qemu, I can pick up ubuntu-specific machine types change too, - I see no reason why not.  Maybe it's more difficult for you to update the patch this way, though15:46
ahasenackmjt0k: sergiodj is maintaining qemu nowadays, I don't know how hard that delta is to maintain15:47
mjt0kshould be pretty easy (±d/patches/series clashes)15:47
ahasenackyeah, that's fine15:48
sergiodj(meeting)16:45
mjt0ksergiodj: new qemu (in qemu-block-extra too) also ships block-blkio, with libblkio written in rust18:10
mjt0ksergiodj: I guess this one should go to -supplemental in ubuntu too18:11
sergiodjoh, we're already seeing rust creeping into qemu as well?18:12
sergiodjheh18:12
sergiodjmjt0k: thanks for the heads up18:12
mjt0knot yet18:12
mjt0klibblkio is written in rust, but it provides an .so (libblkio.so) which is used as a regular shared lib from C code in qemu18:13
sergiodjgot it18:13
mjt0kbut there are multiple attempts already to provide parts of qemu itself in rust18:13
mjt0kincluding rewriting some already existing pieces 18:14
mjt0kI had hard time packaging libblkio for debian18:14
sergiodjyeah, not surprised18:14
sergiodjso, about the whole -supplemental thing, do you have another approach in mind for the problem?18:15
mjt0kI just kept your package name for now18:15
sergiodjOK, fair18:15
mjt0ksince I re-did saving modules on upgrades while you introduced the new package, I updated the saving procedure now to handle multiple packages. it becomes a bit more complicated but it is now generic, can be used for any modules18:17
mjt0kdoing a test build now, will push the commits shortly18:18
mjt0k*sigh*.  list=$(ls -1 ...); cat <<EOF ;  ... ${list} ... EOF   -- how to stop ${list} from expanding into multiple lines?18:20
sergiodj| xargs?18:21
sergiodjor just $(echo ${list}) inside the cat18:23
mjt0kyeah18:23
mjt0kextra indirection :)18:26
mjt0ksergiodj: see top 3 commits in salsa:debian/master20:06
sergiodjmjt0k: thanks! without having tested it, it looks good20:11
sergiodjbtw, you were also asking about the reason for removing a few features from microvm. that came up during an internal discussion with cpaelzer, where we decided that those features were either not useful in a microvm scenario, or introduced attack surfaces without much benefits20:12
mjt0ksergiodj: "some features" = vnc20:13
sergiodjit was also done as part of our efforts to consolidate the qemu configurations that we (Ubuntu) and LXD used.  as part of that effort, LXD has now been using our qemu instead of compiling their own20:13
sergiodjmjt0k: right, vnc fell under the "attack surface" category20:14
sergiodjbear in mind that that's only for microvm20:14
mjt0ksure20:14
mjt0kI had a bug in debian asking to enable vnc for microvm20:14
sergiodjoh?20:14
mjt0kiirc anyway20:14
sergiodjrecent bug?20:14
mjt0kno20:14
sergiodjfair.  btw, we can revisit the list of disabled/enabled features, it's no big deal20:15
sergiodjon the one hand I was happy to see a smaller attack surface, but OTOH I was not happy to see our delta grow :-/20:15
mjt0kapparently I'm wrong. --enable-vnc was there since microvm is created20:16
sergiodjaha20:16
mjt0kwhich display microvm uses anyway?20:18
mjt0k3962d7f612cbd9205718856c964ca5e74d122ce7: d/rules: enable vnc for microvm build20:18
mjt0k(aug 2021)20:19
mjt0kaha. Now I remember. It was me who didn't know how to test microvm without display20:19
sergiodjah, that's fair :)20:20
mjt0kso, how to use it?20:21
sergiodjwe have some documentation here: https://ubuntu.com/server/docs/using-qemu-for-microvms20:22
mjt0kwhat good --enable-pixman is for, without vnc?20:22
mjt0kthat doc is outdated (wrt the package name and the name of the binary)20:24
mjt0kand, do not run qemu with sudo20:24
sergiodjheh20:25
sergiodjyeah, we're going over some of our outdated docs20:25
mjt0k-display curses makes no sense with -nographic 20:26
sergiodjisn't -nographic alone enough?20:27
mjt0kactually I don't remember anymore (I did a few tweaks to -nographics already, it's one of the uglier options of qemu)20:28
mjt0kI mean, -nographic redirects many things, but I don't remember if it's possible to have a display after it20:29
sergiodjlet me try here20:30
mjt0kqdict_put_str(machine_opts_dict, "graphics", "off");20:32
mjt0ksergiodj: let's move to #debian-qemu @oftc so not to hijack #ubuntu-server :)20:35
sergiodjsure20:35
mjt0k(though I dont have much time for all this already :))20:35
sergiodjme neither, TBH20:36

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