[00:37] <AEL-H> I am having trouble mounting a drive such that only the root can access this, how can I do this? plain old chmod doesn't appear to be working..
[00:37] <AEL-H> I chmod 700 the mountpoint and then mount the drive, however the permissions become rwxrxrx as soon as the drive is mounted. The drive filesystem is NTFS
[00:39] <sarnold> interesting, the mount(8) manpageg says ntfs ought to be root-owned and not readable by anyone else
[00:55] <zerick> hi, I have an empty /var/log/messages file, while current log seems to be /var/log/messages.1, any idea ?
[00:55] <zerick> also happens with other logs
[01:20] <sarnold> zerick: that can happen sometimes, it's a race condition between the log rotating and the syslog :/ it' sbeen ages since I've seen it, but there it is...
[03:59] <okloks> рас рас
[04:00] <okloks> any1one?
[04:00] <okloks> ест кто живой?
[04:00] <sarnold> waka waka?
[04:01] <okloks> I have a question about postfix+spamassassin+amavis-new
[04:05] <okloks> ?
[04:06] <sarnold> okloks: irc works best if you just ask questions, rather than asking if you can ask questions
[04:06] <sarnold> okloks: if you'd asked six minutes ago, you might have received an answer by now :)
[04:07] <sarnold> or maybe not. it's too late for americas and still early for europe
[04:11] <okloks> ok, I had postfix + spamassassin, I saw X-Spam flags in mail headers. Now I installed amavis-new, uncommented spam settings and spam flags disappeared from headers. Looks like spamassassin doesnt' work. Maybe I need to provide some config here..
[04:59] <samthewildone> how do I get the nfs service installed on my server, I thought it was installed by default (daemon)>
[05:03] <tarpman> samthewildone: install nfs-kernel-server
[05:10] <samthewildone> tarpman, I'm having trouble with the nfs
[05:11] <samthewildone> I added "/home/user/nfs_free IP/MASK(ro,sync)" and it does not work
[05:11] <samthewildone> after I reset the service.
[05:12] <tarpman> samthewildone: can you be more specific than "does not work"?
[05:12] <samthewildone> http://codepad.org/1ucPIDGk
[05:14] <tarpman> samthewildone: I don't see anything not working there
[05:15] <tonyyarusso> samthewildone: Yeah, there's no error in that paste.
[06:18] <adun153> Hi, question about mysqld: What's the proper my.cnf variable, secure_auth = 1 or secure-auth = 1?
[06:38] <lordievader> Good morning.
[09:15] <rbasak> teward: np
[12:14] <AEL-H> I am having trouble mounting a drive such that only the root can access this, how can I do this? plain old chmod doesn't appear to be working..
[12:14] <AEL-H> I chmod 700 the mountpoint and then mount the drive, however the permissions become rwxrxrx as soon as the drive is mounted. The drive filesystem is NTFS
[13:44] <pmatulis> interesting. my trusty suddenly wants to install (not upgrade) gnupg2 during a dist-upgrade
[13:44] <jpds> pmatulis: gnupg2 != gnupg
[13:44] <pmatulis> jpds: yes, i know
[13:45] <pmatulis> jpds: so why is it getting installed
[13:47] <pmatulis> i see that enigmail wants to get upgraded. it must be pulling it in
[13:49] <pmatulis> yep, that's what's going on. but then i will have both gnupg and gnupg2 installed. weird
[14:16] <pentiumone133> i have a fresh 14.04 machine with a fresh install of samba 4.1.6, and im wondering what is the proper way to restart samba
[14:16] <pentiumone133> im using it for simple filesharing, not any of the active directory stuff
[14:16] <pentiumone133> there is /etc/init.d/smbd, samba and samba-ad-ds
[14:17] <ogra_> you want /etc/init ... not init.d
[14:18] <ogra_> and to stop or start it simply: sudo stop smbd ... sudo start smbd
[14:19] <pentiumone133> when i do that it doesnt seem to actually restart
[14:19] <pentiumone133> it tells me its starting and stopping, but it doesnt seem to reflect changes ive made
[14:24] <pmatulis> pentiumone133: what changes?
[14:25] <pentiumone133> as an experiment i had a share that was locked down to specific users, i removed one of the users from the allowed list and restarted smbd, and was still able to mount the drive as the user i just removed
[14:28] <pmatulis> pentiumone133: you'll prolly need to pastebin the output to 'testparm -sv' for anyone to help
[14:33] <pentiumone133> pmatulis: http://paste.ubuntu.com/12206146/
[14:33] <pentiumone133> its really just a "stock" config file
[15:19] <neurotus> how can i execute a binary file from .sh file when uid=0 but as another user
[15:20] <lordievader> krsna: sudo -u ./<path to binary>?
[15:20] <jak2000> RoyK hi
[15:39] <RoyK> jak2000: ho
[16:01] <AEL-H> found solution --> needed to use ntfs-3g
[16:11] <RoyK> AEL-H: another solution is to just mkdir -p /safe/something, chmod 0700 /safe, mount /dev/somentfsfilsystem /safe/something
[16:12] <RoyK> AEL-H: but then, you should use ntfs-3g *anyway*
[17:47] <pmatulis> is it possible to disable the LXC cache?
[18:20] <poli> What would be a faster/batter alternative to mpstat to check on cpu load for scaling up a horizontal web server? mpstat takes a real long time to reflect load increase that top, for example, does not.
[18:21] <sarnold> poli: what specifically are you trying to measure?
[18:22] <poli> sarnold: CPU load
[18:22] <poli> sarnold: specifically the amount of free cpu cycles in relation to the total available, the %free cpu or %used cpu.
[18:26] <poli> sarnold: I am a bit lost in the "integration" thing mpstat must be doing. "mpstat" is giving me 70% free while "mpstat 1" gives me the correct 0. Seems like mpstat attenuates the change in load in time for some particualr reason.
[18:31] <RoyK> poli: sar is nice, though
[18:32] <sarnold> poli: hmm, a quick look through the top source code (not recommended, eww) suggests that it goes to some effort to try to calculate a percentage-of-cpu -- that's just not an easy measurement to make.
[18:33] <poli> sarnold: "mpstat 1 1" gives me a differnt format in the result, but seems to solve the problem. I wonder why, though.
[21:28] <Daphko> Hello, is it possible to handle virtualhosts when request was passed forward from an proxy reverse ?
[21:30] <Daphko> nobody there ?
[21:35] <teward> patience lol
[21:35] <teward> you haven't stated your webserver, etc.
[21:38] <Daphko> I have one apache on Server 1 which passed via Proxy Reverse all request to Server 2, on Server 2 the apache should managed the requests through virtualhosts
[21:38] <tyuyui> hi ther
[21:39] <tyuyui> i got this error
[21:39] <tyuyui> i got this Error: no display specified
[21:39] <Daphko> teward do you have an idea ?
[21:39] <tyuyui> when i try to open an application over server x
[21:39] <tyuyui> from windows pc
[21:39] <tyuyui> with putty / xming ?
[21:42] <sarnold> tyuyui: do you have an X server running on your windows machine?
[21:43] <tyuyui> yes of course
[21:45] <sarnold> tyuyui: did you use the windows-ssh-client equivalent of ssh -X? if that alone doesn't work, try it's equivalent of ssh -X -Y
[21:46] <tyuyui> i m using putty with x forward enable
[21:46] <tyuyui> with xming server
[21:48] <sarnold> tyuyui: is the DISPLAY environment variable set in the shell where you're trying to start the programs?
[21:49] <tyuyui> wht do you mean ?
[21:52] <sarnold> tyuyui: $ ssh -X localhost 'echo $DISPLAY'
[21:52] <sarnold> localhost:10.0
[21:52] <sarnold> .. the DISPLAY environment variable needs to be set so X clients know where to contact the server
[21:53] <tyuyui> Error: cannot open display: localhost:10.0
[23:28] <bdx> Hows it going everyone? Does anyone here know how to add custom cloud-config to maas provisioning....i.e. curtin_userdata preseeed or custom preseed e.g. curtin_ubuntu_amd64_generic?