=== negronjl_ is now known as negronjl_away === negronjl_away is now known as negronjl_ === Lcawte is now known as Lcawte|Away === zz_DenBeiren is now known as DenBeiren === markthomas is now known as markthomas|away === markthomas|away is now known as markthomas [06:37] Good morning. === Lcawte|Away is now known as Lcawte === gema_ is now known as gema === Lcawte is now known as Lcawte|Away [09:01] hi, can someone maybe explain this ? added a new user, adds fine to one group, doesnt add to another group saying "user does not exist" [09:01] http://paste.ubuntu.com/11366958/ [09:06] sorry! my bad, just a typo.. getting some coffee [09:14] hi, i'm on ubuntu-server 12.04 lts and trying to configure quota (for disks), but neither libquota-perl or quotatool works. edquota work though, but i'd like to script this setting [09:15] all i got with quotatool is «quotatool: Error while detecting kernel quota version: No such file or directory», whereas modules are loaded, filesystem is mounted with usrquota, and quota is on [09:15] and my kernel is an ubuntu one, which has been configured before compilation to handle quota [11:48] hi all, im trying to create a self signed certificate with the CA flag set to true - any help out there? i'd like to create my own ssl cert for for a webservice in ubuntu (which I already know how,but not the CA flag part). im not bothered about the browser, as i know i have to trust the site on the client end. Im just focusing on the server cert/ === Lcawte|Away is now known as Lcawte [11:55] wizzkidd: what's the problem? [11:56] pmatulis: i would like to create a cert that has CA=TRUE [11:57] wizzkidd: try https://help.ubuntu.com/lts/serverguide/certificates-and-security.html and report any problems you may encounter [12:00] pmatulis: thanks, i'll give that a go [12:00] pmatulis: how about my problem with quota ? [12:25] QGuLL_: i don't think you need to compile your kernel [12:26] i don't have to, indeed, mine (the ubuntu one) has quota options [12:27] in fact, quota works, but i can only modify with edquota (manualy with an editor), not quotatools or libquota-perl [12:29] QGuLL_: dunno then sorry === Lcawte is now known as Lcawte|Away [12:40] pmatulis: thanks, that helped a lot, I have now created a signed certificate "myserver.crt" and I have the corrosponding "myserver.pem" file too. But where is the "server.key" file? [12:42] wizzkidd: in your working directory [12:42] openssl genrsa -des3 -out server.key 2048 [12:44] pmatulis: ah yes, i used it earlier === Odd_Blok1 is now known as Odd_Bloke [12:52] is it possible to install/use use a different gcc version on ubuntu 14 lts? [15:42] hola - does ubuntu run bash in ram? [15:42] I want to run a script that will delete itself and then shutdown the server [15:43] If it runs it in ram [15:43] I should be able to rm the file then order the shutdown [15:43] yes? [15:44] The Linux kernel is quite nice with deleting files that are in use. Since it creates a link to the inode somewhere in /proc [15:44] Thus you can have executables, run it, and then delete the executable. The executable looks gone, but it is still on the disk. [15:47] cool. That's perfect [15:47] thanls [15:48] thanks* [15:51] lordievader: that's not quite how it happens. It is impossible to delete files in UNIX/Linux. [15:51] That was my understanding anyhow. === skarface is now known as antix [18:34] is it possible to create more than 1 symbolic link to a single file? [18:38] wizzkidd: Symlinks? Sure. [18:38] lordievader: thx [18:57] hey all, after making changes to /etc/environment, is there a way to apply this to all sessions and users without a restart? [19:04] Smaug: each user should source the file [19:06] pmatulis: i want to make the new environment variables available to a service. would i just source it as root user? doesn't sourcing it only make it available for that session? [19:07] s/session/process/ [19:07] the feature you want does not exist in unix [19:07] thanks sarnold, re terminology [19:08] every process that you want to have the new values needs to do something to get those new values; that's sourcing them in shells, that's explicit calls to setenv(3) in nearly everything else. [19:10] sarnold: should i add to my service that it sources /etc/environment before running other commands? is that a reasonable approach? [19:10] it's a service i wrote [19:11] Smaug: I don't like that approach much; I think of /etc/environment as something for people, a nice service froma friendly administrator; services should take care of their own environment in their own way, either via an /etc/default/ file or their inistscripts or something else similar. [19:12] ok, and if it were to be done from an initscript that would using setenv? [19:17] Smaug: best is to use 'env' and 'export' commands from upstart: http://upstart.ubuntu.com/cookbook/#export [19:17] thank you [19:18] i'll look into [19:18] also, using /etc/default -- i am not familiar with that approach, do you have a resource for that as relates to init scripts? [19:19] do i just put a settings file in /etc/default with the same name as my service? [19:23] Smaug: then you also make sure your service startup sources the file in there.. [19:23] Smaug: see e.g. /etc/init/cups.conf [19:28] sarnold: my ubuntu doesn't have /etc/init/cups.conf [19:29] Smaug: dang, I though that one was a sure hit :) also check for /etc/init/libvirt-bin.conf /etc/init/rpcbind.conf /etc/init/mountall.conf [19:35] yeah i have rpcbind.conf and mountall.conf [19:35] thank you sarnold i'll check it out :) [20:34] Smaug: the "same name as my service" in '/etc/default' is just a convention. [20:35] Smaug: Debian an Ubuntu packagers seem to dislike consistencym, so often the name of the package, of the daemon, of the various configuration directories, of the service are all slightly different. === SL89 is now known as Vodka_Gobalsky [23:02] I am currently reading the file hierarchy standard. I do not understand the term "local". What are local files which are stored in /usr/local? [23:03] DonRichie: For instance, binaries you compiled yourself would go in /usr/local/bin [23:09] Okay, Thank you for your answer. Your answer and some google results lead me to the following opinion: [23:13] - /usr is for files installed by the package manager, [23:13] - /usr/local is for files compiled by myself which rely on other /usr content (or sometimes do not) and need to be out of scope of the package manager [23:13] - /opt is for programs which are usually completely separated of the hierarchy and provide their own. They also are more likely to bring their own libraries [23:48] DonRichie: local to that system