/srv/irclogs.ubuntu.com/2008/08/13/#ubuntu-server.txt

keeskirkland: hurrm.  benc and pitti haven't added their updates to the grub bzr tree00:01
keeskirkland: or rather, slangasek didn't notice when committing your changes to bzr.  I'll go find him00:03
=== fReAkY[t] is now known as c1|freaky
kirklandkees: okay00:09
kirklandkees: i am formally baffled/befuddled/bemused by developing on bzr vs. dsc00:09
kirklandrather, the inconsistencies among the two00:10
keeskirkland: yeah, it's a serious pain currently.00:11
kirklandkees: is http://people.ubuntu.com/~kirkland/grub/ what you were asking for, at least?00:11
kirklandkees: the changes file therein?00:11
keeskirkland: yeah, that's cool.00:12
nxvlzul: the evil now is libtool00:13
nxvlzul: not php00:13
* nxvl checks infinity's debdiff00:13
zulnot its evil00:13
nxvlheh, well yes, php is evil, but not as libtool00:14
kirklandkees: okay, I'm in a holding pattern then, until i receive further instruction from you or slangasek on what form they want you/he want(s) these changes in00:20
keeskirkland: yeah, basically, slangasek and I will clean up bzr and I'll upload the source.changes you put up.  sorry for this goofiness.00:22
kirklandkees: cool, thanks for the cleanup00:22
=== dan is now known as dantalizing
=== c1|freaky is now known as fReAkY[t]
=== fReAkY[t] is now known as freaky[t]
HellMindI need help to jail users , i tried the stupids guides  but isnt work, maybe you know something to doit in ubuntu server, the best, easy, and simple way02:59
=== PrivateVoid_ is now known as PrivateVoid
HellMindI want to be a bot03:16
p4_xxxhi03:18
p4_xxxi have tried to ask Q here but seems nobody answer :-(03:19
sommerp4_xxx: what's your question?03:25
ScottKfoolano: Since dovecot is the standard MDA for Ubuntu, I'm a bit suprised ebox went with courier.04:40
ScottKThis will pose a problem for getting ebox-mail into Main.04:40
ScottKmathiaz: ^^04:40
mathiazScottK: correct - I think he is working on it04:40
mathiazScottK: but courier was supported before they moved to ubuntu as their base platform04:41
ScottKOK.04:42
ScottKmathiaz: Taking a quick look at this one package, I don't think I'd be excited to give them upload rights.04:42
ScottKIt looks not so good from an FHS perspective and the maintainer scripts are not at all complete.04:43
emgentkirkland: ping.04:53
kirklandemgent: pong04:53
ScottKmathiaz: It's no where near ready for the archive.04:54
HellMindhelp me to jail users04:56
HellMindI need something like apt-get install jailpatch04:57
HellMindY04:57
HellMindCOol :D04:57
mathiazScottK: hm - could you send an email to foolano with your comments on the package ?05:09
mathiazScottK: It seems that it may require to get through the sponsoring queue.05:10
ScottKmathiaz: I'm not sure I know where to start.05:14
ScottKDocs still refer to postfix with VDA patch and it's all very scary.05:14
ScottKIt's past midnight and I'm trying to relibtoolize courier.  My brain cells are all pretty used up.05:15
mathiazScottK: right - I see what you mean :)05:15
mathiazScottK: I'll point out your comments to foolano  - it may not be the best option to ask for ebox upload privilege for now05:16
ScottKThat's what I'm thinking.05:16
ScottKmathiaz: For that one in particular, I'd suggest that the requirement be lamont is happy.05:17
lamontany sentence that includes the word "relibtoolize" is evidence that brain cells are getting burned up05:25
lamontor even "libtoolize" for that matter...05:26
nxvllamont: try to build courier without relibtoolize it05:26
nxvl(actually if you have a better solution please let me know)05:27
lamontnxvl: I assert that it using libtool is evidence that it'd be an uphill battle to have me maintain it05:27
nxvl:D05:29
nxvlit seems that i'm not the only one that hates libtool05:29
nxvl:D05:29
nxvlawesome05:29
ScottKnxvl: You may have been led astray, but let me look into it some more.05:32
lukehasnonameScottK, your dry, constant, quasi-subtle stabs at LP amuse me.05:41
ScottKOK.  I didn't think I was being subtle.05:42
lukehasnonameIt's subtle if the person reading doesn't already know you dislike it. I'm reading the response to the server team meeting.05:44
nxvlbed time05:44
nxvlread you tomorrow!05:44
ScottKOK.  Well it turned out to exist, it was just somewhat hidden.05:47
ScottKAs it goes, Launchpad isn't so bad, but the fact that it's closed really makes it pretty much impossible for an outsider to contribute even ideas.05:48
ScottKGetting really outspoken and filing lots of bugs seems to have some effect.05:48
ScottKOK.  That wasn't it.  I'm going to bed.06:07
p4_xxxhi, i set up a ubuntu server at home. i have 4 pc that i want them to store and share files. but at the same time i want their own private folder and one folder for shares. i read a data from a link and it worked, but it's just one folder evry one can see all. i ve been reading a lot on samba site but i got confuse, i m new to linux and i would like to know if someone know a site that explain the procces easly tanks06:22
krautmoin07:34
foolanoScottK: we dont use the VDA patch anymore, unfortunately the doc you read was outdated07:46
jmazaredoi have a weird problem i have a router where if i plug my ubuntu server it gives a problem on the network (intermittent connection)07:47
jmazaredoi formatted and reinstalled a fresh ubuntu 5 times different hardware different ubuntu dist (desktop/server)07:49
jmazaredoany known issue?07:49
Deepsdodgy hardware?07:49
Deepsnetwork card / cable / switch07:50
jmazaredoi used several hardwares07:50
jmazaredoall good07:50
jmazaredo1 thing fixed it07:50
jmazaredoi installed a centos dist and also plugged it in07:51
jmazaredoall becomes stable.07:51
jmazaredodunno how that happen07:52
chmacCan anyone recommend a slightly more powerful alternative to Firestarter? I want to configure iptables a little more carefully.08:01
henkjanchmac: try ufw08:02
chmachenkjan: Sweet, thanks, I'll check it out08:02
ghalebhello, when I flush my iptables the firewall blocks everything08:26
Deepsghaleb: iptables -nL |grep policy08:27
ghalebDeeps, there are no rules08:27
Deepsghaleb: no default policy either?08:28
ghalebChain INPUT (policy DROP)08:28
Deepsthere you go, that's why08:28
ghalebI see .. hmm08:29
ghalebso when I flush the iptables .. the firewall drops everything else08:29
Deepsif you want to change the default policy, use the -P flag08:30
Deepseg, iptables -P INPUT ACCEPT08:30
ghalebgreat!08:31
ghalebthank you very much08:31
ghalebto save the config , iptables-save ?08:32
Deepsiptables-save will dump it to the screen, you'll want to redirect that to a file08:34
dusty_Hrm, I have a default drop all unless i allow it through iptables firewall, i've just noticed that I can make connections to the mysql port, even though i don't allow that in my firewall (only allow 22, 53 and 80).  Can anyone see how myslq traffic can get through this: http://rafb.net/p/28mV0w88.html it doesn't make sense ?10:53
Ontologubuntu-8.04.1-server-amd64.iso is the right distro for a Xeon 3065?10:53
sorenOntolog: I imagine so, yes.10:56
thefishwhois [miles]10:56
Ontologwhy is it called "amd"?10:56
thefishOntolog: i reckon you want ia6410:57
sorendusty_: "iptables -A INPUT -p tcp -m state --state NEW -j ACCEPT" seems like a good guess.10:57
Ontologia means intel arch?10:57
sorenOntolog: Hysterical raisins.10:57
sorenthefish: ia64 is Itanium.10:57
OntologXeon != Itanium?10:58
* Ontolog is a hardware noob10:58
thefishdont reckon you want amd for intel10:58
sorendusty_: It's the third rule you apply. It probably somewhat more promiscuous than you want :)10:58
Ontologbut that's what ubuntu.com gives me...10:58
sorenthefish: Yes, he does.10:58
thefishok10:58
sorenamd64 is for x86_64, be it Intel or AMD.10:59
dusty_soren, hrm, what do you mean, that just allows new connections10:59
sorendusty_: Yes... Such as connections to your mysql database.10:59
sorendusty_: ...which is what you didn't want. correct?10:59
dusty_ahh yeah11:00
dusty_so11:00
dusty_that needs to be appended to the output chain not input11:00
dusty_?11:00
Ontologok if I install the 64-bit version, how does that effect software installs?11:00
sorendusty_: I can't say "yes", but it's likelyl.11:00
sorendusty_: I don't know the policy for your network.11:01
Ontologfor example, can if I want to download Apache source and compile and install will I get any nasty surprises?11:01
dusty_ok let me try commenting it out and see if it makes a difference11:01
sorenOntolog: Probably.11:01
sorenOntolog: Why do you want to do that?11:01
Ontologfor my project we are using a custom build of apache11:02
sorenWhat's custom about it?11:02
dusty_ahh sorry i just re-read it, im trying to figure out a way to log properly so i can run some log analysing software11:02
dusty_so i wanted to log all new  traffic blocked or unlblocked11:02
Ontologi know where you are going with this11:02
Ontologno i don't want to use ubuntu's apache11:02
sorenAh. Then -j LOG rather than -j ACCEPT.11:02
sorenOntolog: Then I don't think I understand your question.11:03
Ontologmy question was about compiling and install things from source11:03
sorenAnd I'm also interested in use cases that our apache packages does not serve.11:03
Ontologwell11:03
Ontologin my case, while i love ubuntu, i don't want my project tied to it11:03
sorenOntolog: Could you please state it as an actual question?11:03
dusty_soren, so just these two rules then : http://rafb.net/p/AgBp1388.html11:03
Ontologall the things directly related to my project are installed under /usr/local from tarballs11:03
sorendusty_: You misspelled ACCEPT.11:04
dusty_yes sorry i didnt need that rule anyways just hte bottom one11:05
sorenOntolog: Well, as long as you're prepared to handle the problems inherent in compiling stuff yourself, there's nothing in particular that should make it more difficult to do so under Ubuntu. In fact, I'd bet it's easier than on most other distro.11:05
sorendusty_: Yeah, the last one looks about right (if I understand its purpose correctly, of course).11:06
Ontologthanks my question is not so much about compiling and install from source under ubuntu, i am already doing that, just about the 64-bit OS being a factor11:06
sorenOntolog: I see. That was not very obvious :)11:07
dusty_soren, log all new connections11:07
sorenOntolog: 64-bit Linux installations are so commonplace these days, I wouldn't foresee any problems at all.11:07
Ontologso i can run 32-bit binaries on them?11:07
sorenOntolog: In fact, *all* my systems are 64 bit ones, and I'm perfectly happy with that.11:07
sorenOntolog: Yes.11:07
sorenOntolog: Let me qualify that a bit, though:11:08
sorenThe kernel and CPU will allow you to do so. However, 32 bit applications need 32 bit supporting libraries.11:08
sorenUbuntu provides quite a few 32-bit libraries on 64 bit installations, so it might not be a huge problem, but our Apache's are 64-bit ones, when on 64 bit installations.11:09
soren..so we haven't tested (and are not going to, since it's silly) 32 bit Apache on 64 bit Ubuntu.11:10
sorenOntolog: Still, I'd very much like to know why our Apache does not serve you.11:13
ScottKfoolano: The doc I read was the one in the package that according to the minutes you're looking to get sponsored.12:41
foolanoScottK: that doc was outdated. we dropped the support for VDA a few months ago. Actually, when I was told by you that there was no way we would package postfix with that patch. I didn't sync the install doc at the time. I've just changed it to avoid problems.12:44
ScottKfoolano: OK.12:45
foolanoScottK: I'm also interested in hearing the packages issues in order to fix them asap12:45
foolanos/packages/packaging12:45
foolanoScottK: with the FHS issues maybe you were pointing out the /usr/share/ebox/migration stuff?12:46
ScottKIIRC the thing that initially suprised me as having your config stuff not in /etc, but I only got about 3 hours sleep last night, so I'm sure I'm not entirely coherent today.12:47
ScottKfoolano: One thing I remember is that it didn't appear that removing with purge actually removed your conffiles.12:48
foolanoScottK: configuration is stored in gconf, so when the packaes is removed debhelper takes care of removing the gconf schemas12:50
ScottKOK.12:50
foolanoScottK: i gotta go home now, if you fancy talking about this a bit later or when you get some rest it would nice12:52
foolanosee you later13:00
* ScottK wonders about the suitability of gconf for server apps.13:13
SyntuxGood day, Which control panel would you guys recommend for Ubuntu server ? 8.0413:27
ScottKPersonally I like vim.13:57
jpdsvim FTW.13:57
ScottKkirkland: While asking the user what they want to do when booting degraded makes sense on the desktop, I think it's not very satisfactory for servers.13:58
kirklandScottK: why is that?13:58
ScottKBecause usually when you reboot a server there's no one looking at any u/i.13:59
kirklandScottK: understood...  but if we don't have this prompt, it simply drops you to a busybox prompt14:00
kirklandwhich is no better, or worse, IMHO14:00
ScottKRight.  I just don't want to preclude the ability to automatically boot degraded is that's how the sysadmin has configured it.14:01
ScottKis/if14:01
kirklandthis patch does not preclude that14:01
kirklandScottK: first, BOOT_DEGRADE is read from an /etc configuration file14:02
ScottKkirkland: OK.  That's fine then.14:02
kirklandScottK: that can then be overridden or specified on the kernel boot parameters14:02
ScottKIt just sounded to me like he was proposing that instead of boot degraded.14:02
kirklandScottK: i didn't read it that way14:02
ScottKFair enough.14:03
cokegenhi, I'm running a command with cron but it launches an exim process each time is run. What I need to configure to prevent that ? (debian box)14:26
ScottKcokegen: Probably a question that should be asked on a Debian channel then.14:35
thefishcokegen: i think you can change the MAILTO directive14:38
thefishmaybe to like /dev/null, not 100% sure14:38
thefishbut it will try and email each time a cron job is run14:38
thefishi need a remote server to open an openvpn tun and reopen if its dropped, any suggestions? want it to start on boot. its so i can always reach it even behind firewalls etc14:43
_rubenopenvpn has autoreconnect functionality14:45
thefish_ruben: cool ill look that up14:51
thefishand start it with a rc.x?14:51
cokegenScottK: I will ...14:52
_rubenthe openvpn debian/ubuntu package has a proper /etc/init.d/ script14:52
cokegenthefish: MAILTO directive where ?14:52
gegemaI am currently mounting a network share using "mount -t cifs -o username=foo,password=bar /mnt" >> I am wanting to add this entry to my fstab, which tab would the username and password belog to?14:53
gegemacurrently I have gotten as far as "//network/share    /mountpt       cifs      "14:54
thefishcokegen: in your crontab15:07
thefishgegema: my guess is col4 with the options15:08
sylfirelo all. anyone here using a xen server? having some issues setting it up, bridged networking15:18
trakinashello all! need some help with cronjob. I created one with root, but it is not being executed.15:18
sylfiretrakinas: is your cron service running?15:19
trakinassylfire: almost sure it is, but anyways, how can I check?15:19
sylfire /etc/init.d/anacron restart, if you're using anacron15:20
sylfireno wait, just checked, mine here on a box says cron, so just /etc/init.d/cron restart15:21
trakinassylfire: * Restarting periodic command scheduler crond                           [ OK ]15:22
trakinasso, it was running15:22
sylfiredo you have the format of your cronjob correct?15:22
trakinasi think so. I will pastebin.15:23
trakinassylfire: http://pastebin.us/?show=d3d16bc5d15:24
sylfirechecking15:25
sylfiretry converging the output before you say which logfile to write to15:26
trakinasI dont have a sendmail running and I dont pretend to configure one (Im leaving this place). so I thought about send them to /dev/null. but I guess I you talking about the log only.15:29
sylfireyes, I'm referring to the devnull. Just noted it as "logpath" in my mind, didn't consider the value15:31
trakinashmmm... so, leave it there or should I proper configure one?15:31
sylfiremake it 2>&1 > /dev/null15:32
trakinaslike this? http://pastebin.us/?show=m625f672d15:34
sylfire /root/mondo-backup.sh 2>&1 > /dev/null15:35
trakinasthank you15:42
Quest_any replacement for "knemo" . it shows live network trafic chart/graph ... ?16:27
Quest_any replacement for "knemo" . it shows "live" network trafic "gui" chart/graph ... ?16:30
=== Syntux is now known as Guest50231
=== Syntux_ is now known as syntux
uvirtbot`New bug: #257625 in dovecot (main) "Upgrade to Intrepid : Unknown setting: user_global_uid" [Undecided,New] https://launchpad.net/bugs/25762516:46
jimcooncathi. I'd like a guide or dead-tree book on managing user preferences: establishing sane defaults in /etc/skel, applying a preference to an existing user, migrating between machines, etc.16:52
jmedinajimcooncat: what you mean with «applying a preference»?16:56
jimcooncatjmedina: let's say I want to remove ipv6 stuff from all my users firefox profiles. Maybe this is a bad example.16:58
jimcooncatjmedina: or set default font in gedit for an existing user16:58
jimcooncatI'm really looking for an administrators guide that goes deeper than "how to add or delete a user"16:59
jmedinawell, that depends on the desktok enviroment17:00
jmedinanot really in the user account17:01
jmedinathere is a kiosk thing for KDE, you can do stuff like that17:01
jmedinabut dont know for gnome, I have not used for about 4 years17:01
jimcooncatthanks jmedina. I think there's a gnome equivalent in Hardy, and I'll check it out once I get it installed in a couple of machines.17:03
krautwie starte ich das nm-applet?17:04
jmedinajimcooncat: maybe that can help you, and yap, I remember a few months ago about that feature in gutsy or somthing17:04
jmedinajimcooncat: check this out, http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/desktop-guide/s1-ddg-lockdown-other-kiosk-configs.html17:16
jmedinathere is a lot information about kiosks in gnome17:16
jimcooncatthat's really good jmedina. thanks17:18
jmedinayou are welcome,17:19
jimcooncatI found sabayon stuff on gnome website, and policykit. I think I can run with it now.17:22
dusty_Hey guys I am trying to make a firewall like so: Default deny all unless i specifically allow it.  I allow ssh and DNS (as its a nameserver). Everything else gets dropped, how can i log the 'everything else' that gets dropped.. ? my ruleset so far is: http://rafb.net/p/AhSDIF36.html i know i use -j LOG but do i do it on the policy lines or how would i achieve this ?17:42
ScottKDid you try ufw?  It might be easier to configure that way.17:43
dusty_ufw ?17:43
dusty_No I have not tried that.17:43
ScottKuncomplicate fire wall.17:43
dusty_I rather just use plain ole iptables17:44
ScottKuncomplicated.17:44
dusty_as I only need one rule to log everything that gets dropped17:44
dusty_im just not sure how to do it17:44
jmedinaScottK: so is there a option for ufw to do that?17:44
jmedinanever used ufw, but with shorewall it is an easy task17:44
ScottKI'm not sure exactly.  If one is uncertain with iptables scripts directly, then it's worth looking into.17:45
jmedinawith shorewall I specify my policy for example traffic from the internet to the firewall17:45
jmedinanet    fw     REJECT    LOG17:46
jmedinawhat I see with ufw is that there is no way to filter based on the source and destination17:47
jmedinathey assume all the traffic is comming from the internet17:47
jmedinathere is where is complicated :P17:47
jmedinamaybe it is worth for single interface firewalls, of user firewall17:47
foolanodusty_: as your rules are pretty simple add  a "-j LOG "rule at the end of the each chain17:48
dusty_foolano, like iptables -A INPUT -j LOG17:49
dusty_iptables -A OUTPUT -j LOG17:49
dusty_and same for forward ?17:49
foolanodusty_: yep, like that. Just make sure you add them at the end of the chain17:50
dusty_what do you mean at the end of the chain ?17:50
foolanoif a packet reaches the LOG rule it will be logged, and after that it will be rejected for your chain policy17:50
dusty_what ?17:50
foolanodusty_: run iptables -L17:51
foolanoand you see how your rules are added to the chains17:51
dusty_ah17:52
dusty_sweet, thank you for your help.17:52
foolanonp17:52
dusty_one curious question thought, I can nmap my server using the -PN option and it replies the open correct ports, how can i stop this ?17:55
jmedinadusty_: could you show us the output of nmap?17:55
dusty_ofcourse17:55
dusty_http://rafb.net/p/Huc0qU17.html17:55
foolanowell, that's correct17:56
foolanoyou are allowing access to those ports17:56
dusty_hrm17:56
dusty_is there a way to filter this ?17:56
dusty_or is there a way to foil scanners ?17:56
foolanoehh no17:56
_rubenopened ports are, well, open ...17:56
dusty_heh ok17:56
dusty_one last question, is there anything i can do to improve on the script (my firewall one) for added security bearing in mind that server is just a nameserver with 53/22 open17:59
dusty_?17:59
jmedinadusty, you better improve security on your name and ssh server18:00
jmedinathis kind of firewall only filters traffic, based on ips and ports, and posibly another tcp/ip flags, but doesnt filter maliciuis packets or attacks specific for your applications18:00
jmedinayou can use failtoban to protect dictionary attacs for ssh18:01
jmedinauses public key autentication18:01
ScottKAs an example, you can rate limit ssh to a few connections per minute (or use fail2ban)18:01
dusty_Yeah i'm looking into fail2ban, so this iptables script is pretty pointless then ?18:02
jmedinasad but true18:03
jimcooncatport knocking I hear is fun in these situations18:03
jmedinathat firewall wont protec you agains spoof attacs, for example18:03
jmedinaI prefere to change the port for ssh18:04
jmedina:P and use only public key auth18:04
dusty_yeah18:04
dusty_thats what i am doing public key auth18:04
dusty_i may change the port too18:04
jmedinaall these robots scanning only use tcp/22 as target18:04
dusty_what kinda attacks kind iptables stop then that i can research18:04
jmedinadusty_: but then disable password auth18:04
dusty_passwd auth is dissabled18:05
jmedinathat is good18:05
jmedinadusty_: check your dns for open relay18:05
foolanoare you guys having problems to file bugs in launchpad? i'm getting time out error all the time18:06
jmedinayou can test your dns with http://intodns.com a free and opensource bases dnsreport replacement18:06
jimcooncatjmedina: that's what I'm doing. dusty_, changing the port may help a lot for kiddies that are just looking for any open machine. Not if they're targeting YOU, though18:06
jmedinajimcooncat: yeap, that when fail2ban enters18:07
foolanohey mathiaz, i'm testing the latest slapd and I think I've found an issue with the permissions of /var/run/slapd18:11
dusty_jmedina, how can i check if its an open relay /18:12
dusty_?18:12
jmedinadusty_: intodns can tellyou18:12
jmedinascrolll up18:13
dusty_what?18:14
jmedinathat page18:14
jmedinahttp://intodns.com18:14
dusty_ah sorry18:14
jmedinayou can test your domain, and one of the tests is check if your dns server is open relay18:14
dusty_wtf18:17
dusty_jmedina, check this out: http://www.intodns.com/stoned-hacker.co.uk18:17
dusty_it says the glue records are wrong it says my registar reports one ip and the nameserver another, thats in correct. i just checked at the registrar and the glue records are fine ?18:17
mathiazfoolano: what's the issue ?18:17
trakinasfoolano: i liked your nick. haha!18:17
dusty_For ns1.stoned-hacker.co.uk the parent reported: ['78.129.229.42'] and your nameservers reported: ['78.129.229.25']18:18
dusty_thats intodns18:18
dusty_my registrar:18:18
dusty_is .25 for the ip18:18
dusty_jmedina, im confused and a little worried over this  ?18:19
dusty_ns1.stoned-hacker.co.uk has 78.129.229.25 on my registrar18:19
dusty_where does that site get that info?18:19
jmedinadirectly form the the root servers and your own server18:20
foolanomathiaz: the ldapi socket, that's the unix socket where slapd can listen on. It's usually within /var/run/slapd. There's even a link from /var/run/ldapi to /var/run/slapd/ldapi. /var/run/slapd hasn't the right permissions to allow anyone to connect to the socket.18:20
mathiazfoolano: https://bugs.launchpad.net/ubuntu/+source/openldap2.2/+bug/114438 ?18:22
uvirtbot`Launchpad bug 114438 in openldap2.2 "Permissions for ldapi:// socket are too restrictive" [Undecided,Fix released]18:22
mathiazfoolano: that's supposed to be fixed now18:23
foolanomathiaz: nope, that's not the same. that's bug is related to the file itself. This problem is with the directory permissions18:23
foolanomathiaz: i experienced this issue a couple of days ago. the automatic tests of eBox in intrepid failed. I thought it was just for the new backend but this was a problem too. Unless i'm missing something18:24
mathiazfoolano: ok - could you file a bug ?18:25
mathiazfoolano: I'll get it fixed later, but the archive is frozen for now as we're preparing for alpha418:25
foolanomathiaz: i'm trying :) but it seems lp is a bit busy :)18:25
* jmedina rembers foolano is having troubles filing bugs..18:25
sommermathiaz: hello, I also noticed a small issue with "sudo dpkg-reconfigure slapd", if the /etc/ldap/slapd.d directory is already there the reconfigure doesn't work18:26
foolanoyeo18:27
foolanothat's the nexxt thing i was going to tell you :)18:27
sommerfoolano: :-)18:27
edmoorehi - I'm running server currently without any flavour of gui. Is it as simple as sudo apt-get install ubuntu-desktop?18:29
dusty_jmedina, hrm how do i fix this then ?18:29
dusty_jmedina, its reporting the incorrect ip ?18:30
sommer!servergui18:30
ubottuUbuntu server does not install a desktop environment or X11 by default in order to enhance security, efficiency and performance.  !eBox provides a GUI system management option via a web interface.  See https://help.ubuntu.com/community/ServerGUI for more background and options.18:30
sommeredmoore: ^^^ that link has instructions18:30
jmedinadusty_: why do you have two A recorsd for ns2?18:30
dusty_round robin18:31
edmooresommer, many thanks18:31
dusty_and that machine has two ips so i thought i would make use of them (it doesn't harm things does it )18:31
sommeredmoore: np18:31
edmooresounds like they don't like it18:33
dusty_jmedina, what about the wrong ips for the nameservers i cant see how that can be ?18:34
edmooremost of the guides I've found on sharing my ethernet over wifi seem to assume I have a desktop environment, and I'm sufficiently green at this that i don't know how to do it just with cli18:34
jmedinadusty_: i check it, but probably is getting confues because your round robin18:34
dusty_ah18:34
jmedinaI dont see why the need, maybe for another host but for a NS record,18:34
dusty_ok ill kill it for now18:35
jmedinayou better configure ns3 :)18:35
jmedinadusty_: you should change your SOA time record18:35
dusty_what ya mean ?18:35
jmedinathe SOA retry,, refresh,  expire values18:36
jmedinahttp://verde.e-compugraf.com/jm-confs/bind9/db.ejemplo.com.zone-SIMPLE.txt18:36
dusty_dusty@delerious:~$ host ns2.stoned-hacker.co.uk18:36
dusty_ns2.stoned-hacker.co.uk has address 78.129.229.4218:36
dusty_dusty@delerious:~$18:36
jmedinathat template pass all the checks and works good18:36
dusty_i removed it, looks like its just reading a cached entry18:36
Mezdusty_, 2 IPs for an NS?18:36
jmedinaMez: that is what intodns says...18:36
jmedina:P18:36
jmedinaso do I18:36
Mezthat's not supported in the root servers is it ?18:37
dusty_jmedina, what is wrong with the times i have ?18:37
jmedinathey are to small18:37
dusty_jmazaredo, ok i fixed a couple things: http://www.intodns.com/stoned-hacker.co.uk18:37
dusty_see :)18:37
dusty_just got the other issues to fix now18:38
jmedinadusty_: there is no need to use a RETRY value to small, why send retry each minute?18:38
jmedinawhen the server is up is up, and more retrys wont put it up18:39
Mezlast time I ran a check like that jmedina, it moaned at me cause it couldn't handle the fact I had/have 6 nameservers18:39
jmedinamez, well you are not normal18:40
Mezhttp://www.intodns.com/sourceguru.net18:40
jmedinafor a simple setup it works good, afaik intodns is free, so you can contribute and make it work with 6 nameservers18:41
Mezjmedina, it wasnt intodns that moaned18:41
Mezit was something else18:41
Mezthough it did just flag up something I should check18:42
jmedinagood18:42
jmedinaìntodns is good not too descriptive as dns reports but works fine, I remember dnsreorts tells you why the retry value is considerd bad, and gives you the reference to RFCs18:43
Mezit flagged up bullshit about it not having glue :(18:43
Fenix|workGreetings... quick question... any particular reason as to why these four packages are being kept back when doing an upgrade?         bind9-host dnsutils libbind9-30 libisccfg3018:43
Mez!ohmy | Mez18:44
ubottuMez, please see my private message18:44
MezFenix|work, packages are kept back when the introduce new packages, or remove packages18:44
Mezdo a18:44
Mezsudo apt-get dist-upgrade18:44
jmedinaor you can install them by hand18:45
jmedinayum install18:45
jmedina:O18:45
jmedinadamn18:45
jmedinaaptitude install bind9-host18:45
Fenix|workpackages are kept back when they introduce new packages?18:45
Fenix|work(or remove packages)18:45
MezFenix|work, yeah...18:45
Fenix|workany idea on how to discover which packages they introduce or remove?18:46
MezFenix|work, sudo apt-get -s dist-upgrade18:46
Fenix|worklibdns35 is new18:46
Fenix|workokie dokie, thanks for the info18:47
MezFenix|work, yeah, that'll be the new libversion for the fix18:47
Meznp, glad to help Fenix|work18:47
Fenix|workok... back to overhauling some PHP code...18:48
Fenix|workhey Mez, you over in ##php?18:48
Mezyep18:48
Fenix|workMez, ok, I'll bug ya there18:49
dusty_jmedina, what do you think now of the new soa times, that ok ?19:07
dusty_http://www.intodns.com/stoned-hacker.co.uk19:07
jmedinadusty_: I always use http://verde.e-compugraf.com/jm-confs/bind9/db.ejemplo.com.zone-EXTENDIDA.txt19:08
dusty_thats what i used19:08
dusty_by the way, what does this mean : Different autonomous systems  WARNING: Single point of failure19:08
jmedinabecause probably your nameservers are in the same location19:08
jmedinasame link, same power19:09
dusty_jmedina, also the last blue icon on the output of intodns.com what does that mean, about the www record, why is that bad?19:09
jmedinathere is a single point of failure19:09
dusty_what about the www record ?19:10
jmedinadusty_: it is not bad19:10
jmedinait justs informative19:10
dusty_thanks19:11
dusty_thanks very very much for the help19:11
jmedinadusty_: good19:13
MezSPoF==bad19:23
dusty_Oh yeah, before I go any last suggestions/advice ? (i'm lookin into the rate limiting of connections to ssh, change default port, fail2ban/denyhosts), checked dns config ?19:24
Mezdusty_, "rate limiting"?19:26
uvirtbot`New bug: #257667 in openldap (main) "wrong permissions to access ldapi" [Undecided,New] https://launchpad.net/bugs/25766719:26
Mezdusty_, f2b works well for what you're on about... and changing the default port19:26
Mezif you REALLY wanna be uber though - look into port knocking19:26
dusty_Yeah i've seen that, its not practical, as I access the server from many places and I sometime access it from window environment, with no permission to install software (Work) so i wouldn't be able to install the software required to send the special packet to open to port.19:28
jmedinawhat about a PHPSHELL? jeje just kidding19:30
kirklandkees: ping19:35
Fenix|workWhere do I find the mysql error logs?  /var/log/messages?19:43
jmedinamysql.err19:44
jmedina /varlog/mysql.err19:44
Fenix|work/var/log/mysql.err is empty19:44
jmedinathen mysqld is not configured to log19:44
Fenix|workyet mysql won't start19:44
jmedinawhere you got more info19:45
jmedinahttp://dev.mysql.com/doc/refman/5.0/en/log-files.html19:45
jmedinammm19:45
jmedinawhy dont you start it by hand?19:45
Fenix|workok, I rebooted and it started19:45
poningru...19:45
poningruFenix|work, /etc/init.d/mysqld restart19:45
poningruin linux you dont reboot19:46
jmedinaonly when compiz crash your system19:46
jmedina;P19:46
Fenix|workponingru, I'd love to say something derogatory and somewhat funny but I'll refrain :)19:46
poningruin soviet russia linux reboots you?19:46
Fenix|work/etc/init.d /mysql restart didn't work at all, kept dying... hence the reboot trick which incidentally worked.19:46
poningruwtf weird19:47
poningruwhat did it say?19:47
poningruit should have said why it was dying19:47
Fenix|workbesides fail, nothing19:47
Fenix|workI was getting a kernel message about mysqld.sock ... but nothing from mysql19:48
poningruwhat did that say?19:49
poningruwas there a socket creation error?19:49
Fenix|workponingru,  kernel: [1053396.176660] audit(1218651725.013:10): type=1503 operation="inode_mknod" requested_mask="w::" denied_mask="w::" name="/var/chroot/var/run/mysqld/mysqld.sock" pid=8013 profile="/usr/sbin/mysqld" namespace="default"19:50
poningruhuh that is odd19:50
jmedinaFenix|work: apparmor running?19:51
jmedinaor selinux?19:51
jmedinaFenix|work: did you chrooted mysqld by hand?19:52
Fenix|workI'm chrooting my entire apache environment and I did it by hand19:52
jmedinawhat about selinux/apparmor19:53
Fenix|workneither19:53
jmedinammm19:53
Fenix|workHmmm... if I connect using the loopback address I can eliminate the need to have the socket available through the jail root19:55
Fenix|workthat saves a headache19:56
jmedinayeap that is much better19:58
jmedinaand my.cnf by default binds to 127.0.0.119:58
uvirtbot`New bug: #257682 in bind9 (main) "dig compiled without -DDIG_SIGCHASE!" [Undecided,New] https://launchpad.net/bugs/25768220:07
dusty_hey jmedina http://rafb.net/p/FucSMY32.html what do you think about those ?20:48
* sommer wants a stock ticker displayed when logging into servers... heeeh20:55
dusty_anyone good with iptables ?21:00
dusty_Could you check out: http://rafb.net/p/FucSMY32.html and give me opinions/comments/advice ?21:01
jmedinaI always put my OUTPUT to REJECT and INPUT21:01
jmedinaand open only the ports I want to reach21:02
jmedinamy policy is REJECTo DROP, and then the exceptions (rules) open ports I the server needs21:02
dusty_yeah i know that, what do you think to my ruleset though, specifically /21:04
dusty_?21:04
dusty_i only interested in 22 5321:04
jmedinaI would open udp/53 only to your slave servers, or user allow-transfers { ip.slave.server}; in you zone definition21:05
jmedinaI meant TCP/5321:05
jmedinaudp open for any21:06
_rubentcp/53 is also used for 'normal' dns stuff21:08
_rubenlarge answers will use tcp instead of udp21:08
jmedina_ruben: any reference for that?21:09
dusty_jmedina, i do have allow-transfers, but if i restrict port 53 udp to my slaves then queries wouldnt get through ?21:11
_rubenjmedina: nothing concrete from top of my head .. do have a book on dns/bind at work .. afaik any dns packet above a specific given type will be tcp instead of udp21:12
=== PrivateVoid is now known as PV_Away
kirklandkees: would you review/sponsor the patch attached to https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/257568 when you get a chance?22:08
uvirtbot`Launchpad bug 257568 in mdadm "degraded raid boot process should interactively prompt user before dropping to recovery shell" [Wishlist,In progress]22:08
ScottKkirkland: Don't forget Main is frozen until after the Alpha release (plus kees is at Debconf).22:13
kirklandScottK: understood on both counts; however, kees has been helping/sponsoring these grub issues.22:15
ScottKRight, just wanted to make sure you had reasonable expectations.22:15
dusty_http://rafb.net/p/61SvtD29.html Is that the correct way to log using iotables ?23:20
jmedinadusty_: yeap23:22

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