=== rfm_ is now known as rfm === vlm_ is now known as vlm === LambdaCo1 is now known as LambdaComplex === icey_ is now known as icey === Voxel is now known as MrRobot [10:02] hey jamespage - was there any update on that pip in proposed issue? I can't find the bug at the moment and was hoping to find what progress was made on that [13:19] I've not been tracking it tbh [13:20] I'd assume its wedged in proposed still [14:35] Hi what is the recommended way to mount a folder on startup ? I am mount a folder for sftp but everytime I restart the server I have to run mount command again [14:41] maret: (if you come back) /etc/fstab is where I'd put it [15:59] Can some tell me what happened to the php-mail-mimedecode package? === BlackDex_ is now known as BlackDex [16:16] spat, latest version was for 16.04 https://launchpad.net/ubuntu/xenial/amd64/php-mail-mimedecode [16:16] not sure why it is removed, unmaintained perhaps? [16:17] not compatible with PHP 7.0 [16:20] oerheks: Just found out that a lot of former php extensions moved to PECL === ijohnson is now known as ijohnson|lunch [18:52] Hi what is the recommended way to mount a folder on startup ? I am mount a folder for sftp but everytime I restart the server I have to run mount command again [18:53] maret: /etc/fstab is where I'd put it [18:53] Thank you , I will take a look at it [18:55] be REALLY carefull editing that [18:55] you can easilly render your system ubnnbootable [18:55] unbootable [18:59] uff ok [19:35] i have a bind9 box in aws, it's set to listen in on any v4/v6 socket. i notice at reboot the v6 socket no longer works. i suspect the v6 stack isn't up yet when the service starts. whats the best way to delay the service for ~30 seconds or 1 minute? it's a systemd service [19:38] https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ [19:38] explains how to make the service start only after the network is fully up [19:38] i'm not sure which target unit bind defaults to, though, maybe it's already network-online [19:39] thank you [19:40] I see the following under bind9.service. After=network.target \n [19:40] Wants=nss-lookup.target [19:40] \n Before=nss-lookup.target [19:40] sorry tried to put that on one line. I'm looking at a timer option too [19:43] so make it After=network-online.target [19:44] this could impact other services which depend on bind as a local resolver, though, if they start earlier (but the same applies to a fixed time delay) [19:44] https://stackoverflow.com/questions/43001223/how-to-ensure-that-there-is-a-delay-before-a-service-is-started-in-systemd/44737570 [19:44] this is not really the systemd-ish way, but it's possible [19:45] yeh i saw those options earlier, i like this option of After=network-online.target, i'm reading up on it now. thanks [19:48] xibalba: it's a terrible hack but "ExecStartPre=/bin/sleep 30" should artificially delay the actual ExecStart= [19:49] oh, I just repeated the stackoverflow answer ... [19:49] you phrased it better, though. [19:50] thank you both, the execStartPre works, but i'm going to try the timer option too. With After=network.target, Bind still came up bound only to v4 not v6. [19:53] xibalba: I vaguely recall that bind9 re-scans the network devices once in a while to discover new ones. Have you tried waiting a little post-boot? It might self fix [19:54] hmm no i didn't wait, i'll look into that [20:00] xibalba: automatic-interface-scan is the name of the parameter that defaults to yes [20:01] should have been "After=network-online.target" === ijohnson|lunch is now known as ijohnson [20:35] what is the best way to cat only some lines in a file? but not the rest [20:36] I have a config file for something and I need to grab the urls but it also has the path to the certs and I can't use that so I just need the url's [20:44] pipe it through to grep? [20:46] MIF, depends on the format of the config file. if there's a keyword tag on the lines you want, grep can work. if you know the line numbers, sed -n with p commands might work. if it's json, jq might be what you need. [20:46] I got it 101 greps [20:47] cat acme-client.conf | grep -v "/etc/ssl/" | grep -v "sign with letsencrypt" | grep -v "}" > names.txt [21:24] Does anyone have experience with Dovecot+LetsEncrypt? [21:27] yes, why? [21:27] I'm troubleshooting an issue on a fresh install with SSL certificates [21:28] I get the following error in mail.log: mail dovecot: imap-login: Error: Failed to initialize SSL server context: Can't load SSL certificate: There is no valid PEM certificate. [21:29] I went through step by step on a tutorial and verified the proper path to my .pem files from letsencrypt [21:34] can you pastebin the .pem in question? [21:39] I'm not sure if the .pem files are the issue. I'm thinking it's something to do with the 10-ssl.conf === vlm_ is now known as vlm [21:46] Mipsalawishus: you need to set ssl_cert = /path/to/the/fullchain.pem [21:46] and ssl_key = /path/to/the/privkey.pem [21:48] sdeziel, yes - I've pointed it to the correct path and even did "certbot renew --force-renewal" to make sure the .pem files aren't corrupt [21:51] Mipsalawishus: sorry, you need ssl_cert = there is this weird "<" char that is important [21:52] same for ssl_key [21:53] Yes, I made sure it's there too [21:55] Should "ssl_client_ca_dir = /etc/ssl/certs [21:55] " point to my letsencrypt dir instead? [22:04] sdeziel, this is the tutorial I followed: https://www.rosehosting.com/blog/how-to-install-a-mail-server-with-postfixadmin-on-ubuntu-20-04/#Step-6-Install-Dovecot [22:05] I'm finding that there's some important details that were skipped in the tutorial [22:05] Lol