[07:58] <jamespage> morning
[08:15] <cpaelzer> jamespage: hi
[08:15] <cpaelzer> jamespage: fyi I got success with the dpdk upload, now my ovs-dpdk seems to work fine
[08:15] <cpaelzer> jamespage: I wanted to ask if you need help or just want to discuss about you charming it
[08:16] <cpaelzer> jamespage: also I'm interested in what you decided regardig the user/permission of the vhost-user sockets
[08:16] <jamespage> cpaelzer, just getting a ceph rc out of the way and then I'll re-focus on the work I was doing last week on testing ovs+dpdk+openstack
[08:17] <jamespage> I hit some unrelated blockers which inhibited progress a bit...
[08:17] <cpaelzer> jamespage: sure, just wanted to offer help more than tracking on that remaining bug :-)
[08:18] <cpaelzer> me going on with testing might help to get off some inhibitors you didn't hit yet upfront, so I just go on until you let me know
[14:02] <randymarsh9> hello
[14:03] <lordievader> o/
[14:03] <randymarsh9> is the userspace the type of syntax the command line takes?
[14:03] <randymarsh9> for example bash?
[15:03] <teward> if I have a question about the base ubuntu-server metapackage, who do I bother?
[15:07] <nacc> randymarsh9: sorry, can you rephrase your question?
[15:07] <Seveas> teward: that'll depend on the question. Try in here and see what happens.
[15:12] <teward> Seveas: the quesiton being why is lxc and everything on the server seed itself, as part of the `ubuntu-server` metapackage in Xenial
[15:12] <teward> everything directly related*
[15:13] <ogra_> teward, yeah, guiven it is now part of every ubuntu default install it should probably rather be in ubuntu-standard
[15:13] <teward> ogra_: i'm still scratching my head as to why this was done, maybe I missed an email chain, but...
[15:14] <teward> ogra_: seems like a massive change, esp. if we have to load container support into every default install
[15:14] <teward> i'm just left scratching my head is all
[15:19] <crazybluek> how to prevent net lag when ubuntu  dhclient renews ip due lease time on dynamic ip given by dhcp server on another device ?
[17:12] <randymarsh9> anyone know why there is a slash to separate librrd-dev and libmailtools-perl for the apt-get install on this page:
[17:12] <randymarsh9> Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
[17:12] <randymarsh9> Setting up libmpfr4:amd64 (3.1.2-1) ...
[17:12] <randymarsh9> Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
[17:12] <randymarsh9> Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
[17:12] <randymarsh9> Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
[17:12] <randymarsh9> Setting up binutils (2.24-5ubuntu14) ...
[17:12] <randymarsh9> Setting up libc-dev-bin (2.19-0ubuntu6.7) ...
[17:12] <randymarsh9> Setting up linux-libc-dev:amd64 (3.13.0-83.127) ...
[17:12] <randymarsh9> Setting up libc6-dev:amd64 (2.19-0ubuntu6.7) ...
[17:12] <randymarsh9> Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.1) ...
[17:12] <randymarsh9> Setting up cpp (4:4.8.2-1ubuntu6) ...
[17:12] <randymarsh9> woops
[17:12] <randymarsh9> sorry
[17:12] <randymarsh9> https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/exercise2-install-nfdump-nfsen.htm#configure-your-collector
[17:15] <nacc> randymarsh9: uh, line continuation?
[17:15] <randymarsh9> nacc: so ignore that?
[17:17] <nacc> randymarsh9: i really don't think you should be going down the route of building your own packages if you don't know what that is, but that's your choice :) you can keep it there or not, it's just meant to indicate it's all one line (and if you were to c&p, it'll hopefully include the enter at the end)
[17:18] <randymarsh9> nacc: i'm following diffrent guides on how to setup a netflow monitor and the last one did not work so i was doing this one
[17:20] <randymarsh9> stupid file doesn't even exist on their server
[17:37] <randymarsh9> so the green file mean they are executables correct?
[17:38] <randymarsh9> when i do ls
[17:40] <sarnold> doublecheck with ls -l
[17:43] <randymarsh9> does the first part (-) mean it's a file?
[17:43] <randymarsh9> i see -rwxr-xr-x
[17:46] <sarnold> yes; it would be 'd' for a directory, 'c' for a character device, 'b' for block device, 'l' for a symlink .. I can't recall what sockets/pipes/fifos get..
[17:48] <nacc> s
[17:48] <nacc> sarnold: --^
[17:49] <nacc> for sockets, at least
[17:49] <sarnold> thanks nacc :)
[17:50] <randymarsh9> how come i can't execute the file just by typing it's name when i am in the same directory as said executable?
[17:50] <randymarsh9> it tells me command not found
[17:50] <mallard> randymarsh9: You need to use ./executable
[17:50] <randymarsh9> i have to type "./" before it
[17:50] <randymarsh9> yea
[17:50] <randymarsh9> is that just how linux works?
[17:50] <mallard> It has to be on your $PATH
[17:50] <nacc> it has to do with your PATH
[17:51] <randymarsh9> i understand that
[17:51] <randymarsh9> but if i am in the same directory?
[17:51] <randymarsh9> it doesn't care?
[17:51] <mallard> Its like that for security reasons
[17:51] <nacc> it has to be in your PATH; I dont' think you understand that
[17:51] <teward> randymarsh9: this isn't Windows
[17:51] <randymarsh9> teward: yes that's how i'm used to doing it
[17:51] <mallard> If you unzipped something and it had a nasty executable called ls inside, you would run it instead of the real ls
[17:51] <teward> randymarsh9: if the directory you are in is not in your $PATH variable, it must be prefixed with ./ to indicate you are executing something in the current directory
[17:52] <randymarsh9> mallard: excellent point
[17:52] <teward> randymarsh9: otherwise, you have to add the unzipped location to the $PATH variable
[17:52] <mallard> If you really wanted I think you can put . on your path by putting a ; on its own at the end, but you shouldn't do that
[17:52] <sarnold> don't do that :)
[17:52] <teward> and also, mallard raises that good security point :P
[17:52] <teward> and yes, you should not do that
[17:52] <teward> so don't edit your path that way
[17:54] <randymarsh9> cool thanks
[17:55] <randymarsh9> next thing you know i'll be doing my own packages
[17:55] <randymarsh9> ;)
[17:56] <sarnold> :D
[18:31] <randymarsh9> dang way over my head here
[18:31] <randymarsh9> anybody have a netflow setup running on their ubuntu box?
[18:31] <randymarsh9> tried nfsen w/ nfdump so far and can't get it working
[18:32] <randymarsh9> any other recommendations?
[18:32] <randymarsh9> or know a good channel to ask in?
[18:40] <DirtyCajun> just for specificity... prepending a : to the beginning or appending it to the end of your PATH will yield that result, but changes weather it searches before the rest or after randymarsh9
[18:41] <randymarsh9> DirtyCajun: cool good to know thanks
[18:43] <DirtyCajun> also permenantly changing it is a security risk but changing it for your session only is just "frowned upon"
[18:43] <DirtyCajun> in which you would just type PATH=$PATH:
[18:44] <RoyK> or PATH=$PATH:/whateveryouwanttoaddinthepath
[18:44] <DirtyCajun> right.
[18:46] <lordievader> randymarsh9: 'Can't get it working', what are you running into?
[18:49] <randymarsh9> lordievader: when i would run "./nfsen start" instead of saying something like OK or succeeded I got a bunch of weird output about line 44, 66 etc. and some message about rerunning the config (which after rerunning would still yield the same result)
[18:50] <randymarsh9> honestly i think it's because of following several different guides on setting this up
[18:51] <randymarsh9> and something somewhere got screwed up so i'm just going to wipe the whole install and start fresh using 1 decent looking guide i found
[18:51] <randymarsh9> and make sure i understand every step i'm doing
[18:51] <randymarsh9> feel like second time around i should be able to get it working
[18:52] <lordievader> randymarsh9: Oh, that is normal. Nfsen spews out a bunch of perl stuff, but if it doesn't error you are good to go.
[18:52] <lordievader> Can you pastebin the output by the way?
[18:58] <randymarsh9> lordievader: damn already reformatting
[18:59] <randymarsh9> where were you 20 min ago before i gave up all hope?!?
[18:59] <randymarsh9> jk. that's good to know if i encounter it again. is there a command i can run to see if it actually is running in the background? will top do it?
[19:00] <sarnold> ps auxw
[19:02] <randymarsh9> sarnold: difference between ps and top is ps is screenshot and top is realtime right?
[19:03] <lordievader> No.
[19:03] <lordievader> Read the man page of both applications ;)
[19:04] <randymarsh9> how come they don't teach this stuff in school
[19:05] <randymarsh9> if i get this working i will be so happy
[19:05] <sarnold> they really should teach how to read manpages in school :) hehe
[19:06] <randymarsh9> man is incredibly useful
[19:06] <randymarsh9> used it like 6 times today
[19:07] <randymarsh9> surprised there's no man page on "cd" though
[19:07] <sarnold> 'cd' can't be implemented as a stand-alone command
[19:07] <randymarsh9> yes it can
[19:07] <sarnold> it's a shell built-in, because that's the only way it can affect the current working directory of the process
[19:08] <sarnold> so it's documented in your shell's manpage
[19:08] <randymarsh9> if you run cd on its own it takes you to some directory i haven't quite figured out yet
[19:08] <lordievader> randymarsh9: That is not the point sarnold is trying to make. Suppose cd is a program. It would start up, chande dir, and exit. Leaving you in the original dir you where in.
[19:09] <lordievader> The parent didn't change dirs, only the child did.
[19:09] <sarnold> randymarsh9: 'cd' with no parameters changes directories to your home directory
[19:10] <randymarsh9> so only programs have man pages?
[19:10] <sarnold> no, but shell built-ins often don't
[19:11] <randymarsh9> cool thx
[19:12] <tarpman> for extra fun, sometimes there's a program and a shell builtin with the same name (e.g. 'echo' or 'test'), and the man page documents the program, but what you're actually running is the builtin...
[19:12] <JanC> configuration files or concepts or libraries/library functions all could all have manpages
[19:14] <JanC> oh, and I do have a manpage for 'cd'
[19:14] <randymarsh9> anyone know why i would want to make a link between two files?
[19:14] <sarnold> JanC: hah, so there is, in 1posix :) I've never noticed..
[19:14] <randymarsh9> does it mean if i edit one i am editting the other?
[19:19] <JanC> randymarsh9: in case of hardlinks yes (they are just another name for the same file), in case of symlinks it depends (they are special files that refer to other files, and some applications might not follow symlinks, e.g. for security reasons)
[19:20] <JanC> but in general, yes you would be editing the same file
[19:21] <randymarsh9> JanC: ok ty
[19:22] <tarpman> the usual write to a new file, fsync, rename dance probably breaks hardlinks though, I guess?
[19:23] <sarnold> yeah
[19:39] <RoyK> any idea if it's possible to enable the L3 cache on a celeron? lshw reports it to be disabled...
[19:41] <patdk-wk> royk, they are disabled on the die
[19:42] <sarnold> how rude
[19:42] <sarnold> if it's just a configuration option that the bios doesn't export, maybe gross tricks like this could do it http://timetobleed.com/enabling-bios-options-on-a-live-server-with-no-rebooting/
[19:43] <sarnold> but if they've burned a fuse, well .. no luck there.
[19:43] <RoyK> patdk-wk: just strange it's visible, then
[19:44] <patdk-wk> well, it exists on the die
[19:45] <randymarsh9> is there man page for directories?
[19:45] <patdk-wk> basically, it's the server cpu
[19:45] <patdk-wk> just reclassed for desktop
[19:45] <randymarsh9> like if i want to know what /usr/src/ is for can is there a way to put man in front of that?
[19:45] <tarpman> randymarsh9: man 7 hier
[19:46] <tarpman> "description of the filesystem hierarchy"
[19:47] <RoyK> patdk-wk: I guess a few people have tried to hack that, then, without much success :P
[19:47] <randymarsh9> tarpman: thx
[19:47] <randymarsh9> just curious what is the point of adding the 7?
[19:47] <randymarsh9> man hier seems to work ok too
[19:48] <tarpman> randymarsh9: habit. sometimes there are pages with the same name in different sections. e.g. printf(1) and printf(3) are very different things
[19:48] <randymarsh9> so page 7?
[19:48] <tarpman> pardon?
[19:48] <randymarsh9> does the 7 mean page 7?
[19:49] <tarpman> section 7
[19:49] <randymarsh9> ah
[19:49] <randymarsh9> cool thx
[19:49] <patdk-wk> very important
[19:49] <tarpman> randymarsh9: the man(1) page has a list of the sections near the top
[19:49] <patdk-wk> expecially when the program and config man pages are the same name
[19:49] <tarpman> (in case it wasn't clear, the (1) is the section there)
[19:49] <patdk-wk> or if you want the libc function vs the shell function
[19:52] <randymarsh9> you can do a man man
[19:52] <randymarsh9> pretty sweet
[19:53] <tarpman> randymarsh9: perfect example of why to specify the section...  you probably wanted 'man 1 man', but there's 'man 7 man' too... ;)
[19:54] <tarpman> randymarsh9: see also: 'whatis man'
[19:55] <randymarsh9> there's a whatis command ???
[19:55] <randymarsh9> so cool
[20:13] <randymarsh9> did you guys know about the whereis command?
[20:13] <randymarsh9> pretty useful stuff for you experts
[20:13] <RoyK> it just searches PATH for the command
[20:14] <RoyK> randymarsh9: 'type' is another command that works somewhat the same way, only lists more stuff
[20:15] <Pici> and apropos
[20:17] <tarpman> and 'which', and 'command', and ...
[20:18] <mallard> My favourite command is poweroff.
[20:19] <mallard> Opens a portal to that game "outside"
[20:19] <Pici> heh
[20:29] <randymarsh9> does clean install of ubuntu server enable firewall by default or no?
[20:31] <teward> define "enable firewall" :P
[20:33] <randymarsh9> is the firewall turned on by default?
[20:33] <teward> randymarsh9: define 'turned on'.
[20:33] <teward> if you mean "Turned on and blocking traffic" then I haven't seen that yet on a default install
[20:33] <teward> because "blocking traffic" varies use case to use case to use case
[20:33] <teward> there's no 'default' I believe that fits "most situations"
[20:34] <randymarsh9> just curious thanks
[20:35] <teward> randymarsh9: usually a server admin will set the firewall up as needed.  :P
[20:35] <teward> rather than rely on defaults
[20:35] <teward> oop which reminds me i have a default grub on this VM that is evil
[20:36] <teward> randymarsh9: sudo ufw enable   <--- will turn on a 'default' firewall setup, but I don't like ufw, 'cause I like manipulating via iptables ;)
[20:38] <randymarsh9> ya that's the command i used to disable it
[20:38] <teward> i think you mean enable.
[20:38] <randymarsh9> no i turned it off because this thing isn't working
[20:38] <teward> ah
[20:38] <teward> well, that's because you didn't set up the firewall to do what yo uwant it to ;)
[20:38] <randymarsh9> thought it had to do with fireall but doesn't look like it
[20:38] <teward> also "this thing isn't working" = vague
[20:38] <randymarsh9> ya
[20:39] <teward> ... grrr stupid grub
[20:39] <teward> *goes to fix a server*
[20:48] <randymarsh9> if i do "ls -l" i see this output: drwxr-xr-x 9 www-data www-data 4096 Mar 30 16:03 directory_name
[20:48] <randymarsh9> why is www-data there twice
[20:48] <randymarsh9> is one the user and one the group?
[20:48] <mallard> There's the user and the group
[20:48] <randymarsh9> ok
[20:48] <randymarsh9> and is that the owner of the directory?
[20:48] <mallard> Yeah
[20:49] <randymarsh9> ok good
[20:49] <randymarsh9> so there's also a root user and a root group?
[20:49] <mallard> yeah, each user usually has their own group too
[21:20] <randymarsh9> when installing a pacakge "apt-get install program_name" grabs it from the repositories and "wget package_url" grabs it from the specified website right?
[21:21] <teward> randymarsh9: apt-get install will install the package from the repositories.  wget doesn't install anything
[21:21] <teward> wget is used to download the URL.
[21:21] <teward> if the URL is to a .deb it downloads the .deb to either the current directory, or the path defined in the -O option (if it wasn't provided, then it downloads to the directory you are in)
[21:21] <teward> it doesn't install anything
[21:22] <teward> apt-get downloads, then installs, the package from a repository.
[21:23] <jrwren> and a repository is just a file store with some files in specific places. Might be a website (http), or ftp, or other.
[21:23] <mallard> you should keep a copy of the repositories on a large collection of floppy disks
[21:23] <mallard> it's a great conversation piece
[21:24] <jrwren> been there, done that, glad I do not anymore. ;]
[21:24] <teward> lol
[21:25] <sarnold> heh I did a slackware install back in the day that was 53 floppies.
[21:26] <sarnold> latex was ~dozen, x11 was ~dozen..
[21:58] <randymarsh9> does ubuntu server hide file extensions by default?
[21:58] <rattking> randymarsh9 linux doesnt use extensions the same way other operating systems do..
[21:59] <randymarsh9> how does linux differentiate between an executable and a plain text file?
[21:59] <randymarsh9> when i do an ls it knows it's an executable but how?
[21:59] <tarpman> randymarsh9: by the executable (+x) bit in the permissions
[22:00] <tarpman> randymarsh9: there are plain text files that are executable: scripts.
[22:00] <rattking> by the file mode
[22:01] <randymarsh9> ok cool thx
[22:02] <rattking> the tool 'file' can tell you more about a file
[22:02] <jrwren> because... magic!
[22:03] <rattking> lol yes “magic number" :)
[22:03] <jrwren> there is nothing magic about magic.
[22:03] <sarnold> jrwren: hehe
[22:05] <randymarsh9> very cool that's like the whatis tool for commands
[22:06] <mwhudson> a bug in file (actually in the magic file) resulted in the best bug ever
[22:06] <mwhudson> "my printer doesn't work on tuesdays"
[22:06] <JanC> hehe, I remember that one
[22:06] <rattking> wat?!
[22:08] <sarnold> https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161
[22:08] <sarnold> dude
[22:10] <JanC> https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161/comments/28
[22:11] <JanC> that's where somebody discovers first that the bug happens on Tuesdays
[22:13] <hallyn> help i've forgotten how to bzr
[22:13] <teward> hallyn: hail git :P
[22:13] <teward> hallyn: you broke it, what's wrong :P
[22:14] <sarnold> hallyn: step one, be sure to have some free time..
[22:14] <hallyn> i've forgotten how to push a private branch of serverguide
[22:14] <hallyn> (sadly it is not yet avaialble over lp+git)
[22:22] <hallyn> ok sun finally came out - bbl
[22:23] <sarnold> poor bzr never had a chance against the sun