/srv/irclogs.ubuntu.com/2013/06/06/#ubuntu-server.txt

halvorsHi! Seems like AppArmor is blocking bind, anyone know how to fix that?00:02
halvorsJun  6 01:03:58 s2 kernel: [ 4787.970523] type=1400 audit(1370473438.770:18): apparmor="DENIED" operation="link" parent=1 profile="/usr/sbin/named" name="/var/lib/bind/db-leUm8nfK" pid=5161 comm="named" requested_mask="l" denied_mask="l" fsuid=0 ouid=0 target="/var/lib/bind/drommelan.com.hosts"00:02
sarnoldhey halvors00:03
halvorssarnold: Hi! :)00:03
halvorsI'm trying to sync from master dns server to slave dns server.00:04
halvorsSyncing works, but seems like apparmor is blocking BIND to save the zones to disk :(00:04
sarnoldhalvors: in /etc/apparmor.d/usr.sbin.named you'll need to add a line like "link /var/lib/bind/db-* /var/lib/bind/*.hosts,"00:04
sarnoldsigh00:05
sarnoldhalvors: in /etc/apparmor.d/usr.sbin.named you'll need to add a line like "link /var/lib/bind/db-* -> /var/lib/bind/*.hosts,"00:05
sarnold(note the '->')00:05
halvorssarnold: Thank you very much :) That works like a charm :D00:09
sarnoldhalvors: excellent; would you mind filing a bug against bind with this?00:11
cellofellowI'm setting up an email hosting service. Main customer uses Mail.app on Mac OS X, which when you add an account tries to connect to autodiscover.example.com. Currently that will just serve up a redirect webpage.00:22
cellofellowQuestion: how do find docs on implementing this autodiscover magic?00:22
qman___said autodiscover is an MS exchange thing00:27
qman___so unless you have MS exchange or an exchange compatible server, it won't do you any good00:27
cellofellowok00:28
cellofellowDumb thing is we have *.mydomain.com resolving in DNS, so it still hits something when it looks for autodiscover instead of just moving along.00:28
cellofellowso, there's no way to implement that exchange thing?00:29
qman___yeah, that's just one of many reasons that wildcard DNS is a pain00:29
qman___you'd need an MS exchange compatible server such as zimbra or openchange00:29
qman___and then you'd have to make autodiscover point at it00:29
cellofellowhm00:30
qman___(that assumes those support autodiscover, I don't know if they do(00:30
cellofellowhey, thanks00:30
cellofellowGonna stick to dovecot+postfix, and let Mail.app be painful I think.00:30
qman___easiest workaround would be to make autodiscover point to an unresolvable location00:30
cellofellowtrue00:31
sarnoldcan you add a rule just for that to aim for 127.0.0.1? or add something in your webserver to handle that location with a 404 or 403? perhaps some combination would make it not so painful..00:39
qman___right, if you set up a public A record for it pointing to 127.0.0.1 it would fail quickly00:40
qman___or if you're concerned about people having local web servers, 127.255.255.25500:42
qman___since pretty much nothing is going to bind to that00:42
sarnoldheh, nice00:43
halvorssarnold: I don't know if it's a bug, i've been using Webmin, and the zones are saved in a different place than usual on Ubuntu. So i don't think it actually should be fixed? :)00:44
qman___!webmin00:45
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.00:45
qman___that's why00:45
halvorsOr, wait? Does it save them in the actual right place?00:45
sarnoldhalvors: sadly I don't know enough BIND to know ..00:45
halvorsqman_: I know, and thats whay there shouldn't be any bug reports...00:45
sarnoldhalvors: but at least a bug report might save the next guy a bit of trouble00:45
sarnold.. and get the problem in front of someone who probably knows bind better than I do :)00:46
qman___that's really all it is, webmin is saving things in a different location00:46
qman___the apparmor profile is really strict on bind, due to its long history of exactly that sort of exploit00:46
sarnoldoh right, qman___ knows bind :) hehe00:46
qman___people have been chrooting bind for a decade00:47
qman___so, in order of preference, don't use webmin, modify the apparmor profile, or turn off apparmor00:48
halvorsqman___: :)00:49
halvorsqman___: I know Webmin isn't supported, but i've been using it for years, never had a problem like this. The only reason i asked is that i don't actually knows AppArmor :)00:50
qman___problems like this one are exactly why we have that bot message00:50
halvorsSo Webmin is working well, even if its not supported :) There is actually nothing like it out there (As far as i know) :)00:51
qman___webmin does silly things that leave nasty surprises under some circumstances00:51
halvorsqman___: But it's easy to modify webmins default configuration so that it works :)00:51
halvorsThis is an example of that, it's not a crash :)00:51
=== lifeless_ is now known as lifeless
mgwsmoser: just read http://ubuntu-smoser.blogspot.co.uk/2013/02/using-ubuntu-cloud-images-without-cloud.html01:14
mgwIn relation to this, I have a question about how one would use a custom cloud-init data source (with the api described here: https://cloudinit.readthedocs.org/en/latest/topics/datasources.html) instead of a data source file.01:15
mgwdoes anybody know how to do that?01:21
sarthorHi, what software or package I will need that my ubuntu-server can translate pdf files to postscrip for my network dot matrix printer01:59
sarnoldsarthor: ghostscript has a pdf2ps tool02:00
sarthorsarnold: ghostscrip-cups installed already and my printer is printing raw text, any Idea?02:01
sarthorsarnold: using frontaccounting software on ubunter-server and printer is shared on win7 pc. using lpr protocal02:02
sarnoldsarthor: perhaps the printers.conf (iirc) from cups lets you specify a filter for certain file types..?02:02
sarthorsarnold: here is one image https://www.dropbox.com/sh/e8390d5gbqbolb9/Tihn1su5l-#f:Front-Accounting-Network-printer.png02:04
sarthorthat 192.168.1.148 is winodws 7 machine and printer is installed and shared on that pc.02:04
sarthorsarnold: as I am not an expert, but I think it will not need any cups or translator?02:04
sarnoldsarthor: no idea there, I've not done windows printing since NT 4 ..02:05
sarthorsarnold: great, Thanks brother, Googling.02:06
sarnoldsarthor: good luck :)02:06
resnohey yall. i need some suggestions about things to install.02:25
resnoi've got monitoring setup, should i be aggregating logs?02:26
Chunky56can anyone help me with a raid issue?04:44
mgwWhat's the best way to take a prebuilt cloud image and add some more packages to it?04:55
Chunky56I'm not sure anyone is here to answer questions04:56
Patrickdkchunky, it helps if a relevent question is asked05:08
Patrickdk!ask05:08
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience05:08
Patrickdksince you failed to ask a proper question, I cant answer you05:08
Patrickdkand since I'm going to bed now, good luck05:08
Chunky56oh sorry05:11
Chunky56I was away from this window for a sec05:12
Chunky56Well if anyone is reading and can help, I have a software RAID5 array on Ubuntu Server and one of my hard drives died. I got a new one and was trying to add it, but accidentally set faulty one of my OTHER hard drives, and now cannot add this other hard drive back into the array05:13
Chunky56How do I manually add this other hard drive that still has the raid data and still knows it was part of the array back into the array?05:14
qman___Chunky56, relevant to you: http://www.linuxquestions.org/questions/linux-server-73/mdadm-raid-5-single-drive-failure-644325/05:19
qman___basically you force assemble05:20
qman___then add the new drive and it rebuilds05:21
Chunky56I see the command at that link--do I use the existing /dev/md127 (which is what my raid is called) or do I specify a new one?05:23
Chunky56The mdadm --assemble --force /dev/md0 <device 1> <device 2> ... <device N> command I mean05:24
Chunky56I want to make sure the command I run is correct--so if I have 3 devices currently connected (my new fourth hard drive is not plugged in yet), called /dev/sdb1, /dev/sdc1, /dev/sdd1 and my raid array is /dev/md127, then is the command i use 'sudo mdadm --assemble --force /dev/md127 /dev/sdb1 /dev/sdc1 /dev/sdd1'?05:34
=== cads is now known as Pinky-
Chunky56qman___, I tried to force assemble but it says 'mdadm: cannot open device /dev/sdb1: Device or resource busy'--does this mean I should stop the array first or something?06:06
qman___yes06:07
Senoriwlist wlan1  scanning, it output many IE:unknown ......06:16
SenorIs this output normal?06:16
Chunky56qman___, thank you so much--it's at least back to its degraded state!06:17
sgroverNeed help.  12.04-lts server.  /boot filled up and an upgrade failed.  I've purged all older kernels.  apt-get -f install still fails with an unmet dependency for linux-image-3.2.0-41-generic-pae not being installed.  I can't get around this and am beginning to not trust a reboot...06:17
sgroverI've tried all the tricks mentioned here http://askubuntu.com/questions/296578/i-have-purged-the-current-kernel - but when they say to run the apt-get -f install command, it still fails for me.06:18
sgrover(that page is a decent summary of the tricks I've seen posted....)06:18
sarnoldsgrover: compare your ls /boot  against  dpkg -l | grep linux-image  -- you'll need to make sure at least one kernel image is left in /boot and that specific package is still installed..06:27
sgroverI have linux-image-3.2.0-45-generic-pae (and related files) in /boot, and it is marked as "ii" in the dpkg -l.06:28
sgroverBut there are others listed in the dpkg -l as well...  Do I need to purge those?06:29
sgroverer, others with ii06:29
sarnoldsgrover: you ought to delete whichever ones no longer have corresponding kernels on disk06:29
sgroverexcept for the virutal one.. (linux-image-generic-pae) - working on it.06:31
sgroverk, I only have linux-image-3.2.0-45-generic-pae and linux-image-generic-pae listed in the dpkg -l, and only the -45 files in /boot.  the apt-get -f install still fails with "linux-image-generic-pae depends on linux-image-3.2.0-41-generic-pae"06:33
sgrover(btw, thanks for the suggestions sarnold!)06:34
sarnoldsgrover: hrm. maybe.. delete linux-image-generic-pae as well, get the rest of your package database happy, then re-install linux-image-generic-pae after another apt-get update06:41
sarnoldsgrover: (my 12.04 LTS schroot shows linux-image-generic-pae depends upon -45. I wonder why yours is -41...)06:42
sgroverguess I can't really hurt things worse... :)  was worried that purging the generic would make things unstable...06:43
sarnoldhehe06:43
sgroverIf worse comes to worse, I can recover the drive in other ways (new install/setup/etc... time consuming, but do-able...)06:43
sgroverhmm.. in the dpkg -l, it says right there that linux-image-generic-pae wants 3.2.0.41.49, whereas linux-image-3.2.0-45-generic-pae wants 3.2.0-45.70... you may be on to something...06:45
sgroverno joy.  it tries to re-add the linux-generic-pae package, but that is depending on 3.2.0.41.49.  And I just did an apt-get update...  I'll check for rogue repositories....06:46
sarnoldsgrover: hrm.06:52
sgroverMy sources.list file is the default, and my extra repositories is only the pitti-postgresql repo.  I've removed those for now.06:52
sgrover(the pitti files seem to be marked for "maverick", so could be referring to older packages even...)06:54
sarnoldsgrover: aha, probably it would be worth to try to move those to precise06:55
sarnoldsgrover: .. but they probably aren't involved06:55
sgrovershouldn't need them anymore - they were only so PostgreSQL 9.1 could be installed at the time...06:56
sarnoldah06:56
sgroverBUT, I *may* be fixed.06:56
sgroverlinux-generic-pae was also depending on 3.2.0.41.49.  Purged that and the apt-get -f install *seems* to be working - not reporting the same error at least.06:57
sgrovernow it is reporting that it is ignoring the 'pitti-posgresql' files in /etc/apt/sources.list.d  (I renamed em with a .bkup extension, so now apt doesn't know what to do with em.)06:57
sgroverI think I'm fixed.  apt-get upgrade is running now....06:58
sarnoldsgrover: excellent!07:05
sarnoldsgrover: now try adding back the linux-generic-pae once it's done, so you get upgrades in the future..07:05
sgroverdone already.  And dpkg -l nicely reports it depends on -45.x now...07:05
sgroverThanks bunches for the support/assistance/encouragement... :)07:06
sarnoldsgrover: glad it worked out :)07:08
sgroverOh and I'll need to make sure PostgreSQL will be handled properly without the PPAs.07:08
sarnoldshould be, pitti takes care of the package for the distribution as well :)07:11
sgroveryep, it looks like it's going to be fine without the PPAs, but I don't want to just toss em quite yet...07:12
sgroversarnold: k. I'm calling it a night (1:13am here...).  Thanks again and have a great night/day!07:14
sarnoldsgrover: thanks, goodnight07:14
=== VSpike_ is now known as VSpike
adam_gjamespage, w00t both folsom and grizzly point releases got released to -updates. both CA -proposed pockets should be good to move to -updates07:54
adam_gjamespage, actually i lied, precise-folsom proposed keystone is lagging behind our last rebase: http://people.canonical.com/~agandelman/ca/folsom/keystone_2012.2.4-0ubuntu3/08:00
jamespageadam_g, yeah - but we have exactly the same code in the CA08:32
jamespagethat last update just fixes a ftbfs08:32
jamespageadam_g, I'll process that today08:32
abhi_Hi there everyone. I recently got a pdf file with a cert file (PFX). I even got a "key" to open the "PFX file". I can successfully install the pfx file in MS Windows 7 and open the PDF file there. I am "super new" to Ubuntu. Can anyone please tell me how to install/import PFX into Ubuntu ? I am currently using Ubuntu 13.04. Please help...08:39
=== psi is now known as Psi|4ward
rbasakabhi_: sounds like you want #ubuntu for help, rather than this server-specific channel. Try there?08:49
yolandahi, anyone knows about vgs command? which package provides it? i'm unable to find it09:10
EnichHello Nagios guys, i am installing a Nagios3 server  on a ubuntu, it promts me for the Password for the NagiosAdmin when i install.  Would anyone know a clever way to install without promting for the password?  i was thinking either by defining it before installation in a variable of sorts, or installing it without a password and then doing a htpasswd -b nagiosadmin $password.   I am doing unattended installations (for non production educational environ09:11
Enichments)09:11
Enichyolanda,  lvm2 ?09:11
Enich$vgs   tells me that you need to install lvm209:12
yolandadamn, i tried "lvm" without the 209:12
rbasakyolanda: it's lvm209:12
yolandathx09:12
rbasakyolanda: I used "apt-file find vgs" - it needs setting up first but is really helpful for this kind of query.09:12
Enichyolanda, if you fire up a command that isnt installed or isnt present, you will often be told which package it is part of :)09:12
abhi_I log into my ubuntu 13.04 and click on the PFX file. It (CERT_SYSTEM_STORE_CURRENT_USER_My_0_Pushpendra.pfx) says The contents of 'CERT_SYSTEM_STORE_CURRENT_USER_My_0_Pushpendra.pfx' are locked. In order to view the contents, enter the correct password.. I enter the password for the PFX key  and click "Ulock" . I dont have any idea as to what to do next. PLEASE HELP HELP HELP...09:12
yolandayes, with apt-search i was unable to find it09:13
EnichUnattended Nagios3 installation anyone ?09:14
rbasakabhi_: did you see my message? If you're clicking on something, you're in the wrong channel. This is a server channel. Please go to #ubuntu for help with your desktop.09:14
yolandajamespage, zul: https://code.launchpad.net/~yolanda.robla/cinder/havana/+merge/16772609:31
SiebjeeDoes any one has experianced performance differences with Ubutntu 12.04 LTS and Dell Poweredge M61011:47
=== Mez_ is now known as Mez
bicyusop... op... op... op-op!12:13
linociscohi13:06
=== funkyHat_ is now known as funkyHat
yolandajamespage, zul, i'm working on squid3 tests. I have a problem, that the squid3 has been converted to upstart. And now i have to use the start/stop squid3 commands. But a stop without any started process gives error. What should be the better way to only stop the service if it was running? Checking with a pidof?13:26
zulyes13:27
=== gary_poster|away is now known as gary_poster
=== wedgwood_away is now known as wedgwood
sarthorNeed help. when I send print to my printer,the error logs say,  +0300] Unable to encrypt connection from localhost - An unexpected TLS packet was received14:26
codepython777update-rc.d nginx defaults —> Tells me —> System start/stop links for /etc/init.d/nginx already exists —> But nginx does not start at boot14:41
=== FieldySnuts is now known as Fieldy
codepython777anyone running nginx ?14:50
=== itarchitectkev_ is now known as itarchitectkev
tohuwcodepython777: If you don't get a response for some time, try repeating your question rather than asking an "anyone" question. Regarding your original question: is nginx trying to start? Anything in syslog or so?15:09
=== racedo` is now known as racedo
codepython777tohuw: nothing in syslog15:28
codepython777I added a separate line in /etc/rc.local that starts nginx now. Still have no clue why it wont start automatically15:29
tohuwcodepython777: Are the links actually there in /etc/rcX.d (where x is the desired runlevel)?15:31
tohuw(see man update-rd.d for more about the links)15:32
yolandazul, did you have a change to look at the kombu version bug?15:37
zulyolanda:  not yet im getting the builds working again and then will have a look15:37
yolandagreat15:38
codepython777tohuw: in rc2.d -> lrwxrwxrwx  1 root root   15 2013-05-09 17:08 S20nginx -> ../init.d/nginx15:41
=== Pinky- is now known as cads
tohuwcodepython777: you mentioned you dropped into rc.local, but can you verify /etc/init.d/nginx start works?15:42
codepython777it complains15:43
tohuwof?15:44
codepython777 * Starting nginx nginx                                                                                                                                                                                     nginx: invalid option: "/var/run/nginx.pid"15:44
tohuwWell, there's your problem. When nginx is running correctly, where does it maintain a pid file? Also, did nginx provide that init.d file?15:45
codepython777tohuw: i installed nginx and ran it15:46
tohuwRegardless, look at its content and decide why it is providing and invalid option15:46
codepython777i dont know where the default pid is supposed to be located15:46
tohuwCheck what it does when running with strace or so. It sounds like there is a bug in the nginx package if the init.d script doesn't work out of the box. File a bug appropriately, which may give you some better insight.15:47
tohuw(as it is likely to be replied to with a correction or explanation)15:47
phretorI found this old bug ticket https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/629242 about vmbuilder ignoring the --mac option - I still see the bug and I haven't found any workaround. Anyone?16:40
uvirtbotLaunchpad bug 629242 in vm-builder "vmbuilder 0.12.4-0ubuntu fails to consider MAC address (dup-of: 392097)" [Low,New]16:40
uvirtbotLaunchpad bug 392097 in vm-builder "vmbuilder ignores mac option when using bridge network" [Low,Fix released]16:40
=== Jikan is now known as Jikai
=== Jikai is now known as Jikan
codepython777is there a backup tool on ubuntuserver that backs up a directory with data-deduplication?17:05
sarnoldcodepython777: rsnapshot can use hardlinks if files are -identical-17:07
sarnoldcodepython777: .. though, now that I say it, I'm not confident it _discovers_ the duplication if the files aren't already hardlinked. nevermind.17:07
sarnoldcodepython777: git has some kind of intelligence there, but it might also be magical17:08
codepython777ah that sucks- rsnapshot that is17:09
codepython777so no scripts for a backup that wont copy the same file twice?17:10
=== medberry is now known as med_
=== AlphaWolf is now known as JosephDuffy
=== daker_ is now known as daker
zulroaksoax:  https://code.launchpad.net/~zulcss/python-keystoneclient/test-fbtfs-drop/+merge/16782218:00
roaksoaxzul: done18:01
zulroaksoax:  thank18:01
=== smb` is now known as smb
=== cwillu_ is now known as cwillu
zulroaksoax:  https://code.launchpad.net/~zulcss/keystone/keystone-refresh-ftbfs/+merge/16782518:28
sarnold!eol18:33
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades18:33
zuladam_g:  ping can we push that cinder patch we are carrying upstream?18:38
adam_gzul, which?18:38
zulthe paramiko patch18:39
adam_gzul, they set the version requirement, why would they revert it?18:39
zulso we dont have to carry it and rediff it but yeah18:39
adam_gzul, i assume the reasons it was set  are still valid. theres a new upstream paramiko package coming to debian soon, so we should be able to drop the patch when we sync that18:40
zuladam_g:  awesome18:41
zulroaksoax:  last one https://code.launchpad.net/~zulcss/cinder/refresh-ftbfs/+merge/16783118:54
=== LargePrime is now known as Guest23389
=== LargePrime_ is now known as LargePrime
zulroaksoax:  hey did you +1 my cinder branch?19:35
=== jussi01 is now known as jussi
LinuxAdminhi guys20:12
LinuxAdmini need your help with grub on ubuntu server 12.0420:13
LinuxAdminI'm trying to install ubuntu with raid1 but after installation i reboot and get grub rescue prompt20:14
LinuxAdminsoftware raid, i mean20:14
LinuxAdminafter this I tried to restore grub, with a live cd but had no result20:15
LinuxAdminI reinstalled ubuntu from scratch and the same thing happened once again20:16
LinuxAdminI tried installation with a dedicated partition for /boot, without raid, but get the same result20:17
LinuxAdminwhat is happening with ubuntu? I've already did the same setup in the past and I didn't get this problems20:18
LinuxAdminI tried supergrubdisk, but couldn't solve my problem20:18
LinuxAdmincan some one give me some ideas, I'm really considering change to another distro, this is not acceptable with a server version20:19
LinuxAdminI loved ubuntu and I've got several ubuntu boxes running on my company, but now I'm really desapointed20:20
LinuxAdmindisappointed20:21
LinuxAdmincan some on help?20:21
LinuxAdmincan someone help with my issue?20:33
SpamapSLinuxAdmin: help in here is usually a bit slow20:38
SpamapSLinuxAdmin: give it some tieme20:38
SpamapSLinuxAdmin: as far as your error with raid1.. can you take a picture of the error you get?20:39
SpamapSLinuxAdmin: software raid, unfortunately, is really broken in Ubuntu and needs some love. :-/20:39
LinuxAdminSpamapS: I get grub prompt after reboot, is everything I get20:40
henkjanSpamapS: mdadm software raid is not usable in ubuntu?20:40
LinuxAdminSpamapS: do Debian suffer from the same problem?20:41
SpamapShenkjan: it is usable, but it breaks boot sometimes. :-/20:41
SpamapSno20:41
SpamapSdebian fixed all of this20:41
SpamapSbut for years Ubuntu diverged from Debian20:41
SpamapSAnd thus far, nobody has really had time to reconcile.20:41
henkjanSpamapS: i use it on lots of serveers20:41
SpamapSI tried a little bit20:41
henkjanthe only issue i see sometimes on lucid based servers20:42
LinuxAdminI'm really thinking about move to another distro because of this20:42
henkjanwith sw raid 1020:42
SpamapShenkjan: it works ok for most use cases, but it often detects a broken RAID and fails when it could just recover.20:42
LinuxAdminDebian is a good choice because it's the same of ubuntu20:42
henkjanthe raidset doesnt get assembled quick enough20:42
SpamapSLinuxAdmin: grub prompt, or initrd prompt?20:42
SpamapSLinuxAdmin: Debian is not the same as Ubuntu20:42
henkjanand you'll get dropped in initramfs20:42
SpamapSLinuxAdmin: Debian has only one supported release at a time (stable).20:43
LinuxAdminSpamapS: grub prompt20:43
henkjanpowercycle helps in most of the cases20:43
LinuxAdminI loved ubuntu server and I thought that because ubuntu has Canonical on behalf, it should be more stable and didn't suffer for problems like this20:44
LinuxAdminI'm really disappointed with ubuntu20:44
LinuxAdminI've got some friend that are always saying to me that if I want to sleep well I should use Debian, now I'm starting to give them all the reason20:45
jcastroSpamapS: I thought we resolved the mdadm problem in the point release?20:46
SpamapSjcastro: we resolved many problems20:46
SpamapShttps://bugs.launchpad.net/ubuntu/+source/mdadm20:47
SpamapSshows 55 untriaged bugs, 5 High importance.. and lots of WTF's20:47
SpamapSthere's also a lot of _RAGE_ in that page20:47
jcastroI share the rage, I won't touch mdadm anymore. :)20:48
SpamapSI'm kind of surprised no concerned community person has stepped up to fix it20:51
SpamapSEvery once in a while a Canonical employee wades in but then the rage starts up again and they run away screaming.20:51
jcastroI am spent from the maas SRU20:53
jcastrobut I suppose I could bring it up on the list20:53
SpamapSWith raid controllers costing $100 .. I'm kind of meh on the whole idea.20:53
SpamapSAll of the reasons to use software raid are to save nickels and dimes.20:54
ScottKhttp://netsplit.com/2012/10/30/goodbye-ubuntu/20:54
jcastroI am pretty much a fan of RAID built into the FS, but asking people to use btrfs is probably a bridge too far20:54
SpamapSjcastro: I feel like btrfs is slipping away. :-/20:59
SpamapSit has no champion20:59
SpamapSScottK: yeah, thats one way to go.21:01
SpamapSAnother is to go buy a $100 3ware SATA raid card, and have better performance. But who wants that? :-P21:01
* SpamapS goes afk21:01
soy_el_pulpobe aware that some cards are like the old "winmodems", they only provide Win drivers...21:06
maswanSpamapS: It is far from true that that's all the reasons, there are a few more. Like freedom of having a documented on-disk format with free implementations, being able to read your data from another host when the raidcard breaks, etc.21:07
maswanSpamapS: Oh, and performance too. For a fair chunk of cases, MD performs better than most HW raid cards. Depends on your workload.21:08
roaksoaxzul: sorry was caught up with some maas work21:09
roaksoaxzul: cinder approved21:09
zulroaksoax:  thanks21:09
maswanSpamapS: And as a third point, a $100 raid card would add about 20% to the cost of a server.21:10
maswanI honestly don't have a good plan for what to do with my server once lucid starts nearing EOL in a couple of years.21:11
maswanProbably either ZFS on Ubuntu, or switching to Debian for software raid.21:12
maswanWould kind of suck though, since work is all Ubuntu all day long since breezy21:13
oblivianAn arbitrary header info look up on misc web server that leaped to mind shows that 9/10 servers "leak" system info. Server brand, major and minor release, x-powered by and system it's running on, mostly Ubuntu and CentOS. I thought "best practice" is to hide that kind of information?!21:28
ScottKNot really.21:29
ScottKThere are enough other ways to tell that for someone dedicated to finding out it's not hard and it doesn't really add to security anyway.21:29
oblivianWell, from the fact that one server was running Apache2 2.2.14 (Ubuntu) I guickly found out that the system is running Ubuntu 10.04.21:30
SpamapSmaswan: you could invest time in mdadm...21:30
ScottKSure.21:30
SpamapSmaswan: or even pay a consultant to fix it.21:30
SpamapSmaswan: boggles my mind that people get mad at a free distro for breaking things. :-P21:30
oblivianAnd since I know it is running 10.04 I can find out what version of MySQL is running, at least most likely.21:31
oblivianSo you are saying there's ways to tell what system you are running on, major and minor versions? I.e. Nessus, etc?21:33
ScottKoblivian: That's all true, but ultimately, "meh".21:33
oblivianBut most attacks these days starts with robots scanning the net for info like that. If you are looking to exploit vuln a found in version x.x.x of server x, you have saved some ppl alot of work.21:36
SpamapSoblivian: what you're talking about is hardening. There are plenty of strategies for stopping information leakage.21:37
ScottKYes, but since we backport security patches and don't bump upstream version numbers as a rule the version string tells you less than you think it would.21:37
maswanSpamapS: I'm not mad, I'm disappointed though, because I expected better.21:37
SpamapSmaswan: from who?21:38
maswanSpamapS: From Ubuntu as a project.21:38
SpamapSmaswan: Canonical takes care of Ubuntu, and mdadm is just lower in priority than, say, OpenStack or good EC2 images. Just a fact of life. :-P21:38
SpamapSmaswan: Ubuntu is all of us. So be disappointed in yourself first. :)21:38
oblivianSkottK: Yes, but I don't think it is "good practice" to show any visitor what versions your system is running on.21:40
maswanSpamapS: Yeah, I can't fix everything though, and I prefer to spend the time I have for things on the parts where I am most useful.21:40
maswanSpamapS: But yes, I include myself in that community21:41
maswanSpamapS: And it is too bad so much time gets eaten by things that are useless to me, like openstack and ec2, compared to proper useful things like mdadm :)21:41
ScottKoblivian: There are fingerprinting techniques out there that make it essentially impossible to hide it, so if you think you're hiding anything, you're fooling yourself.21:43
ScottKSpamapS: There are quite a few people that find Canonical's abandonment of servers troubling.  Quite reasonably so, IMO.21:44
maswanOf course, if I get the impression that noone cares about ubuntu servers anymore, maybe my time is better spent brushing up on my Debian21:45
oblivianSkottK: Sure, if it is a targeted attack yes. I stil don't see why I shouldn't hide most system info. It takes 30 seconds.21:45
oblivianSkottK: - Canonical's abandonment of servers troubling. What?!?!?!?21:46
ScottKIf it's not cloud, they don't really care.21:47
ScottKBy servers, I mean the things that people traditionally think of when you think of a server.21:48
ScottKIt's directly related to the mdadm question (see Scott Remnant's blog post).21:48
oblivianIs Canonical abandoning servers?21:48
maswannot formally, just not spending any effort on supporting them21:48
oblivianDo you have a link to Scott Remnant's blog?21:50
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
ScottKhttp://netsplit.com/2012/10/30/goodbye-ubuntu/21:54
oblivianThanks Scott, just read it.21:58
oblivianI am running Soft RAID on 12.04 just fine. Was it the upgrading that went bad?21:59
oblivianBut I've ran into problems before when using disks w/o TLER.22:02
oblivianIn fact, this weekend I am going to set up a Soft RAID10 w/ 4 4TB HDD for running BackUpPC. Been running BackUpPC on Ubuntu servers with Soft RAID for years w/o problems, what so ever. Hope I am not running into trouble now. Takes forever to stripe...22:12
sarnoldoblivian: you may not want to .. RoyK's got a bug open about those not being detected / assembled at boot22:14
sarnold(nested raids, that is..)22:14
oblivianI am already running a RAID10 setup on Ubuntu 12.04. No problems there. It's 4 2TB HDD's though... But two years ago I had to scrap a setup since the disks didn't support TLER. Everey reboot degraded the RAID. And I was running RAID5, which I will never do again.22:17
sarnoldhrm.22:17
RoyKsarnold: nested raids work on lucid, but not with presice22:20
sarnoldRoyK: oblivian says he's got one that works..22:20
RoyKdoubt it22:20
RoyKraid10 isn't nested raid22:21
sarnoldit isn't?22:21
RoyKno, it's a raid level22:21
oblivianYes, running RAID10. Standard, not nested.22:22
sarnold.. and it's implemented somehow differently than 1 on top of 0?..22:22
RoyKsarnold: the problem is nesting22:22
oblivianNested is mixing RAID levels, isn't it?22:23
RoyKoblivian: nesting is like putting raid-0 on top of raid-5 sets22:23
RoyKor other mixtures22:23
RoyKraid10 is just another raid level (badly written)22:24
oblivianOK, running RAID 0 on top of RAID5 is nested RAID?22:24
RoyKyes22:24
RoyKor mirroring raid-5 sets22:24
RoyKor whatever22:24
sarnoldRoyK: heh, I alwaysthought 10 was implemented by simply nesting. why re-write when you could re-use..?22:25
RoyKraid-upon-raid is nesting22:25
sarnoldsigh22:25
oblivianBut why would you want to nest? RAID10 is the best of both worlds, redundancy and speed. :)22:26
RoyKsarnold: it should have been - if the developers did it the way I think is right, but then, I may be wrong :P22:26
RoyKoblivian: no, it doesn't have the flexibility of other levels22:27
RoyKoblivian: you can't grow a raid1022:27
oblivianOK, for me that's not an issue, luckily. But the blog didn't seem to be related to nested RAID, was it?22:30
oblivianThe one Scott refered to...22:31
sarnoldoblivian: if it did, he didn't say..22:31
oblivianBut what nested configs are we talking about?22:33
oblivianJBOD+0?22:35
sarnoldoblivian: in RoyK's case, 5+0: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/117194522:35
uvirtbotLaunchpad bug 1171945 in mdadm "Nested RAID levels aren't started after reboot" [Undecided,Confirmed]22:35
mdeslauroblivian: hiding the server banner is security by obscurity...you don't need to know the version to run your exploit on it...worst case, it doesn't work22:39
mdeslauroblivian: the practical side to having the banner is you can now get audited properly and know if some of your infrastructure is out of date22:39
obliviansarnold: Hmm, from the comments it seems a lot of users has problems with normal RAID levels too22:40
mdeslauroblivian: so having a banner actually improves security22:40
mdeslaursoftware raid is only currently broken for some configurations, a lot of people run it properly22:40
mdeslaurone of the scenarios that is broken is having drives on different types of controllers I believe22:40
mdeslaurthe userbase for software raid is quite limited22:40
mdeslaurin fact, nobody has stepped up to fix it22:41
mdeslauror even open a support case with canonical I assume22:41
mdeslaurit's mostly used by home users, or very small businesses with small servers22:41
oblivianHmm, we are the exception then. :)22:42
mdeslauroblivian: yes, you are22:42
oblivianWeird.22:43
mdeslauroblivian: what kind of servers are you running? even the small dell, hp, and ibm servers are available with hardware raid...22:44
keesmdeslaur: under what conditions is md broken?22:45
oblivianYes, our "main" servers are running HW RAID. It's Dell servers actually. But the backup servers and file servers are Ubuntu 12.04 with Soft RAID10.22:45
mdeslaurkees: I don't exactly know, I haven't seen it myself...did you see keybuk's rant?22:45
mdeslaurkees: I've seen bug reports about raid trying to come up when some of the disks on a different controller aren't ready yet22:46
mdeslaurkees: but I don't know how to reproduce it reliably22:46
mdeslaur(well, I don't have the hardware to try, anyway)22:46
sarnoldkees: RoyK reports any nested configuration is broken in precise and newer22:47
oblivianmdeslaur: so you are saying it is more secure to expose your system info than not? (server banner).22:49
mdeslauroblivian: hiding your server banner doesn't prevent an exploit from working on your server22:55
mdeslauroblivian: all it does is prevent a security scanner from seeing what versions are installed22:56
mdeslaurthe question is debatable, but hiding your banner isn't likely to affect your security22:57
mdeslaurit's a matter of preference22:57
mdeslaurespecially since we don't put exact package versions in the banner22:58
oblivianmdslaur: OK, I see your point. But I disagree. You are in control of your audits, so when scanning using i.e. Nessus or other enable server banners temporarily. And you underestimate security by obscurity. It is a well founded "securoty mechanism". It is a problem if you only base your security on obscurity of course.23:00
lifelessoblivian: well founded? !cite please23:02
oblivianmdslaur: security by obscurity = on a need to know basis.23:02
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away

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