=== zul_ is now known as zul === JanC_ is now known as JanC === _ruben_ is now known as _ruben === ochoroch1 is now known as ochoroch === kickinz1|eod is now known as kickinz1 [07:58] morning === atralhea- is now known as atralheaven [08:15] jamespage: hi [08:15] jamespage: fyi I got success with the dpdk upload, now my ovs-dpdk seems to work fine [08:15] jamespage: I wanted to ask if you need help or just want to discuss about you charming it [08:16] jamespage: also I'm interested in what you decided regardig the user/permission of the vhost-user sockets [08:16] 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] I hit some unrelated blockers which inhibited progress a bit... [08:17] jamespage: sure, just wanted to offer help more than tracking on that remaining bug :-) [08:18] 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 === Jare_ is now known as Jare === arges_ is now known as arges [14:02] hello [14:03] o/ [14:03] is the userspace the type of syntax the command line takes? [14:03] for example bash? === skeezix-hf is now known as Ofir === Ofir is now known as skeezix-hf [15:03] if I have a question about the base ubuntu-server metapackage, who do I bother? [15:07] randymarsh9: sorry, can you rephrase your question? [15:07] teward: that'll depend on the question. Try in here and see what happens. [15:12] 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] everything directly related* [15:13] teward, yeah, guiven it is now part of every ubuntu default install it should probably rather be in ubuntu-standard [15:13] ogra_: i'm still scratching my head as to why this was done, maybe I missed an email chain, but... [15:14] ogra_: seems like a massive change, esp. if we have to load container support into every default install [15:14] i'm just left scratching my head is all [15:19] how to prevent net lag when ubuntu dhclient renews ip due lease time on dynamic ip given by dhcp server on another device ? === kickinz1 is now known as kickinz1|eod [17:12] anyone know why there is a slash to separate librrd-dev and libmailtools-perl for the apt-get install on this page: [17:12] Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.1) ... [17:12] Setting up libmpfr4:amd64 (3.1.2-1) ... [17:12] Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.1) ... [17:12] Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.1) ... [17:12] Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ... [17:12] Setting up binutils (2.24-5ubuntu14) ... [17:12] Setting up libc-dev-bin (2.19-0ubuntu6.7) ... [17:12] Setting up linux-libc-dev:amd64 (3.13.0-83.127) ... [17:12] Setting up libc6-dev:amd64 (2.19-0ubuntu6.7) ... [17:12] Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.1) ... [17:12] Setting up cpp (4:4.8.2-1ubuntu6) ... [17:12] woops [17:12] sorry [17:12] https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/exercise2-install-nfdump-nfsen.htm#configure-your-collector [17:15] randymarsh9: uh, line continuation? [17:15] nacc: so ignore that? [17:17] 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] 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] stupid file doesn't even exist on their server [17:37] so the green file mean they are executables correct? [17:38] when i do ls [17:40] doublecheck with ls -l [17:43] does the first part (-) mean it's a file? [17:43] i see -rwxr-xr-x [17:46] 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] s [17:48] sarnold: --^ [17:49] for sockets, at least [17:49] thanks nacc :) [17:50] 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] it tells me command not found [17:50] randymarsh9: You need to use ./executable [17:50] i have to type "./" before it [17:50] yea [17:50] is that just how linux works? [17:50] It has to be on your $PATH [17:50] it has to do with your PATH [17:51] i understand that [17:51] but if i am in the same directory? [17:51] it doesn't care? [17:51] Its like that for security reasons [17:51] it has to be in your PATH; I dont' think you understand that [17:51] randymarsh9: this isn't Windows [17:51] teward: yes that's how i'm used to doing it [17:51] If you unzipped something and it had a nasty executable called ls inside, you would run it instead of the real ls [17:51] 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] mallard: excellent point [17:52] randymarsh9: otherwise, you have to add the unzipped location to the $PATH variable [17:52] 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] don't do that :) [17:52] and also, mallard raises that good security point :P [17:52] and yes, you should not do that [17:52] so don't edit your path that way [17:54] cool thanks [17:55] next thing you know i'll be doing my own packages [17:55] ;) [17:56] :D === wk-work_ is now known as whitekidney [18:31] dang way over my head here [18:31] anybody have a netflow setup running on their ubuntu box? [18:31] tried nfsen w/ nfdump so far and can't get it working [18:32] any other recommendations? [18:32] or know a good channel to ask in? [18:40] 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] DirtyCajun: cool good to know thanks [18:43] also permenantly changing it is a security risk but changing it for your session only is just "frowned upon" [18:43] in which you would just type PATH=$PATH: [18:44] or PATH=$PATH:/whateveryouwanttoaddinthepath === rxc_ is now known as rxc [18:44] right. [18:46] randymarsh9: 'Can't get it working', what are you running into? [18:49] 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] honestly i think it's because of following several different guides on setting this up [18:51] 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] and make sure i understand every step i'm doing [18:51] feel like second time around i should be able to get it working [18:52] 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] Can you pastebin the output by the way? [18:58] lordievader: damn already reformatting [18:59] where were you 20 min ago before i gave up all hope?!? [18:59] 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] ps auxw [19:02] sarnold: difference between ps and top is ps is screenshot and top is realtime right? [19:03] No. [19:03] Read the man page of both applications ;) [19:04] how come they don't teach this stuff in school [19:05] if i get this working i will be so happy [19:05] they really should teach how to read manpages in school :) hehe [19:06] man is incredibly useful [19:06] used it like 6 times today [19:07] surprised there's no man page on "cd" though [19:07] 'cd' can't be implemented as a stand-alone command [19:07] yes it can [19:07] it's a shell built-in, because that's the only way it can affect the current working directory of the process [19:08] so it's documented in your shell's manpage [19:08] if you run cd on its own it takes you to some directory i haven't quite figured out yet [19:08] 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] The parent didn't change dirs, only the child did. [19:09] randymarsh9: 'cd' with no parameters changes directories to your home directory [19:10] so only programs have man pages? [19:10] no, but shell built-ins often don't [19:11] cool thx [19:12] 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] configuration files or concepts or libraries/library functions all could all have manpages [19:14] oh, and I do have a manpage for 'cd' [19:14] anyone know why i would want to make a link between two files? [19:14] JanC: hah, so there is, in 1posix :) I've never noticed.. [19:14] does it mean if i edit one i am editting the other? [19:19] 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] but in general, yes you would be editing the same file [19:21] JanC: ok ty [19:22] the usual write to a new file, fsync, rename dance probably breaks hardlinks though, I guess? [19:23] yeah [19:39] any idea if it's possible to enable the L3 cache on a celeron? lshw reports it to be disabled... [19:41] royk, they are disabled on the die [19:42] how rude [19:42] 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] but if they've burned a fuse, well .. no luck there. [19:43] patdk-wk: just strange it's visible, then [19:44] well, it exists on the die [19:45] is there man page for directories? [19:45] basically, it's the server cpu [19:45] just reclassed for desktop [19:45] 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] randymarsh9: man 7 hier [19:46] "description of the filesystem hierarchy" [19:47] patdk-wk: I guess a few people have tried to hack that, then, without much success :P [19:47] tarpman: thx [19:47] just curious what is the point of adding the 7? [19:47] man hier seems to work ok too [19:48] 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] so page 7? [19:48] pardon? [19:48] does the 7 mean page 7? [19:49] section 7 [19:49] ah [19:49] cool thx [19:49] very important [19:49] randymarsh9: the man(1) page has a list of the sections near the top [19:49] expecially when the program and config man pages are the same name [19:49] (in case it wasn't clear, the (1) is the section there) [19:49] or if you want the libc function vs the shell function [19:52] you can do a man man [19:52] pretty sweet [19:53] randymarsh9: perfect example of why to specify the section... you probably wanted 'man 1 man', but there's 'man 7 man' too... ;) [19:54] randymarsh9: see also: 'whatis man' [19:55] there's a whatis command ??? [19:55] so cool [20:13] did you guys know about the whereis command? [20:13] pretty useful stuff for you experts [20:13] it just searches PATH for the command [20:14] randymarsh9: 'type' is another command that works somewhat the same way, only lists more stuff [20:15] and apropos [20:17] and 'which', and 'command', and ... [20:18] My favourite command is poweroff. [20:19] Opens a portal to that game "outside" [20:19] heh [20:29] does clean install of ubuntu server enable firewall by default or no? [20:31] define "enable firewall" :P [20:33] is the firewall turned on by default? [20:33] randymarsh9: define 'turned on'. [20:33] if you mean "Turned on and blocking traffic" then I haven't seen that yet on a default install [20:33] because "blocking traffic" varies use case to use case to use case [20:33] there's no 'default' I believe that fits "most situations" [20:34] just curious thanks [20:35] randymarsh9: usually a server admin will set the firewall up as needed. :P [20:35] rather than rely on defaults [20:35] oop which reminds me i have a default grub on this VM that is evil [20:36] 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] ya that's the command i used to disable it [20:38] i think you mean enable. [20:38] no i turned it off because this thing isn't working [20:38] ah [20:38] well, that's because you didn't set up the firewall to do what yo uwant it to ;) [20:38] thought it had to do with fireall but doesn't look like it [20:38] also "this thing isn't working" = vague [20:38] ya [20:39] ... grrr stupid grub [20:39] *goes to fix a server* [20:48] 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] why is www-data there twice [20:48] is one the user and one the group? [20:48] There's the user and the group [20:48] ok [20:48] and is that the owner of the directory? [20:48] Yeah [20:49] ok good [20:49] so there's also a root user and a root group? [20:49] yeah, each user usually has their own group too [21:20] 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] randymarsh9: apt-get install will install the package from the repositories. wget doesn't install anything [21:21] wget is used to download the URL. [21:21] 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] it doesn't install anything [21:22] apt-get downloads, then installs, the package from a repository. [21:23] 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] you should keep a copy of the repositories on a large collection of floppy disks [21:23] it's a great conversation piece [21:24] been there, done that, glad I do not anymore. ;] [21:24] lol [21:25] heh I did a slackware install back in the day that was 53 floppies. [21:26] latex was ~dozen, x11 was ~dozen.. [21:58] does ubuntu server hide file extensions by default? [21:58] randymarsh9 linux doesnt use extensions the same way other operating systems do.. [21:59] how does linux differentiate between an executable and a plain text file? [21:59] when i do an ls it knows it's an executable but how? [21:59] randymarsh9: by the executable (+x) bit in the permissions [22:00] randymarsh9: there are plain text files that are executable: scripts. [22:00] by the file mode [22:01] ok cool thx [22:02] the tool 'file' can tell you more about a file [22:02] because... magic! [22:03] lol yes “magic number" :) [22:03] there is nothing magic about magic. [22:03] jrwren: hehe [22:05] very cool that's like the whatis tool for commands [22:06] a bug in file (actually in the magic file) resulted in the best bug ever [22:06] "my printer doesn't work on tuesdays" [22:06] hehe, I remember that one [22:06] wat?! [22:08] https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161 [22:08] Launchpad bug 248619 in file (Ubuntu Karmic) "duplicate for #255161 file incorrectly labeled as Erlang JAM file (OOo does not print on Tuesdays)" [High,Fix released] [22:08] dude [22:10] https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161/comments/28 [22:10] Launchpad bug 248619 in file (Ubuntu Karmic) "duplicate for #255161 file incorrectly labeled as Erlang JAM file (OOo does not print on Tuesdays)" [High,Fix released] [22:11] that's where somebody discovers first that the bug happens on Tuesdays [22:13] help i've forgotten how to bzr [22:13] hallyn: hail git :P [22:13] hallyn: you broke it, what's wrong :P [22:14] hallyn: step one, be sure to have some free time.. [22:14] i've forgotten how to push a private branch of serverguide [22:14] (sadly it is not yet avaialble over lp+git) [22:22] ok sun finally came out - bbl [22:23] poor bzr never had a chance against the sun