=== Guest97669 is now known as catalase === kedar is now known as kedar_apte [06:30] hi [06:33] need help [06:46] Rubato: what is your problem? [06:47] please be specific and provide details [06:49] i have a problem restarting sql server [06:50] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) [06:50] it seems the socket is already in use [06:50] but sql process [06:50] but if i kill the pid [06:50] it keeps coming back [08:40] Rubato: quite normal - systemd will often try to restart something that dies unexpectently - systemctl stop is the way to go. Is this mysql or mariadb? === disposable3 is now known as disposable2 === jge1 is now known as jge === halvors1 is now known as halvors [12:55] Hi [12:56] welcome technoob [12:57] Im a flask python programmer [12:57] Who here wanna talk [12:58] technoob: this channel is the ubuntu server support [12:58] Oh [12:58] I see [12:59] Wait is this the channel where they auto flush out inactive users? [14:21] how do i maintain my own private authenticated PPA - are there any good tools to help with this effort? [14:38] geosmile: something like this? https://www.dynamsoft.com/codepool/linux-debian-reporisory-reprepro.html [15:13] RoyK^, Thanks. That was written for 14.04 - reprepro was last updated in 2019 - is there a tool that is well maintained for this? I also looked at aptly - same problem [15:24] https://github.com/KanoComputing/kano-repository-manager - perhaps something like this but well maintained [15:40] geosmile: Not sure if I missed somewhat, but what is the "same problem" shared by reprepro and aptly? [15:40] andol, they both are not actively maintained. aptly is worse than reprepro - comparing last updates [15:40] andol, have you used any of those tools? [15:42] geosmile: I've used reprepro, and I've been happy enough with it. Aside from not having been updated since 2019, is there anything in paritcular missing/broken with reprepro? [15:43] andol, it looks painful to use. Are there any wrappers that make it easier to use? [15:43] andol, as far as I can tell, one can just host a nginx/apache server - host the files in a particular directory structure and apt-add-repo will work, am i correct? [15:44] I see "dists" and "pool" directory - is that enough? [15:44] What reprepro/aptly/etc does is that they generate, and sign, the needed repository metadata. Then however you host it is up to you. Using a web server is a common solution. [15:45] andol, how do you add a authentication/password/key - so that the PPA can only be used by a machine that has that certificate/password? [15:46] andol, https://github.com/KanoComputing/kano-repository-manager - also - do you know of a tool like this that is well maintained? [15:47] Well, that depends on how/where you want to host your repositority, but in the case of apache/nginx you'd simply use its native access control. [15:48] andol, if i put a password on nginx for example, how do you supply it to apt? [15:50] geosmile: From what I've understood you go with the https://username:password@server.example.com/ in your sources.list [15:51] andol, can ssh be used ? or https is the only way? [15:51] geosmile: ssh ought to be usable as well. [15:54] deb ssh://repo-owner@repo.server.com:/home/repo-owner/debian/ ./ [15:54] Yup, that works! [15:57] andol, it seems that I've to store root@public keys of all the client machines - which might be a security hazard to some extent [15:58] geosmile: Surely you'll use a dedicted user for repository access? [15:59] so the repo.server should have keys so that it can enter all the client machines? === RoyK^ is now known as RoyK === halvors1 is now known as halvors [23:29] Hello! I'm having some difficulty with bridged networking within a docker container on ubuntu 18.04. Is this the right place to ask for help, or is there another channel that would be better? [23:36] no, just give us more information exalted_shmo :) hopefully somebody can answer your questions [23:37] Sure! I am running ubuntu 18.04 server on digital ocean and I'm trying to run some docker containers, but within the container it seems the network is not active. [23:37] I can start a new ubuntu container with `docker run -dit --name ubuntu1 ubuntu bash` [23:37] and do `docker attach ubuntu1` [23:38] but when I do `apt update` apt cannot connect to any host [23:38] the DNS may be a problem, but I have also run other tests and found that I cannot even ping 8.8.8.8 from within the container [23:41] If I run `docker run -dit --network=host --name ubuntu1 ubuntu bash` everything works as normal, so I was able to install ping that way and test it out. [23:43] as I don't run docker, I can only guess. did you look at your firewall exalted_shmo? [23:44] this is the current output of `ufw status`: [23:44] ```Status: activeTo Action From-- ------ ----8000 ALLOW Anywhere OpenSSH ALLOW Anywhere 8000 (v6) ALLOW Anywhere (v6) OpenSSH (v6) ALLOW Anywhere (v6) [23:44] ack, sorry about the formatting [23:44] I suspect the firewall is not configured correctly, but I am unsure what the correct configuration would be [23:44] ``` [23:45] ```Status: activeTo Action From-- ------ ----8000 ALLOW Anywhere OpenSSH ALLOW Anywhere 8000 (v6) ALLOW Anywhere (v6) OpenSSH (v6) ALLOW Anywhere (v6) [23:45] ``` [23:45] exalted_shmo use paste.ubuntu.com for stuff like this [23:46] apologies, thank you [23:46] https://paste.ubuntu.com/p/w5xzrD36qK/ [23:48] it may also be significant that I recently upgraded from 14.04 with `do-release-upgrade` [23:49] do you deny outgoing traffic? just guessing here [23:49] is there a way I could tell that that is the case? [23:49] ufw status verbose [23:50] https://paste.ubuntu.com/p/mrQrmtJ2zd/ [23:51] I'm pretty sure this could be a problem: deny (routed) [23:54] possibly, I did not set that explicitly, so I do not know how to change that one [23:58] I modified `/etc/default/ufw` and set `DEFAULT_FORWARD_POLICY="ACCEPT"` and then restarted ufw and now ufw status verbose says `Default: deny (incoming), allow (outgoing), allow (routed)` [23:59] but I am still having the same trouble within the containers