/srv/irclogs.ubuntu.com/2016/01/01/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== Monthrect is now known as Piper-Off
=== Lcawte|Away is now known as Lcawte
=== [Mew2] is now known as [[Mew2]]
=== Lcawte is now known as Lcawte|Away
jay_hello everybody09:49
jay_i got some general questions about ubuntu-server09:49
jay_apt-get update and apt-get upgrade they upgrade the packges right ?09:50
jay_hi poeple10:01
jay_apt-get update and apt-get upgrade they upgrade the packges right ?10:04
jay_how about if i want to upgrade only one package10:04
jay_can i do it10:04
jay_hi kritz10:11
jay_hi seabstien10:11
jay_hi semajnz10:14
jay_hi bilde291010:28
Ben64jay_: why10:37
Seveasjay_: apt-get install package10:44
Seveasthat'll upgrade it if an upgrade is available.10:45
jay_Ben64 its me jeevan @ jay now10:48
jay_i just want to know how linux and ubuntu systems work ?10:48
Ben64why would you not want all the security updates10:49
jay_thats good question, how about if i want to choose one instead of all others10:50
jay_actually Ben6410:51
jay_the organisation im working10:51
jay_they havent upgraded the ubuntu systems10:51
jay_the system which im working has two vulnerabilities10:52
jay_one is openssl and other proftpd10:52
jay_both are scanned by nessus10:52
jay_commerical license of nessus10:52
Ben64step 1. sudo apt-get update && sudo apt-get dist-upgrade10:52
jay_i just one general10:53
jay_why does ubuntu releases version 14 and 1510:53
jay_when ubuntu is backporting and supporting earlier 12.0410:53
jay_i can keep doing apt-get update and apt-get upgrade every few months10:53
jay_instead of changing distibution10:54
Ben64apt-get dist-upgrade doesn't change distro10:54
Ben64there is a new version of ubuntu released every 6 months, every 4 releases one is a Long Term Support (LTS) release. The LTS releases are supported for 5 years, the other releases are supported for 9 months.10:55
Ben64the version number, such as 14.04 is the year and month of its release, 14.04 = 2014.04 = April 201410:55
jay_ok10:56
Ben6412.04 and 14.04 are the currently supported LTS releases, 12.04 loses server support in April 2017, it has already lost desktop support. 14.04 is supported until April 2019. The next LTS will be 16.04, coming out this coming April, and it will be supported until April 202110:57
Ben64ooh wait, 12.04 is supported on desktop and server for 5 years10:58
jay_yes ok ok10:58
Ben64the point is, do the updates already10:58
jay_yes i did in the test machines after  you and rww  explaination10:59
Ben64yet you keep asking about upgrading just one package11:00
jay_sorry if l presummed as stubborn or dumb i will clarify my doubt11:00
jay_i did some work in test machines after you left11:00
jay_at present in 1 machine11:01
jay_i have openssl 1.0.1 14 march 2012 and built on 201411:02
jay_but after doing apt-get upgrade11:02
jay_the built on changes 2014 to 201511:02
jay_as you both people said in the morning, as ubuntu backports11:03
jay_thats good11:03
jellythat means you successfully applied patches and restarted relevant services that use them11:03
jay_yes yes11:03
Ben64so whats the problem now11:03
jay_if i do apt-get changelog openssl before the upgrade and after the upgrade its same page11:04
jay_its changelog page of openssl tillnow11:04
jay_so that means built on 2014 is same as 201511:04
Ben64...no11:04
jay_i was asking because i need to show some proof to my superior11:05
jellyjay_: zless /usr/share/doc/libssl1.0.0/changelog.Debian.gz11:05
jellythat's the packaging changelog for the version that's actually installed11:05
jellyerm.11:06
jay_ok ok i will se11:06
jay_jelly and Ben64 do you people know Built on time11:06
jay_i mean what is built on means11:06
Ben64can you provide context11:07
jay_Im sorry Ben64 and jelly i may sound like stupid but i feel im not understanding properly11:07
jay_like11:07
jay_if u type openssl version -b before upgrade shows built on 2014       after upgrade     openssl version -b shows built 201511:08
jay_im presenting working in patch management for linux server11:08
Ben64thats when it was compiled11:08
jay_so i'm thinking that compilation date is same as ubuntu backports11:09
jay_am i right ?11:09
Ben64probably11:10
jay_ok11:10
jay_since i work in patch management team i need to be techincally good and explainable11:10
jay_i dont mean im depending on you11:11
jay_but im getting all the facts and understanding i can from people and search engines11:11
ikoniajay_: would it not be better to talk to the more experienced people in your team11:11
ikoniaexplain to them where you feel you're not clear on things and ask them to explain and how it falls in lines with the teams polcies/processes11:12
jay_what you said is right, its not exactly easy but i will try , they will look for weakness in a person  not honesty11:13
jay_i will try11:13
ikoniait seems the more logical approach11:13
jay_suppose if i didnt perform this patch properly i will be considered as non-competent candidate11:13
jay_or not worthy candidate11:14
jay_ofcourse logically its true.11:14
ikoniatalk to the team explain your knowledge gap, ask them to explain and critical how it fits in with the teams process/policies11:15
jay_the point we even dont have KT knowledge transfer at all11:15
jellyjay_: if your audit people can provide exact CVE numbers for the vulnerabilities their script thinks are present, you can look at the changelog for libssl1.0.0 and see if those are fixed or not.  You can also look up specific CVE numbers on http://people.canonical.com/~ubuntu-security/cve/ and see which versions they were fixed in, if they're fixed.11:15
jay_i have all the CVE numbers11:15
jay_i will check once again11:16
jay_im sorry if u feel irritated by my continous questing , im just not smart enough to understand just in one line11:16
jellyeg. http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-3195.html11:16
jay_after Ben 64 and RWW explanations i went and did some virtualbox testing for 3 hours11:16
jay_at present11:17
jay_Ubuntu 12.04 LTS (Precise Pangolin):released (1.0.1-4ubuntu5.32)      im here11:17
jay_my nessus report says11:17
jay_to upgrade to 1.0.2e11:17
jay_or 1.0.1g or 1.0.1h11:18
jay_what do i do11:18
ikoniaread about back porting11:18
ikoniaor talk to your team about their policy on back porting11:18
ikonia(or accepting back porting)11:18
jay_ok11:18
jay_kindly check these11:19
jay_http://www.tenable.com/plugins/index.php?view=single&id=7341211:19
jay_http://www.tenable.com/plugins/index.php?view=single&id=7720011:19
ikoniawhy ?11:19
jay_i was stuck here11:19
ikoniacheck them for what ?11:19
jay_to show my problem is real11:20
jay_tats all11:20
ikoniawhat ?11:20
ikoniayour problem is your don't understain how to maintain a system and you haven't learnt your teams policies/practices11:20
ikoniaunderstand sorry11:20
jay_that i agree11:21
ikoniaok - so go and deal with that11:21
jay_im sorry11:21
ikoniano need to be sorry11:21
Ben64its not a real problem11:21
Ben64CVE-2014-0224 was fixed June 5th 201411:22
Ben64in openssl 1.0.1-4ubuntu5.1411:22
Ben64wait, was fixed june 2nd11:22
jay_i understand ur point, as i said in the morning the superior is stuck on , that nessus i saying to upgrade to 1.0.1h or later why havent upgraded ?11:23
ikoniathen talk to him11:24
jay_i was thinking from his perspective and i got all doubts linked11:24
jellyjay_: default nessus db is full of false positives11:24
ikoniait's not our problem to convince your team / set your team's policy11:24
jay_software management and security maintenance11:24
jay_ohhh11:24
jay_i understand its not at all linked to ubuntu people11:24
jay_i completely understand11:24
jellythey check the version numbers instead of actual vulnerability, and they have no idea what debian or ubuntu have fixed while _keeping_ the upstream version11:25
jay_atleast im getting these all knowledge from you all people11:25
jay_yes yes you are 100% jelly11:25
jellyyou need to explain their tools are crap, in an acceptable way11:25
jay_what im understanding from 5 hours of activity on this single openssl11:26
* jelly is jelly that's true11:26
jay_yes yes you are 100% jelly right11:26
jay_ok11:26
jay_thank you everyone11:27
jay_thank you jelly Ben64 ikonia11:27
jay_generally on ubuntu server we dont compile from source right ? we do all from repositories right11:28
ikoniayes11:31
jay_ok11:32
jay_and i should not PPA to live servers right ?11:35
jay_i mean only if i trust them thats different point11:36
ikoniait's up to you what you use11:36
jay_but generally we dont add PPA unless its needed compulsory11:36
ikoniaand what is in line with your TEAM POLICY11:36
ikoniano11:36
ikoniait's up to you what you do11:36
jay_hmm11:36
jay_ok11:36
jay_ubuntu doesnt has PPA offically  right ?11:38
ikoniathere are PPA's provided by ubuntu projects11:38
jay_i mean its collboration right11:39
jay_but not official11:39
ikoniawhat ?11:39
ikoniathere are official ubuntu projects with PPA's11:39
jay_any example please11:39
ikoniano11:39
ikonialook in launchpad11:40
ikonialook at the teams that own / maintain the PPA's11:40
jay_yes yes i have seen11:40
jay_launchpad.net/ubuntu11:40
jay_is this official11:40
jay_how do i call it official or not i dont know11:41
ikonialook at the team that owns it11:41
jay_the team is ubuntu members11:41
ikoniayou've not even linked to a PPA11:41
jay_maintainer is ubuntu techinical board11:41
ikoniaso that is an official ubuntu project account11:42
jay_ok ok ok11:42
jay_i asked the basic question official or not, because generally in ubuntu site at installation software page it says add PPA  on your own risk.11:44
ikoniaand thats true no matter who owns/maintains it11:44
jay_thats why i felt it may not be official11:44
jay_ok ok ok11:45
jay_i think im getting confused by myself11:45
jay_i guess im speaking with my half knowledge about every topic11:46
jay_i need to get more knowledge11:46
ikoniajust talk to your team11:46
ikoniaand ask about their policies and practices11:46
jay_since you said and recommended i will talk11:47
jay_ok general question11:50
jay_why a person should not compile from source ?11:50
ikoniaagain - talk to your team11:51
jay_is it because its hard to adjust with dependencies11:51
jay_ok ok11:51
ikoniathey can explain why that is bad11:51
jay_nothing nothing ok ok ok11:51
jay_i have new doubt11:59
jay_why Organisation (ubuntu and redhat) does backporting instead of just   adding the new versions in their repositories ?12:00
Ben64that was explained to you hours ago12:00
jay_i understand that ubuntu is supporting 12.0.4 by helping security updates (backporting)12:01
jay_any specific technical and logical reason behind it12:02
Ben64reason behind what12:03
jay_reason behind : instead of doing the backporting why doesnt organisation just add the new verisions of packages ?12:04
Ben64yes, that was explained to you a few times hours ago12:05
jay_ok i will check12:05
jay_ok thank you all ikonia : Ben64 : jelly i saved the chats for my reference12:18
jay_thank you once again and Happy new year to you people. i wil be logging out now12:19
RoyKbug 833562 says a bit about bug fixing for ubuntu server ;)13:42
ubottubug 833562 in grub2 (Ubuntu) "grub-update doesn't check for removal of kernels" [Undecided,Invalid] https://launchpad.net/bugs/83356213:42
RoyKhappy new year :D13:42
=== Piper-Off is now known as Monthrect
devster31is there a command I can use to get the ip address from the hostname? grepping /etc/hosts returns multiple results and it would be better to have a command for this...14:49
devster31and no, "host" is not a valid command on my box for some reason14:52
=== tinoco_ is now known as tinoco
m1dnight_I have set up a bridge for my kvm hosts but i cant seem to access the internet.15:14
m1dnight_I can ping 8.8.8.8 etc though.15:14
m1dnight_but dns doesnt work15:14
volkswagnerHappy New Year!15:51
volkswagnerI'm running Ubuntu 14.04.2 LTS \n \l as KVM guest. The small root partition is getting full. I'm in a catch 22 with removing old kernels via autoremove and getting apt-get install on track.15:52
volkswagnerI'm getting disk full error via apt-get install -f, even after removing log files and such to gain double the space reported needed by apt.15:53
volkswagnerapt-get install -f  "says" > Need to get 0 B/46.4 MB of archives. After this operation, 229 MB of additional disk space will be used. and / has 671M avialable, yet still get disk full error15:54
volkswagnerShould I start the manual removal of old kernels? Does anyone know why it seems I have enough space to complete the apt-get install task, yet still get disk full error?15:55
volkswagnerhere is full output of apt-get install -f http://pastebin.com/CyFMzcfB15:57
volkswagneractually that was not full output, here is the error portion after saying yes install http://pastebin.com/bXyUCpPd15:59
volkswagnerI only have separate partitions for /srv everything else is mounted at / in an 8gig partition16:01
=== Lcawte|Away is now known as Lcawte
jellyvolkswagner: run a "du -x / > du-x-root.$(date -I)"  then look at "sort -n du-x-root.$(date -I) | tail -n 40" for largest contributors.  Consider setting up your systems with LVM, next time.16:08
jellyvolkswagner: different filesystem types have different sizes of reserved space, with low space conditions what "df" reports may not be exact16:09
volkswagnerI have used du to clear up space. shouldn't 671M available be enough space to complete apt-get install asking for 229M of disk space?16:10
jellywhich fs type is it?16:11
jellyis it something weird like btrfs?16:11
volkswagnerEXT416:11
jellywho knows16:11
volkswagnerWhere should I go from here? Should I manually remove old kernels?16:12
jellymanually?16:12
JanCit needs space for the package, and space for the unpacked files16:12
jellydo a dpkg -S /boot/vmlinuz*16:12
jellythen apt-get remove linux-image-old-1 linux-image-old-2 ...16:13
jellykeep one or two known working versions16:13
volkswagnerjelly here is output http://pastebin.com/yC4yFfPs16:13
volkswagnerI will try remove16:14
jellyI'm confident you can figure out the package names from that output even without looking at it!16:14
JanCautoremove should be able to remove kernels16:14
volkswagnerjelly I can't use apt-get at all because of partially installed or non fully installed. I keep getting error run "apt-get install -f" which fails with disk space error, hence my catch 22 complaint ;)16:16
jellyvolkswagner: dpkg --remove ... then16:16
volkswagnerJanc, yest automove should, but it fails with similar error here http://pastebin.com/YAL3PkSM16:17
volkswagnerI'll try dpkg16:17
jelly8GiB ought to be quite enough for a server system tho.  Tho we keep /var separate.16:18
jellystill, lvm <3 ... keep mount points small initially and grow where needed16:20
JanCI assume you cleaned out stuff under /var/cache ?16:22
volkswagnerIs it possible I need to reboot? I see uname -a is 3.13.0-63-generic, yet dpkg -S /boot/vmlinuz* shows *65-generic and *74-generic16:22
volkswagnerHere is error I get when trying to use dpkg to remove http://pastebin.com/m2i6s5yq16:23
volkswagnerJanc16:24
volkswagnerI do have 86M in /var/cache/apt-xapian-index16:24
volkswagnerIt is likely in the past I ran upgrade without rebooting, which may have included kernel upgrade, but never rebooted16:26
volkswagnerI'm not sure why I didn't use LVM. I do have it on the KVM host… not much use for the guest though16:27
volkswagnerI think I was concerned about possible overhead, LVM in guest on top of LVM host. This was thought about without any research or confirmation if there is such an overhead issue ;)16:28
JanCif you remove linux-image-3.13.0-46-generic you also have to remove its dependents like linux-image-extra-3.13.0-46-generic16:29
volkswagnerJanC: Thank you, that seems to work!16:32
volkswagnerI see dpkg also reconfigures Grub… Let me remove more and see how it goes16:32
JanCto remove grub entries for removed kernels16:33
volkswagnerYes, the manual method I was thinking of required manually updated grub. I ran it years ago, but couldn't find it today.16:35
CiPiHappy New World Order ppl16:36
volkswagnerJanC: jelly and others, thank you… Disk space went from 91% full to 51% full. Now apt-get install -f is running! Thank You, Thank You, Thank You!16:43
volkswagnerI'll be keeping a closer eye on old kernels in the future16:43
volkswagnerI guess apt-get install will need an output like "will need xxxMB working disk space to complete your request" for guys like me, hahaha16:45
JanCthat's hard to predict for all sorts of reasons16:49
volkswagnerJanC: I believe that! I guess lessoned learned… "don't think you're smarter than the devs, believe the error despite what you (I) think"16:52
johnsmithI'm trying to set a static IP on a secondary NIC on an Ubuntu server (14.04) VM. I've added an entry for eth1 (the second NIC) in /etc/network/interfaces and restarted the networking service. I then ran ifconfig eth1 up. I can see the second interface with I run ifconfig, but it doesn't have an inet addr, bcast or mask even though I set a static IP in /etc/network/interfaces. I'm not sure what I am doing wrong18:31
ikoniaare you using network manager ?18:32
johnsmithcommand line18:32
ikoniathats not what I asked18:33
johnsmithI don't understand what you mean by network manager18:33
ikoniait's an application used to control the network cards18:33
johnsmiththen no18:33
ikoniathen your interfaces file is wrong18:34
johnsmithI have: auto eth1 \ iface eth1 inet static \ address 10.1.1.132 \ netmask 255.255.255.0 \ network 10.1.1.0 \ broadcast 10.1.1.255 (\ denoting new line)18:35
ikoniasomething is wrong in it, or it would be working18:36
ikoniago through it again,18:36
johnsmithI'm using the second interface (eth1) to c reate an internal network on an ESXi host. I've created the vSwitch for the internal network, and assigned the eth1 interface to the internal network vSwitch. As I understand it, I just need to put each gues VM on the same subnet so that they can communicate with eachother via the internal network. Am I missing part of the concept or is this just a configuration error?18:38
ikoniathat should have nothing to do with the card getting an IP or not18:40
johnsmithalright18:41
johnsmiththanks18:41
=== Lcawte is now known as Lcawte|Away
=== sebastien is now known as Sebastien
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away

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