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:37 |
sarnold | interesting, the mount(8) manpageg says ntfs ought to be root-owned and not readable by anyone else | 00:39 |
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 | 00:55 |
=== markthomas is now known as markthomas|away | ||
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... | 01:20 |
okloks | рас рас | 03:59 |
okloks | any1one? | 04:00 |
okloks | ест кто живой? | 04:00 |
sarnold | waka waka? | 04:00 |
okloks | I have a question about postfix+spamassassin+amavis-new | 04:01 |
okloks | ? | 04:05 |
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:06 |
sarnold | or maybe not. it's too late for americas and still early for europe | 04:07 |
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:11 |
samthewildone | how do I get the nfs service installed on my server, I thought it was installed by default (daemon)> | 04:59 |
tarpman | samthewildone: install nfs-kernel-server | 05:03 |
samthewildone | tarpman, I'm having trouble with the nfs | 05:10 |
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:11 |
tarpman | samthewildone: can you be more specific than "does not work"? | 05:12 |
samthewildone | http://codepad.org/1ucPIDGk | 05:12 |
tarpman | samthewildone: I don't see anything not working there | 05:14 |
tonyyarusso | samthewildone: Yeah, there's no error in that paste. | 05:15 |
=== markthomas|away is now known as markthomas | ||
adun153 | Hi, question about mysqld: What's the proper my.cnf variable, secure_auth = 1 or secure-auth = 1? | 06:18 |
lordievader | Good morning. | 06:38 |
=== cz4 is now known as cz2 | ||
=== Lcawte|Away is now known as Lcawte | ||
rbasak | teward: np | 09:15 |
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 | 12:14 |
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:44 |
pmatulis | jpds: so why is it getting installed | 13:45 |
pmatulis | i see that enigmail wants to get upgraded. it must be pulling it in | 13:47 |
pmatulis | yep, that's what's going on. but then i will have both gnupg and gnupg2 installed. weird | 13:49 |
=== martins-afk is now known as martinst | ||
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:16 |
ogra_ | you want /etc/init ... not init.d | 14:17 |
ogra_ | and to stop or start it simply: sudo stop smbd ... sudo start smbd | 14:18 |
=== hxm is now known as Guest44601 | ||
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:19 |
pmatulis | pentiumone133: what changes? | 14:24 |
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:25 |
pmatulis | pentiumone133: you'll prolly need to pastebin the output to 'testparm -sv' for anyone to help | 14:28 |
pentiumone133 | pmatulis: http://paste.ubuntu.com/12206146/ | 14:33 |
pentiumone133 | its really just a "stock" config file | 14:33 |
neurotus | how can i execute a binary file from .sh file when uid=0 but as another user | 15:19 |
=== neurotus is now known as krsna | ||
lordievader | krsna: sudo -u ./<path to binary>? | 15:20 |
jak2000 | RoyK hi | 15:20 |
RoyK | jak2000: ho | 15:39 |
=== hxm is now known as Guest75779 | ||
=== martins-afk is now known as martinst | ||
AEL-H | found solution --> needed to use ntfs-3g | 16:01 |
RoyK | AEL-H: another solution is to just mkdir -p /safe/something, chmod 0700 /safe, mount /dev/somentfsfilsystem /safe/something | 16:11 |
RoyK | AEL-H: but then, you should use ntfs-3g *anyway* | 16:12 |
=== hxm is now known as Guest41283 | ||
pmatulis | is it possible to disable the LXC cache? | 17:47 |
=== Telvana is now known as |digits| | ||
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:20 |
sarnold | poli: what specifically are you trying to measure? | 18:21 |
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:22 |
=== jgrimm-away is now known as jgrimm | ||
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:26 |
RoyK | poli: sar is nice, though | 18:31 |
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:32 |
poli | sarnold: "mpstat 1 1" gives me a differnt format in the result, but seems to solve the problem. I wonder why, though. | 18:33 |
=== hxm is now known as Guest63782 | ||
=== markthomas is now known as markthomas|away | ||
=== markthomas|away is now known as markthomas | ||
=== hxm is now known as Guest46509 | ||
Daphko | Hello, is it possible to handle virtualhosts when request was passed forward from an proxy reverse ? | 21:28 |
Daphko | nobody there ? | 21:30 |
teward | patience lol | 21:35 |
teward | you haven't stated your webserver, etc. | 21:35 |
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:38 |
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:39 |
sarnold | tyuyui: do you have an X server running on your windows machine? | 21:42 |
tyuyui | yes of course | 21:43 |
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:45 |
tyuyui | i m using putty with x forward enable | 21:46 |
tyuyui | with xming server | 21:46 |
sarnold | tyuyui: is the DISPLAY environment variable set in the shell where you're trying to start the programs? | 21:48 |
tyuyui | wht do you mean ? | 21:49 |
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:52 |
tyuyui | Error: cannot open display: localhost:10.0 | 21:53 |
=== Lcawte is now known as Lcawte|Away | ||
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? | 23:28 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!