/srv/irclogs.ubuntu.com/2015/12/20/#ubuntu-server.txt

=== m1dnight1 is now known as m1dnight_
=== Monthrect is now known as Piper-Off
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
=== cpaelzer is now known as cpaelzer_afk
=== Lcawte|Away is now known as Lcawte
=== Piper-Off is now known as Monthrect
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== stevenroose|BNC is now known as stevenroose
bill_does 14.03 server distribution not support wirelss network?17:27
rbasakUbuntu Server connects to wireless networks fine.17:27
bill_it won't recognise my card17:27
rbasakYou may need to install the wpasupplicant package though, and you will need configure /etc/network/intefaces as usual.17:27
rbasakI believe it should recognise anything that Ubuntu generally does. If there's no support then it may be a Linux-wide thing.17:28
bill_14.04 desktop uses it when i boot the cd17:28
rbasakMaybe you need a firmware package or something.17:28
bill_all other distributions use it17:28
rbasakIf Ubuntu on the desktop can work with it then it can be made to work on Ubuntu Server. They share the same core platform, including kernel.17:29
bill_i thought it should...but it doesn't17:29
TJ-bill_: -desktop installs network-manager whereas -server doesn't. network-manager handles a lot of the background plumbing for WiFi so it 'just works'.  You can use network-manager service (without any GUI components) on -server, too17:29
bill_i will run the disk check on the install cd17:29
bill_maybe it's broken17:29
bill_i will try that17:30
bill_thank you TJ17:30
rbasakTJ-: if it's just a single wireless network that needs connecting to, then no need for network-manager. Just wpasupplicant and /etc/network/interfaces can achieve all that network manager can in terms of that.17:30
bill_at the moment i have 14.04 desktop almost installed17:30
bill_i'll strip out the desktop 'fluff and install some more serveices17:31
rbasaknetwork manager is much higher up the stack than plain wireless driver problems.17:31
bill_i only want it to store the backups from other computers on the network17:32
bill_thanks for your help17:32
bill_i'll revisit this later17:32
=== cpaelzer_afk is now known as cpaelzer
toorHello, I am trying to set up my ubuntu server as a mailserver but I can't get it to send the mails, it only receives them.17:53
slidinghorntoor: what error(s) do you receive when attempting to send mail?  What are the logs telling you?  Also, which version of Ubuntu Server are you using?17:54
toorThere are no errors and I cannot find any error logs. Ubuntu 14.04 TLS.17:55
toorLTS*17:56
slidinghorntoor: are you using postfix or sendmail or something else?17:57
toorpostfix, dovecot and I used the mail command.17:57
slidinghorntoor: you should be able to view your postfix log in /var/log/mail.log17:59
toor"No such file or directory"17:59
slidinghorntoor: then you've likely changed some kind of configuration on your system telling it to log elsewhere18:01
toorThere is no such file anywhere on the system.18:01
slidinghorntoor: again, that's because you've changed something from the postfix default...please pastebin the result of postconf -n     and link it here18:02
TJ-Cound be there's no syslog service, too18:03
toorhttp://pastebin.com/21wJeY2L18:03
slidinghorntoor: have you restarted postfix & rsyslog?   sudo service postfix restart && sudo service rsyslog restart18:06
=== cpaelzer is now known as cpaelzer_afk
toorpostfix/postfix-script: fatal: the Postfix mail system is already running18:12
toor                                                                         [fail]18:12
TJ-sounds like a PID file is present but the process has died, or else you started the process manually18:14
toorI wrote "service postfix start" when the computer booted.18:15
toorIs there a guide or something that works in all cases?18:17
toorCould it be that it's Ubuntu's fault? I don't remember having problems installing on Debian18:19
jellyit's not likely ubuntu's QA would allow for completely broken packaging of postfix that did not log by default18:21
toorWell I could try to reinstall and try from scratch..18:22
toorCould you private message me a tutorial that would work if I did that?18:22
jellyit would be better to try and understand the current state and the desired working state, instead of reinstalling blindly18:23
toorIt's too complicated for me.18:24
jellytoor: for example: if the service command says the service is already running, can you verify that by looking at the process list?  There should be a process named "master".18:24
=== cpaelzer_afk is now known as cpaelzer
jellytoor: some amount of basic unix knowedge and analytical skills is needed to run a linux server.18:27
=== cpaelzer is now known as cpaelzer_afk
=== hxm is now known as Guest96070
=== hxm- is now known as hxm
Slingif i plan a cronjob for lets say 1 2 3 1,3 0 /path/to/script.sh21:11
Slingit runs at 2:01 on the 3rd of january and march21:12
Slingwhat would the 'dow' parameter do here, only run it when that date is a sunday?21:12
bekksYes.21:12
Slinghm so i would want that to be * I guess :)21:13
bekksYes. :)21:13
Slingwould be a funny 'why didnt my letsencrypt certs renew' debug session21:13
patdk-lapheh mine are on manual21:20
patdk-laplets encrypt is not very friendly much other than a certificate21:21
patdk-lapcannot use certificate pinning/dane/... with it, cause it changes so often, and you need to renew, but delay using it21:21
Slingpatdk-lap: then you're pinning the wrong certs I guess21:21
patdk-laphow so?21:21
Slingwell you can also pin the letsencrypt intermediate for example21:22
patdk-lappinning an intermediate or ca certificate is a horrible thing to do21:22
patdk-lapit means anyone that uses that same ca, can spoof you21:22
patdk-lapand it assumes they dont rotate them out, most ca's rotate the intermediates yearly21:22
patdk-lapletsencrypt hasn't said how they plan to do it yet21:23
Slingtrue21:23
patdk-lapso you might just pin outself out of a useful website21:23
Sling(I don't have pinning atm)21:23
patdk-lapand there is no way to fix that, other than hope your old certificate isn't expired21:23
patdk-lapand the pin expiration time is highly short, and having it short is a bad idea21:24
devster31why can't you pin them?21:24
patdk-lapwell, I normally use 6month pins21:24
patdk-lapletsencrypt is only good for 321:24
patdk-lapI cannot pin a new one, till everyone knows about it21:25
patdk-lapso say, I give it a 1month overlap21:25
patdk-lapso the new cert is not useful for atleast 1 month21:25
patdk-lapI add it to my websites pin21:25
patdk-lapthen after a month, I switch to it21:25
ianorlinpatdk-lap: then maybe not use letsencrypt for this21:25
patdk-lapand have the pin expire in a month21:25
patdk-lapuse it for a month, and start process to new one again21:26
Slingrenewing doesn't imply using a new private key though21:26
Slingso you could still use the same pin?21:26
patdk-lapusing the same key is possible21:26
patdk-lapbut kindof defeats the point21:26
patdk-laphalf the point of getting a new cert, is to rotate the keys21:26
patdk-lapso the bruteforce would have to start over21:26
patdk-lapif you start reusing the keys, your likely going get yourself into trouble21:27
Slingnot pinning the leaf isn't that bad though, plenty of people do it that way21:28
Slingeven companies like github21:28
Slingthey pin their root CA21:28
Slinganyway I still need to dive into that topic someday, first getting all my boxes set up with autmatic renewal + LE21:29
ianorlinI think someone could setup certs worse than letsencypt21:29
patdk-lapyes, I just wish they had a 6month option21:30
patdk-lapfor usecases like this21:30
patdk-lap3months is fine for if you don't need any leadtime for the cert21:30
patdk-lapatleast I got it programmed to update dane automatically21:32
patdk-lapbut haven't picked a solution to delay activation yet21:32
patdk-lapprobably will patch their program to keep two certs in the folder, and only use the old one21:33
andolpatdk-lap: Another option might be to pregerante key+csr, publish parallel dane/tlsa record, and then renew based on on that explicit csr.21:40
patdk-lapbut pinning is based only on the cert21:42
patdk-lapI think21:43
andolpatdk-lap: No, pinning is based on the key material, and you can/should generate a backup pin based on an existing csr.21:44
patdk-lapactually it's both21:44
andolpatdk-lap: How do you mean that it's both?21:44
patdk-lapyou can do it either way21:45
patdk-lappin by cert21:45
patdk-lapor pin by public key21:45
andolOk, my bad.21:45
andolOnly seen pins based on the public key.21:45
andolWhy would you want to do it any other way?21:45
patdk-lapeasier to do :)21:46
andolWell, writing that helper script is a one time thing in both cases.21:47
patdk-lapif everyone could write that :)21:48
patdk-lapmost of the people using certificates have no idea how they work21:48
patdk-laplet alone there are two parts to them21:48
andolNot sure if one should try out HPKP unless one really knows what ones is doing? :-)21:49
patdk-lapthat is the problem21:50
patdk-lapboss tells you to do it :)21:50
patdk-lapor, you are new into that department21:50
patdk-lapmanaging certs isn't exactly the highest and most important thing in a company view generally21:50
patdk-lapit's easy to kindof tell, based on all the dnssec issues21:51
patdk-lapcertificate is annoying, and generally easily fixable, or worked around21:51
patdk-lapdnssec is normally very noticable21:51
andolHmm, I think most DNSSEC issues are more about people not doing DNS right, which then becomes more much visable then you add DNSSEC.21:51
andolBut yeah, I agree with your more general point, about there being stuff like certs, dns(sec), etc which isn't given the needed importance.21:54
=== Lcawte is now known as Lcawte|Away
=== Monthrect is now known as Piper-Off

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