=== elsheepo is now known as beatzz === elsheepo is now known as beatzz [08:23] Good morning === Mr_Pan is now known as Mr-Pan === Mr-Pan is now known as Mr_Pan_ === Mr_Pan_ is now known as Mr_Pan === iliv_ is now known as ivan_CMD [11:07] Hi all, I'm trying to get a diskless ubuntu 16.04 client to mount its root via NFS. First the kernel and initrd are transferred via tftp which is working. But after the kernel should mount the NFS I get an error: "read: Connection refused" and "NFS over TCP not available from 172.17.0.1". The NFS-server is up and running but the mount fails. I put all informations into one paste at https://paste.debian.net/1050556/ [11:10] good morning [11:11] kantlivelong: good, I'm curious :) [11:20] $ This works: "sudo mount 172.17.0.1:/srv/nfs/xenial share" [11:20] This doesn't: "sudo mount localhost:/srv/nfs/xenial share" [11:35] lordievader: did you see my last message? [11:42] ahasenack: thank you for the quick review [11:43] np [11:49] DenBeiren: Err, maybe. Was quite busy yesterday afternoon. What was it? [11:50] DenBeiren: Does that .config also exist when transmission is not runnign? [11:50] lordievader: i believe it is [11:50] https://pastebin.com/AW168bxj [11:52] DenBeiren: Did you pastebin your config before? [12:15] kstenerud: what's left for https://code.launchpad.net/~kstenerud/ubuntu/+source/mysql-5.7/+git/mysql-5.7/+merge/358234 ? The salsa MP? [12:16] For ubuntu side it should be ready. I'm trying to get a merge request in to debian side, but I can't get mysql to build as a package :/ [12:16] kstenerud: mysql is an ftbfs in debian right now? [12:16] ftbfs? [12:16] (fail to build from source) [12:16] The builder tool just dies [12:16] sec. Doing one last build attempt [12:17] pristine buster image this time [12:18] Oh, on buster it doesn't fail the signature check [12:19] It does fail with unmet dependencies though: https://pastebin.ubuntu.com/p/nX7hwPk96f/ [12:21] why don't you install them/ [12:22] ? [12:26] I'm trying to figure out how [12:26] apt install ? [12:26] or, for a helper, use apt-get build-dep ./ while inside the extracted package directory [12:27] looks like mk-build-deps does everything [12:36] Ugh I think I'm making a big mess of things. I'm trying out autopkgtest, but it doesn't seem to like running from a git repo of mysql [12:36] Really, all I want to do is download mysql from debian git repo, build and test [12:36] run tests [12:37] your changes they are only in maintainer scripts, right? [12:37] yes [12:37] ok, then just submit the mp, it shouldn't affect building the package [12:37] ok [12:37] and running tests for debian, that's a big plus, considering the change was just in maintainer scripts [12:37] you can worry about that later if you want the experience [12:41] Yeah I mostly wanted to get my own documentation on the subject in order. There seem to be a LOT of different ways, and lots of advice, but no one-true-way document that says "do this" [12:41] well, there are many ways to isntall a package [12:42] the core of that error was "sorry, I can't build mysql because I'm missing this package, that package, and this other one" [12:42] that's why they are called build dependencies [12:42] I mostly want to get a procedure in place for forking from their repo, making changes, building and installing the new package, running package tests, and submitting a merge request [12:42] that's an awesome goal [12:43] there was really nothing different in this mysql git repo from debian than from any other package [12:43] you install build dependencies, and then build as usual [12:44] except that no build tool prior to the one in testing works with mysql, which I just discovered :/ [12:44] I'm building it in sid as we speak [12:44] just did what I said [12:44] I use sbuild and autopkgtest with the lxd runner. [12:45] Really? So gbp buildpackage doesn't error out with certificate errors? [12:45] I just launched a sid container, like "lxc launch images:debian/sid debian-sid" [12:45] However there's a bug in Debian's systemd which stops mysqld from running in a container [12:45] git cloned the repo [12:45] installed build dependencies [12:45] and ran dpkg-buildpackage [12:45] brb, need to relocate [12:45] So I use an Ubuntu container to run autopkgtest against the Debian deb, which isn't ideal but I consider it good enough if it passes. [12:45] I use dpkg-buildpackage to get a source package and run sbuild against that. [12:46] hmm don't know any of those tools [12:46] https://wiki.ubuntu.com/SimpleSbuild but I appreciate it's Yet Another Tool so don't feel like you have to use it :) [12:46] I have ubuntu 16.04LTS and need to boot a previous installed kernel. Grub 2 is installed selecting from menu at boot is not an option [12:46] I was trying to follow https://wiki.debian.org/PackagingWithGit [12:47] And because sbuild is such a pain to set up, that's why we did "git ubuntu build" to try and make it easy. But it's still a little buggy I believe :-/ [12:47] also https://wikitech.wikimedia.org/wiki/Git-buildpackage [12:47] but it looks like git-buildpackage is still a bit shaky [12:49] All of these tools are wrappers around what Debian policy states as the interface source packages must provide (debian/rules), FWIW. [12:49] rbasak: So in your experience, which tools are the best ones to use in terms of stability? [12:50] IMHO sbuild is the most reliable and provides appropriate (but not perfect) isolation. [12:50] lordievader: the content of settings.json you mean? [12:50] You can also mess with it for debugging and development with schroot directly, the -p flag, etc. [12:50] DenBeiren: Yes [12:50] However sbuild is not so trivial to set up :-/ [12:50] no i didn't [12:50] coming up :-) [12:51] OTOH sbuild does always work. [12:52] Good. I'm sure I can scriptify things for simple use cases like SRUs [12:52] https://pastebin.com/31hizU4T lordievader [12:53] when i try port 8083 it won't work [12:53] kstenerud: here's a script I have lying around that configures sbuild as I like it on a fresh remote host: https://paste.ubuntu.com/p/xHr6wnd66R/ [12:54] 9091 works, but limitations from rpc whitelist [12:54] thats why i conclude the configfile isn't read [12:54] kstenerud: I haven't used it in a while though so it might be a little out of date on a few bits [12:54] rbasak: Thanks! It's a good starting point regardless [12:55] DenBeiren: Is this the full file? This isn't valid json. [12:56] yes, there is no more in it [12:57] DenBeiren: That is then probably why it is ignored. This is not valid json. [12:57] Missing at least the closing } [12:57] So its the whole grub submenu stuff that messed me up [12:58] what does this mean? Warning: Please don't use old title `Ubuntu, with Linux 4.4.0-137-generic' for GRUB_DEFAULT, use `Advanced options for Ubuntu>Ubuntu, with Linux 4.4.0-137-generic' (for versions before 2.00) or `gnulinux-advanced-6baa6b94-0498-4047-b41f-72a78923dbe4>gnulinux-4.4.0-137-generic-advanced-6baa6b94-0498-4047-b41f-72a78923dbe4' (for 2.00 or later) [12:58] the closing is in there [12:59] i missed it in copypaste :-) [13:04] Hello! I have a rented VM with a systemd-journald that's using a lot of CPU, what should I do? [13:04] back [13:12] DenBeiren: Ah, I see. What happens when you run the deamon in the foreground? [13:15] zzarr: is "journalctl --follow" spitting out new messages at a very high rate? [13:51] lordievader: could you explain a bit more,.. i don't know exactly what you expect me to do [13:52] DenBeiren: What happens when you stop the transmission-daemon service and run `sudo transmission-daemon -f` in a shell. [13:55] it's running,.. waiting for more output [13:55] maybe i could try with a std settings file? [13:56] DenBeiren: It is not giving errors? [13:56] https://pastebin.com/uAmEaF43 [13:56] DenBeiren: You could check which settings file it is loading with `sudo strace -e open transmission-daemon -f` [13:57] Oh, never mind: [2018-11-06 14:53:45.788] Using settings from "/home/denbeiren/.config/transmission-daemon" (daemon.c:528) [13:58] ok,.. found that file, and it doesn't have the settings i changed in the other file [13:59] No, it probably never read that file. [14:02] stopped TM, edited the port, saved and started TM again,.. no changes :( [14:03] Is it still saying it loads the config from the .config dir? [14:03] iirc that json config file has to be changed while transmission is stopped [14:03] but I could be misremembering [14:04] Correct, else it will be overwritten with the 'current' config. [14:07] ok we have progress,.. [14:07] if i start transmission daemon in the foreground, it seems to work [14:08] when i start transmission-daemon with the command sudo service transmission-daemon start it doesn't take the correct settinge [14:08] It might have to do with environment variables. [14:09] My systemd service has an override wich adds `Environment=TRANSMISSION_HOME=/var/lib/transmission/config`. But this is on Gentoo. [14:13] question is,.. how do i start/stop/check correctly now [14:13] and how can i get the correct version to start at boot? [14:19] ahasenack, The server spits out lines like this over and over: Nov 06 16:18:15 production rc.local[833]: 7f01a4938000-7f01a4b37000 ---p 00007000 ca:01 1845822 [14:20] looks like it's panicing [14:20] panic()ing [14:20] check dmesg [14:21] ahasenack, will do [14:22] ahasenack, I found this [ 7.800343] systemd[1]: Failed to start Load Kernel Modules. [14:36] DenBeiren: Change the `--log-error` to `--log-debug` in the `ExecStart` line of the service file. [14:37] DenBeiren: Then run `sudo systemctl daemon-reload && sudo systemctl restart transmission-daemon && sudo journalctl -u transmission-daemon`. That should give you enough output to see which configuration file it is reading. [14:37] (When you are done you should revert the change to the service file) [14:37] where can i find the service file? [14:38] `sudo systemctl cat transmission-daemon` should tell you (or `sudo systemctl status transmission-daemon`) [14:46] https://pastebin.com/DgSe24si [14:55] permissions issue? [14:58] DenBeiren: I get the feeling the directory doesn't exist. It tries to read the config from `/home/debian-transmission/.config/transmission-daemon`. [14:58] shouldn't it have created it with the install? [15:03] I suppose. === JanC_ is now known as JanC [15:38] Has anybody tried with Ubuntu 16.04 to implement a disklessclient with NFS and overlayfs? [15:43] Trying to find if "apt-mark hold " is being respected when doing "apt-get dist-upgrade" ? [15:46] elfranne: it should otherwise that would be a bug [15:47] trying to find any docs about that... [15:47] boy, this new ubuntu 18.04.01 installer sure is nice [15:49] elfranne: that's easy to test because dist-upgrade will ask your for a confirmation that you can decline if the held package is about to be upgraded [15:50] I ll give it a try with a fresh install without internet on a VM [15:50] thanks [15:52] elfranne: FYI, I use this technique routinely and it works great [15:54] rbasak: I'm getting libreadline.so.6: cannot open shared object file no matter which channel I'm on (stable, beta, edge) [15:58] That sounds familiar [16:26] I have been going through and wiping dozens of hark disks through an ejectable dock. I have been getting smartctl errors e-mailed to me complaining about failures of a disk I ejected a few days ago. When I look in /dev/ I still see the disk, but hdparm -I just gives garbage for it. Is there a way to fix this without rebooting? [16:27] SJr: have you tried "eject /dev/sdX" ? [16:27] unable to eject, last error: Invalid argument [16:27] SJr: that needs to be done prior to the real physical ejection/removal [16:28] Oh well [16:28] SJr: echo 1 > /sys/block/sdX/device/delete [16:28] might work after the fact [16:29] yup it did [16:29] Thank you [16:29] you are welcome [16:30] Oh hrm, well good news/ bad news. Now I just got an e-mail saying that smartd could not open /dev/sde [16:31] Well I guess I'm just going to restart the service [16:32] it's reassuring that smartd will let you know when a drives suddenly vanishes from existence ;) === trekkie1701c is now known as AndroUser === AndroUser is now known as trekkie1701c [17:03] is releases.ubuntu.com down for anyone else? [17:04] mybalzitch: it's up for me [17:04] and lol, the 18.04.01 installer errored out trying to probe my ZFS install, because it can't find the zpool command [17:05] https://i.imgur.com/4UztzIU.png [17:08] https://bugs.launchpad.net/subiquity/+bug/1782744 [17:08] Launchpad bug 1782744 in subiquity "Install failed on disk previously used for ZFS" [Medium,Confirmed] [17:09] you will have to switch to another console (alt-f2) and erase that disk with something like sgdisk -Z [17:09] iirc (the -Z part) [17:10] thanks ahasenack [17:11] zfsutils-linux should be in the ISO IMHO [17:11] would make recovery much easier [17:16] I dont think licensing makes that possible [17:18] Ussat: the zfs.ko (and friends) module is shipped in the ISO [17:19] so I'd think the userspace tooling would be OK [17:19] OK, I m not a lawyer, was just a guess. RHEL (which I use a lot also) has taken that stance [19:05] I'm having some issues building an ISO that boots on the network to reach a Kickstart file to do an unattended installation. It is working great with RHEL/CentOS but with Ubuntu I keep getting "ipconfig: no devices to configure" when the ISO boots. I searched google I can see examples of PXE installations but no bootable ISO installation with a Kickstart. Anyone have an idea what's going on or a reference document for me? Thanks [19:08] hi, ubuntu 18.04 server. how to mount window share? cifs mount giving me erro mount error(16): Device or resource busy [19:08] [19:12] will need more info about that error [19:12] how you are trying to mount it, if dmesg has any other error messages, if you have tried another pointpoint [19:13] sudo mount -t cifs -o username=USER,password=MYPASS //SHAREIP/folder /home/myshare [19:13] mount error(16): Device or resource busy [19:13] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [19:19] /home might be another mountpoint already, can you try mounting it elsewherE? [19:19] and did you check dmesg? [19:19] let me see [19:20] was trying to remember how to do it. the dmesg part [19:20] just type 'dmesg' [19:21] was the SMB prtotocol version [19:25] yeah, there is a new default [19:25] sudo mount -t cifs -o vers=1.0,username=USER,password=MYPASS //SHAREIP/folder /home/myshare [19:25] "device or resource busy" is not the error message I was expecting for that, though [19:25] what windows server is that? [19:26] xp? [19:26] also got mount error(13): Permission denied [19:26] 2013 [19:26] that is rejecting higher versions of smb? [19:26] have you tried vers=3.0? [19:27] does vers=3.0 exists? [19:27] yes [19:27] check the mount.cifs manpage, search for vers= [19:28] it has a nice table of protocol versions and windows releases [19:28] 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012. [19:30] vers=3.0 also worked [19:30] now i will try to so it on mount with fstab [19:30] wish me luck [19:31] *do it [19:32] Is there a specialised channel for network boot installation help? I have a very specific question that I can't find the answer [20:06] is there consensus on the leading FOSS for highly available shared sstorage? Ceph, glusterfs, just NFS, ... ? I have a cluster of ubuntu servers that run containers of a gitlab instance, when it was all local on a node this worked fine. But now I need to share the data across the cluster. If I were implementing this today (no support restrictions), what's the best solution? [20:20] the industry is betting on ceph [20:37] Good time, [20:38] Kazaaak, hello, [20:43] we with kazaaak have issue, paste kazaaak it [20:44] sudo ufw status [20:44] WARN: uid is 0 but `/usr` is owned by 4011 [20:44] WARN: /usr is group writable! [20:46] what's here is wrong? [20:47] namei -l /usr [20:50] Kazaaak: chillage: what's the output of the command sarnold said? [20:51] because those errors indicate something went crazy on your system and changed permissions in a non-safe way [20:54] we see teward, wait little bit, kazaaak will paste [20:54] root@vnc:/home/appbox# namei -l /usr [20:54] f: /usr [20:54] drwxr-xr-x root root / [20:54] drwxrwxr-x 4011 4011 usr [20:54] root@vnc:/home/appbox# [20:55] ouch. [20:55] something screwed up *badly* [20:55] owchies. [20:55] what sarnold said [20:56] ***THERE BE DEMONS IN THESE WATERS!*** [20:56] *shot* [21:00] sorry, my friend paste in channel not in pastebin? or whats wrong with system? [21:00] chillage: no, we're commenting about the permissions [21:00] chillage: something is wrong with your system. *something* running as root did something terribly stupid. [21:00] let me guess: this is the appbox werver you were asking questions on about a few days or so ago? [21:01] chillage: the usual problem is someone unpacking a tarball into / while root without knowing what the heck they're doing, but it could just be terrible software too. [21:02] chillage: the worst part of this problem is that there's no clear way to know just how bad things are. maybe it's literally this one directory in which case the fix is five seconds of work. or maybe a *huge* number of files and directories have had their permissions set incorrectly.. in which case it's easier to resintall [21:03] yes, teward few days ago abuot appbox [21:08] chillage,Kazaaak, pastebin ls -l /usr output, lets see just how bad this thing is.. [21:08] I *really* wish we had something like mtree to notice these problems ;( [21:09] sarnold: full system auditing :P [21:09] audit all the permission changes :P [21:10] sarnold, and how i can fix it if problem is only /usr ? [21:10] teward: heh, also a good idea. then we'd know what to shoot ;) [21:10] sarnold: what... or *who*... to shoot :p [21:12] https://pastebin.com/n4N9tpa1 [21:13] OUCH [21:13] I've got to run [21:13] ERROR666 Nuke It From Orbit [21:13] but this one's bad enough that you might want to consider a reinstall [21:14] Kazaaak: chillage: I'm in agreement with sarnold [21:14] lunch time here :) have fun [21:14] a reinstall would probably fix things, you're going down a rabbit hole of hell if you try and fix this manually [21:17] understand, then thanks for help, guys:) we try reinstall it.. [21:39] Hey, I am interested in doing a couple of things, and I am too cheap (and cannot afford) to get G-suite (Google) or Microsoft products for my sort-of company. I have a Linux server I am currently running and wanted to know what you guys recommend for software for creating new users for a company? [21:42] useradd [21:50] I mean, like one where I can type in a user into a system, which includes user first name, last name, title, password, phone number, address, etc. etc., which then creates a user account for everything else that the company needs the person to use. [21:52] Goop: that's a very very broad use case. Users are usually application specific. Like, user account "to what". [22:01] you can always script your own solution to do that , but useradd [22:04] otherwise sounds like LDAP, come to think of it [22:49] Sounds like single sign on via pki cert [22:50] ahasenack: one for you perhaps: https://www.reddit.com/r/Ubuntu/comments/9usqau/livepatch_isnt_shown_as_enabled_in_motd/ [22:50] Though it's offtopic there really. [22:52] Goop: take a look at /usr/local/sbin/adduser.local in adduser(8) [22:54] sarnold, blackflow so what I haven't done too much with LDAP/OAuth/SingleSignOn, but I need something where I can have a graphical (web) interface where I can add new *people* to a company. When I submit adding a new *person* to said piece of software, I want it to setup their users across all the systems we use. === kallesbar_ is now known as kallesbar [23:48] Goop then you want pki but with that the users will need to request access [23:50] Need help understanding MOTD. on login I see it displayed on a server installed from server ISO. But none of the debootstrap'ed installations (with ubuntu-minimal as base) do that. Both, however, have the login pam module, and both have libpam-systemd. [23:51] how about pam_motd.so ? is that configured in your /etc/pam.d/ ? [23:51] blackflow: compare /etc/update-motd.d/ and use dpkg -S to find out which packages ship things in there. [23:52] I also see differences in what appears to be session management. The server that does display motd, shows logging by logind starting a sessio and user slice being created. not so on the server without motd [23:53] rbasak: I have, but I don't see anything obvious. I think I need to find what creates /run/motd.dynamic [23:54] update-motd [23:54] its' not listed by apt file so it's not somethign installed by packages, and grepping for that in /etc/update-motd.d/ shows nothing [23:54] motd-news.timer [23:54] rbasak: no, update-motd is for manual invocation of /etc/update-motd.d/50-motd-news. at any rate, the server that DOES show motd, does not have update-motd installed [23:55] motd-news.timer only starts the 50-motd-news script, I tried that... [23:55] I tellsya, MYSTERY. [23:55] hmm [23:55] Install ubuntu-server^ and I bet you'll get the same behaviour. [23:55] I did, I did not :) [23:55] I know every time I look into this it's a lot more complicated than I'd expect :) heh [23:55] I installed ubuntu-standard and ubuntu-server metapackages, it pulled in a megaton of stuff, but that didn't change anything. [23:56] sarnold: it'sa black box of black magick, mystery, spiritualism and international politics, all combined into one. [23:56] lol [23:57] I know.... I'll chattr /run/motd.dnymic and see what complains about not being able to update it [23:57] ho-humm.... wait.... can I use tmpfiles to do that? I mean that's /run/ so.... tmpfs... [23:57] update-motd is for all of /etc/update-motd.d/