=== matsubara is now known as matsubara-afk [02:32] is there any way to automatically enforce specific ownership permissions for files in a given directory upon creation? [02:32] say, user:www-data for a public_html folder [04:08] EvilResistance: suid/sgid bits, yes [04:08] EvilResistance: chmod g+s will enforce group, u+s will enforce user [05:39] Hello [05:40] I need help setting up a DHCP seerver [05:41] I have installed a DHCP server on my laptop [05:41] How do i check if my wlan card has host mode? [05:41] And how do i set up a small DHCP based, adhoc WLAN server [05:44] I'm not sure if that's possible [05:44] I may not have been clear [05:44] may i explain my network? [05:44] wlan = wireless? [05:44] seekwill: yes [05:46] Look, I have a laptop, that can become a wireless hotspot [05:46] Also, I have a server, installed as a virtual machine, inside that laptop [05:46] I have installed DNS and DHCP servers [05:46] I have 6 students, all with laptops. [05:47] I want them to connect to my laptop's access point [05:47] and through that accesspoint, DNS server, I want ti r=to access the virtual machine server [05:47] Complicated, I know [05:47] seekwill: ^ [05:48] Oh, you have built-in 4G? No idea [05:48] I am not sure if its $G [05:48] 4G [05:48] Oh 3G... [05:49] Yeah. [05:49] Regardless, I've never had any experience with those [05:49] Sorry :( [05:49] :( [05:49] okay, here's an easier question [05:49] 42 [05:50] How do i configure my DNS server and DHCP server to hand out static IP to the virtual machine inside it? [05:50] For all intents and purposes, I think it can be treated as a seperate computer with a NAT [06:04] what hypervisor are you using ? [06:07] hypervisor? [06:09] quick question about smb.conf? === banseljaj is now known as imami|afk [07:46] is there a page where i can see a list of packages for 12.04 ? === imami|afk is now known as banseljaj [11:12] anyone got a working Marvell 88SE6145 SATA II PCI-E controller with ubuntu 11.10 or 12.04 === banseljaj is now known as imami|afk === Lcawte|Away is now known as Lcawte === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [15:29] New bug: #984210 in maas (main) "postinst tries to restart cobbler using /etc/init.d/cobbler and that doesn't exist anymore" [Undecided,Fix released] https://launchpad.net/bugs/984210 [15:57] [ 3476.111492] zfs-fuse: sending ioctl 2285 to a partition! [15:57] any idea what that might mean? [16:04] http://groups.google.com/group/zfs-fuse/browse_thread/thread/a3be60a69ab7c8ce?pli=1 === imami|afk is now known as banseljaj === banseljaj is now known as imami|afk [18:11] New bug: #986649 in puppet (main) "puppet agent can't obtain catalogs" [Undecided,New] https://launchpad.net/bugs/986649 [18:12] Hello… will apache 2.4 and php 5.4 make it to his release ? [18:17] arbir, while I'm not authoritative on it in any way, if it's not in the beta, it's probably not going to be in release [18:17] qman__: i have been searching at packages.ubuntu.com, but could not find it. [18:18] so i thought, i might be on the wrong track [18:18] just searched, looks like apache is 2.2.22 in precise http://packages.ubuntu.com/search?keywords=apache&searchon=names&suite=precise§ion=all [18:19] qman__: yeah, 2.2.22 is there, not the new apache 2.4 [18:20] and php is 5.3.10 [18:20] http://packages.ubuntu.com/search?keywords=libapache2-mod-php&searchon=names&suite=precise§ion=all [18:20] qman__: ditto, yeah, not 5.4 … both apache and php have been out for a while [18:20] i was hoping :-( [18:21] especially that, apache 2.4 is supposed to be as fast as nginx and no longer the old elephant. [18:21] rule of thumb, stuff usually has to be out a year or more to make it, especially with an LTS release [18:22] I see a lot of people complain but I've never had performance issues with apache [18:22] yes, it's not as light as some alternatives, but it's not exactly slow [19:17] I noticed that /etc/resolv.conf will be overwritten - is there a proper place to put my nameservers ? [19:23] FunnyLookinHat: afair edit /etc/network/interfaces and add dns-nameservers x.x.x.x y.y.y.y [19:23] kklimonda, ah ok - I didn't know you could do that in /etc/network/interfaces [19:28] kklimonda That worked - thanks! [20:24] why would my scripts in /etc/cron.hourly not be running? [20:26] the line in /etc/crontab seems to be fine.... 17 * * * * root cd / && run-parts --report /etc/cron.hourly [20:27] Is cron running? [20:27] yes [20:27] Why do you think cron.hourly isn't running? [20:28] Because none of my scripts are having any affect... [20:29] I check them... make sure they're executable, have the proper #! line, etc... come back in an hour, and e.g. the permissions in /opt/craftbukkit still aren't fixed (like my script is supposed to do), but I can fix it by running the script manually [20:29] Same with my script to update my dynamic DNS [20:30] I checked the timeout with dig to make sure that wasn't just caching, too [20:30] watched it count down to 0, and still no change [20:30] Run the script manually, let it reach 0 again, and it changes [20:31] Try a small test script [20:33] My guess is your script uses some environment variables not set when cron runs it [20:34] how do i force ntpd to check the stupid date and set it? [20:34] My permissions script shouldn't rely on environment variables... just "chown -R craftbukkit:craftbukkit /opt/craftbukkit" [20:34] Is all that's there [20:35] undecim: Try /bin/chown ? [20:38] seekwill: It seems like run-parts is causing the issue. I made a test script with absolute paths to commands, and running the line in /etc/crontab " run-parts --report /etc/cron.hourly" as root does nothing. [20:38] Sorry, I don't know. I usually just throw things in /etc/cron.d [20:39] Guess I'll do the same. [20:39] All that stuff is too fancy for me :) [20:39] lol [20:40] Well it seemed to me to be a convenient setup... just put your script there and let it do its thing.... but it doesn't work [20:40] is there a method to force persistently a specific ownership setting on a file/folder? [20:40] say, user:www-data on a public_html folder [20:40] EvilResistance: I'm just using a cron job [20:40] undecim: how often are you running it? [20:40] EvilResistance: Hourly [20:40] * EvilResistance is using a cron job now as well, but wants to know if there's an easier persistent setup [20:41] ah, i've got mine running every 5 minutes [20:41] How does it change? [20:41] but meh [20:41] If you need real-time permission setting, I've heard lsync can do that [20:41] Never used it myself though [20:42] problem is because its FTP [20:42] if a new file is uploaded, by default it has a different permission setup than i want it [20:42] s/FTP/SFTP/ [20:42] so i at least need to set a persistent group setting [20:43] (www-data) [20:43] oh [20:43] by default it gets user:user or w/e it is [20:44] so i need it to be at least persistently user:www-data [20:44] EvilResistance: Looks like with Lsyncd, you can just set 'onCreate = chown user:www-data ^targetPathname" ' to get what you want [20:44] I didn't know people still used FTP :) [20:45] seekwill: SFTP (ssh tunnelled FTP) [20:45] I would think the FTP server would be able to do something like that [20:45] seekwill: SFTP is a file transfer built into SSHd [20:45] Sure [20:45] SFTP isn't really the same as ssh-tunnelled-FTP [20:45] scp or https! :) [20:46] EvilResistance: You'll have to compile Lsyncd yourself, but it will do what you want http://code.google.com/p/lsyncd/downloads/list [20:47] Or so it says... Like I said, I've never used it myself, but it seems fairly straightfoward to set up [20:47] Come to think of it, I should set this up on our public share [20:49] maxb: *shrugs* [20:49] regardless [20:50] blendedbychris, you can't, at least not directly [20:50] i'll take a look at lsyncd later, for now i'll stick with the cronscript :P [20:50] solution is to stop ntpd, set manually or use ntpdate-debian to update to a known good time server, then start ntpd again with good time servers configured [20:52] EvilResistance, look into the sticky bit [20:52] it doesn't enforce, per say, but it does change the default creation behavior [20:52] which may or may not do what you want [20:54] actually nevermind, I mixed it up with something else [20:55] maybe it's a mount option, I don't remember [20:55] qman__: I was about to ask, lol... [20:55] in any case, there's a way to make it so that files are created with parent directory's group-owner instead of user's default group-owner [20:57] quick google says setgid bit [20:58] qman__: I think that you're thinking of the mask mount options, which don't enforce permissions or change the default, but just ignore them completely... I think with a default of "allow". It's also filesystem specific [20:59] undecim, this is what I'm talking about: http://www.linuxquestions.org/questions/linux-newbie-8/inherit-permissions-of-the-parent-directory-in-newly-created-file-754097/ [20:59] like I said, it doesn't enforce the permissions, it just changes the default creation behavior, which I think is all he wants in this case [21:00] so that newly uploaded files will have the correct group-owner and be usable by the web server [21:01] oic [21:01] Much more elegant that what I suggested [21:01] I use this and a daily cron script on one of my samba shares [21:02] it's not a real enforcement, just mostly functional [21:03] I also use the sticky bit so users can't delete other users' files, which is probably why I mixed them up [22:33] has anybody used naigos before? === Ursinha` is now known as Ursinha === Ursinha is now known as Guest65814 [22:42] !anyone [22:42] A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll. [22:42] philipballew, thousands of people, if not more, have used nagios before [22:48] qman__, sorry. What advantages does it give me or what is the ease of use it provides? [22:49] philipballew, nagios is pretty simplistic in its design, its main benefit is in its modular design [22:49] you can define checks to do literally anything, and report back into the main system [22:50] it has a web interface and can email alerts [22:51] it's popular and has been around a while, so there's a lot of existing plugins you can use [22:51] I was goin to follow this guide? http://www.debian-administration.org/articles/299 [22:53] looks good, not sure if there are any changes for ubuntu [22:53] that's a good website [22:54] check the server guide first, I think there's a section on it [22:54] yeah: https://help.ubuntu.com/10.04/serverguide/C/nagios.html [22:55] * philipballew hugs and high fives qman__ [22:56] it doesn't say so at the top, in that example server01 is the monitoring server and server02 is just another server being monitored [22:58] I can get notification emailed to me, can that just come to my ubuntu/gmail or would that need to go to my own domain email? [22:58] can go to anywhere your server is able to mail to [22:59] if you have an internet-configured mail server on your network, you can just configure it as a satellite system and it will be able to send to any email on the net [22:59] with your mail server as the smart host [22:59] if not, there are ways to configure postfix to use a gmail account or similar to send mail to the internet [23:00] this could be fun! [23:01] I set mine up with a gmail account before I had a static IP [23:01] that was with 8.04 though, been a while [23:01] qman__, Im to cheap for a static :) [23:01] or poor [23:02] 8.04 server was nice [23:02] yes it was, miss the days before all this plymouth nonsense [23:04] but you take the bad with the good, high resolution consoles that actually work are nice [23:04] qman__, yeah, I personally like to see whats happening with my kernel [23:05] yep, and my fsck [23:08] but its good for your joe plumber user qman__