/srv/irclogs.ubuntu.com/2016/09/23/#ubuntu-server.txt

unimatrixoverlodam i allowed to post a link to my site that is now running?00:00
naccunimatrixoverlod: glad you got working00:00
naccunimatrixoverlod: not sure that's ontopic or appropriate for the support channel00:00
nacc*support/discussion00:00
unimatrixoverlodnacc: got it. no problem. thank you Nacc again for your help.00:01
naccunimatrixoverlod: np!00:01
unimatrixoverlodcouldn't have done it without you :)00:01
=== skylite_ is now known as skylite
=== gaughen_ is now known as gaughen
skulltipis it possible using filezilla or some other client to upload an ascii file to one server and a binary to another server, without corruption between the two?03:14
skulltip(FTP)03:14
phpI'm currently trying to fix someone's mail server and it's having quite a strange issue. The server is using dovecot and for some reason incoming mail is going to /var/mail/%n, instead of /home/mail/%n, after a lot of attempts at changing various things over and over to make them point to mail to the /home path03:36
phpUbuntu 16.04.1 LTS03:36
a1fai have a strange issue with tcpdump not wanting to read files, or write files in certain directories.. chmod ugo+rw is set for that directory, single partition, i can dd if=/dev/random into that file, running tcpdump -Z root didnt help.. sudo, or running it as root makes no difference03:37
a1famkdir /test; cd /test; tcpdump -w /test/whatever03:39
a1faopen("whatever", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)03:39
a1faumask 02203:40
a1fasetuid(0) setgid(0) too03:41
a1fawriting a file to /tmp and moving it to that directory, and i get same thing permission denid03:41
a1faapp armor?03:43
a1faaudit: type=1400 audit(1474602137.806:48): apparmor="DENIED" operation="mknod" profile="/usr/sbin/tcpdump" name="/test/whatever" pid=20916 comm="tcpdump" requested_mask="c" denied_mask="c" fsuid=0 ouid=003:46
a1fanot sure why i didnt run into this earlier03:46
echosystmcan anyone recommend a really simple monitoring system>?04:39
echosystmnagios is overkill and has too many problems04:39
echosystmlike NPRE or whatever it's called having massive security issues04:39
echosystmall i want to monitor is disk, cpu and security updates on 3 servers04:39
zkvvoobHello! Is anyone willing to help be debug a strange Apache rewrite problem that returns either Error 500 or 301?08:04
=== _degorenko|afk is now known as degorenko
zkvvoobCould anyone help me figure out this problem, please: http://stackoverflow.com/questions/39611923/apache-rewrite-adding-unnecessary-directory-get-returns-error-500 ?08:38
=== jamespag` is now known as jamespage
jamespageddellav, coreycb: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-yakkety/yakkety/amd64/p/python-pbr/20160923_035406@/log.gz12:55
jamespageautopkgtest failures for pbr12:55
jamespage:~(12:55
coreycbjamespage, grr12:55
coreycbjamespage, python-wheel is in universe12:58
jamespagecoreycb, I know12:58
jamespagecoreycb, its only in the tests afaict12:59
coreycbjamespage, yeah I"m only seeing it imported in that one test file13:00
coreycbjamespage, maybe just skip TestPackagingWheels()13:01
jamespagecoreycb, oh wait there is a --derives-from in the rules13:02
jamespagethe package skips unit tests - this is a main/universe re-org hangover13:02
jamespagecoreycb, you can add python-wheel to the autopkgtest depends - that's allowed13:02
coreycbjamespage, ah, cool13:02
coreycbdidn't know that13:02
jamespagecoreycb, actually if you add it to the BD's and stop skipping the tests during the pkg build that's also good13:03
jamespagecoreycb, but we should minimize the cleanup now I guess13:03
jamespagecoreycb, the autopkgtests use the BD's so I'd add python{3}-wheel to the BD's for the package13:04
coreycbjamespage, ok let me try that13:05
coreycbjamespage, this is new for me, there's c code in the pbr tests13:26
coreycboh I think I just need python-all in BDs13:28
rbasakcpaelzer: FYI, I figured out bug 162095513:40
ubottubug 1617963 in heimdal (Ubuntu) "duplicate for #1620955 package libasn1-8-heimdal:amd64 1.7~git20160703+dfsg-1 failed to install/upgrade: package libasn1-8-heimdal:amd64 1.7~git20160703+dfsg-1 cannot be configured because libasn1-8-heimdal:i386 is at a different version (1.7~git20150920+dfsg-4ubuntu1)" [Undecided,Incomplete] https://launchpad.net/bugs/161796313:40
cpaelzerrbasak: was it starting to show up more often?13:49
cpaelzerrbasak: did you spot that by the versions they had reported?13:50
cpaelzerrbasak: or by running into the same issue13:51
rbasakcpaelzer: yeah it seemed that three people hit it separately, so I looked at it a bit deeper and spotted that the versions are all from yakkety-proposed.13:52
cpaelzerrbasak: you might want to tell him that he did help, that last comment appears to me that he considers your response as too-hard13:53
cpaelzerlast comment 2 minutes ago13:53
rbasakcpaelzer: I'm working on answering this FAQ.13:54
rbasakcpaelzer: with bug 1625577, I feel that it should either be marked with the "not enough info" template, or added to our backlog, but not left hanging. Otherwise if there's no activity the user doesn't have any direction on what to do.14:02
ubottubug 1625577 in php5 (Ubuntu) "package php5-mysql 5.5.9+dfsg-1ubuntu4.19 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10" [Undecided,New] https://launchpad.net/bugs/162557714:02
cpaelzerWell, I was punting the decision if it is not enough info or just my lack of php-wisness to nacc14:03
cpaelzerwhich is why I have subscribed him and mentioned that in the comment14:03
cpaelzerbacklog is probably right14:03
cpaelzersince it is not excluding my former intention14:04
cpaelzerand avoids that it gets lost14:04
cpaelzerthanks for letting me know14:04
* cpaelzer is subscribing14:04
=== Guest4978 is now known as IdleOne
coreycbddellav, hey can you push your upstream and pristine-tar branches for ironic stable/mitaka release?14:26
coreycbddellav, looks like most of your mitaka branches need to get rebased.14:46
samba35Thanks14:48
coreycbddellav, sahara's an interesting one since we sync that from debian now, we probably should maintain ubuntu/* branches in alioth.14:49
samba35i was able to boot from maas 1st server client from pxe but i have many quastion lead by 1st pxe client boot with dedicated  machine (not kvm/pxe boot )14:50
=== JanC is now known as Guest73904
=== JanC_ is now known as JanC
samba35ok i will br right back15:09
ddellavcoreycb is the mitaka staleness due to it sitting around for over a week or did i miss something originally?15:11
ddellavcoreycb also did you figure out pbr? It definitely ran tests during my local build15:12
coreycbddellav, just staleness15:12
ddellavcoreycb ok, i'll rebase them all and figure out what happened with ironic15:13
coreycbddellav, still working on pbr. it doesn't run unit tests during builds for ubuntu.  the problem is autopkgtests (see debian/tests) are failing, they get run before a package can get promoted out of proposed.15:14
=== iberezovskiy|off is now known as iberezovskiy
=== iberezovskiy is now known as iberezovskiy|off
coreycbjamespage, pbr tests are hitting something similar to this old bug https://bugs.launchpad.net/pbr/+bug/129620015:58
ubottuLaunchpad bug 1296200 in PBR "Unit tests are failing in Sid" [Medium,Fix released]15:58
coreycbgpg: invalid item '(setpref)' in preference string15:58
=== nacc_ is now known as nacc
=== degorenko is now known as _degorenko|afk
jerichowasahoaxHow do I configure my server to send all system mail via an external SMTP server20:22
jerichowasahoaxThe eventual goal is to get psad to send alerts through this other SMTP server, which it seems like I can do by getting /usr/bin/mail to do it20:24
jerichowasahoaxGoogle's telling me that I would need to configure a whole new postfix daemon, and I'd really rather not go through all that just to tell my box where my mail server is20:24
maswanyes, that's what you should do. and it is easy, just answer a couple of debconf questions saying that it is a satelite system with a mail server that it should send everything to20:25
tarpmanjerichowasahoax: you can install something like ssmtp or msmtp (which just either deliver mail or fail, no queue) or nullmailer or dma (which are lighter/simpler than a full MTA but do include a queue)20:25
JanCsomething with a queue is probably a good idea if you don't want to lose any mail...21:00
* tarpman generally installs nullmailer everywhere21:08
deadheadhello, just installed server in a VM with LAMP, able to hit apache default splash, setting up dreamweaver SFTP connects successfully but cannot write to dir using default user account ubuntu created during install23:00
deadheaddo i need to create a special user / user group or modify the permissions of the folder? whats the common practice here23:01
RoyK!chown23:03
ubottuAn explanation of what file permissions are and how they can be manipulated can be found at https://help.ubuntu.com/community/FilePermissions23:03
sarnoldwhich directory are you trying to write into? which user account owns it now? does that user account make sense? or would it make more sense to change the owner to the ubuntu user?23:03
deadheadid assume there an existing group already and I need to add the default user account created during setup to that group?23:05
deadheadlol, /var/www/html belongs to root, oh boy...23:08
deadheadthanks for the rabbit hole23:09
sarnold'root' makes a certain amount of sense; afterall, root owns the usual web ports :)23:09
sarnoldbut if you'd rather ubuntu own it, go for it.23:09
deadheadwell, id rather create a "webdev" group , add the default created user to install to that and then give that group write to /var/www/html/, is that ok or "not normal" ?23:12
sarnoldthat sounds much better23:12
sarnolddeadhead: investigate 'bsdgroups' mount option (mount(8) has a short description) -- if you set the setgid bit on the directory, that will help keep files and subdirectories owned by the group, to make it easier for group members to work in the directory23:14
deadheadsarnold, thanks, i was actually looking at just chgrp -R and chmod -R and be done with it but I am not a linux person and dont know if this removes the root group from the dir and would cause problems23:18
deadheadill dig before going forward23:18
sarnoldit would remove the root group, it's unlikely to cause problems23:18
deadheadsarnold, do you know if /var/html/www is usually changed to 770 or 774 or there isnt reason to execute anything in here w 775 right?23:21
sarnolddeadhead: 775 is nice if the web server doesn't own the data and isn't part of the group -- that way it can get read-only access to the data via the 'world' bits23:23
deadheadlike a hosters web server of many clients, I see23:25
sarnoldprinciple of least authority -- I like to have as few resources modifiable by processes that interact on the network23:27
deadheadso much to learn, we are strictly windows asp .net over here but jumping in the deep end for a swim, thanks for the help23:31
sarnoldwoot, welcome aboard :)23:33
=== mrx is now known as Guest56975
=== Guest56975 is now known as eaux

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