/srv/irclogs.ubuntu.com/2014/08/09/#ubuntu-server.txt

Bozzai need a linux server OS, talk to me00:10
pmatulisBozza: ?00:47
=== fridayne_ is now known as fridaynext
bitfuryhello, any known problems with gre tunnels in ubuntu server 14.04?01:42
bitfuryI've set up a gre tunnel between an ubuntu server and router, the tunnel comes up but can't ping either end point :\01:43
sarnoldbitfury: I don't recall any complaints recently01:43
bitfurywhen I ping the remote end point from the ubuntu box, they show up as errors on the tun1 interface01:45
sarnoldcan you pastebin 'ip link' or 'ip addr' output on both endpoints? perhaps there's something one of could spot01:48
bitfurysure thing, I have a cradlepoint router on one end so I'll try to enable logging.01:50
Bozzaselinux is developed by the nsa. while app armour is made by canonical. which is more secure?01:51
sarnoldBozza: you should pick the tool that is better suited for your needs.01:51
sarnoldBozza: if you need a labeled security mechanism then selinux is a better fit. if you want to confine some services or some users or specific programs, you might prefer apparmor.01:53
sarnoldBozza: selinux has had confinement of more resources for longer; apparmor is just now growing confinement for e.g. abstract and unnamed unix sockets. if you need a more comprehensive containment mechanism, selinux may be a better fit.01:53
Bozzais it not kind of sketchy that selinux is developed by the nsa?01:54
sarnoldBozza: I may be biased towards apparmor because I've been working on it for fourteen years :) but I think more users would see more benefit to using apparmor despite the reduced mediation interfaces. I believe apparmor policy is easier to author and easier to understand.01:55
Patrickdkit is01:55
Patrickdkselinux is based on the acl design01:55
Patrickdkand while that is nice01:55
Patrickdkit's not easy to maintain01:55
sarnoldBozza: no. the guys from the NSA who worked on SELinux are charming individuals who honestly believe in information security. they wrote it in part so that the US government would have tools to use for classified information storage and to make other vendors put in some effort to take security seriously.01:56
sarnoldBozza: and of course since the full source of both systems is peer-reviewed before being integrated into the linux kernel, there's enough oversight that backdoors would be immensely difficult to build into either system.01:57
Bozzayea, this sounds like the most reasonable explanation01:58
Bozzathis is if you have enough knowledge to read complex kernel code01:58
Bozzasurely there are enough people who do review it though01:58
sarnoldthankfully the kernel portions of both are overall easier to read than e.g. networking or block storage layers :)01:59
Bozzayou actually know the guys at the nsa who wrote it? what are you, gchq? :3 . do you guys get together for tea and discuss security? :)02:00
Bozzaselinux by nsa. app armour by gchq .. large range of solutions to choose from02:00
sarnoldBozza: hehe, I don't work for gchq; we worked with them to help define the linux security module interface a dozen years back, so we'd get together at Ottawa Linux Symposium to discuss features, designs, etc.02:00
Bozzajust joking :)02:00
sarnoldBozza: rofl02:01
Bozza:D02:01
Patrickdksarnold is mi5 :)02:01
sarnoldPatrickdk: you know people confuse me for daniel craig all the time..02:01
Bozzahehe02:01
sarnoldBozza: poke around in your /etc/apparmor.d/ directory and see if you find the policy understandable or not; then poke around in the selinux policy on a fedora system... pick whichever one is easier for you to understand and whichever feels like it'd be easier to write your own policy02:03
Bozzathanks for your help sarnold02:04
Bozzayes i will take a look02:04
sarnoldBozza: have fun :)02:04
Bozzahehe02:04
BozzaXD02:04
Bozzai just stumbled upon some articles about people wondering if selinux was an nsa backdoor02:05
Bozzaso thought i would ask someone more experienced02:05
sarnoldwell, I'm just some jerk on the internet :) but selinux was designed by committed people who have a sincere interest in improving security.02:05
sarnoldapparmor and selinux may 'compete' in many areas but in that area we are in firm agreement :)02:06
Bozzawhat does freebsd use?02:07
Bozzajust out of interest02:07
Bozzaapparmor?02:07
Patrickdknone of them02:08
sarnoldthe trustedbsd framework is apparently slightly similar to the lsm framework; they have an selinux-workalike, but I do not know if it is used much or not. they don't have apparmor, though it could probably be ported with a month's effort or two...02:08
sarnoldas far as I know the only real consumer of the freebsd security framework is apple's "seatbelt" mechanism, which tags downloaded files with the site they were downloaded from, so when they are run, a dialog box can be popped up saying "this was downloaded over the internet"02:09
sarnold.. and apple's ios confinement thing, which looks a lot like apparmor did fourteen years ago...02:09
Bozzayea that dial box can be annoying02:11
Bozzawow you really do know your security code..02:12
BozzaiOS confinement . one would have thought it would be a bit more modern02:12
bitfurysarnold: sorry I took so long, my computer was acting up.. here's a pastebin: http://pastebin.com/g3yZekfL02:12
bitfuryubuntu server and router as GRE end points02:13
sarnoldbitfury: dang, I can't spot anything. I don't know gre well enough :(02:15
bitfury:(02:16
bitfurynot sure where or what to look for on the ubuntu box02:16
bitfurytried tcpdump but doesn't work on tun ifaces02:17
hallynsarnold: isn't it freebsd that has capsicum implemented?02:21
sarnoldhallyn: yeah, but I haven't read enough about capsicum :(02:22
hallynsarnold: there'll be a talk at lss in 1.5 wks :)02:22
sarnoldhallyn: hehe :) I'm not headed there though..02:22
Bozzaselinux looks like a PITA to set up properly. might have to go with ubuntu-server when i deploy02:25
Bozzaubuntu has much better support anyway02:25
=== arrrghhh is now known as arrrghhhAWAY
lordievaderGood morning.07:30
=== KM0201_ is now known as KM0201
abhishek___hello everyone can anyone help ! I want to setup ldap authentication server for 5 lac users.please help me on storage calcultions08:24
bekksabhishek___: You wont need much, you have 5 users only.08:28
abhishek___actually I was planning to have 500000 users08:29
abhishek___bekks ar u there ??08:34
bekks500k users? :)08:35
bekksWhich kind of FC storage are you using, which kind of database, how many cluster servers, etc.?08:36
=== Lcawte|Away is now known as Lcawte
abhishek___we are using mdb and two culster will be there08:43
bekksWhats "mdb"?08:43
abhishek___bdb is default in openldap we are using mdb for greater performance08:44
bekksAnd what about my other questions? And how do you connect the network - 10GbE, fibre or copper, which backbone switches?08:45
cfhowlettbekks, 1 question at a time!?  Please  :)08:45
abhishek___10GbE08:45
abhishek___fiber08:45
bekksabhishek___: What about my other questions? :)08:55
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
noob2014Good morning from Indiana - I have a noob question - hoping sombody willing to help?12:20
lordievader!ask | noob201412:21
ubottunoob2014: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience12:21
noob2014ok ty12:22
noob2014I installed Ubuntu LTS on a virtual machine, and then installed XFCE4, but when I try to start I get an error. "No command 'xinit:' found, did you mean:  Command 'xinit' from package 'xinit' (main)" was unsure if I needed to install some kind of virtual video driver but i done a search and said to ~$ sudo lspci | grep -e VGA -e 3D 00:02.0 VGA compatible controller: Cirrus Logic GD 544612:24
noob2014so i'm searching and all i keep getting is but reports12:25
noob2014on google12:25
cfhowlettnoob2014, when you try to start ... what?12:25
noob2014startxfce412:25
lordievadernoob2014: How did you install xfce?12:26
cfhowlettnoob2014, logout.  choose xfce session.  login12:26
noob2014sudo apt-get install xfce412:26
noob2014I am using putty to login remote12:26
cfhowlettnoob2014, you've got a running unity DE.  logout.  choose the alternate DE.  login12:27
noob2014i'm not sure how to do that because it's on a virtual machine i'm on windows and login through putty. and i'm noob12:28
cfhowlettnoob2014, use the ubuntu machine.  Log out.  click the ubuntu gear icon.  choose xfce session.  login12:29
noob2014no physical access i am trying amazon EC2 - it's free12:30
noob2014only option is putty12:31
lordievadernoob2014: If putty is the only option then why are you trying to install a gui?12:32
noob2014well i thought it works with gui too12:33
* cfhowlett ...12:33
cfhowlettnoob2014, "real servers don't have gui's" or so I've read12:34
lordievadernoob2014: No, you can do nasty things like X forwarding. But nasty things are nasty.12:35
Patrickdkif putty is the only option, your just dense12:43
PatrickdkI have used rdp, vnc, nx, and X forwarding, all from ec212:44
Patrickdknot cause I needed a server with gui, but because I needed a desktop at amazon12:44
wligtenbergpreviously, I installed ubuntu server on 12.04 using the procedure listed here: http://askubuntu.com/questions/87241/how-to-install-using-btrfs-in-raid10-mode14:42
wligtenbergI am now trying to follow the same steps, but installation fails at trying to install the grub boot loader. I have tried it even with 5M of free disk space at the front of the disk, but it still fails. Is this grub2, which behaves differently from grub?14:43
Patrickdkdefently14:44
Patrickdkbut did you actually install grub2?14:44
Patrickdkor is the mbr still installed with grub?14:44
Patrickdkplus, 12.04 has grub214:45
wligtenberg11.10 did that also have grub2?14:46
PatrickdkI don't know14:46
wligtenbergok14:46
wligtenbergPatrickdk: installation failed, so nothing was installed really...14:46
Patrickdkheh?14:48
Patrickdkyou ran grub-install /dev/sd???14:49
Patrickdkand it failed?14:49
Patrickdkdid you format your disks using gpt?14:49
wligtenbergthe step in the installation which tries to install the bootloader failed14:49
wligtenbergI tried with partition table MSDOS and GPT, both fail14:49
wligtenbergMaybe I should try what some other guy did, install using ext4 on one disk. Then convert that to btrfs using a live cd and then later add disks and convert to raid1... (using dconvert)14:52
TJ-wligtenberg: when the grub install fails, open a terminal shell and look at the installer logs, they output all the commands run and capture errors reports so you can discover exactly why it failed14:56
wligtenbergThanks TJ- I will try again and report back with the listed errors14:56
FrankBluesIs there a way to force all users to use the same windowmanager (Ubuntu LTS 14.04.1 with LTSP clients)14:57
wligtenberg@FrankBlues, just don't install any other window managers...15:23
wligtenberg(and prevent user from installing others)15:23
* Patrickdk uses xterm for his wm :)15:25
wligtenberg@TJ- It mentions unable to connect to upstart15:40
wligtenbergand something like Wrong number of args: mapdevfs <path>15:40
wligtenbergseems I have issues similar to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/91243115:45
uvirtbotLaunchpad bug 912431 in debian-installer-utils "Preseeded 12.04 grub-install failed: Wrong number of args: mapdevfs <path>" [High,Fix released]15:45
VectorXhi, i need to create a secure wb server running nginx and the well LNMP stack so to speak, which would include ssh, ftp, stuff like selinux or apparmour, mail etc, where would i find a good guide with detail explanation ?16:10
=== kaitanya is now known as caitanya
=== Lcawte is now known as Lcawte|Away
wligtenbergI ended up filing a new bug report as requested: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/135473018:22
uvirtbotLaunchpad bug 1354730 in grub-installer "14.04 grub-install failed: Wrong number of args: mapdevfs <path>" [Undecided,New]18:22
=== Lcawte|Away is now known as Lcawte
darksiderhi all18:54
darksidercan someone please point me to a program that allows network traffic logging?18:54
wligtenbergwireshark18:54
wligtenberg@darksider: wireshark18:55
darksiderthanks guys, taking a look now18:55
darksiderwligtenberg: is this a GUI app?18:58
wligtenberg@darksider: yes it is18:59
darksiderno good then, its for a server :)19:00
wligtenberg@darksider: http://www.wireshark.org/docs/wsug_html_chunked/ChCustCommandLine.html19:00
wligtenberg:)19:00
wligtenberg@darksider: Seriously, I just googled that...19:00
darksiderwligtenberg: me too and saw that link, but having command line options doesnt take away the GUI part19:02
darksiderwligtenberg: for your future reference http://www.wireshark.org/docs/wsug_html_chunked/AppToolstshark.html19:03
wligtenbergI was just going to mention that :)19:04
wligtenberg(googled some more)19:04
wligtenbergso tshark should be your friend19:04
darksiderlet's see - while my server is idle, i get lag spikes19:06
=== Acilim_A is now known as Acilim
=== Acilim is now known as Acilim_A
=== Lcawte is now known as Lcawte|Away
Forexhi folks23:48
Forexwho here used those folks http://www.server4you.net/vps/23:48
Patrickdk!best23:50
Patrickdkmost likely, no one23:50
Forexlol23:52
Forexprices seems good23:52
darksiderhi guys23:59

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