[11:31] when installing slurm on ubuntu 18.04, how are you supposed to start slurmd and slurmctld? I can start them manually in the terminal, but systemd fails to start them, they simply time out [14:25] jamespage: coreycb: just stumbled about this old issue when updating our cookbooks for stein, any chance this still can get resolved? https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1567935 [14:25] Launchpad bug 1567935 in nova (Ubuntu) "nova-compute-libvirt should not depend on open-iscsi" [Low,Triaged] [15:32] does anyone know if the Apache web server sets up `www-data` user if the user/group don't already exist? [15:32] need some server team input on some things [15:32] cc sarnold [15:35] teward: I'm not sure without looking, but you might find https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes helpful. [15:36] yeah i know those classes... [15:36] rbasak: the core problem is... [15:36] bug #1860388 [15:36] bug 1860388 in nginx (Ubuntu) "MAAS fails clean install www-data user does not exist due to nginx requirement" [Undecided,Incomplete] https://launchpad.net/bugs/1860388 [15:36] where MaaS deploy fails because user removed www-data [15:36] question is whether there's anything stopping us from recreating it, though I'm not fond of 'forcing' a user into existence if it's been removed by another process [15:37] (the core problem there is there's some atypical 'user provided hardened ubuntu image' that has the default users in 0-99 UID groups stripped out [15:37] and that's caused the issue. Not sure it's an *nginx package fixable issue* though) [15:38] Is www-data created by base-files? [15:40] not sure [15:41] It might be the installer [15:41] https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes says only that "new ids in this range being added automatically as the base-passwd package is updated" [15:42] base-passwd is different than base-files at source [15:42] I'd say the bug is invalid then, just on the basis that www-data is globally allocated and is in passwd and group of all Debian systems by Debian policy. Removing that breaks your system and it's reasonable for packages to assume that they are present. [15:42] checking base-passwd [15:42] I can write that in the bug if you like. [15:43] www-data is created by base-passwd [15:43] so then yes, this would be a 'you broke your system' state. [15:43] please do [15:43] you'll word it better than I will :P [15:43] *is exhausted* [15:46] rbasak: mdeslaur at 'a glance' seems to agree with us that this is User Error [15:46] and not something the packages should be fixing esp. since base-passwd populates those user datas, and not something we should be fixing if the user wants to torch their system :p [15:47] which means that's the basis of 'Invalid'. Have fun writing it up, I'm going to go find the nearest hard surface to blast my head through (E:ROUGHWEEK) [15:49] rbasak: mdeslaur: well, this is explicitly *in* the Debian Policy: Packages other than base-passwd must not modify /etc/passwd, /etc/shadow, /etc/group or /etc/gshadow. **In theory** we could reject on that, since nginx asserting www-data exists would alter those files. (9.2.1) [15:49] esp. if it has to add that. Ultimately, still user error :P [15:50] well, I think that means modify the files directly without using a tool [15:51] Yeah - plenty of packages modify /etc/passwd (indirectly) to ensure that a user they need exists [15:51] If you want to use that interpretation, all those packages would be buggy and there'd be no way for packaging to do that. [15:51] true. (I'm tired, sue me xD) [15:52] I have commented on the bug and marked it Invalid for nginx [15:54] thank you very much [15:54] *goes to find the largest cup of coffee he can in the workplace to consume it* [15:58] teward: sounds like you need a shot of espresso with a coffee chaser ;) [15:58] nah what i need is an extra five hours sleep [15:58] if i had my way i'd have five shots of espresso [15:59] three lattes [15:59] and coffee [17:41] on a computer using ufw, would ufw deny IP, deny all connections from that computer to that IP? [17:54] question, I have a ubuntu server 18.04 I have enable ufw and am trying to receive mail from an application who's log says the connection is being refused, I added port 587 by doing the following as root ufw allow 587/tcp says it updates any ideas [17:56] beware I am a newbie trying to learn this by doing [18:30] Chuckfu: if you issue 'sudo ufw status' you should see a line on the note of '587 ALLOW Anywhere' [18:33] it show it ALLOW anywhere, but a telnet into that port 587 is still refused while on another system connect fine, really weird, probably something small I'm missing [18:34] Chuckfu: you should be able to see if another port needs to be opened (eg, port 25) too by looking at firewall denials in /var/log/ufw.log or dmesg [18:36] I'll do [18:37] that depends on loglevel right? [18:37] when I make change to ufw do I need to restart it [18:37] ufw that is [18:38] I have mine set to low and don't see any logging when I issue a command that is blocked by firewall [18:39] how did you set it to low [18:39] Chuckfu: nope, don't need to do that. ufw updaes the iptables immediately [18:40] Chuckfu: issuing 'ufw logging low' [18:40] humm but when trouble shooting I should leave it like it is too see issues right [18:41] Chuckfu: if log level is set to high or medium then yes [18:42] what is the command to see what level its at I have not done anything but add ports to it [18:43] is there someway of filtering to only see port 587 block [18:44] Chuckfu: too see the current level look in /etc/ufw/ufw.conf [18:45] supaman: yes, but the default loglevel is low, which will show some stuff [18:46] "logs all blocked packets not matching the defined policy (with rate limiting), as well as packets matching logged rules" [18:46] screwed up I did a nano ufw.log | grep "BLOCK" seems froze right now [18:46] they might be redirected somewhere [18:46] Chuckfu: ctrl+c that [18:46] yeah nothing [18:46] Chuckfu: just do: grep "BLOCK" /var/log/ufw.log [18:47] it locked up, oh well thats how you learn [18:47] Chuckfu: do ctrl-x [18:47] that exits nano [18:47] nada [18:48] hmmm [18:48] lol I just cold rebooted not good, hopefully I didn't blow it up [18:49] :-) [18:49] it should have been in nano mode and the usual ctrl-x to exit nano should have worked [18:50] ok back up [18:50] no issues [18:52] ok ufw is set to low [18:53] if you don't see anything in /var/log/ufw.log then issue 'ufw logging medium' and try doing the email again [18:53] then you should see a lot more info from ufw [18:54] it said low and I just perform that command [18:55] you can also see ufw "realtime" messages with 'journalctl -f' or 'tail -f /var/log/ufw.log' [19:00] is there a way to allow traffic IN/OUT on port 587 [19:03] you originally did ufw allow 587/tcp ... don't remember if you need udp also ... so you could try 'ufw allow 587' [19:04] is this server a public server or just for your home use? [19:04] Chuckfu: the default policy allows all outbound traffic. it also uses connection tracking so traffic related to the initial connect on 587 is allowed [19:05] Chuckfu: if you changed the default (sudo ufw status verbose), then you would need to add egress (outgoing) rules from your system to somewhere else, port 587 [19:10] can I reset ufw to default [19:14] or will disabling ufw allow all traffic to pass [19:16] if you disable ufw then all computers that have direct access to that computer can access all ports that are open on that computer [19:17] if that computer is behind a NAT then there is much less danger, but still whichever port is natted into the computer is accessable from outside the NAT [19:18] guess I need to reset the firewall and start from scratch, adding whatever is needed and creating the outgoing rules [19:18] or I could put together a pfsense firewall before it, something with a gui so I can see whats going on [19:19] yeah, not sure how to reset ufw [19:20] https://www.digitalocean.com/community/questions/how-to-reset-the-firewall-on-ubuntu [19:20] reset Disables and resets firewall to installation defaults. Can also give the --force option to perform the reset without confirmation. [19:29] thank you very much for the help been awesome learning lesson [19:30] be glad you don't live in Phoenix, I'd have you camping at my house teaching me [19:31] camping in Phoenix ... hmmm :-) [19:31] phoenix, indeed, I'd be dead from heat stroke by june :) [19:31] considering I live close to 66°N yup, same here [19:32] supaman: hehe, even december may be too hot for you then :) [19:32] yup :-) [19:34] Oh but the fall, winter and spring months are awesome low of 50's high of 70's [19:35] but yeah summer you go AC to AC [19:35] had -10°C here the other day, it was refreshing :-) === led_dark_2 is now known as led_dark_1