/srv/irclogs.ubuntu.com/2014/06/27/#ubuntu-server.txt

=== svetlana is now known as sveta
=== Ursinha is now known as Ursinha-afk
=== ABC-XYZ_ is now known as ABC-XYZ
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== cmagina_ is now known as cmagina
ben14_hey guys, I am trying to install Ubuntu Server 14.04 LTS x64 on an older Athlon 64 single core . I click Install when I boot to the disk, I enter the keyboard layout n whatnot then it just sits on a purple screen03:24
PryMar56ben14_, try some cmdline params: text acpi=0 -noraid dmraid=003:36
PryMar56ben14_, anything special about the drives?03:39
ben14_it finally just went away after a good hour. Not sure why it took so long but now it is doing the installation04:11
=== thumper is now known as thumper-afk
PryMar56ben14_, glad to hear the install is under way. One big reason to use ubuntu-server (especially in text mode) is that its very fast, like ferrari fast. You don't need to accept slow for any reason with this build05:10
=== thumper-afk is now known as thumper
=== kickinz1|away is now known as kickinz1
=== veebull is now known as veebull_away
lordievaderGood morning.07:28
kickinz1lordievader: morning07:37
lordievaderHey kickinz1, how are you?07:37
peetaur2Hello everyone. FYI I had issues yesterday building a kernel, but eventually tried the "Speeding Up the Build" thing in this document, which uses make-kpkg instead of only the debian/rules script, and managed to build a bootable kernel https://help.ubuntu.com/community/Kernel/Compile   Would someone update the wiki and link to that page from this older one?  https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel07:41
kickinz1fine and you?07:44
lordievaderkickinz1: Doing good too :)07:44
ws2k3is it possible that when linux is already installed make a rayd array with / to raid0 ?07:58
ws2k3i tryed mdadm --create /dev/md0 --level=0 --raid-disks=2 missing /dev/sdb1 it told me mdadm: This level does not support missing devices07:58
jamespagemorning all08:15
lordievadero/08:18
kickinz1w2k3, no i don't thik it is possible. you can put a system in raid1 after install but rai0 seems not possible.08:20
ws2k3well i tryed yesterday to do this during installation that that seems impossible to08:21
kickinz1w2k3, like you know, raid0 splits data to be written half on one disk half on the other, so I don't see mdadm recreate that easily with / after installation08:22
kickinz1ws2K3, if I remember well, the problem was because you had to do a bios_grub partition08:23
ws2k3and how do i make a bios_grub partition?08:23
kickinz1ws2k3: I will cite peetaur2 as I had never to do this my self08:25
kickinz1<peetaur2> parted /dev/sda mkpart ....blahblah... ; parted /dev/sda set $n bios_grub on       (where $n is the partition number, and ideally it is before 2.2 TB on the disk, and in number order ... I've seen it fail where the partition numbers are out of sequence, so I just always make it first partition)08:25
kickinz1(english is not my native language)08:26
ws2k3i am booted from a live cd now maby that makes it a bit easyer08:26
peetaur2start with      parted /dev/sda unit s print08:27
ws2k3okay i runned that command08:27
ws2k3it showed me the table layout08:27
peetaur2it would be useful for us to see it too08:28
ws2k3i'm on the server with kvmi so i cant copy it but i see 4 partitions number 1/2/3 and 5 , primary primary extended and local first ext4(512 mb(boot) then OS ext4 to08:29
ws2k3http://puu.sh/9M8ND/caded17bae.png i was able to screenshot it08:30
peetaur2ws2k3: okay, this is not a GPT disk, so you need no bios_grub.08:33
peetaur2"Partition table: msdos"  (aka. MBR)   It would say "gpt" here if it was a GPT disk.08:34
ws2k3ah okay08:34
ws2k3well with normale ubuntu installation it tryed to install grub on /dev/sda1 and /dev/sdb1 but both fails08:35
ws2k3so then what should i do to get my ubuntu in a raid008:35
peetaur2ws2k3: want to start over?08:35
ws2k3ofcrouse :)08:35
kickinz1brug must be installe on /dev/sda /dev/sdb, not sda1 sdb1 those are partitions08:36
kickinz1s/brug/grub/08:36
ws2k3yeah that i what i ment08:36
kickinz1ok sorry08:36
ws2k3but i'm going to start normale installation again delete all partition and recreate them08:36
ws2k3just to make sure i give you the Exact right error08:36
peetaur2ws2k3: wipefs -a all partitions, then delete all partitions (parted /dev/sda rm $n), and then here is my simple recipe for a basic system:  make just 2 partitions:     start sector 2048 size 512 MB for /boot, raid1      start sector divisible by 2048 size is remainder of disk for lvm.   Then on lvm, make swap and root (optionally leave a few GB unallocated for snapshots).08:37
peetaur2er... well,   not for lvm, but for raid0 and then put lvm on the raid008:38
ws2k3Ah so i need lvm for this ?08:38
peetaur2before you click "finish partitioning and save changes to disk" or whatever it is at the bottom of the custom partitioner, show us a screenshot.08:38
ws2k3in the ubuntu installed i just did setup software raid08:38
peetaur2I always recommend lvm08:38
peetaur2lvm means you can reshape it all later without reinstalling08:38
peetaur2here are some more detailed steps... in custom partitioner:    delete all partitions.   make one new one 512 MB, "use as: raid".   make another new one, remainder of disk "use as: raid"    edit raid, create a raid1 with the 2 smaller partitions. create a raid0 with the 2 larger ones.    edit those now, set one to ext4, /boot. Set other to "use as: physical volume for lvm".   then edit lvm, create swap, create root ext4 /.   and edit the raid1 and set08:41
peetaur2it to ext4 /boot08:41
peetaur2maybe I should write it in a pastebin... I can see it is messy and has an error08:43
ws2k3and what should i do with swap?08:45
ws2k3i want some swap maby 5 gb or something but how should i do that, i think i get the rest i will make it as you told me and i will show screenshot before proceding08:46
peetaur2here I wrote it down http://pastebin.com/ZEXLDH0Q     (and it's from memory... labels might not be exactly right)08:49
peetaur25 GB should be fine. (usually people use powers of 2 like 1,2,4,8,16,etc. , but it isn't important)08:49
peetaur2refresh the pastebin... fixed something (there was an extra "now you see more volumes again" that was in the wrong spot)08:50
ws2k3yeah but the swap should that be raid or ?08:51
peetaur2well ... normally the answer is "yes do the same as root"08:54
peetaur2you have root on raid0, so it doesn't matter much... you could have one swap on each disk (fastest), one swap overall, or raid0 (simplest)08:55
peetaur2so I suggested putting it in the lvm alongside root, in raid008:55
ws2k3http://puu.sh/9Ma0t/3613a93e50.png08:57
ws2k3like that ?08:58
ws2k3boot raid1 / raid0 swap raid008:59
peetaur2it looks like you chose not to use lvm, but yes this looks perfectly good.08:59
ws2k3yeah i wanted to give it a try without lvm08:59
ws2k3okay then i will cproceed08:59
peetaur2well almost.....08:59
peetaur2what is sdb?08:59
peetaur2it might be GPT08:59
ws2k3its my second ssd08:59
ws2k3well both are 200 gb ssd08:59
peetaur2they are different, but not sure what is different. Notice sdb has some "FREE SPACE", and sda has "primary" written on it09:00
peetaur2so I bet sdb is GPT...09:00
peetaur2so let's change that ... best is to boot rescue/live cd and "parted /dev/sdb mktable msdos"09:01
peetaur2I really hate that the partitioner has no way to tell it which type of partition table to use ... but that's the way it is09:01
ws2k3so should i go bback to the partitioner ?09:01
peetaur2I really hate gui partitioners too ;) I always script mine, especially raid09:01
peetaur2no you have to find a way to change it to msdos ... the debian partitioner thing won't let you.09:02
peetaur2I suggest you reboot in rescue mode and run that parted command09:02
ws2k3ah okay i will finish the installtion and i will see if it works09:02
ws2k3if it does not i will reboot into rescue09:02
peetaur2why? it is likely the reason it failed so many times before09:02
ws2k3i think you might be rioght now it gives me an error09:03
ws2k3it is able to install grub on sda but not on sdb09:03
ws2k3so i cannot change this in the installer partitioner tool? i have to go to rescue ?09:03
peetaur2yeah the debian thing is stupid ... can't do it that I know of09:04
ws2k3indeed i see some free space in the start and in the end on the sdb09:04
peetaur2on CLI you might find a .udeb file with parted in it and install that ;) but I could never figure out how. The installer cd IS the rescue cd ... so the software is there, just not loaded.09:04
ws2k3the sda does not have that09:04
ws2k3now booting to rescue09:05
samiuxanyone knows when the apparmor be updated?  The bugs are very annoying.09:05
jjohansensamiux: noisy logging? or a different bug?09:06
samiuxaa-logprof cannot read the log file and it is running forever09:07
jjohansensamiux: utopic dev release has been updated, and an SRU for trusty is in the works. SRUs just take a while09:07
peetaur2samiux: #apparmor on other network irc.oftc.net (not freenode where you are now)09:07
peetaur2samiux: unless you are asking about ubuntu updating it ... in which I have no idea, and I have asked the guys in #apparmor and they are surprised about the problems I find on ubuntu that don't exist anywhere else.09:07
samiuxjjohansen, when will it be updated?09:08
samiuxpeetaur2, weird09:08
jjohansenpeetaur2: well there have been a fair few problems with the new tools that were landed in trusty.09:08
peetaur2good thing I haven't tried apparmor in trusty yet ;)09:09
jjohansensamiux: sorry I don't have an exact date for you, I know the SRU is in progress09:09
samiux12.04 is running perfect09:09
ws2k3so what should i do when i'm rescue ?09:09
samiuxjjohansen, thanks09:09
peetaur2ws2k3:    parted /dev/sdb mktable msdos          are you sure? y09:09
jjohansensamiux: you could try the utopic apparmor package it was synced to the upstream dev tree last week09:10
samiuxjjohansen, how to do that?09:10
ws2k3okay done that09:10
ws2k3whats next09:10
peetaur2ws2k3: repeat the install09:12
jjohansensamiux: what I would do is pull the package down and manually install it with dpkg, I know there are other ways but I don't mess around with apt much. I could push the utopic package upto a ppa, and have it build for trusty, that would be another way to do it09:12
samiuxjjohansen, where to download the new packages?09:13
=== Guest96132 is now known as hxm
peetaur2can someone help me with dkms on my custom kernel?    http://pastebin.com/7Hs5QBuj09:13
jjohansensamiux: you can get them from packages.ubuntu.com packages.ubuntu.com/search?keywords=apparmor&searchon=names&suite=utopic&section=all09:14
samiuxjjohansen, thanks09:15
jjohansensamiux: if it would be easier I can just upload to the ppa, it will just take an hour or 2 to build09:15
jjohansensamiux: https://launchpad.net/~apparmor-dev/+archive/apparmor-devel09:20
samiuxthanks09:21
jjohansenit will take probably an hour to build09:21
jjohansenthe version you want is 2.8.96~2541-0ubuntu209:21
samiuxjjohansen, thanks a lot.  I am waiting for the build09:22
samiux:)09:22
cloudmanRunning fastcgi on buntu 12.04, will activating mod_headers and mod_expires cause any conflicts??  Thanks09:23
ws2k3http://puu.sh/9MbbP/e72b27b994.png09:24
ws2k3then this realy should be it09:24
peetaur2ws2k3: looks good09:24
ws2k3i realy wonder if grub will install now09:25
ws2k3fuck yeah09:29
ws2k3after 2 days of cursing grub finaly installed09:29
dkorrasi wonder if you can please help me Ubuntu server 14.04, i have just madea fresh install and my wireless card doesnt have a logical name to it09:30
peetaur2submit a bug report... tell them (1) let you change partition table, and (2) (what I already told them and they ignored me) that the installer should tell you if you have a broken setup, GPT without bios_grub09:30
peetaur2the interface on bugs.launchpad.net is apparently incapable of letting me search for bugs I have submitted ... so I can't find a link09:32
peetaur2my bug was not on the installer though, but some document that was really bad about raid09:32
ws2k3fuck yeah 15 gb write per second on hard disk xD09:32
ws2k3this is going to be fun09:33
peetaur2obv. caching ...09:33
ws2k3yeah the buffered disk read was 1 gbps09:33
ws2k3still pretty fast09:34
peetaur2do a better test.... dd if=/dev/urandom of=/dev/shm/testfile bs=1M count=200 (will take long)      and then:    dd if=<(cat /dev/shm/testfile{,,,,,,,,,}) of=/tmp/bigtestfile bs=1M conv=fdatasync09:35
peetaur2rm /tmp/bigtestfile /dev/shm/testfile09:35
peetaur2lessons to learn: zeros are bad; conv=fdatasync or other thing to avoid cache effects09:36
ws2k3it does 13.2 mbps with the first dd command09:36
see1hello09:38
see1i try today again to update my serv...but i get the same error09:38
peetaur2ws2k3: first one is not important09:38
peetaur2ws2k3: first one just generates randomness which is always slow09:39
ws2k3ah the second command does 553 mbps09:44
see1is some1 able to report a bug? i run a server with ubuntu precise and nginx09:45
see1i cant update09:45
see1because of a packed error09:47
lordievadersee1: Do you get errors?09:47
peetaur2see1: this isn't the bug tracker ... but if you pastebin some good detail, maybe we can help. bug tracker is here https://bugs.launchpad.net/ubuntu/09:47
lordievadersee1: If so, can you pastebin those.09:47
see1i run the update again and let you see whats up....pastebin09:48
=== Lcawte|Away is now known as Lcawte
ws2k3now going to see if i can repeat this on my second server09:50
peetaur2make sure to check partition tables first ;)09:52
peetaur2and BTW did someone lecture you yet on the reasons why you probably shouldn't use RAID0?09:52
see1result is 502 Bad Gateway nginx09:52
ws2k3yes09:53
ws2k3but this servers are part of a database cluster09:53
ws2k3so if one disk breaks that does not matter the cluster software has backups on other nodes09:54
ws2k3so thats why i want the highest IO i can get09:54
peetaur2see1: do you have normal default repositories? do you have a proxy server? (cat /etc/apt/apt.conf.d/01proxy)09:54
peetaur2ws2k3: highest is actually to use no raid, and have the db do the balancing rather than striping09:55
ws2k3yeah i get you but the software does not support that you can only provide one data source09:55
peetaur2maybe with SSDs it doesn't matter though ... no heads to move09:55
see1http://pastebin.com/ctpQi6Yd09:55
ws2k3btw now i grub-install failed on both disks09:56
see1lordievader: http://pastebin.com/ctpQi6Yd09:56
peetaur2ws2k3: grub-install /dev/sda     (not sda1 unless you want to dual boot and use another bootloader, eg. the windows one chainloads to linux)09:56
ws2k3yeah already did now going to retry09:57
peetaur2see1: where did it fail? that looks fine ... you mean your nginx doesn't work now, not the update failed?09:57
lordievadersee1: I don't see any problem?09:58
ws2k3i started uibuntu rescue and did the mktable msdos now going to retry09:58
peetaur2ws2k3: ok, I thought you meant the first one you got working failed later. So that's good. But also just "parted /dev/sda print" should tell you if it's GPT or not09:59
ws2k3ah well its to late for that i already did an mktable msdos10:00
peetaur2ws2k3: and in case the machine is different... remember that the installer will use GPT by default (maybe overwriting your setting) if the disk is larger than some number (the actual max is 2.2 TB which is 2.0 TiB, but maybe they do it differently)10:00
peetaur2it's fine if you ran that, just saying you can test it first... some day you might find something relevant that way10:00
ws2k3no machine is exacly the same10:01
ws2k3yeah you are right peetaur210:01
see1lordievader: update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)10:02
see1this isnt normal10:02
see1my nginx and all others run well10:02
ws2k3hmm odd one disk does show primary and the other does not10:03
samiuxjjohansen, thanks a lot.  aa-logprof is working properly and perfect.  :)10:03
peetaur2ws2k3: alternatively, you could make both GPT and make a bios_grub.  Just make sure all bootable disks are the same table type.10:04
jjohansensamiux: nice, I am glad to hear it is working better for you10:04
samiux:)10:05
ws2k3awesome second machine grub also installed10:37
=== kickinz1 is now known as kickinz1|lunch
=== Lcawte is now known as Lcawte|Away
pmatulismorning11:22
samiuxapparmor still buggy, not mature enough11:39
jjohansensamiux: logprof/genprof again?11:39
samiuxI am running proxmox ve which requires to run a java applet.  the aa-logprof reads the logs and added some entries to the usr.bin.firefox.  but aa-enforce states that the browser_openjdk is duplicated.11:41
jjohansen:(11:42
samiuxjjohansen, http://pastebin.com/txayXiTf11:44
samiuxline 72-74 and line 128-13211:44
jjohansensamiux: can you open a bug with the details. steve and christian have been trying to cleanup logprof/genprof.11:44
jjohansensamiux: logprof/genprof got rewritten as part of google summer of code last summer and this has finally started replacing the old genprof/logprof11:44
samiuxaa-enforce force close for line 128-13211:44
jjohansenit will get better, unfortunately reports where that it was better than it has turned out to be11:45
jjohansensamiux: okay thanks11:45
somedudeonthenet i'm trying the create a customù ubuntu server install, which can be pxe booted, where upon some packages and configuration is done, based on input of the user11:50
lordievadersomedudeonthenet: Ok, do you face problems there?11:56
somedudeontheneti'm just started with researching how i could do this11:57
somedudeontheneti *11:57
somedudeonthenetlordievader basically the user should be able to just pop in the cd or usb stick, ubuntu-server installs ask some questions and based on that installs additional packages and configuration11:58
lordievadersomedudeonthenet: It's somewhat older but still valid: http://www.howtoforge.com/setting-up-a-pxe-install-server-on-ubuntu-9.10-p311:59
smbzul, I noticed that (because a trivial upload of libvirt is stuck with Britney) nova tests in Utopic seem unhappy. I suppose you or whoever cares already know about that?11:59
zulsmb:  yeah ill look at it today12:00
somedudeonthenetlordie is the link you give me valid for a not attended install?12:00
smbzul, Cool, just wanted to bring it up in the unlikely event it was missed. :)12:00
zulsmb:  :P12:00
lordievadersomedudeonthenet: Err, it's valid for booting linux through pxe.12:01
somedudeonthenetbasically the user should only press enter12:01
somedudeonthenetsit back, nip from his coffee and let the magic happen12:01
somedudeonthenetgive me a moment12:03
somedudeonthenetlet me refrace my problem, how would i make an auto install of ubuntu-server and when this is done, it installs some extra packages and does some configuration based on the input of the user12:05
lordievadersomedudeonthenet: Sounds like an automated install, must say I have no experience with it: https://help.ubuntu.com/12.04/installation-guide/i386/automatic-install.html12:08
=== kickinz1|lunch is now known as kickinz1
kickinz1somedudeonthenet, look dor preseed files12:11
kickinz1there is some documentation there:12:11
somedudeonthenetkickinz you mean?12:11
kickinz1https://wiki.debian.org/DebianInstaller/Preseed/EditIso12:12
kickinz1maybe not the good link..12:12
kickinz1if fact you can give the debian-installer a preseed file that makes it install what you want and answering at the maximum questions12:12
kickinz1so you need to install a dhcp server which has the next-server and filename options set to point to a tftp server, on which you must install neede files to make it start your kernel + initrd + custom append to link to your preseed file hosted on the tftp server also12:14
kickinz1then a client machine with network boot can launch what you have prepared12:14
kickinz1https://wiki.debian.org/DebianInstaller/Preseed12:15
somedudeonthenethow about creating a remasterd iso file?12:19
kickinz1I think that you can find what you need for that on the first link.12:21
kickinz1the preseed.cfg file describe here is the file you need to mod12:22
kickinz1(link was: https://wiki.debian.org/DebianInstaller/Preseed/EditIso)12:23
zulyay last day of school let the summer of bottomless pants commence!12:26
zetheroohaving a real problem here with networking in Ubuntu Server 14.0412:32
zetherooHere is the networking setup and some route info etc http://paste.ubuntu.com/7710948/12:33
zetherooissue is that when the system boots up there seems to be no set default network device12:33
zetherooso here we have the wrong network being used as the default (192.168.2.1)12:34
zetherooHow can I force br0 to be the default and not br1 ?12:34
kickinz1you must have only one gateway defined12:35
kickinz1in the /etc/network/interfaces file12:36
peetaur2zetheroo: hackish maybe, but remove the gateway, and instead add:      up route add default gateway 192.168.1.1 br0        in the br0 section12:36
peetaur2not sure how else to add the "br0" arg in the config.12:36
zetheroobut the 2.1 gateway is needed for that network ..12:36
peetaur2"gateway ..." = default gateway... only one default gateway can do anything12:36
peetaur2you probably need a static route if you want more than one12:37
peetaur2and for more complicated dynamic routing (which likely you don't have), I think #networking is the place.12:37
zetheroook, I'll give that "hack" a try :)12:37
zetheroo"up route add default gateway 192.168.1.1 br0"12:37
peetaur2first test by removing the gateway from br112:37
zetheroothat's on one line?12:37
peetaur2and use a simlar command to add a static route or look up the proper way to do it (never needed to in debian/ubuntu)12:38
peetaur2yes one line..... up <command to run>12:38
peetaur2or is it ifup ... ;)  lemme check12:38
peetaur2yeah just "up" not ifup12:38
heftig-zhow is dbus-daemon started? the dbus init.d script seems work as a stub12:38
kickinz1you put it afer the line network 192.168.2.012:38
kickinz1and you remove gateway 192.168.2.1 line12:39
peetaur2kickinz1: any line maybe... but I always see them at the end, all the "up"s together, and "down"s after12:39
zetheroook, two different instructions ... :P12:39
zetherooso I remove "gateway 192.168.2.1"12:40
kickinz1I also think anyline, but it is easier to read12:40
peetaur2try both .. the up thing is slightly hackish (very flexible, but the normal config is better, eg. I didn't give you a down ;) maybe one is needed in some cases and it's your fault instead of a bug if it fails)12:40
kickinz1I'm not sure you need that 'up route add' line, because it is the same network as your interface12:41
zetherooSorry, peetaur2 and kickinz1, are you both talking about the same possible solution... or two different ones ?12:41
kickinz1for me you just have to remove the second gateway line12:41
zetherooI see12:41
zetheroobut isn't that needed?!12:42
zetherooThis is a KVM host machine and guests use both the 2.1 and 1.1 networks respectively12:42
peetaur2I was agreeing with kickinz1 that you should first try removing the br1 gateway. And then for the route you want there, add a static route (not "gateway ...")12:42
peetaur2and if that fails, then you can use the "up" thing to make sure it's on the right device.12:42
zetheroook, I have never used the "route" parameter in the interfaces file ...12:43
kickinz1the gateway means: 'what to do with ip traffic belonging to other netwroks than those defined'12:44
kickinz1so if you have to gateway, it doesn't work except if you add dynamics rules, and so on...12:44
zetheroook12:44
zetheroohow to guest VM's configured to use br1 find their way to the 2.1 gateway?12:45
zetheroohow *do* ...12:45
peetaur2zetheroo: it's not a parameter... it's a command. "man route" or use the new-fangled (badly documented) way to do it with "ip r add ... via ..." (man ip, man ip-route)12:45
peetaur2(not to say that "route" is well documented either... I just think it's silly for people to switch to something without it being all cleaned up first)12:46
kickinz1you want guests in 2.0/24 network to be able to reach 1.0/24 network?12:46
zetherooI was trying to look here for "route" stuff12:46
zetheroohttps://help.ubuntu.com/14.04/serverguide/network-configuration.html12:46
zetherookickinz1: no ... they should be completely separate!12:47
kickinz1ok, so please verify that ip forwardinf is off12:48
zetheroobr1 is the 2.0 network12:48
peetaur2zetheroo: I still find this to be the best network config site for Ubuntu https://wiki.debian.org/NetworkConfiguration12:48
peetaur2zetheroo: just to see if you know why you want a gateway there.... tell me, what is a default gateway used for?12:49
peetaur2zetheroo: does the default gateway affect your VMs?12:49
zetherooi thought it was used by the guest VM OS's to find their way to the gateway of the network - whether it's br0 or br112:50
zetheroobut is this wrong?12:50
peetaur2it is wrong; it is only used by the host where you set it.12:50
zetherooah12:50
peetaur2but if you set it in a DHCP server, it would be shared to DHCP clients, maybe some VMs.12:50
peetaur2so eg. when you type "apt-get update" it goes through your default gateway to the internet. You don't care which way it goes... it goes to the ubuntu servers in the end, so you are happy.12:51
zetherooso from the VM guest OS side of things ... I can just configure the br1 (2.0) gateway from within the VM OS and it shoudl work?12:51
peetaur2yes12:51
zetheroook12:51
zetherooso removing the gateway 2.1 from the interface file makes logical sense :D12:52
zetherootrying it now ... fingers crossed12:52
zetheroook, it's looking good :)12:55
zetheroopeetaur2 and kickinz1 - thanks!12:56
kickinz1you're welcome12:57
peetaur2no prob12:57
peetaur2now fix my dkms problem for me http://pastebin.com/7Hs5QBuj12:57
zetheroooh no probs ... the fix is simple ... here it is ....12:58
zetheroonah sorry, not a clue :P12:59
kickinz1ZoL like Zfs On Linux?13:00
peetaur2yes13:00
kickinz1cool, I played with that but I took prebuilt kernel13:00
peetaur2me too ... until I found some bug I wanted to fix in the kernel unrelated to zfs13:01
=== alexisb_afk is now known as alexisb
kickinz1strange, not sure to be able to help13:03
ebenhi guys, am new with ubuntu and i am trying to use preseed for automatic installation. I used preseed/late_command to create an empty file using touch command, but whenever i tried to write into the file using echo, it just wouldn't work. Please i need help13:43
peetaur2!pastebin13:44
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.13:44
ebenThis is what i have tried: http://paste.ubuntu.com/7711252/13:47
qwebirc110269hi guys and ladies how do i make a unattend install of linux server that can be pxe booted?13:55
kickinz1the last '\' nust not be there13:55
kickinz1^eben13:55
ebeneven with that, it is not working13:56
ebenam using ubuntu 14.0413:56
kickinz1I don't have a setup ready, but last time I did it I ended up doing stuff like this without the in-target thing.14:00
ebenokay14:01
kickinz1and downloading a premade script from tftp for the in-target command.14:01
kickinz1touch /target/root/eben.txt; echo 'what ever' > /target/root/eben.txt;14:02
ebenthanks alot14:05
ebeni will try it now14:05
peetaur2eben: remove the "; \" from the last line.... that is just to join lines together14:10
kickinz1be carefull about the last ';', I think there must be none14:10
peetaur2eben: also at the same time, test without in-target:       echo 'this is my file2' > /target/root/eben2.txt14:11
ebenokay, i will try it14:14
daveops114:24
=== elliotd123_ is now known as elliotd123
zulsmb/hallyn: nova has been fixed so libvirt/qemu and pretty much everyhting else should be unblocked15:19
ebeni am trying to run a script while automating ubuntu 14.04 installation using preseed, however, i dont know what am doing wrong. The code i used can be found here http://paste.ubuntu.com/7711674/15:33
ikoniaeben: where you asking this earlier as qwebirc110269 and somedudeonthenet15:38
ikoniayour wget syntax is well off15:39
ebenno, this is the first time am asking about this15:41
ebenikonia: can you help me with the wget?15:43
ikoniaman wget15:44
ikoniacheck the syntax15:44
ebenok15:44
peetaur2eben: when you use in-target, wget has to be installed in the new system. I know it's in the install environment though... so you could also try without in-target if you think that's the problem.15:51
peetaur2oh but yes his syntax is way off15:51
peetaur2not well off ;)15:51
peetaur2"well off" means something like "on a good start"15:52
ebenok, thanks15:55
=== Lcawte|Away is now known as Lcawte
=== robbiew is now known as robbiew-afk
=== matsubara is now known as matsubara-lunch
xibalbawhat can i/should i use for centralized auth of many linux/unix/bsd boxes16:50
=== cmagina_ is now known as cmagina
zartooshHI I am using ubuntu 12.04, I like some of the features of grub 2.02 as part of 14.04, is it possible I backport that version of grub to 12.04? thx17:39
rbasakzartoosh: to do it yourself? Sure, that's possible. Officially? It would be against SRU policy (https://wiki.ubuntu.com/StableReleaseUpdates). 17:40
rbasakzartoosh: backports (https://help.ubuntu.com/community/UbuntuBackports) might be possible, but it seems very unlikely given how critical grub is. And you'd need to do the work.17:41
patdk-wkzartoosh, I would not recommend it17:45
patdk-wkthe changes between grub on 12.04 and 14.04 are huge17:45
patdk-wkI attempted it, and I backport stuff all the time17:45
patdk-wkand marked it off as impossible (well, would take over a week of my time atleast)17:45
patdk-wkcause I wanted to gain the luks decryption stuff from it17:46
rbasakgrub can do luks now? Nice!17:48
* rbasak wonders how that would interact with his network-based keyscript17:48
zartooshrbasak, patdk-wk thanks for your feed back17:48
rbasakhttp://github.com/basak/netkeyscript is what I use on my home server17:48
zartooshmy main issue is the grub-install support for efi is not supported on 12.04 and this will force me to go with 14.0417:49
patdk-wkyep17:49
rbasakOh no, not 14.04! :-P17:49
patdk-wkI would just use 14.04 :)17:50
patdk-wkupgrades for me have been pretty easy17:50
zartooshI have issue with plymoth process , so I have to go to recovery mode then resume to ssh to it then I loose any console access. I know this is an unknown issue but we are getting close to ship the product and I am afraid 14.04 is not stable enough .17:52
patdk-wkah, you produced a product ontop of 12, that is understandable17:54
patdk-wkheh17:54
patdk-wkdunno, 14 has been very stable for me17:54
patdk-wkbut then I upported my patches I have for 12 to 1417:54
patdk-wkrbasak, I have a modification of netkeyscript18:03
patdk-wkwhen a server reboots, it requests the key from a https site18:04
patdk-wkthat will notify me, and I confirm and it submits the key back18:04
patdk-wkbut that seems to run after boot, mine runs in inittab, pre-root-mount18:05
smokiehey guys, if someone uses nmap on a network that has ubuntu server, does ubuntu advertise itself?18:06
patdk-wkdefine, advertise?18:06
sarnoldsmokie: yes; echo hi | nc localhost 22   to see your sshd banner18:06
patdk-wkoh, you mean can someone scan a ubuntu server?18:07
smokiesarnold, is there a way to make it not do that?18:07
patdk-wkdepends on your firewall settings18:07
patdk-wkblock all incoming packets will stop it18:07
patdk-wkbut then, you won't be able to remotely connect to it18:08
patdk-wklike say, over ssh18:08
patdk-wkthe ONLY way to have both at the same time18:08
patdk-wkis to do like port-knocking18:08
sarnoldsmokie: be aware that apache also advertises ubuntu with some banners, and likely other services will too18:08
sarnoldsmokie: you may have to recompile some packages if you're really interested in hiding them all.18:09
patdk-wksarnold, if he only wants to stop it saying ubuntu18:09
smokiepatdk-wk, im using a custom port for ssh18:10
sarnoldsmokie: oh, lookie there, in sshd_config: DebianBanner18:10
patdk-wkyes, but you want to stop it saying using ubuntu ssh, or stop anyone from knowing you have ssh18:10
sarnoldthat's probably what you want18:10
smokiebut i thought it would be a good idea to hide the OS as well from noisy ppl18:10
patdk-wkthere are limited benifits from that18:11
patdk-wkalmost none really18:11
patdk-wkthe only thing it can be used for, is to know if your fully patched or not18:11
patdk-wkthe scriptkiddies will run all their vaunerabilities against it, no matter what18:11
sarnoldor to find which services on your network may not yet be under your administrative control18:12
smokiepatdk-wk, that makes sense18:12
smokietrue18:12
patdk-wksar?18:12
patdk-wksarnold, you mean, like a linux vs cisco router vs windows?18:12
sarnoldpatdk-wk: yeah, it's a lot easier to figure out what some random IP address is if you can figure out what OS it's running or hardware it's running on :)18:14
patdk-wknormally do that just using the tcp flags :)18:14
patdk-wkpof! :)18:14
sarnoldpatdk-wk: that'll tell you kernel anyway, hehe18:15
=== Guest40819 is now known as A8oR7icA
=== matsubara-lunch is now known as matsubara
=== sync0new is now known as sync0pate
rbasakpatdk-wk: that's interesting. netkeyscript runs before root mount, from the initramfs.19:02
rbasakpatdk-wk: I didn't want my key to be available online anywhere.19:02
=== ivoks_ is now known as ivoks
=== No_one_a1_all is now known as No_one_at_all
=== mswart_ is now known as mswart
=== kees_ is now known as kees
=== esde_ is now known as esde
=== esde is now known as Guest61418
=== Adri2000 is now known as Guest34731
=== sync0new is now known as sync0pate
=== sarnold_ is now known as sarnold
=== Lcawte is now known as Lcawte|Test
=== Lcawte|Test is now known as Lcawte
=== ABC-XYZ_ is now known as ABC-XYZ
=== cmagina_ is now known as cmagina
=== Lcawte is now known as Lcawte|Away
=== tyhicks` is now known as tyhicks
=== histo_ is now known as histo

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