[03:19] <pr3d4t0r> Greetings.
[03:20] <pr3d4t0r> Working on a turnkey server application based on Ubuntu Server.  I would like to disable apt, aptitude, dpkg, etc. altogether once the turnkey system is ready to ship.  Googling hasn't been fruitful - how to go about doing this?  Thanks in advance :)
[03:39] <James_Epp> hitsujiTMO: I'll give it a shot, thanks!
[03:40] <James_Epp> hitsujiTMO: it appears it is already the newest version
[04:14] <andol> pr3d4t0r: 1) Are you really sure it is desirable to fully disable the apt/dpkg tools? I mean, even if the user won't need to install any additional programs there is still the matter of (automatic) security upgrades, etc 2) Doubt you fully can disable these tools from a user with root access, and given how integrated they are into the systems there really isn't any clean way to uninstall them, even if I'm sure you can get some kind of ...
[04:14] <andol> ... reinstall by manually deleting files or so.
[04:15] <pr3d4t0r> andol: Yes.
[04:15] <pr3d4t0r> andol: We're building the images in virtual machines.  If we need to update/upgrade something later, we'll do it on the master and then remove apt/dpkg/etc. as part of our ready-to-go process.
[04:16] <pr3d4t0r> andol: Yeah, a root-level guy might be able to get things going again.
[04:16] <pr3d4t0r> andol: We've ensured that no dev tools are installed, and the VMs are more or less jailed.
[04:19] <pr3d4t0r> andol: The host server only has the hypervisor and minimal software to just get things going (we're leaving apt/dpkg in on that one).  The app servers, though, are jailed in their VM and we just want to slow things down if they are breached.
[04:19] <pr3d4t0r> andol: Did that address your concerns about what we're doing?
[04:20]  * pr3d4t0r considers just deleting them if that's the only way for now.
[04:30] <andol> pr3d4t0r: Well, my gut suggests that there is more cost than benefit to what you are doing.
[04:30] <andol> Not that you neccesarily should base any decision on the gut feeling of a random stranger on the Internet :-)
[04:31] <pr3d4t0r> andol: :)
[04:32] <pr3d4t0r> andol: If you can think of a clean way of removing said components it'll be fantastic.  Otherwise just /usr/bin/rm for apt, dpkg, aptitude, and /etc/apt/* ought to be it :(
[10:05] <DenBeiren> Hi all,.. I'm looking for someone with a successful nic bonding config on 12.4.3
[10:05] <sgran> hmm.  With today's pull of the cloud-repo, havana's horizon is failing in neutron client
[10:06] <sgran> File "/usr/lib/python2.7/dist-packages/neutronclient/client.py" in authenticate
[10:06] <sgran>   224.         token_url = self.auth_url + "/tokens"
[10:06] <sgran> Exception Value: unsupported operand type(s) for +: 'NoneType' and 'str'
[11:03] <lotia> hi all. any pointers on setting limits on open files for non-root jobs on 10.04 LTS?
[11:03] <lotia> sorry, I mean upstart jobs
[11:12] <babinlonston> while ssh login i get this message Ubuntu 10.04.4 LTS
[11:12] <babinlonston> How can i remove it
[11:24] <rbasak> lotia: you do it directly in the upstart job
[11:24] <rbasak> lotia: http://bryanmarty.com/blog/2012/02/10/setting-nofile-limit-upstart/ and see init(5)
[11:24] <rbasak> lotia: http://upstart.ubuntu.com/wiki/Stanzas#limit
[11:30] <jamespage> sgran, can you check that you have auth_url set in local_settings.py
[11:30] <jamespage> sgran, lemme check in my install as well
[11:31] <sgran> I most certainly do not
[11:32] <sgran> but I never have, as far as I can tell
[11:33] <jamespage> sgran, no - sorry - that was a red herring
[11:33] <jamespage> OPENSTACK_KEYSTONE_URL maybe
[11:34] <sgran> yeah, that's set
[11:34] <sgran> sec
[11:35] <sgran> jamespage: http://paste.debian.net/59175/
[11:35] <sgran> horizon doesn't send through anything about auth_url
[11:36] <sgran> it creates the neutron client with a token
[11:36] <jamespage> sgran, I'm definately not seeing the same issue; was this functional pre-update and what update actually happened
[11:36] <jamespage> ?
[11:37] <jamespage> /var/log/apt should tell you I think
[11:37] <sgran> this was functional pre-update (running grizzly from the same repo)
[11:37] <sgran> since the update to havana, it has not worked
[11:38] <sgran> this morning I removed all config for horizon and reinstalled the package, but no better
[11:38] <jamespage> sgran, hmm
[11:38] <sgran> ah, I think I may have a piece of string to follow
[11:38] <jamespage> that was my next suggestion
[11:38] <jamespage> there where alot of changes; I noted that when I was updating the charm to work again for havana
[11:38] <sgran> I see that neutron client will try to use the token if it's supplied with one, and only fall back to normal auth methods if that fails
[11:38] <sgran> that suggests my token isn't validating
[11:38] <sgran> I think I've seen this before
[11:39] <sgran> let me chase that up
[11:39] <sgran> thanks!
[11:39] <jamespage> sgran, np
[12:13] <sgran> jamespage: got it
[12:14] <sgran> incomplete transition in my environment from quantum to neutron - I had wrong keystone credentials
[12:14] <sgran> for the service, that is, not for my user
[12:27] <lotia> rbasak: thanks
[12:31] <lotia> how do I set it for non-root users and have it obeyed.
[12:35] <rbasak> lotia: non-root users cannot increase the limit
[12:35] <rbasak> lotia: I'm guessing that you need to increase the limit for the user's login session first; otherwise the user cannot run an upstart that can increase the limit. /etc/security/limits.conf for that. THat's just a guess, though.
[12:52] <jamespage> sgran, right
[12:52] <jamespage> sgran, I think that transitions going to catch alot of upgraders
[12:56] <fgfg> HI EVERYONE
[13:05] <fgfg> this is the first time I use xchat
[13:26] <irv> getting an error when trying to run autoremove, umnet dependencies: linux-server Depends linux-image-server (=3.2.0.43.51) but 3.2.0.54.64 is installed, Depends linux-headers-server (=3.2.0.43.51) but 3.2.0.54.64 is installed
[13:26] <irv> then when i try to run sudo apt-get -f install  it says that linux-server will be installed and also upgraded
[13:27] <irv> but then, says dependency problems prevent configuration of linux-server: linux-server depends on linux-image-server (=3.2.0.43.51) however version of linux-image-server on system is 3.2.0.54.64
[13:27] <irv> etc
[13:27] <irv> error processing linux-server
[13:27] <irv> so it seems like i'm stuck in a loop
[13:30] <irv> there we go, removed linux-server
[13:30] <irv> good to go :)
[13:31] <hitsujiTMO> irv that is your kernel
[13:32] <hitsujiTMO> irv what is the outpur of: uname -r     and what is the output of: dpkg --get-selections | grep "linux-image"
[14:17] <irv> 3.2.0-54-generic
[14:17] <irv> and i have a bunch of linux-image-3.2.0-41 through -54 and linux-image-server
[14:18] <nomius> Hello
[14:20] <nomius> If I install unattended-upgrades and I don't modify 10periodic, it wouldn't do it automatically but only when I run sudo unattended-upgrade?
[14:46] <rbasak> nomius: dpkg-reconfigure unattended-upgrades to ask it to do it automatically.
[14:46] <rbasak> nomius: it drops something into /etc/apt.conf.d/ when you ask it to do it that way, which enables the cron job to actually do the work.
[14:48] <nomius> Great, thanks rbasak
[15:04] <SpamapS> rbasak: http://activity.openstack.org/dash/releases/company.html?company=HP <-- you may want to check on why you are on this list.. or.. did you make a move I didn't hear about? ;)
[15:10] <rbasak> SpamapS: NFI. Amusing though. Any idea where that comes from?
[15:11] <SpamapS> rbasak: well, I thought it came from here: https://git.openstack.org/cgit/openstack-infra/activity-board/tree/browser/data/affs/openstack-community-affs.csv  .. but that is "correct"
[15:11] <SpamapS> rbasak: you may want to login to www.openstack.org and make sure your profile has Canonical in it.
[15:13] <rbasak> SpamapS: I'm not aware of even having a login. Unless you need one to submit stuff to gerrit. My password manager says no to that as well though :-/
[15:20] <SpamapS> rbasak: you do need a login, because you have to have one to sign the CLA.
[15:20] <SpamapS> rbasak: I also didn't have an entry in my password manager. :-P
[15:41] <jrwren> rbasak: yesterday you mentioned you prefer your own tools to boto, or were you talking about aws-cli?
[15:59] <fedeisas> hi guys! How can I make /var/www writable and readable for two users (www-data and my deploy user).
[16:04] <andol> fedeisas: Assuming you really want /var/www to writeable by www-data the easiest way to accomplish that is make that folder writeable by a group, containing both both users.
[16:05] <jetole> join #mint
[16:05] <andol> fedeisas: That said, sure the full /var/www needs to be writeable by the web server users, instead of perhaps just a specific sub directory?
[16:05] <fedeisas> yeah, probably just some storage folder
[16:06] <fedeisas> I'm trying to user setfacl but it's only confussing me worse
[16:32] <jrwren> fedeisas: setfacl is going to require you mount the filesystem with acl support. if /var/www is mounted on / you can do that by editing /etc/fstab and adding acl to the options field, and then remounting /
[16:34] <jrwren> fedeisas: then you can setfacl -m u:www-data:rwx,u:deployuser:rwx /var/www
[16:53] <fedeisas> jwren how can I remount fs? I never did that before :-( Thanaks
[16:59] <jrwren> mount -o remount /
[17:03] <fedeisas> jwren LABEL=cloudimg-rootfs	/	 ext4	defaults	0 0
[17:03] <fedeisas> no acl :-(
[17:03] <jrwren> mount -o remount,acl /
[17:23] <rbasak> jrwren: I meant that the boto tools are a little bitrotted and there's usually a better tool outside boto that does the job better.
[17:23] <rbasak> jrwren: I presume aws-cli for all the stuff that it supports.
[17:28] <fedeisas> jrwren I still can't make it work with or without acl :-(
[17:35] <jrwren> fedeisas: i don't know what to say other than works for me.
[17:35] <jrwren> fedeisas: does getfacl show the acl ?
[17:37] <fedeisas> jrwren yes, but new files are written as deploy user (not www) so later nginx can't access them
[17:38] <jrwren> that is how acls work.
[17:38] <fedeisas> that's the issue, I get mixed owner on folders and files, so later I can't operate on the files in one way or the other
[17:38] <jrwren> you need to set a default mask if you want new files to be writable
[17:38] <fedeisas> I want my deploy user (via ssh deploy script) and www-data to be able to operate on those files
[17:39] <fedeisas> is there any way to give those two users full rights on /var/www (like a co ownership)?
[17:39] <jrwren> fedeisas: then you can setfacl -m u:www-data:rwx,u:deployuser:rwx:d:u:www-data:rwx,d:u:deployuser:rws /var/www
[17:39] <sarnold> why do you want your webserver to modify files?
[17:39] <jrwren> you want that then.  default rules.
[17:40] <fedeisas> sarnold logs and framework caches, etc
[17:41] <sarnold> fedeisas: logs, sure, caches, I can understand, but won't both those live in different locations than "deployed" content?
[17:42] <fedeisas> well, I'm using a php script that's similar to capistrano
[17:42] <fedeisas> where I have shared folders for logs and cache
[17:43] <jrwren> i just tested the default acls I showed you, and they work.
[17:44] <fedeisas> this won't work on my machine: setfacl -m u:www-data:rwx,u:deployuser:rwx:d:u:www-data:rwx,d:u:deployuser:rws /var/www
[17:44] <jrwren> you'll want each dir that you want new files to behave as you said to have those default
[17:44] <jrwren> because you wrote rws instead of rwx?
[17:44] <jrwren> oh, I wrote rws too, sorry, typo.
[17:44] <fedeisas> oh, I thought the `s` was for new files like chmod g+s
[17:45] <jrwren> nope, typo.
[17:45] <fedeisas> the x needs to be X?
[17:50] <raub> in previous versions of snmod, you could setup in snmpd.local rocommunity community ip.address to restrict to a given ip. How do you do it in 12.04?
[17:52] <fedeisas> jrwren my deploy script creates folder under the deploy:deploy ownership that are not readable by www-data, even when getfacl has user:www-data:rwx
[18:00] <fedeisas> jrwren my trouble folder has an #effective on getacl
[18:00] <fedeisas> what does that means?
[18:10] <jrwren> its all in the getfacl/setfacl man pages.
[18:10] <jrwren> if your deploy script creates new folders, you might have to run setfacl after each deploy. I can't recall if there is a way to default the defaults *sigh*
[18:14] <fedeisas> jrwren I'll search. This is far too hard for just a deployment script :-(
[18:18] <jrwren> if it is part of your script, you could do your copy, then find /var/www -type d -exec setfacl -m u:www-data:rwx,u:deployuser:rwx,d:u:www-data:rwx,d:u:deployuser:rwx \{\}+ ; find /var/www/ -type f -exec setfacl -m u:www-data:rwx,u:deployuser:rwx \{\}+
[18:31] <fedeisas> thanks jrwren
[18:31] <fedeisas> one more thing
[18:32] <fedeisas> how can I debug why nginx it's not starting on ubuntu startup?
[18:32] <adam_g> zul, if you're still around can you give a quick look to the 2013.1.4 reviews in https://code.launchpad.net/~ubuntu-server-dev/+activereviews
[18:33] <sarnold> fedeisas: any entries in its logs?
[18:38] <jrwren> fedeisas: is it set to start? i saw your rootfs is cloudimg.  if you apt-get install nginx, it doesn't automatically set itself ot start, you must "invoke-rc.d nginx enable"
[18:38] <zul> adam_g: +1
[18:40] <novato> hi
[18:40] <novato> help me with ubuntu server
[18:40] <novato> speak spanish=??
[18:40] <novato> hi!
[18:40] <fedeisas> sarnold jrwren no error logs, I have the nginx start script on my /etc/init.d folder
[18:41] <fedeisas> jrwren "invoke-rc.d: initscript nginx, action "enable" failed."
[18:41] <fedeisas> novato I speak spanish as well, hola amigo
[18:41] <novato> fedeisas:  speak spanish o english=??
[18:41] <novato> fedeisas: hola
[18:41] <jrwren> sorry, update-rc.d instead of invoke-rc.d.
[18:41] <novato> sabes de server ubuntu
[18:41] <fedeisas> jrwren System start/stop links for /etc/init.d/nginx already exist.
[18:42] <fedeisas> novato qué necesitás? contame.
[18:42] <novato> fedeisas:  tengo 3 servidores  dell y necesito probarlos
[18:42] <novato> dejar algo q dure dias y ver si se cae la aplicacion o no!
[18:42] <jrwren> fedeisas: then it should start. if /var/log/nginx/error.log says nothing, you'll have to debug manually
[18:42] <novato> fedeisas:  los servidores son nuevos y llegaron hoy y necesito probarlos con cualquier aplicacion
[18:43] <novato> fedeisas: saber q si lo uso el lunes la aplicacion este muy bien y corriendo de maravilla
[18:44] <novato> fedeisas: necesito instalar ubuntu server probarlo con una aplicacion y la misma ejecute  bien sin problemas
[18:45] <fedeisas> jrwren it seems I can only start the service as sudo, right?
[18:45] <fedeisas> novato y cuál es el problema?
[18:45] <novato> fedeisas:  no sé como probar una server con una aplicación
[18:45] <fedeisas> qué aplicación?
[18:46] <novato> fedeisas: necesito estar seguro q los server funcionen bien xq son para una sucursal en donde trabajo y deben estar bien
[18:46] <novato> fedeisas: cualquier aplicacion q pruebe en ubuntu server
[18:46] <fedeisas> novato y bueno, instala ubuntu server y tu aplicaicón
[18:46] <novato> fedeisas: pero no tengo aplicaci´n
[18:46] <novato> fedeisas:  no sé cual usar!
[18:46] <jrwren> fedeisas: yes, only root user can start processes which listen on ports <1024
[18:47] <adam_g> zul, thanks
[18:51] <novato> hola
[18:51] <novato> fedeisas:  como podrías ayudarme x lo enos montar un server de correo haber
[18:51] <novato> fedeisas: probar disk 10 días un correo haber si se cae o no!
[18:51] <novato> como monto un server ubuntu para correo
[18:52] <fedeisas> novato no es tan fácil. Es tu primera vez con Ubuntu o Linux?
[18:52] <novato> server lo he visto x encima
[18:52] <fedeisas> novato primero prueba instalando una distribución y configurando la red, dns, etc.
[18:52] <fedeisas> novato qué software usan para correo?
[18:52] <novato> tengo una en mi maquina virtual
[18:53] <novato> pero no hace puente
[18:53] <novato> no encuentra un adapptador de red
[18:53] <novato> fedeisas:  aqui usan puro @gmail.com
[18:53] <fedeisas> novato yo te recomeindo probar con VirtualBox y, si tienes que mantener 3 servers iguales, quizás aprendería chef o ansible
[18:53] <fedeisas> para configurarlos
[18:54] <fedeisas> y provisionarlos
[18:54] <novato> fedeisas: ok
[18:55] <novato> tengo una virtual con virtual box pero al hacer un puente no puedo sabe este error:  red de aaptador 1; no hay adaptador para puente
[18:55] <novato> cuando cambio de nat a  adaptador puente
[18:55] <fedeisas> dejalo en NAT
[18:56] <fedeisas> does /etc/init.d/ files are run as sudo?>
[18:58] <novato> fedeisas:  y para hacer puente como hago!
[18:58] <novato> fedeisas: hago esto: ping www.yahoo.com y nada no sale nada
[18:58] <novato> fedeisas:  no encuenra el host!
[18:59] <fedeisas> mmm
[18:59] <fedeisas> hay un millón de variantes
[18:59] <fedeisas> quizás tu host (la pc donde corres vbox) no le permite tener acceso a internet a tu vbox
[18:59] <fedeisas> la red donde corres esto es muy cerrada?
[18:59] <fedeisas> tiene habilitado NAT?
[18:59] <novato> fedeisas:  no puede ser! como puedo corregir eso, es fatal
[19:00] <novato> alli en red esta NA
[19:00] <novato> NAT
[19:00] <novato> como t envó una imagen para q veas lo q tengo=?
[19:02] <novato> fedeisas: como reparo este problema=??
[19:02] <fedeisas> instala las guest additions de vbox
[19:03] <novato> ok!
[19:04] <novato> fedeisas:  aqui uso esta xqria de guindouxxx
[19:04] <novato> 7
[19:04] <novato> pero en ubuntu se ahcerlo qui no
[19:15] <defaultro> hi folks, I have an off topic question, it's about MX records. I have 2 domains. domainA.com has an mx record while domainB.com doesn't have an MX record. Am I correct that I can add an MX record for domainB.com on the same server that handles my domainA.com? This way, the mail delivery is on the same server.
[19:27] <novato> fedeisas: estas=??
[19:28] <fedeisas> novato si, pero no sé lo que me preguntás, perdón.
[19:29] <fedeisas> novato deberías primero buscar cómo hacer andar vbox bien
[19:29] <fedeisas> jugar con ubuntu-server
[19:29] <novato> fedeisas: ya comenzé a instaar ubuntu server en 1 servidor
[19:29] <fedeisas> ah, ok
[19:29] <novato> fedeisas: pero ahora tendré q pensar q debo instlar para poder probar el ubuntu server
[19:29] <fedeisas> un servidor web?
[19:30] <novato> fedeisas:  será o no sé q otra cosa puede ser!
[19:32] <fedeisas> novato trata de instalar LAMP para empezar a conocer el SO
[19:32] <novato> ok eso me ayudara a probar el server
[19:32] <novato> y eso de ansible
[19:32] <novato>  es ?
[19:34] <kolarsk__> hi
[20:58] <Beatstreet> can I upgrade OpenSSL to on natty?
[20:58] <Beatstreet> can I upgrade OpenSSL to 1.0.1 on natty?
[21:02] <sarnold> yikes, best would be to replace natty entirely, it hasn't been supported for nearly a year
[21:03] <sarnold> see e.g. https://wiki.ubuntu.com/Releases
[21:03] <Beatstreet> yea, figured - thanks sarnold
[21:07] <sarnold> Beatstreet: good luck. :)
[21:07] <Beatstreet> ty
[22:46] <MraMaria> hi. is it possible to do a clean installation of 13.10 with a 13.04 cd?
[22:48] <MraMaria> or... if it's easy, in your opinion, i have the bios on that machine set with a static local ip
[22:50] <sarnold> MraMaria: it is expected that installing 13.04 and upgrading to 13.10 should work fine, though it feels like I've seen more-than-usual number of bugreports about the updater failing.
[22:51] <MraMaria> sarnold: i did it... for some reason i got my display bad. goes of and on, at times
[22:51] <MraMaria> that's why i decided to do a clean install. i know i might fix it over ssh but i think it might be better to install
[22:52] <sarnold> MraMaria: hrm. that's not good. please consider filing a bug before you overwrite it :)
[22:53] <Michael> I am trying to set up webmin on a Ubuntu 12.04 Amazon EC2 instance. I've installed it, but I cannot login. The help guide offers a method to change the password, but I can't find the file http://www.webmin.com/faq.html
[22:53] <MraMaria> sarnold: i'm not sure it it was my fault; i tried to install fluxbox before that start happening
[22:54] <MraMaria> sarnold: i did that to do some "house keeping" graphically
[22:54] <sarnold> terrifying: "The Webmin Users and Groups module supports the encryption of passwords with the MD5 algorithm"
[22:54] <MraMaria> house cleaning..
[22:55] <MraMaria> btw, sarnold, i have been running 13.10 for a couple weeks already, on other desktop machines, and no problems.
[22:58] <MraMaria> is ppl using webmin a lot, lately? i left it a couple yrs when there were some problems with ubuntu
[23:03] <sarnold> hopefully very few people use webmin, they've had a horrible security history, I'm not sure they exercise proper programming discpline.
[23:07] <jrwren> rbasak: after thought, I'm leaning toward pip install awscli in my cloud-config. Thanks for giving me the idea