[03:24] <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 screen
[03:36] <PryMar56> ben14_, try some cmdline params: text acpi=0 -noraid dmraid=0
[03:39] <PryMar56> ben14_, anything special about the drives?
[04:11] <ben14_> it finally just went away after a good hour. Not sure why it took so long but now it is doing the installation
[05:10] <PryMar56> ben14_, 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 build
[07:28] <lordievader> Good morning.
[07:37] <kickinz1> lordievader: morning
[07:37] <lordievader> Hey kickinz1, how are you?
[07:41] <peetaur2> Hello 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/BuildYourOwnKernel
[07:44] <kickinz1> fine and you?
[07:44] <lordievader> kickinz1: Doing good too :)
[07:58] <ws2k3> is it possible that when linux is already installed make a rayd array with / to raid0 ?
[07:58] <ws2k3> i tryed ﻿mdadm --create /dev/md0 --level=0 --raid-disks=2 missing /dev/sdb1 it told me ﻿mdadm: This level does not support missing devices
[08:15] <jamespage> morning all
[08:18] <lordievader> o/
[08:20] <kickinz1> w2k3, no i don't thik it is possible. you can put a system in raid1 after install but rai0 seems not possible.
[08:21] <ws2k3> well i tryed yesterday to do this during installation that that seems impossible to
[08:22] <kickinz1> w2k3, 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 installation
[08:23] <kickinz1> ws2K3, if I remember well, the problem was because you had to do a bios_grub partition
[08:23] <ws2k3> and how do i make a bios_grub partition?
[08:25] <kickinz1> ws2k3: I will cite peetaur2 as I had never to do this my self
 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:26] <kickinz1> (english is not my native language)
[08:26] <ws2k3> i am booted from a live cd now maby that makes it a bit easyer
[08:27] <peetaur2> start with      parted /dev/sda unit s print
[08:27] <ws2k3> okay i runned that command
[08:27] <ws2k3> it showed me the table layout
[08:28] <peetaur2> it would be useful for us to see it too
[08:29] <ws2k3> i'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 to
[08:30] <ws2k3> ﻿http://puu.sh/9M8ND/caded17bae.png i was able to screenshot it
[08:33] <peetaur2> ws2k3: okay, this is not a GPT disk, so you need no bios_grub.
[08:34] <peetaur2> "Partition table: msdos"  (aka. MBR)   It would say "gpt" here if it was a GPT disk.
[08:34] <ws2k3> ah okay
[08:35] <ws2k3> well with normale ubuntu installation it tryed to install grub on /dev/sda1 and /dev/sdb1 but both fails
[08:35] <ws2k3> so then what should i do to get my ubuntu in a raid0
[08:35] <peetaur2> ws2k3: want to start over?
[08:35] <ws2k3> ofcrouse :)
[08:36] <kickinz1> brug must be installe on /dev/sda /dev/sdb, not sda1 sdb1 those are partitions
[08:36] <kickinz1> s/brug/grub/
[08:36] <ws2k3> yeah that i what i ment
[08:36] <kickinz1> ok sorry
[08:36] <ws2k3> but i'm going to start normale installation again delete all partition and recreate them
[08:36] <ws2k3> just to make sure i give you the Exact right error
[08:37] <peetaur2> ws2k3: 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:38] <peetaur2> er... well,   not for lvm, but for raid0 and then put lvm on the raid0
[08:38] <ws2k3> Ah so i need lvm for this ?
[08:38] <peetaur2> before 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] <ws2k3> in the ubuntu installed i just did setup software raid
[08:38] <peetaur2> I always recommend lvm
[08:38] <peetaur2> lvm means you can reshape it all later without reinstalling
[08:41] <peetaur2> here 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 set
[08:41] <peetaur2> it to ext4 /boot
[08:43] <peetaur2> maybe I should write it in a pastebin... I can see it is messy and has an error
[08:45] <ws2k3> and what should i do with swap?
[08:46] <ws2k3> i 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 proceding
[08:49] <peetaur2> here I wrote it down http://pastebin.com/ZEXLDH0Q     (and it's from memory... labels might not be exactly right)
[08:49] <peetaur2> 5 GB should be fine. (usually people use powers of 2 like 1,2,4,8,16,etc. , but it isn't important)
[08:50] <peetaur2> refresh the pastebin... fixed something (there was an extra "now you see more volumes again" that was in the wrong spot)
[08:51] <ws2k3> yeah but the swap should that be raid or ?
[08:54] <peetaur2> well ... normally the answer is "yes do the same as root"
[08:55] <peetaur2> you 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] <peetaur2> so I suggested putting it in the lvm alongside root, in raid0
[08:57] <ws2k3> ﻿http://puu.sh/9Ma0t/3613a93e50.png
[08:58] <ws2k3> like that ?
[08:59] <ws2k3> boot raid1 / raid0 swap raid0
[08:59] <peetaur2> it looks like you chose not to use lvm, but yes this looks perfectly good.
[08:59] <ws2k3> yeah i wanted to give it a try without lvm
[08:59] <ws2k3> okay then i will cproceed
[08:59] <peetaur2> well almost.....
[08:59] <peetaur2> what is sdb?
[08:59] <peetaur2> it might be GPT
[08:59] <ws2k3> its my second ssd
[08:59] <ws2k3> well both are 200 gb ssd
[09:00] <peetaur2> they are different, but not sure what is different. Notice sdb has some "FREE SPACE", and sda has "primary" written on it
[09:00] <peetaur2> so I bet sdb is GPT...
[09:01] <peetaur2> so let's change that ... best is to boot rescue/live cd and "parted /dev/sdb mktable msdos"
[09:01] <peetaur2> I really hate that the partitioner has no way to tell it which type of partition table to use ... but that's the way it is
[09:01] <ws2k3> so should i go bback to the partitioner ?
[09:01] <peetaur2> I really hate gui partitioners too ;) I always script mine, especially raid
[09:02] <peetaur2> no you have to find a way to change it to msdos ... the debian partitioner thing won't let you.
[09:02] <peetaur2> I suggest you reboot in rescue mode and run that parted command
[09:02] <ws2k3> ah okay i will finish the installtion and i will see if it works
[09:02] <ws2k3> if it does not i will reboot into rescue
[09:02] <peetaur2> why? it is likely the reason it failed so many times before
[09:03] <ws2k3> i think you might be rioght now it gives me an error
[09:03] <ws2k3> it is able to install grub on sda but not on sdb
[09:03] <ws2k3> so i cannot change this in the installer partitioner tool? i have to go to rescue ?
[09:04] <peetaur2> yeah the debian thing is stupid ... can't do it that I know of
[09:04] <ws2k3> indeed i see some free space in the start and in the end on the sdb
[09:04] <peetaur2> on 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] <ws2k3> the sda does not have that
[09:05] <ws2k3> now booting to rescue
[09:05] <samiux> anyone knows when the apparmor be updated?  The bugs are very annoying.
[09:06] <jjohansen> samiux: noisy logging? or a different bug?
[09:07] <samiux> aa-logprof cannot read the log file and it is running forever
[09:07] <jjohansen> samiux: utopic dev release has been updated, and an SRU for trusty is in the works. SRUs just take a while
[09:07] <peetaur2> samiux: #apparmor on other network irc.oftc.net (not freenode where you are now)
[09:07] <peetaur2> samiux: 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:08] <samiux> jjohansen, when will it be updated?
[09:08] <samiux> peetaur2, weird
[09:08] <jjohansen> peetaur2: well there have been a fair few problems with the new tools that were landed in trusty.
[09:09] <peetaur2> good thing I haven't tried apparmor in trusty yet ;)
[09:09] <jjohansen> samiux: sorry I don't have an exact date for you, I know the SRU is in progress
[09:09] <samiux> 12.04 is running perfect
[09:09] <ws2k3> so what should i do when i'm rescue ?
[09:09] <samiux> jjohansen, thanks
[09:09] <peetaur2> ws2k3:    parted /dev/sdb mktable msdos          are you sure? y
[09:10] <jjohansen> samiux: you could try the utopic apparmor package it was synced to the upstream dev tree last week
[09:10] <samiux> jjohansen, how to do that?
[09:10] <ws2k3> okay done that
[09:10] <ws2k3> whats next
[09:12] <peetaur2> ws2k3: repeat the install
[09:12] <jjohansen> samiux: 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 it
[09:13] <samiux> jjohansen, where to download the new packages?
[09:13] <peetaur2> can someone help me with dkms on my custom kernel?    http://pastebin.com/7Hs5QBuj
[09:14] <jjohansen> samiux: you can get them from packages.ubuntu.com packages.ubuntu.com/search?keywords=apparmor&searchon=names&suite=utopic&section=all
[09:15] <samiux> jjohansen, thanks
[09:15] <jjohansen> samiux: if it would be easier I can just upload to the ppa, it will just take an hour or 2 to build
[09:20] <jjohansen> samiux: https://launchpad.net/~apparmor-dev/+archive/apparmor-devel
[09:21] <samiux> thanks
[09:21] <jjohansen> it will take probably an hour to build
[09:21] <jjohansen> the version you want is 2.8.96~2541-0ubuntu2
[09:22] <samiux> jjohansen, thanks a lot.  I am waiting for the build
[09:22] <samiux> :)
[09:23] <cloudman> Running fastcgi on buntu 12.04, will activating mod_headers and mod_expires cause any conflicts??  Thanks
[09:24] <ws2k3> ﻿http://puu.sh/9MbbP/e72b27b994.png
[09:24] <ws2k3> then this realy should be it
[09:24] <peetaur2> ws2k3: looks good
[09:25] <ws2k3> i realy wonder if grub will install now
[09:29] <ws2k3> fuck yeah
[09:29] <ws2k3> after 2 days of cursing grub finaly installed
[09:30] <dkorras> i 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 it
[09:30] <peetaur2> submit 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_grub
[09:32] <peetaur2> the interface on bugs.launchpad.net is apparently incapable of letting me search for bugs I have submitted ... so I can't find a link
[09:32] <peetaur2> my bug was not on the installer though, but some document that was really bad about raid
[09:32] <ws2k3> fuck yeah 15 gb write per second on hard disk xD
[09:33] <ws2k3> this is going to be fun
[09:33] <peetaur2> obv. caching ...
[09:33] <ws2k3> yeah the buffered disk read was 1 gbps
[09:34] <ws2k3> still pretty fast
[09:35] <peetaur2> do 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=fdatasync
[09:35] <peetaur2> rm /tmp/bigtestfile /dev/shm/testfile
[09:36] <peetaur2> lessons to learn: zeros are bad; conv=fdatasync or other thing to avoid cache effects
[09:36] <ws2k3> it does 13.2 mbps with the first dd command
[09:38] <see1> hello
[09:38] <see1> i try today again to update my serv...but i get the same error
[09:38] <peetaur2> ws2k3: first one is not important
[09:39] <peetaur2> ws2k3: first one just generates randomness which is always slow
[09:44] <ws2k3> ah the second command does 553 mbps
[09:45] <see1> is some1 able to report a bug? i run a server with ubuntu precise and nginx
[09:45] <see1> i cant update
[09:47] <see1> because of a packed error
[09:47] <lordievader> see1: Do you get errors?
[09:47] <peetaur2> see1: 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] <lordievader> see1: If so, can you pastebin those.
[09:48] <see1> i run the update again and let you see whats up....pastebin
[09:50] <ws2k3> now going to see if i can repeat this on my second server
[09:52] <peetaur2> make sure to check partition tables first ;)
[09:52] <peetaur2> and BTW did someone lecture you yet on the reasons why you probably shouldn't use RAID0?
[09:52] <see1> result is 502 Bad Gateway nginx
[09:53] <ws2k3> yes
[09:53] <ws2k3> but this servers are part of a database cluster
[09:54] <ws2k3> so if one disk breaks that does not matter the cluster software has backups on other nodes
[09:54] <ws2k3> so thats why i want the highest IO i can get
[09:54] <peetaur2> see1: do you have normal default repositories? do you have a proxy server? (cat /etc/apt/apt.conf.d/01proxy)
[09:55] <peetaur2> ws2k3: highest is actually to use no raid, and have the db do the balancing rather than striping
[09:55] <ws2k3> yeah i get you but the software does not support that you can only provide one data source
[09:55] <peetaur2> maybe with SSDs it doesn't matter though ... no heads to move
[09:55] <see1> http://pastebin.com/ctpQi6Yd
[09:56] <ws2k3> btw now i grub-install failed on both disks
[09:56] <see1> lordievader: http://pastebin.com/ctpQi6Yd
[09:56] <peetaur2> ws2k3: grub-install /dev/sda     (not sda1 unless you want to dual boot and use another bootloader, eg. the windows one chainloads to linux)
[09:57] <ws2k3> yeah already did now going to retry
[09:57] <peetaur2> see1: where did it fail? that looks fine ... you mean your nginx doesn't work now, not the update failed?
[09:58] <lordievader> see1: I don't see any problem?
[09:58] <ws2k3> i started uibuntu rescue and did the mktable msdos now going to retry
[09:59] <peetaur2> ws2k3: 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 not
[10:00] <ws2k3> ah well its to late for that i already did an mktable msdos
[10:00] <peetaur2> ws2k3: 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] <peetaur2> it's fine if you ran that, just saying you can test it first... some day you might find something relevant that way
[10:01] <ws2k3> no machine is exacly the same
[10:01] <ws2k3> yeah you are right peetaur2
[10:02] <see1> lordievader: update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
[10:02] <see1> this isnt normal
[10:02] <see1> my nginx and all others run well
[10:03] <ws2k3> hmm odd one disk does show primary and the other does not
[10:03] <samiux> jjohansen, thanks a lot.  aa-logprof is working properly and perfect.  :)
[10:04] <peetaur2> ws2k3: alternatively, you could make both GPT and make a bios_grub.  Just make sure all bootable disks are the same table type.
[10:04] <jjohansen> samiux: nice, I am glad to hear it is working better for you
[10:05] <samiux> :)
[10:37] <ws2k3> awesome second machine grub also installed
[11:22] <pmatulis> morning
[11:39] <samiux> apparmor still buggy, not mature enough
[11:39] <jjohansen> samiux: logprof/genprof again?
[11:41] <samiux> I 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:42] <jjohansen> :(
[11:44] <samiux> jjohansen, http://pastebin.com/txayXiTf
[11:44] <samiux> line 72-74 and line 128-132
[11:44] <jjohansen> samiux: can you open a bug with the details. steve and christian have been trying to cleanup logprof/genprof.
[11:44] <jjohansen> samiux: logprof/genprof got rewritten as part of google summer of code last summer and this has finally started replacing the old genprof/logprof
[11:44] <samiux> aa-enforce force close for line 128-132
[11:45] <jjohansen> it will get better, unfortunately reports where that it was better than it has turned out to be
[11:45] <jjohansen> samiux: okay thanks
[11:50] <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 user
[11:56] <lordievader> somedudeonthenet: Ok, do you face problems there?
[11:57] <somedudeonthenet> i'm just started with researching how i could do this
[11:57] <somedudeonthenet> i *
[11:58] <somedudeonthenet> lordievader 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 configuration
[11:59] <lordievader> somedudeonthenet: It's somewhat older but still valid: http://www.howtoforge.com/setting-up-a-pxe-install-server-on-ubuntu-9.10-p3
[11:59] <smb> zul, 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?
[12:00] <zul> smb:  yeah ill look at it today
[12:00] <somedudeonthenet> lordie is the link you give me valid for a not attended install?
[12:00] <smb> zul, Cool, just wanted to bring it up in the unlikely event it was missed. :)
[12:00] <zul> smb:  :P
[12:01] <lordievader> somedudeonthenet: Err, it's valid for booting linux through pxe.
[12:01] <somedudeonthenet> basically the user should only press enter
[12:01] <somedudeonthenet> sit back, nip from his coffee and let the magic happen
[12:03] <somedudeonthenet> give me a moment
[12:05] <somedudeonthenet> let 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 user
[12:08] <lordievader> somedudeonthenet: Sounds like an automated install, must say I have no experience with it: https://help.ubuntu.com/12.04/installation-guide/i386/automatic-install.html
[12:11] <kickinz1> somedudeonthenet, look dor preseed files
[12:11] <kickinz1> there is some documentation there:
[12:11] <somedudeonthenet> kickinz you mean?
[12:12] <kickinz1> https://wiki.debian.org/DebianInstaller/Preseed/EditIso
[12:12] <kickinz1> maybe not the good link..
[12:12] <kickinz1> if fact you can give the debian-installer a preseed file that makes it install what you want and answering at the maximum questions
[12:14] <kickinz1> so 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 also
[12:14] <kickinz1> then a client machine with network boot can launch what you have prepared
[12:15] <kickinz1> https://wiki.debian.org/DebianInstaller/Preseed
[12:19] <somedudeonthenet> how about creating a remasterd iso file?
[12:21] <kickinz1> I think that you can find what you need for that on the first link.
[12:22] <kickinz1> the preseed.cfg file describe here is the file you need to mod
[12:23] <kickinz1> (link was: https://wiki.debian.org/DebianInstaller/Preseed/EditIso)
[12:26] <zul> yay last day of school let the summer of bottomless pants commence!
[12:32] <zetheroo> having a real problem here with networking in Ubuntu Server 14.04
[12:33] <zetheroo> Here is the networking setup and some route info etc http://paste.ubuntu.com/7710948/
[12:33] <zetheroo> issue is that when the system boots up there seems to be no set default network device
[12:34] <zetheroo> so here we have the wrong network being used as the default (192.168.2.1)
[12:34] <zetheroo> How can I force br0 to be the default and not br1 ?
[12:35] <kickinz1> you must have only one gateway defined
[12:36] <kickinz1> in the /etc/network/interfaces file
[12:36] <peetaur2> zetheroo: hackish maybe, but remove the gateway, and instead add:      up route add default gateway 192.168.1.1 br0        in the br0 section
[12:36] <peetaur2> not sure how else to add the "br0" arg in the config.
[12:36] <zetheroo> but the 2.1 gateway is needed for that network ..
[12:36] <peetaur2> "gateway ..." = default gateway... only one default gateway can do anything
[12:37] <peetaur2> you probably need a static route if you want more than one
[12:37] <peetaur2> and for more complicated dynamic routing (which likely you don't have), I think #networking is the place.
[12:37] <zetheroo> ok, I'll give that "hack" a try :)
[12:37] <zetheroo> "up route add default gateway 192.168.1.1 br0"
[12:37] <peetaur2> first test by removing the gateway from br1
[12:37] <zetheroo> that's on one line?
[12:38] <peetaur2> and 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] <peetaur2> yes one line..... up <command to run>
[12:38] <peetaur2> or is it ifup ... ;)  lemme check
[12:38] <peetaur2> yeah just "up" not ifup
[12:38] <heftig-z> how is dbus-daemon started? the dbus init.d script seems work as a stub
[12:38] <kickinz1> you put it afer the line network 192.168.2.0
[12:39] <kickinz1> and you remove gateway 192.168.2.1 line
[12:39] <peetaur2> kickinz1: any line maybe... but I always see them at the end, all the "up"s together, and "down"s after
[12:39] <zetheroo> ok, two different instructions ... :P
[12:40] <zetheroo> so I remove "gateway 192.168.2.1"
[12:40] <kickinz1> I also think anyline, but it is easier to read
[12:40] <peetaur2> try 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:41] <kickinz1> I'm not sure you need that 'up route add' line, because it is the same network as your interface
[12:41] <zetheroo> Sorry, peetaur2 and kickinz1, are you both talking about the same possible solution... or two different ones ?
[12:41] <kickinz1> for me you just have to remove the second gateway line
[12:41] <zetheroo> I see
[12:42] <zetheroo> but isn't that needed?!
[12:42] <zetheroo> This is a KVM host machine and guests use both the 2.1 and 1.1 networks respectively
[12:42] <peetaur2> I 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] <peetaur2> and if that fails, then you can use the "up" thing to make sure it's on the right device.
[12:43] <zetheroo> ok, I have never used the "route" parameter in the interfaces file ...
[12:44] <kickinz1> the gateway means: 'what to do with ip traffic belonging to other netwroks than those defined'
[12:44] <kickinz1> so if you have to gateway, it doesn't work except if you add dynamics rules, and so on...
[12:44] <zetheroo> ok
[12:45] <zetheroo> how to guest VM's configured to use br1 find their way to the 2.1 gateway?
[12:45] <zetheroo> how *do* ...
[12:45] <peetaur2> zetheroo: 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:46] <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] <kickinz1> you want guests in 2.0/24 network to be able to reach 1.0/24 network?
[12:46] <zetheroo> I was trying to look here for "route" stuff
[12:46] <zetheroo> https://help.ubuntu.com/14.04/serverguide/network-configuration.html
[12:47] <zetheroo> kickinz1: no ... they should be completely separate!
[12:48] <kickinz1> ok, so please verify that ip forwardinf is off
[12:48] <zetheroo> br1 is the 2.0 network
[12:48] <peetaur2> zetheroo: I still find this to be the best network config site for Ubuntu https://wiki.debian.org/NetworkConfiguration
[12:49] <peetaur2> zetheroo: just to see if you know why you want a gateway there.... tell me, what is a default gateway used for?
[12:49] <peetaur2> zetheroo: does the default gateway affect your VMs?
[12:50] <zetheroo> i 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 br1
[12:50] <zetheroo> but is this wrong?
[12:50] <peetaur2> it is wrong; it is only used by the host where you set it.
[12:50] <zetheroo> ah
[12:50] <peetaur2> but if you set it in a DHCP server, it would be shared to DHCP clients, maybe some VMs.
[12:51] <peetaur2> so 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] <zetheroo> so 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] <peetaur2> yes
[12:51] <zetheroo> ok
[12:52] <zetheroo> so removing the gateway 2.1 from the interface file makes logical sense :D
[12:52] <zetheroo> trying it now ... fingers crossed
[12:55] <zetheroo> ok, it's looking good :)
[12:56] <zetheroo> peetaur2 and kickinz1 - thanks!
[12:57] <kickinz1> you're welcome
[12:57] <peetaur2> no prob
[12:57] <peetaur2> now fix my dkms problem for me http://pastebin.com/7Hs5QBuj
[12:58] <zetheroo> oh no probs ... the fix is simple ... here it is ....
[12:59] <zetheroo> nah sorry, not a clue :P
[13:00] <kickinz1> ZoL like Zfs On Linux?
[13:00] <peetaur2> yes
[13:00] <kickinz1> cool, I played with that but I took prebuilt kernel
[13:01] <peetaur2> me too ... until I found some bug I wanted to fix in the kernel unrelated to zfs
[13:03] <kickinz1> strange, not sure to be able to help
[13:43] <eben> hi 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 help
[13:44] <peetaur2> !pastebin
[13:47] <eben> This is what i have tried: http://paste.ubuntu.com/7711252/
[13:55] <qwebirc110269> hi guys and ladies how do i make a unattend install of linux server that can be pxe booted?
[13:55] <kickinz1> the last '\' nust not be there
[13:55] <kickinz1> ^eben
[13:56] <eben> even with that, it is not working
[13:56] <eben> am using ubuntu 14.04
[14:00] <kickinz1> I 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:01] <eben> okay
[14:01] <kickinz1> and downloading a premade script from tftp for the in-target command.
[14:02] <kickinz1> touch /target/root/eben.txt; echo 'what ever' > /target/root/eben.txt;
[14:05] <eben> thanks alot
[14:05] <eben> i will try it now
[14:10] <peetaur2> eben: remove the "; \" from the last line.... that is just to join lines together
[14:10] <kickinz1> be carefull about the last ';', I think there must be none
[14:11] <peetaur2> eben: also at the same time, test without in-target:       echo 'this is my file2' > /target/root/eben2.txt
[14:14] <eben> okay, i will try it
[14:24] <daveops> 1
[15:19] <zul> smb/hallyn: nova has been fixed so libvirt/qemu and pretty much everyhting else should be unblocked
[15:33] <eben> i 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:38] <ikonia> eben: where you asking this earlier as qwebirc110269 and somedudeonthenet
[15:39] <ikonia> your wget syntax is well off
[15:41] <eben> no, this is the first time am asking about this
[15:43] <eben> ikonia: can you help me with the wget?
[15:44] <ikonia> man wget
[15:44] <ikonia> check the syntax
[15:44] <eben> ok
[15:51] <peetaur2> eben: 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] <peetaur2> oh but yes his syntax is way off
[15:51] <peetaur2> not well off ;)
[15:52] <peetaur2> "well off" means something like "on a good start"
[15:55] <eben> ok, thanks
[16:50] <xibalba> what can i/should i use for centralized auth of many linux/unix/bsd boxes
[17:39] <zartoosh> HI 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? thx
[17:40] <rbasak> zartoosh: to do it yourself? Sure, that's possible. Officially? It would be against SRU policy (https://wiki.ubuntu.com/StableReleaseUpdates). 
[17:41] <rbasak> zartoosh: 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:45] <patdk-wk> zartoosh, I would not recommend it
[17:45] <patdk-wk> the changes between grub on 12.04 and 14.04 are huge
[17:45] <patdk-wk> I attempted it, and I backport stuff all the time
[17:45] <patdk-wk> and marked it off as impossible (well, would take over a week of my time atleast)
[17:46] <patdk-wk> cause I wanted to gain the luks decryption stuff from it
[17:48] <rbasak> grub can do luks now? Nice!
[17:48]  * rbasak wonders how that would interact with his network-based keyscript
[17:48] <zartoosh> rbasak, patdk-wk thanks for your feed back
[17:48] <rbasak> http://github.com/basak/netkeyscript is what I use on my home server
[17:49] <zartoosh> my main issue is the grub-install support for efi is not supported on 12.04 and this will force me to go with 14.04
[17:49] <patdk-wk> yep
[17:49] <rbasak> Oh no, not 14.04! :-P
[17:50] <patdk-wk> I would just use 14.04 :)
[17:50] <patdk-wk> upgrades for me have been pretty easy
[17:52] <zartoosh> I 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:54] <patdk-wk> ah, you produced a product ontop of 12, that is understandable
[17:54] <patdk-wk> heh
[17:54] <patdk-wk> dunno, 14 has been very stable for me
[17:54] <patdk-wk> but then I upported my patches I have for 12 to 14
[18:03] <patdk-wk> rbasak, I have a modification of netkeyscript
[18:04] <patdk-wk> when a server reboots, it requests the key from a https site
[18:04] <patdk-wk> that will notify me, and I confirm and it submits the key back
[18:05] <patdk-wk> but that seems to run after boot, mine runs in inittab, pre-root-mount
[18:06] <smokie> hey guys, if someone uses nmap on a network that has ubuntu server, does ubuntu advertise itself?
[18:06] <patdk-wk> define, advertise?
[18:06] <sarnold> smokie: yes; echo hi | nc localhost 22   to see your sshd banner
[18:07] <patdk-wk> oh, you mean can someone scan a ubuntu server?
[18:07] <smokie> sarnold, is there a way to make it not do that?
[18:07] <patdk-wk> depends on your firewall settings
[18:07] <patdk-wk> block all incoming packets will stop it
[18:08] <patdk-wk> but then, you won't be able to remotely connect to it
[18:08] <patdk-wk> like say, over ssh
[18:08] <patdk-wk> the ONLY way to have both at the same time
[18:08] <patdk-wk> is to do like port-knocking
[18:08] <sarnold> smokie: be aware that apache also advertises ubuntu with some banners, and likely other services will too
[18:09] <sarnold> smokie: you may have to recompile some packages if you're really interested in hiding them all.
[18:09] <patdk-wk> sarnold, if he only wants to stop it saying ubuntu
[18:10] <smokie> patdk-wk, im using a custom port for ssh
[18:10] <sarnold> smokie: oh, lookie there, in sshd_config: DebianBanner
[18:10] <patdk-wk> yes, but you want to stop it saying using ubuntu ssh, or stop anyone from knowing you have ssh
[18:10] <sarnold> that's probably what you want
[18:10] <smokie> but i thought it would be a good idea to hide the OS as well from noisy ppl
[18:11] <patdk-wk> there are limited benifits from that
[18:11] <patdk-wk> almost none really
[18:11] <patdk-wk> the only thing it can be used for, is to know if your fully patched or not
[18:11] <patdk-wk> the scriptkiddies will run all their vaunerabilities against it, no matter what
[18:12] <sarnold> or to find which services on your network may not yet be under your administrative control
[18:12] <smokie> patdk-wk, that makes sense
[18:12] <smokie> true
[18:12] <patdk-wk> sar?
[18:12] <patdk-wk> sarnold, you mean, like a linux vs cisco router vs windows?
[18:14] <sarnold> patdk-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-wk> normally do that just using the tcp flags :)
[18:14] <patdk-wk> pof! :)
[18:15] <sarnold> patdk-wk: that'll tell you kernel anyway, hehe
[19:02] <rbasak> patdk-wk: that's interesting. netkeyscript runs before root mount, from the initramfs.
[19:02] <rbasak> patdk-wk: I didn't want my key to be available online anywhere.