/srv/irclogs.ubuntu.com/2010/10/24/#ubuntu-server.txt

LyonJTHeyyy00:05
LyonJTDoes anyone know how to lock a user to there home directory so they can't get access to anywhere else in the filesystem?00:05
aegisLyonJT: This might help: http://ubuntuforums.org/showthread.php?t=157638500:09
LyonJTaegis: thanks buddy00:10
aegisLyonJT: No problem... you might want to check out "chrootpath" under this as well: http://manpages.ubuntu.com/manpages/lucid/man5/rssh.conf.5.html00:14
tarnfeldHey00:24
tarnfeldI'm running Ubuntu 10.04 Server and I wanted to lock a user to stop them reading/writing to anything outside of their user directory via SSH or FTP - Whats the best way to do this?00:25
k5673tarnfield:Do you tried using chroot jais?00:48
k5673http://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html00:48
=== _TechAway_ is now known as _Techie_
qman__suggest against following a redhat guide on ubuntu01:19
qman__especially if you're not familiar with the differences between them01:19
garymcHi anyone know how to add php_pdf extension in ubuntu server?01:24
garymcmy php programmer asked me to add this extension to my server01:24
qman__garymc, might you be looking for the package 'php-fpdf'?01:33
garymcI dont know?01:33
garymche asked me to enable or install php_pdf extension01:34
qman__might be a php-pear extension, too01:34
dkuHow could I restrict access to a certain IP/port combination to only a certain user?02:10
thedobleHi folks - im new to linux servers and am following the ubuntu server guide - my question is, if i set up a basic server with samba file sharing and postfix/dovecot email, is there any work needed when it comes to user management02:25
thedobleid I set up a user account on the server does that then automatically create an email account and a samba account?02:26
thedobleif *02:26
qman__thedoble, the default postfix+dovecot creates a mailbox for each system user02:27
qman__samba uses a combination of configured share permissions and the filesystem permissions02:27
qman__though you do need to run smbpasswd for each user02:28
thedobleI see, what if i wanted to add 20 users in bulk? is there a way of automating that process?02:28
patdk-lapthere is a way to automate anything :)02:29
mcarseCan someone help me? Postgrey is seg faulting since I upgraded a server to 10.04.02:30
mcarseIt happens as soon as I try to start postgrey02:30
mcarseAny help would be appriciated.02:31
ScottKIf mcarse comes back, it's probably worth pointing out that postgrey is a Perl script so any segfaulting is probably something else and not postgrey directly.02:59
=== _Techie_ is now known as _TechAway_
=== _TechAway_ is now known as _Techie_
git__how do I create a private cloud ???05:54
AlanMetaHi all, trying to start bind9, and its failing. How do I find out where its failing?05:54
AlanMetathis is on 9.04 server05:57
ScottKAlanMeta: Not specific to your question, but 9.04 is just about out of it's support window (a matter of days).  You should consider upgrading soon.06:00
* Datz wonders when the first ubuntu-server version came out.06:01
AlanMetayes I am upgrading it now, seeing if that will help06:01
Datzah, 9.10 I see06:03
Datzer I mean 9.0406:04
AlanMetawas surprised that bind9 didn't say what the issue was, just that it failed06:06
DatzI wonder how many people are running 9.0406:09
AlanMetawhen you ssh to do an upgrade, what port is the alternate ssh port it starts?06:10
_Techie_Datz, actually, server dates back to 6.0606:18
_Techie_and alot of people are still running 9.0406:18
qman__yes, server started with 6.06 and has been in every release since06:19
AlanMetainteresting... I managed to take out the server my vps is on06:20
Datz_Techie_: ah, ok.. I was just reading something about an 8.04 server version which confused me06:21
Datzthis article started my confusion http://www.ubuntu.com/news/ubuntu-9.04-server06:24
DatzI thought it strange to not start a realse with an LTS06:24
* Datz started using ubuntu with 7.1006:26
qman__I played with 5.04 a bit but didn't start using it seriously until 5.1006:27
AlanMetais there a tool I can use on Ubuntu Desktop that will help make configuring Ubuntu Server easier?06:28
qman__in short, no06:28
AlanMetaso in long, its yes or maybe?06:28
qman__you can use things like gnome-terminal and gedit instead of a TTY and vim06:28
qman__but it still comes down to editing configuration files and running commands06:29
AlanMetaoh ok. I was thinking since Ubuntu makes the desktop version so "Windows-like" that they would have a tool to make configuring the server easy06:29
qman__Ubuntu is anything but "Windows-like"06:30
qman__it is easy to use06:30
AlanMetathe desktop installs very easily and configures itself06:30
AlanMetafor the most part06:30
qman__with premade packages and tools like tasksel, so does ubuntu server06:30
AlanMetaoh ok06:31
qman__they're just menus on a console instead of point and click06:32
qman__saves resources and reduces the attack surface06:32
qman__many tasks couldn't be easier06:32
qman__installing a web server is a single checkbox during setup06:32
qman__granted there's a long way to go with things like directory services06:33
qman__there's a reason ubuntu is my distribution of choice, it makes my life easy06:33
qman__but anybody who claims windows is "easier" than linux has never had to fix a corrupted active directory installation06:35
AlanMetaYeah I was using CentOS, but even though cPanel made it easy in some ways, it kept getting in my way in other ways06:35
osmosisstrange how the interfaces on a kvm guest disappear sometimes and dont exist in the stats counter.07:30
extorIs there any way I can enable aggressice write caching in linux, the same way one can now enable it in windows 7...what I want is for the kernel to only write flush once in a blue moon to minimize write lag07:30
osmosisfor libvirt07:30
AlanMetait seems my VPS doesn't like upgrading the Ubuntu :-(07:32
qman__extor, linux (and ubuntu) already do this by default07:40
qman__and have for years07:41
extorqman__, I want to increase the time the data is held then07:42
qman__extor, I suggest against it, but if you must, this should help explain  http://www.cyberciti.biz/faq/linux-kernel-tuning-virtual-memory-subsystem/07:48
MTecknologyJEBUZ! $20/mo for a static IP!!!07:48
extorqman__, what about this? http://www.westnet.com/~gsmith/content/linux-pdflush.htm07:48
qman__that's a good explanation too07:49
=== Pilif12p is now known as Pilif12p|afk
JKL_Hi. I am trying to virtualize with kvmbuilder. Does this xml look correct: http://ubuntuforums.org/showpost.php?p=10018470&postcount=7 ?08:36
AlanMetaon Ubuntu 9.04 is it better to use webmin or eBox?08:57
AlanMetaanyone still here?09:22
=== AStorm is now known as AstralStorm
=== _Techie_ is now known as _TechAway_
vraahi has anyone used munin?10:09
KB1JWQ!ask | vraa10:10
ubottuvraa: 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. :-)10:10
vraaoh i see - well i think i might've messed up somewhere, i setup munin.conf and munin-node.conf and i got the graphs and html generated, but the graphs all show nan, even after waiting 30 minutes for updates10:11
KB1JWQvraa: You have a cron process or a daemon that fetches stats? :-)10:13
vraai am not exactly sure - but i think it's a cron process that gets setup after "apt-get install munin munin-node"10:13
KB1JWQvraa: Welp, is it there?10:14
KB1JWQ:-)10:14
vraahow do i double check? because i do see munin-node as a process running too10:14
=== _Techie_ is now known as _TechAway_
extorHas this atime, relatime "patch" by Linus Torvalds improved disk i/o in busy linux servers much? Is this discussion and the points it raises still valid or should an admin just leave disk i/o on busy xen servers on autopilot? http://kerneltrap.org/node/1414811:31
=== sl[A]cker is now known as realSlacker
=== realSlacker is now known as sl[A]cker
RoyKextor: turning off atime or using relatime will probably help the best if the server handles a large amount of files11:44
extoratime and relatime dont affect raw pseudo block devices do they11:44
extorlike LVM disk images for Xen VPSes11:45
ikoniaextor: stop11:45
RoyKikonia: ?11:46
ikoniaRoyK: this guy is spamming every channel with this link11:47
RoyKikonia: hehe11:47
RoyKikonia: what link? I only see that pasted here11:48
ikoniait's in multiple channel11:48
RoyKk11:49
extorAnyone know what version of xen hypervisor and xen kernel ubuntu server comes with?11:50
RoyKubuntu doesn't come with xen11:52
ikoniaextor: the kernel version is the same as the desktop11:53
extorhrmm so is there any difference at all between ubuntu server and ubuntu desktop?11:53
ikoniayes,11:54
ikoniait's configuration is aimed at enterprise hardware, that sort of thing, not desktop functionality, such as nvidia kernel modules11:54
lieuwehey, i'm trying to get samba to work on my server, but when i try to acces it using windows it keeps rejecting my pw, any idea whats wrong?11:55
RoyKikonia: and ubuntu server doesn't come with X by default11:56
RoyKlieuwe: lots of things can be wrong :)11:56
lieuweRoyK: :P11:56
RoyKlieuwe: using local users or a domain?11:56
ikoniaRoyK: thats nothing to do with the kernel though11:56
extorI might want to install some X functionality to remotely run tools like virt-manager over ssh11:56
lieuweRoyK: wut? following http://ubuntuforums.org/showthread.php?t=20260511:56
RoyKikonia: you tell me...11:56
ikoniaits' not11:57
* RoyK shrugs11:57
RoyKX in kernel - that would be nice :D11:57
RoyKadd gnome there too11:57
RoyKwhee11:57
RoyKlieuwe: then no domain11:58
lieuweRoyK: hm11:58
lieuweRoyK: any idea what part i messed up?11:59
RoyKlieuwe: from the commandline, run pastebinit /etc/samba/smb.conf11:59
lieuweRoyK: need to apt-get pastebinit first, hold on12:00
lieuweRoyK: http://pastebin.com/gMF6pCdB12:01
RoyKthe 'force' thing shouldn't be needed12:02
lieuweRoyK: okay, lemme remove that12:02
RoyKalso, if you just want to do peer-to-peer sharing, you possibly want to disable all of authentication12:03
lieuweRoyK: yeah12:03
lieuweRoyK: that would be nice :P12:03
RoyKsecurity = share12:03
lieuweRoyK: where?12:04
lieuweRoyK: done12:04
RoyKyou have security = user in your config12:04
lieuweRoyK: yeah12:04
RoyKok, restart samba12:04
RoyKtry again12:04
lieuweRoyK: how? the tut mentions some commands for that, but they fail12:04
RoyK/etc/init.d/smbd restart12:05
lieuweRoyK: it asks for a password, leave empty?12:06
RoyKit shouldn't12:06
lieuweRoyK: it does12:06
RoyKset guest ok = yes12:07
RoyKin the share12:07
lieuweRoyK: in the [files] section?12:07
RoyKyes12:07
RoyKnote - that's the name of the share12:07
RoyKbtw, what have you stored under /media/samba? a disk mounted there or something?12:08
lieuweRoyK: media/samba? wheres that? that should be /home/samba12:08
RoyKI'm just reading from your config :)12:08
lieuweRoyK: its working!12:09
RoyK:)12:09
lieuweRoyK: thanks :P12:09
RoyKnp12:09
lieuweRoyK: now, is it possible to have another folder shared like that?12:10
RoyKsure12:10
RoyKadd [new_share]12:10
RoyKlike [files]12:10
lieuweRoyK: okay, thanks12:11
lieuweoh, fck12:11
lieuweRoyK: any idea where the www folder is by default? :P12:12
RoyKlionel: /var/www12:30
lieuweis it possible to set up an automated download service on my server? e.g. for overnight downloads?12:33
lieuwei'm already running lamp and samba on it12:33
RoyKthat shouldn't be a problem12:34
lieuwethe problem is how?12:34
RoyKwell, depends what you want to download, what protocol, ftp? http? torrent?12:35
lieuweRoyK: at least torrent, prefferably http and ftp too12:35
RoyKwell, it's a simple matter of scripting :)12:35
lieuwe"simple"12:35
lieuweisn't there some prebuilt program for this?12:36
RoyKfor torrent, there are several web-based ones you can install on the server12:36
lieuwewon't that have a conflict with lamp?12:36
RoyKit'll integrate into lamp12:36
lieuweah12:36
lieuwehmm12:36
lieuwebut then i'd need to have a different system for http/ftp12:37
JKL_is there any possibility to be invited to #ubuntu-virt? I have had tried to create virtual machine with vmbuilder now over month without success.12:37
RoyKlieuwe: yes, or you can simply start a download manually with wget12:38
lieuweRoyK: :P i know that, but i'm not the only one which is going to use it12:38
RoyKJKL_: virt-manager?12:38
lieuweRoyK: in total four people need to work with it, one doesnt know linux, two barely know windows :P12:38
RoyKI'm sure someone has created that :P12:39
RoyKJKL_: virt-manager simplifies things a bit12:39
JKL_i would like to not install ui12:40
JKL_gui12:40
RoyKJKL_: just use remote X12:40
JKL_do i have to if i use virt-manager?12:41
RoyKor run virt-manager from your pc12:41
JKL_i dont have to install x to the server at all?12:41
RoyKJKL_: it'll only install the x libs12:41
JKL_ok thx12:41
JKL_maybe that is what i have to do :)12:41
RoyKJKL_: or - if you have a pc running linux, you can run it from there12:42
JKL_ssh -X should work?12:42
JKL_you mean that i can install virt-manager to another machine than my server?12:42
RoyKyes12:43
RoyKbut I have never set that up - I don't know how it works with authentication etc12:44
RoyKI just use remote X12:44
RoyKand -X should be on by default12:44
RoyKtry to ssh into the box and run something like xeyes12:44
RoyKlieuwe: rtgui might be worth a try12:45
lieuweRoyK: kay,12:45
lieuweRoyK: hmeh12:45
JKL_thanks RoyK for your time. i start to get familiar with virt-manager :)12:46
=== aliverius_ is now known as aliverius
RoyKehlo14:19
JKL_cannot parse QEMU version number in ''14:53
JKL_argh :)14:53
RoyKperhaps you have messed up the config?15:01
RoyKvirt-manager should work well from the standard config15:01
=== SasaGloc is now known as SasaGloc_afk
* SasaGloc_afk is away: Gone away for now15:04
JKL_RoyK: but I have a strong feeling that I have not changed anything15:04
JKL_I also have doubts that might it need a hardware graphic card for some reason. that is something that my server does not have15:05
RoyKwhy would you need that?15:06
RoyKJKL_: you do _not_ need a graphics card to run remote X15:08
JKL_i just wondered if libvirt have some weird dependencies for a graphic card15:11
RoyKJKL_: it doesn't15:12
RoyKJKL_: on my primary (private) server, I have a few VMs running, and managing them with virt-manager15:12
JKL_maybe i purge all packages and try again?15:12
RoyKyeah, try that15:12
JKL_what might be the "parent" package?15:12
RoyKmake sure to remove the config files after the purge - even --purge may leave some stuff15:13
RoyKparent of what?15:13
JKL_all virtualization15:13
JKL_i dont know exactly what packages i have to purge15:13
RoyKkvm, i guess15:13
JKL_sounds a good guess15:14
RoyKunless you're trying to use xen, which is _not_ a good idea on current ubuntu15:14
JKL_kvm is what i try to use15:14
JKL_removing kvm didnt remove anything else15:14
RoyKperhaps qemu too15:14
RoyKkvm uses that15:15
RoyKor qemu uses kvm15:15
JKL_no i have only removed kvm and qemu15:15
RoyKremove libvirt as well15:16
RoyKapt-get remove --purge15:16
JKL_yeah libvirt0 removed loads of stuff15:18
JKL_no I install virt-manager again15:19
JKL_didnt help15:20
=== Pilif12p|afk is now known as Pilif12p
RoyKJKL_: can you possibly reinstall the box?15:24
RoyKsometimes that saves time15:24
RoyKbut then - if you have a truckload of other services on it, maybe not15:25
JKL_installing a box is one option. it just rips my heart when i have to move my only graphic card around :)15:33
RoyKdon't you have a null modem cable?15:36
JKL_RoyK: what would I do with null modem cable?15:38
RoyKIIRC ubuntu can be installed using a serial console15:39
RoyKthus, no need for a display adapter15:40
* SpamapS is seated in LAX next to somebody wearing a maverick t-shirt.. but I don't want to interrupt his tiny movie on his giant sprint evo phone15:40
JKL_RoyK: so i could connect with telnet to it. kewl15:44
RoyKminicom would be better15:45
RoyKtelnet isn't made for serial communication15:45
RoyKJKL_: the serial console was used on most boxes from early seventies to recent times, but even though it's old, it's still useful15:46
JKL_maybe I should get myself that cable15:48
osmosiseverything I saw on the web about swappiness says lower value means minimal swapping. So I changed my swappiness from 60 to 10. And now I can see on the graphs that a huge swap_cache and way more swap file is in use. I was trying to turn off swapping because whenever linux starts doing random unimportant stuff with the swap file, it messes up my IO throughput. Helpful suggestions appreciated!15:48
RoyKJKL_: I guess you can get such a cable anywhere, or solder it yourself if you can't find it15:48
RoyKJKL_: just make sure you have an RS/232 port on both boxes15:49
JKL_server has one15:49
JKL_how about my laptop. i think i dont eaven bother to use this windows machine15:50
JKL_none of my laptops have it and probably virtual machine inside windows does not work... but ofc I can use livecd ^^15:52
patdk-laposmosis, adjusting swappiness doesn't do anything about what it already did15:54
patdk-lapand large swap_cache is from reading in stuff from swap (I believe stuff that hasn't changed, so if needed, it can just be dropped, instead of getting swapped out again)15:55
RoyKosmosis: I just updated http://en.wikipedia.org/wiki/Swappiness15:55
RoyKosmosis: set it to 100 - it helps15:55
* RoyK grins and looks forward to getting his 110TB boxes tomorrow ... 11x7-2TB drive RAIDz216:03
AlanMetaHi all, if I have another server manage the DNS for my Ubuntu server, what (if anything) would I need to configure on the server itself?16:54
_rubenmost likely nothing16:55
_rubendepends on what you want to achieve tho16:55
AlanMetawell, basically I want the ubuntu server to handle one subdomain, which will have a web component, so I know I'll need to configure httpd.conf for that, but would bind need to know anything?16:56
_rubenjust add the appropriate DNS records to the DNS server, nothing needed for that on the ubuntu (web)server for that16:57
AlanMetaok cool, thanks17:00
k5673Hello Yo! Somebody with a running strongswan server configured for roadwarriors? Like Hamachi?17:25
AlanMetais gcc version 4.3.3 still acceptable?17:52
=== AStorm is now known as AstralStorm
k5673AlanMeta:There's anything bad about gcc 4.3.318:11
* SasaGloc_afk is away: Gone away for now18:11
=== SasaGloc_afk is now known as SasaGloc
* SasaGloc is back.18:12
AlanMetak5673 what?18:12
k5673If you have a program, and needs to be compiled with gcc 4.3.3, go ahead18:12
k5673You said (01:52:57 PM) AlanMeta: is gcc version 4.3.3 still acceptable?18:12
AlanMetaok the reason I asked is I tried to compile git with it, and it generated errors, so I was curious if I needed to install something else first18:13
k5673AlanMeta: http://www.barregren.se/blog/how-install-git-source-ubuntu18:16
k5673https://help.ubuntu.com/community/Git18:16
k5673Hope this helps.18:16
AlanMetathanks18:17
lennart_I just upgraded to 10.10 from 10.04 now I can't access my mediawiki, only get to initial setup page for the wiki, any idea of how to solve this?18:54
lennart_Lot of activity in here :)18:58
k5673lennart_:Do you se the initial configuration page in the url of your mediawiki?18:59
lennart_k5673: yes19:03
AlanMetato verify in httpd.conf is still where you put all the instructions on what URLs and file locations to host is right?19:09
k5673Mmm...19:11
k5673Have you done a backup of your mediawiki folder and the mysql database....19:12
k5673?19:12
AlanMetahuh?19:14
=== Pilif12p is now known as Pilif|afk
lennart_Solved it, the problem was that LocalSettings.php had disappeared after the upgrade so I copied over my backed up copy of that file19:24
lennart_fucking unstable to upgrade between versions19:25
lennart_wonder what else is not working19:25
AlanMetacan someone give me a url to see a sample of what a site configuration should look like for apache2.conf?19:26
lennart_ohh next issue, the left side page in nagios have disappeard?19:27
lennart_anyone have any idea of how to fix nagios?19:32
k5673lennart_: Save your configs in other place ( backup ), and do an apt-get remove --purge nagios3. Then apt-get intall nagios3 an copy your customized files.19:58
k5673install19:58
AlanMetafor Jaunty, is there a packaged php 5.3.3?20:10
k5673AlanMeta: take a look into http://packages.ubuntu.com20:15
=== RudyValencia- is now known as RudyValencia
MTecknologyHow hard would it be to run nginx and php inside of a chroot?20:41
pmatulisAlanMeta: no, not by standard means.  you will have to force something20:42
qman__AlanMeta, site configurations go in /etc/apache2/sites-available/, not apache2.conf nor httpd.conf20:42
k5673MTecknology: you can do a debootstrap, then chroot in and apt-get install nginx php520:43
MTecknologyk5673: yup.. but then how do I make it start from inside of there when I boot up my system?20:44
MTecknologyk5673: I'm going to have a pretty funky setup when I'm done so in effort to keep it clean, I'm trying to understand everything before going into anything20:45
k5673Ah! Pretty complex thing...!20:45
k5673So..20:45
khusseinGuys, I have a question that is gonna sound simple, but no I am not asking about chmod, groups, or any of that. How do I give another account on my system access to a specific file in my home folder?20:46
k5673MTecknology: You can do a bash script like chroot /mychrootednginx && /etc/init.d/nginx start20:47
khusseinThe obvious solution is to create a group, add myself and the other user to it, then give permission to this group.20:47
k5673khussein: Tried to modify the permissions of the file with chown20:47
MTecknologyk5673: .... it would be that simple!?20:48
k5673khussein: Yes.20:48
MTecknologyI'm guessing the yes was for me :P20:48
k5673MTecknology: Yes20:48
MTecknologyThat just seems way to simple20:48
k5673That's your yes20:48
khusseinThis doesn't scale tho. It doesn't make sense to create lots of groups for every file that I wanna share with a different user.20:49
k5673MTecknology: You will not lose anything trying it20:49
MTecknologyk5673: I'll be ready to try in about 10 min - I need to try out this kernel20:50
k5673khussein: add the user who wants to see the file to the group of the owner20:51
k5673khussein: You do not have to create groups. They're already there.20:51
qman__unless you want to give that user access to all your files, you do20:52
khusseink5673: I own files X and Y. what if I want user A to access file X only. Then user B to access file Y?20:52
qman__you're right that it doesn't scale very well under those specific conditions20:52
qman__but that's a pretty rare requirement20:52
khusseinYou'll need two groups for this case, right?20:52
qman__there is one trick you could use20:53
qman__change the group owner of file X to that user A's group20:53
qman__and likewise file X's group owner to user B's group20:53
k5673Apply the chown to the file to share20:53
k5673khussein20:54
qman__you remain the file owner, and achieve what you wanted20:54
MTecknologyok... I tried to live without aptitude for a while... but I can't do it20:54
khusseinqman__: Yeah, this would work better I guess. But then again, can't user A add user B to A's group, and get easy access?20:55
qman__khussein, that gives easy access to all of user A's files20:55
khusseinqman__: I understand that it may sound like a rare requirement, but I promise you it is real :).20:55
qman__if you want least permission, that's not going to work20:55
khusseinRight.20:55
khusseinhmm .. maybe filesystem with acls20:56
qman__but by default each user has his own group20:56
qman__so changing the group to the one user you want to share with works20:56
qman__if you want to share with more than one though, you need to create a new one20:56
qman__filesystem acls are very tedious to configure and use20:57
khusseinIt is .. which is why I started asking the question here and I was hoping that I am missing something.20:57
qman__rather than manually configure just the files you want to share, you have to manually configure all your files20:57
khusseinOh really? I didn't think so. But maybe you are right, I haven't done a lot of work on them yet.20:58
k5673MTecknology: do not resist to the unstoppable power of apt! Mwahahahaha!20:58
qman__well, it may have sensible defaults20:58
qman__but any time you need to change something, it's a lot more complicated20:58
MTecknologyk5673: I love aptitude... but apt-get is just horrible20:58
qman__and if you want it actually locked down, it's a lot more work20:58
qman__a quote I heard and very much agree with20:59
qman__if the unix permission scheme can't achieve what you want, your system is too complex and should be redesigned20:59
khusseinqman__: :) I don't know if I buy this one. How old is it?20:59
khusseinIt used to work perfectly .. but now with resource delegation and all that kinda stuff. I can certainly see the case for it.21:00
qman__about as old as the argument for acls on linux21:00
khusseinBut again, you are right acls are just too complicated and hard to get it right.21:00
qman__you have to be a bit clever sometimes, but the unix permission scheme is actually very flexible21:01
khusseinIt almost sounds like something new needs to come out to solve this situation in a much simpler way.21:01
khusseinunix permission is very simple and hence flexible, but you may end up creating a lot of groups to really achieve what you are trying to do.21:02
khusseinAnd even then, it isn't secure, and allows other users to give themselves access to your file.21:02
qman__that's not true21:03
qman__it's very secure21:03
khusseinWell, I didn't mean it that way :). So, I take it back.21:03
qman__it's only insecure when not configured correctly21:03
MTecknology139 packages instealed on my server :P21:04
pmatulisi wouldn't say that 'simple' implies 'flexible', i would almost say the reverse21:04
khusseinpmatulis: It is simple on how to implement it, right?21:05
k5673MTecknology: but apt is your monochrome vt100-style friend who resolves the dependencies and install software for you!21:05
k5673Joke21:05
MTecknologyk5673: aptitude does this - and does it well :)21:06
khusseinqman__: thank you. I really appreciate your help.21:06
MTecknologyk5673: it even yells at me when I choose to remove all of python and most of perl from my system :P21:06
AlanMetaif you do a apt-get upgrade, and it replies back with packages that will not be upgraded, but those are the ones I want to upgrade. How do I tell it to upgrade those?21:06
pmatulisthe fact that in unix you can't have a group can give you a pretty broken setup in certain situations21:06
khusseinI'll catch you guys later. thanks :)21:06
pmatulis"group within a group"21:06
k5673MTecknology: apt have feelings too.21:06
khusseinpmatulis: what?21:07
pmatuliskhussein: see above21:07
khussein"group within a group" is this something you are suggesting?21:09
qman__he's just saying that feature is absent in the unix permissions scheme21:09
qman__it would be useful in some situations21:09
khusseinAh yes. I completely agree.21:10
khusseinIt may sound even more complicated, but I was brainstorming about using LDAP.21:10
qman__I never said it was perfect, just that acls don't really improve things21:11
qman__you go from the possibly too simple, to the definitely too complex21:11
khusseinThe concept of hierarchal organization of users and groups is definitely missing.21:11
AlanMetaif I tell apt-get to remove several packages, and then tell it to install them again, will it get the "official" build if another repo has a newer build?21:11
MTecknologyk5673: :S... It seems I can initiate nginx from inside of the chroot but not manipulate it from there :P21:11
khusseinqman__: You are right, which is why I was thinking maybe there needs to be something in the middle. Not that simple, but isn't too complicated to achieve a simple task.21:12
MTecknologyk5673: I can't run top inside - but I can run top outside ... must be mount points21:12
MTecknologyk5673: this is kinda cool... it's like the system running in the chroot will run as if it's running on the host, but be locked to that environment21:13
MTecknologyk5673: btw.. that command you gave me doesn't work...21:14
MTecknologyk5673: it waits until you exit the chroot21:14
k5673MTecknology: Of course. And is like a sandbox. You can do anything (almost) without destroying your real environment.21:14
AlanMetaanyone?21:14
qman__AlanMeta, that's what upgrade is for21:15
qman__but yes21:15
k5673AlanMeta: Always the official21:15
AlanMetahow can I over ride that?21:15
k5673MTecknology: the command for running nginx?21:15
qman__by holding/pinning a package21:15
MTecknologyk5673: that command would work great if I could make it launch inside of the chroot21:16
k5673MTecknology: Do a bash script21:16
MTecknologyk5673: OH!21:16
MTecknologyk5673: no &&21:16
MTecknologyk5673: chroot /opt/websites-basic /etc/init.d/nginx start21:17
k5673MTecknology: chroot /opt/websites-basic /etc/init.d/nginx start &21:17
MTecknologyk5673: except that it seems trying to stop it the same way doesn't work :P21:18
talcitehey guys. I'm having trouble copying files to my OCFS2 array. Can someone help me debug? It was working in the past, but possibly an update broke it?21:18
k5673MTecknology: The ampersand at the end will send the command to background21:18
k5673MTecknology: &21:18
MTecknologyk5673: it doesn't need to go to the background though21:18
MTecknologyk5673: chroot /opt/websites-basic /etc/init.d/nginx start  <--- starts nginx21:18
MTecknologyk5673: chroot /opt/websites-basic /etc/init.d/nginx stop  <--- does not stop nginx21:19
AlanMetahttp://pastebin.com/QAd7Wcxj << this is what I'm getting, the newer files are on an alternate repo. Any suggestions to tell it to install it?21:19
MTecknologyk5673: :S... I can't kill anything inside of the chroot without killing the pid :S....21:21
k5673Mmm21:21
k5673MTecknology: You can try this http://pastebin.com/KEQ7efU421:25
MTecknologyk5673: GOT IT!21:26
MTecknologyI didn't mount proc correctly21:26
MTecknologyit couldn't figure out what the pid was21:26
k5673MTecknology: some filesystems aren't available in a chrooted environment21:28
MTecknologyk5673: mount -o bind /{dev,proc} /opt/websites-basic/{dev,proc} :D21:28
k5673MTecknology: i'll save that string.21:29
MTecknologyk5673: obviously not exactly what I ran.. it was two commands ;)21:29
k5673Yeah21:29
k5673Right21:29
uvirtbotNew bug: #666028 in openldap (main) "apt-get install slapd => Can't locate object method "new" via package "Debconf::Element::Noninteractive::Booleam"" [Undecided,New] https://launchpad.net/bugs/66602821:31
MTecknologyI think I found a bug...21:32
k5673MTecknology: What bug?21:33
MTecknologyk5673: when installing php5-fpm.. the default config assumes /var/www exists but doesn't verify.. so before installing it you need to 'mkdir /var/www' or it will fail to install because it will fail to start because the config is broken21:34
AlanMetacan anyone help me?21:35
qman__AlanMeta, using debian repositories on ubuntu is a bad idea21:35
AlanMetaqman__ ah ok, I was following the directions here: http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/21:37
guntbertAlanMeta: php 5.3 is in the repos, no need for jumping through hoops21:39
AlanMetaits not for jaunty which is the only thing I can run on my vps :-(21:39
guntbertI see, thats 5.221:41
AlanMetayeah and running something that requires 5.321:41
guntbertAlanMeta: did you look into backports?21:41
AlanMetabackports?21:42
k5673AlanMeta: http://packages.ubuntu.com21:42
AlanMetaphp is not in the backports :-(21:44
guntbertAlanMeta: did you see http://zippykid.com/blog/2009/08/building-php-5-3-packages-on-ubuntu-9-04-jaunty-for-apache-2/ ?21:44
AlanMetalol, my apt-get can't find checkinstall, I have downloaded the code already but not sure how to configure it, what came with it, doesn't have the configure section in phpinfo()21:46
=== Pilif|afk is now known as Pilif12p|afk
=== _TechAway_ is now known as _Techie_
nagchampathe ubuntu server guide is extremely vague on postfix setup23:57
nagchampasorry23:57
nagchampai mean, in regards to settup up an email gateway23:58
patdk-lapheh? what is an email gateway?23:58
nagchampahttps://help.ubuntu.com/10.04/serverguide/C/mail-filtering.html23:58
nagchampasorry, now i'm beign vague :p23:58
* patdk-lap wonders what mail filtering has to do with email gateway (whatever that is) at all?23:59
patdk-lapsetting up an incoming email server is pretty simple23:59
patdk-lapjust have it receive email, and do whatever you want with it, but don't bounce it23:59

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