=== 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 | ||
lordievader | Good morning. | 06:37 |
---|---|---|
=== Lcawte|Away is now known as Lcawte | ||
=== gema_ is now known as gema | ||
=== Lcawte is now known as Lcawte|Away | ||
tekzilla | 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 |
tekzilla | http://paste.ubuntu.com/11366958/ | 09:01 |
tekzilla | sorry! my bad, just a typo.. getting some coffee | 09:06 |
QGuLL_ | 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:14 |
QGuLL_ | 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 |
QGuLL_ | and my kernel is an ubuntu one, which has been configured before compilation to handle quota | 09:15 |
wizzkidd | 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/ | 11:48 |
=== Lcawte|Away is now known as Lcawte | ||
pmatulis | wizzkidd: what's the problem? | 11:55 |
wizzkidd | pmatulis: i would like to create a cert that has CA=TRUE | 11:56 |
pmatulis | wizzkidd: try https://help.ubuntu.com/lts/serverguide/certificates-and-security.html and report any problems you may encounter | 11:57 |
wizzkidd | pmatulis: thanks, i'll give that a go | 12:00 |
QGuLL_ | pmatulis: how about my problem with quota ? | 12:00 |
pmatulis | QGuLL_: i don't think you need to compile your kernel | 12:25 |
QGuLL_ | i don't have to, indeed, mine (the ubuntu one) has quota options | 12:26 |
QGuLL_ | in fact, quota works, but i can only modify with edquota (manualy with an editor), not quotatools or libquota-perl | 12:27 |
pmatulis | QGuLL_: dunno then sorry | 12:29 |
=== Lcawte is now known as Lcawte|Away | ||
wizzkidd | 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:40 |
pmatulis | wizzkidd: in your working directory | 12:42 |
pmatulis | openssl genrsa -des3 -out server.key 2048 | 12:42 |
wizzkidd | pmatulis: ah yes, i used it earlier | 12:44 |
=== Odd_Blok1 is now known as Odd_Bloke | ||
zotta | is it possible to install/use use a different gcc version on ubuntu 14 lts? | 12:52 |
Kully3xf | hola - does ubuntu run bash in ram? | 15:42 |
Kully3xf | I want to run a script that will delete itself and then shutdown the server | 15:42 |
Kully3xf | If it runs it in ram | 15:43 |
Kully3xf | I should be able to rm the file then order the shutdown | 15:43 |
Kully3xf | yes? | 15:43 |
lordievader | 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 |
lordievader | Thus you can have executables, run it, and then delete the executable. The executable looks gone, but it is still on the disk. | 15:44 |
Kully3xf | cool. That's perfect | 15:47 |
Kully3xf | thanls | 15:47 |
Kully3xf | thanks* | 15:48 |
Walex | lordievader: that's not quite how it happens. It is impossible to delete files in UNIX/Linux. | 15:51 |
lordievader | That was my understanding anyhow. | 15:51 |
=== skarface is now known as antix | ||
wizzkidd | is it possible to create more than 1 symbolic link to a single file? | 18:34 |
lordievader | wizzkidd: Symlinks? Sure. | 18:38 |
wizzkidd | lordievader: thx | 18:38 |
Smaug | hey all, after making changes to /etc/environment, is there a way to apply this to all sessions and users without a restart? | 18:57 |
pmatulis | Smaug: each user should source the file | 19:04 |
Smaug | 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:06 |
sarnold | s/session/process/ | 19:07 |
sarnold | the feature you want does not exist in unix | 19:07 |
Smaug | thanks sarnold, re terminology | 19:07 |
sarnold | 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:08 |
Smaug | sarnold: should i add to my service that it sources /etc/environment before running other commands? is that a reasonable approach? | 19:10 |
Smaug | it's a service i wrote | 19:10 |
sarnold | 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:11 |
Smaug | ok, and if it were to be done from an initscript that would using setenv? | 19:12 |
sarnold | Smaug: best is to use 'env' and 'export' commands from upstart: http://upstart.ubuntu.com/cookbook/#export | 19:17 |
Smaug | thank you | 19:17 |
Smaug | i'll look into | 19:18 |
Smaug | also, using /etc/default -- i am not familiar with that approach, do you have a resource for that as relates to init scripts? | 19:18 |
Smaug | do i just put a settings file in /etc/default with the same name as my service? | 19:19 |
sarnold | Smaug: then you also make sure your service startup sources the file in there.. | 19:23 |
sarnold | Smaug: see e.g. /etc/init/cups.conf | 19:23 |
Smaug | sarnold: my ubuntu doesn't have /etc/init/cups.conf | 19:28 |
sarnold | 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:29 |
Smaug | yeah i have rpcbind.conf and mountall.conf | 19:35 |
Smaug | thank you sarnold i'll check it out :) | 19:35 |
Walex | Smaug: the "same name as my service" in '/etc/default' is just a convention. | 20:34 |
Walex | 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. | 20:35 |
=== SL89 is now known as Vodka_Gobalsky | ||
DonRichie | 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:02 |
genii | DonRichie: For instance, binaries you compiled yourself would go in /usr/local/bin | 23:03 |
DonRichie | Okay, Thank you for your answer. Your answer and some google results lead me to the following opinion: | 23:09 |
DonRichie | - /usr is for files installed by the package manager, | 23:13 |
DonRichie | - /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 |
DonRichie | - /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:13 |
histo | DonRichie: local to that system | 23:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!