/srv/irclogs.ubuntu.com/2007/06/26/#ubuntu-server.txt

=== TQ_ [n=neron@87.120.64.44] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== dan325 [n=root@h-74-0-1-138.dllatx37.covad.net] has joined #ubuntu-server
dan325My Ubuntu 6.06 server suddenly quit recognizing my usb printer.  I am getting "usb 1-1: device descriptor read/64, error -110" messages in /var/log/syslog and the printer does not show up in lsusb.  It was working just fine last week.01:12
leonelbad  hw ?01:20
=== mralphabet votes bad hardware
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server
=== hyphenex [n=scott@60-241-114-45.tpgi.com.au] has joined #ubuntu-server
hyphenexWhere can I find a list of packages that are in the Ubuntu server?03:52
=== Echoside [n=tylor@71-87-62-175.dhcp.stcd.mn.charter.com] has joined #ubuntu-server
hyphenexI can't?03:55
=== madman91 [n=greg@unaffiliated/madman91] has joined #ubuntu-server
EchosideAnyone know of any opensource streaming software? I want to start a internet radio stream but cant find any decent program.04:05
=== Echoside [n=tylor@71-87-62-175.dhcp.stcd.mn.charter.com] has left #ubuntu-server ["Leaving"]
=== Felarin [n=sean@ntsvr1.abs.org.sg] has joined #Ubuntu-server
=== eljak [n=eljak@194.126.31.51] has joined #ubuntu-server
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
ivokshello09:07
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server
shawarmamorning, ivoks!09:14
=== ||arifaX [n=||arifaX@inetpop1.witron.de] has joined #ubuntu-server
ivoksi'll try to join you on bugday, but i have exam tomorrow (and today), so i'm not sure how much i'll be able to do09:19
shawarmaFair enough. Remember that bug day is all of wednesday in every timezone, so it actually starts in about 5 hours and ends 48 hours after that :)09:21
shawarmaivoks: Good luck with your exams, though.09:22
ivoks:)09:22
ivoksthanks09:22
shawarmaivoks: Anything interesting?09:23
ivoksyeah, i just discovered vimperator plugin for firefox :)09:25
ivoksmakes firefox usable :)09:25
shawarmaI meant your exams :)09:25
ivoksah... roads crossings is one, and other is canals and sewage :)09:25
shawarmaUh.. What are you studying?09:26
ivokscivil engineering09:26
shawarmaI see. Heh.. I assumed some sort of computer science :)09:26
ivokshehe no, i 'middle school' was about electronics09:27
ivoksthat's where i discovered linux, back in '97.09:27
ivokswhat about you? except linux2go...09:30
shawarmaFinished high school in 2000, worked as developer/sysadmin for 5 years, university (math/computer science) for two years, and now Canonical.09:32
shawarmaLinux since... '96, I thin.09:32
ivoksnice09:32
=== stephanbuys [n=stephanb@gw.impilinux.co.za] has joined #ubuntu-server
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server
=== lionel_ [n=lionel@ip-211.net-81-220-127.rev.numericable.fr] has joined #ubuntu-server
crummygummy_Hiya, if I need to make changes to my my.cnf file should I put it in /etc/default/mysql? I remember Ivoks mentioning that the other day and I just want to confirm that it'll work.10:22
shawarmaIf you want to change my.cnf, you should change my.cnf ?10:24
coNPcrummygummy_: I guess you should10:25
coNPmaybe keeping a backup copy is a good idea10:25
crummygummy_Thanks, I'll give it a stab...10:26
=== crummygummy_ is scared that playing around will break replication.
crummygummy_shawarma, So it won't work. I'm just looking at avoiding a few of the disasters I've had in  the upgrade for future upgrades. It seems that keeping my changes in the /etc/default/* is the way to go. Is that right. Does that count for mysql?10:34
shawarmaFiles in /etc/default/ are generally considered configuration files and hence will not be overwritten without your consent.10:35
crummygummy_so mysql doesn't make use of this?10:36
shawarmawhat?10:37
shawarmaI'm totally not understanding any of this.10:37
shawarma:)10:37
=== crummygummy_ reaches for his coffee.
shawarmaYou say that you want to change my.cnf, but put those changes into /etc/default/mysql... Next you say "So it won't work"...What won't work? Why do you want to any changes you want to do to file foo into file bar?10:38
shawarmaAnd what do you mean by "mysql doesn't make us of this"? Of what? 10:38
crummygummy_K, I'll try be more clear.10:39
crummygummy_When you put changes into /etc/default/mdadm those changes get propogated through to /etc/mdadm/mdadm.conf. right?10:40
coNPI guess not 10:42
coNPthere are configuration options that can be edited in /etc/default/* and others that cannot 10:42
coNPso there is no consistency10:43
crummygummy_I'm just trying to find out if mysql is one of those packages. I pressed one wrong button in the upgrade and my configuration got over written.10:43
coNPis there no backup with a suffix that contains "dpkg"?10:44
crummygummy_Yes there is but I didn't know to look for it so I copied the my.cnf from the slave and altered it.10:46
crummygummy_Heres a quote from my irc log10:48
crummygummy_Jun 13 18:07:47 <ivoks> CrummyGummy: great10:48
crummygummy_Jun 13 18:07:59 <ivoks> CrummyGummy: just, don't add stuff to my.cnf10:48
crummygummy_Jun 13 18:08:09 <ivoks> CrummyGummy: add it in files in /etc/mysql/conf.d/10:48
crummygummy_Jun 13 18:08:27 <ivoks> CrummyGummy: it makes upgrade of packages easier, *a lot*10:48
crummygummy_I was just trying to confirm if this was correct.10:48
coNPI am not a mysql expert10:50
coNPbut seems true10:50
shawarmacrummygummy_: It says "/etc/mysql/conf.d/"10:59
shawarmacrummygummy_: There's no mention of /etc/default anywhere.10:59
crummygummy_stupid me.... So, I need to make a /etc/mysql/conf.d/my.cnf and put in all my changes?11:04
shawarmaJust /etc/mysql/conf.d/somenamethatmakessensetoyou11:05
crummygummy_K, I'll try that. Thanks.11:09
=== lionel [n=lionel@ip-211.net-81-220-127.rev.numericable.fr] has joined #ubuntu-server
=== stephanbuys [n=stephanb@gw.impilinux.co.za] has joined #ubuntu-server
=== Nicke_ [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server
crummygummy_shawarma, Sorry, stupid question. does the above somenamethatmakessensetoyou file get used on installation or is it sourced on startup?11:42
shawarmacrummygummy_: It's just like putting stuff into /etc/mysql/my.cnf11:43
crummygummy_Awesome, thanks.11:44
crummygummy_k, well that didn't work at all.11:47
crummygummy_can there be multiple files there?11:47
shawarmaSure. That's the entire point.11:51
crummygummy_The perms are right and the file format looks right. Its still not working though. Where is the line that tells it to source this dir?11:57
shawarmaLast line of a /etc/mysql/my.cnf11:57
shawarma!includedir /etc/mysql/conf.d/11:57
shawarmaWhich version are you on?11:58
crummygummy_mysql-server/feisty uptodate 5.0.38-0ubuntu111:58
crummygummy_But I prolly didn't let it over write my config because of my own stuff being there.11:59
crummygummy_shawarma, How do I extract the default config?12:04
shawarmacrummygummy_: What are you looking for?12:06
crummygummy_the default my.cnf. 12:08
=== lionel_ [n=lionel@ip-211.net-81-220-127.rev.numericable.fr] has joined #ubuntu-server
=== bje [n=bje@tsogang.networkgods.net] has joined #ubuntu-server
bjehi - anyone able to tell me what magic foo I need to do, to make a 2.6.20 (i386) kernel netbootable? I would like to install Dapper 6.06 LTS, but my LSI RAID controller is not supported in <2.6.20.  I've tried mkinitramfs, and setting BOOT=nfs, and MODULES=netboot - am I on the right track?12:12
`6ogi dont understand the question12:14
bjeOK. I am trying to install Ubuntu Dapper. Because it's an LTS release.  My RAID controller is not being picked up by the installation.12:15
bjeI found that Feisty's kernel (2.6.20) supports my RAID controller.  I would like to now make a initrd.gz archive of the 2.6.20 kernel (that detects my hardware), so that I can use that for my kickstart installation.12:16
`6ogi dont know aobut building kernels, but i susepct you can find a good tute on the forums12:18
=== directhex|work [n=jms@osc-bigmac.oerc.ox.ac.uk] has joined #ubuntu-server
directhex|workshawarma, IMHO, what ubuntu server needs is a kernel that works on, well, servers. in the end I had to abandon a dapper deployment because it had no adequate support for the jan-2007 hardware we had bought12:36
shawarmadirecthex|work:  Yeah, that's a problem. We're aware of it. Of course it doesn't help you much but the next LTS will have infrastructure to take care of this (backporting of drivers for important hardware).12:38
directhex|workshawarma, and #98979 ?12:39
shawarmadirecthex|work: In gutsy there's already a linux-backport-modules-kernelversion-abi-flavour12:39
shawarmaFixed.12:40
shawarmaWell, not in dapper.12:40
shawarmaI remember talking to the kernel dudes about it a while ago. I don't exactly remember the outcome, though.12:40
directhex|workshawarma, as you say, a little late for us. the irony is i started this project building on top of sarge, then moved to dapper for exactly the same reason we dumped it12:40
shawarmaSince edgy, we include *all* block device drivers in the initrd.12:40
directhex|workhence using etch. it's all about the hardware support12:41
shawarmaYeah. Without hardware support, the software doesn't matter much.12:42
directhex|workwhy was the linux-image-2.6.15-50-foo kernel abandoned? it was an improvement12:43
directhex|workat least it contained a working megaraid_sas.ko and bnx2.ko12:43
shawarma-50 ?12:43
directhex|workit's super secret!12:43
shawarmaIt must be :)12:44
shawarmaI don't track git, but the most recent uploaded version has ABI version 28.12:44
directhex|workhttps://launchpad.net/ubuntu/+source/linux-source-2.6.15/2.6.15-50.6112:44
shawarmaAnyhow, /me -> lunch.12:44
directhex|workuploaded 2007-01-2312:44
shawarmaWhat the...12:45
directhex|workt'is abandoned, as far as i can tell. it worked with modern hardware, but someone got bored & went home12:45
shawarmaAh, yes, there it is.12:45
shawarmaIt's still in proposed. It  probably lacks testing.12:45
directhex|workthere have been three subsequent security updates. and since nobody bothered with -restricted-modules for it, it's non-trivial for many people to test12:46
shawarmaYou need restricted drivers on your servers?12:47
shawarmadirecthex|work: The kernel guys are on US time, so you can ask them in #ubuntu-kernel in about 5-6 hour's time if you care enough. :) I'll probably poke them about it too.12:48
directhex|workno. but without restricted being available, linux-meta gets confused, and it starts getting rather painful to make an installer out of the thing12:48
shawarmadirecthex|work: Ah, right.12:48
directhex|workyou're also rather restricted on the number of people who can test your kernel if you restrict it to server-only12:48
=== shawarma really goes to lunch now.
shawarmadirecthex|work: Sure, good point.12:48
directhex|workignore me! go eat lunch!12:48
bjehah, explains pretty much the shit I'm having right now.01:04
bje*sigh*01:04
=== TeTeT [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server
=== `6og [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server
=== lionel_ [n=lionel@ip-211.net-81-220-127.rev.numericable.fr] has joined #ubuntu-server
=== sommer [n=sommer@cpe-075-183-108-021.triad.res.rr.com] has joined #ubuntu-server
=== gissi [n=silvio@32.104.18.240] has joined #ubuntu-server
=== stratus [n=stratus@201.53.55.52] has joined #ubuntu-server
=== jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server
=== mathiaz [n=mathiaz@bas14-montrealak-1177841807.dsl.bell.ca] has joined #ubuntu-server
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
=== mossholderm [i=c09a5be1@gateway/web/cgi-irc/ircatwork.com/x-bbefde817e1ce3b7] has joined #ubuntu-server
mossholdermHey... I have a bug that might be worth looking at for the bug day... it is currently misfiled under heimdal... Bug #9979504:00
mossholdermBascially , the libldap2 package points to a different ldapi socket than libldap-2.3.004:01
shawarmaRight.04:03
mossholdermCan we get it moved under openldap, rathern than heimdal, so that it gets noticed?04:03
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== Felarin [n=sean@cm33.sigma192.maxonline.com.sg] has joined #Ubuntu-server
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
=== crummygummy_ [n=CrummyGu@dsl-242-21-182.telkomadsl.co.za] has joined #ubuntu-server
=== Felarin [n=sean@cm33.sigma192.maxonline.com.sg] has joined #Ubuntu-server
bjeOther than ubuntu-server@lists.ubuntu.com, what's another good list to post server related questions to?05:04
Burgundaviadevelopment or help?05:07
=== lcdd [n=lucid@a88-114-49-98.elisa-laajakaista.fi] has joined #ubuntu-server
mathiazmossholderm: I think the latest version of the ldap package has a fix for the bug.05:11
bjeBurgundavia: help05:13
Burgundavia-users can sometimes05:13
mossholdermmathiaz - latest for feisty, or do you mean in gutsy?05:17
mathiazmossholderm: in gutsy05:19
mossholderm'k, thanks!05:19
=== leonel [n=leonel@189.155.105.203] has joined #ubuntu-server
=== Bambi_BOFH [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
=== gissi [n=silvio@32.104.18.240] has joined #ubuntu-server
=== lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server
=== leonel [n=leonel@189.155.105.203] has joined #ubuntu-server
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server
=== sacater [n=sacater@ubuntu/member/colchester-lug.sacater] has joined #ubuntu-server
=== roottoor [n=ubuntu@c-69-252-204-207.hsd1.nm.comcast.net] has joined #ubuntu-server
roottoorHi all07:06
=== sahafeez [n=sahafeez@67.109.14.227.ptr.us.xo.net] has joined #ubuntu-server
roottoorAny one here know ho I can setup my server to email me logs to like a gmail account07:11
roottoorso i can monitor them ?07:11
coNProottoor: try to install logwatch a / o logcheck07:15
jdstrandroottoor: install logcheck and setup your mailserver to forward to a smarthost07:15
jdstrandroottoor: by s/mailserver/server/07:15
coNPthere is no need for a smarthost, it is enough either to setup logcheck  or to edit /etc/aliases07:16
jdstrandhmm... I remember having to tweak exim in order to get it to work, maybe I am remembering wrong07:17
roottoorSo than I have to have a mail server setup to do that ?07:18
coNPyou can edit  SENDMAILTO="root" line in /etc/logcheck/logcheck.conf07:18
coNPoh you are right, you need an smtp server07:19
coNPbut I guess exim is installed by default07:19
jdstrandroottoor: it doesn't have to be a full on mail server that sends and receives mail, just one capable of forwarding email to your ISP or gmail account07:20
roottoorok so I need a smtp server. Postfix or sendmail will do that will it not ?07:20
jdstrandabsolutely.  If all you want to do is forward, you may want to try ssmtp.07:21
roottoorssmtp ?07:21
jdstrandapt-get install ssmtp (its in universe)07:22
roottoorok thats done07:22
roottoorNow do I install postfix or sendmail or both ?07:23
jdstrandneither.  man ssmtp07:24
jdstrandit will simply get mail off this system and send it to a system that knows how to take care of it.07:24
roottoorok07:25
roottoornow all I do is set a cron for the logs ?07:26
jdstrandif you are using logcheck, that will happen automatically07:26
roottoorthey work together ?07:26
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
coNPyes logcheck has also a cron entry that checks for logs and sends email about the most relevant parts07:27
jdstrandneeds an smtp server to work, and ssmtp fits the bill07:27
=== Burgundavia_ [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
roottoorok07:28
roottoorI think I understand now07:28
roottoorso now i have to edit the confige file of logcheck correct ?07:29
jdstrandyes07:29
coNPnot necessarily07:29
jdstrandwell-- that or aliases07:29
coNPit might be a good idea to forward all mail that your root receives to a mailbox you will actually read07:30
roottoor/etc/aliases ?07:30
coNPthat can be done with and appropriate /etc/aliases entry07:30
roottoorok07:30
roottoorwhat exactly do I enter i have that  file open now07:31
jdstrandsomething along the lines of:07:32
jdstrandroot: username,someone@isp.com07:32
jdstrandthen run newaliases07:32
jdstrandwill go to local mailbox for username as well as being sent off to someone@isp.com07:33
roottoorwhen I run  sudo -u logcheck logcheck it tells me "Can't send mail: sendmail process failed with error code 1"07:34
roottooralso when i ran "newaliases" it told me "newaliases: Aliases are not used in sSMTP"07:34
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
jdstrandah-- that's right-- ssmtp doesn't do aliasing.  sorry.  Let me look at something...07:38
roottoork 07:39
roottoorno worries07:39
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
shawarmamathiaz: I've had an idea how we can handle the configuration files really easily with ebox..07:44
roottoorssmtp: Cannot open mail:2507:45
roottoorthats the error i get now07:45
jdstrand'mail' needs to be a resolvable hostname07:45
roottooroh07:46
shawarmamathiaz: In a perfect world, the admin should be able to edit the config files and have ebox gracefully handle that (some sort of config file merging of sorts)..07:46
shawarmamathiaz: In the almost-perfect world (this one) we'll just put in a HUGE comment at the top that "THIS FILE WAS AUTOGENERATED. IF YOU EDIT IT, YOUR CHANGES *WILL* BE LOST. INSTEAD PUT YOUR CHANGES INTO <the name of the template>!"07:47
shawarmamathiaz: Now I just have to figure out how we handle it if the user changes the templates and the templates are changed on an upgrade of ebox..07:48
shawarmamathiaz: But I think the reference to templates will fulfill almost every need. We could even move the templates into /etc with a .tmpl suffix so they're even more obvious.07:49
Burgundaviafrom an admins perspective, that makes sense07:49
shawarmaI am so clever.07:49
BurgundaviaI bite my tongue07:49
shawarmaOn purpose?07:49
shawarmaThat's just silly.07:49
Burgundaviayes, on purpose07:50
shawarmaWas it all you hoped it would be?07:50
=== nealmcb LOL
Burgundaviait was bloody and slightly salty07:51
Burgundaviaalthough almost, but nothing like a real meal07:51
nealmcbshawarma: the user would also be warned on upgrade about template changes, assuming they are marked as config files, right?07:51
shawarmanealmcb: Yes.07:51
nealmcbBurgundavia: yeah - in that case you have to calculate _net_ calories...07:52
shawarmanealmcb: It it were me (and it's going to be) I'd be annoyed, but I guess it's manageable.07:52
Burgundavianealmcb: thankfully, I am not on a diet07:52
Burgundaviaanyway, back in flash, kernel reboot07:52
shawarmaOnly kernel?07:52
shawarmaSpiffy.07:52
nealmcbshawarma: it's only a reboot of the flash kernel :-)07:53
shawarmaAh.07:53
jdstrandroottoor: make sure you have /etc/ssmtp/ssmtp.conf setup correctly.  Then do 'echo test | mail -s test1 someone@isp.com' (where someone@isp.com is your email address), then check /var/log/mail.log for success or not.07:53
jdstrandroottoor: once you have that going, you can modify logcheck.conf to use that email address.07:54
roottoorok ill check it now07:54
jdstrandroottoor: this is working fine here.  You might try this for using with gmail: http://forums.gentoo.org/viewtopic-t-412468.html07:55
jdstrandroottoor: don't have a gmail account07:55
roottoorok i followed that07:59
roottoornow to test it do I run echo test | mail -s test1 someone@isp.com'08:00
jdstrandyep-- where someone@isp.com is probably your gmail account08:00
=== TQ_ [n=neron@87.120.64.240] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
roottoorit works !!08:05
roottoornow08:05
roottoorI got a email from logcheck08:05
roottoorbut than it sent anothe email right from the mailer deamon08:05
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
roottoorDelivery to the following recipient failed permanently:08:06
roottoor   postmaster@static.belkin08:06
roottoorTechnical details of permanent failure:08:06
roottoorPERM_FAILURE: DNS Error: Domain name not found08:06
roottoorI dont know what is wrong08:06
jdstrandroottoor: are you saying that the echo worked but the logcheck didn't?08:06
roottoorno it did08:07
roottoorI got the log08:07
roottoorbut I got a email from the mailerdeamon at the same time I recived the log check08:07
=== ivoks [n=ivoks@3-147.dsl.iskon.hr] has joined #ubuntu-server
jdstrandroottoor: you had previously had ssmtp setup incorrectly with gmail-- when you were testing ssmtp to get it to work right, those things got logged.  logcheck ran, and told you about it.  check the timestamps.  It should verify what I am saying.08:08
roottoorok08:08
roottoorlet me loog08:08
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
jdstrandlogcheck reports any anomolies it finds since the last time it ran08:09
jdstrandanomalies08:09
Burgundaviaok, I hate NM right now08:09
jdstrandroottoor: keep in mind, coNP was right about it being useful to have local mail go to a particular user.  If the network connection is down, then you lose that mail.08:14
jdstrandroottoor: ssmtp can be very useful, but know that it has limitations.08:14
roottoorthe first line in ssmtp.conf says "The person who gets all mail for userids < 100008:15
roottoor# Make this empty to disable rewriting."08:15
roottoordo I make that my gmail email or a name ?08:15
roottoor"root=blah@gmail.com"08:16
roottooror just make it a name like "root=blah08:16
roottooralos08:18
roottoorwhere do i add my eamil in logcheck.conf there isnt a line for it08:19
roottoornvm08:19
roottoori found it08:19
roottoor:)08:19
roottoorOk08:21
Burgundaviashawarma: shiny with the ebox stuff08:21
roottoorIs there a way to gen a report about the logs now to test it08:21
shawarmaBurgundavia: The config handling bit?08:22
Burgundaviaeverything08:22
Burgundaviait is all very shiny08:22
=== sacater [n=sacater@ubuntu/member/colchester-lug.sacater] has joined #ubuntu-server
Burgundaviaand now I need to go to lunch08:22
shawarmaBurgundavia: Alright. ttyl08:22
jdstrandroottoor: sudo /etc/cron.d/logcheck08:22
=== TQ__ [n=neron@87.120.64.86] has joined #ubuntu-server
roottoorsays command not found08:28
ivokssudo?08:30
jdstrandroottoor:  sorry /etc/cron.daily/logcheck08:30
jdstrandroottoor: no it is /etc/cron.d/logcheck08:31
jdstrandjdstrand: hrmm...08:32
jdstrandsudo -u logcheck /usr/sbin/logcheck -R08:33
jdstranddoing too many things at once...08:33
mathiazshawarma: for the configuration file in ebox: it seems a good idea to me.08:34
mathiazshawarma: I think ipcop does the same way. As long as the pointer to the template is kept up-to-date, it should be good.08:35
mathiazshawarma: how are the template written ?08:35
shawarmamathiaz: Magically.08:36
mathiazshawarma: what's the template engine used ?08:37
mathiazshawarma: I think it was perl-template08:37
shawarmaMason08:37
mathiazshawarma: is it intrusive ? the template file should be really close to the orginal file.08:37
roottoorthat last command worked08:38
shawarmaIt is *very* close.08:38
roottoorsudo -u logcheck /usr/sbin/logcheck -R08:38
mathiazshawarma: so that sysadmin to have to learn yet another config langage08:38
shawarmaIt has a header that declares the variables, and then it's just a matter of putting something like <% Port %> in where you want the value of the port attribute.08:38
roottoornow does that mean that it is inthe cron for daliy ? or horly or is it not in there at all08:39
shawarmamathiaz: I think it's very, very straightforward.08:39
mathiazshawarma: and what if the sysadmin still change the config file ?08:39
mathiazshawarma: eg, he could follow a tutorial 08:40
mathiazshawarma: and copy files around.08:40
mathiazshawarma: and when ebox is run, it overrides everything.08:40
mathiazshawarma: I still think ebox should warn if the target configuration files has some modifications.08:40
mathiazshawarma: but there is no point in trying to merge things automatically.08:41
roottoorjdstrand: now how do I add it to the cron08:42
mathiazshawarma: for the case of an upgrade of ebox, well it's exactly the same problem.08:42
mathiazshawarma: instead of using to ebox to handle local modifications, the debian packager is responsible for handling local modifications08:43
jdstrandroottoor: it is already there08:43
roottooroh08:43
jdstrandlook in /etc/cron.d/logcheck to prove it to yourself08:44
mathiazshawarma: the difference between the two is that the debian packager already has the infrastructure to handle local modifications of configuration files.08:44
roottoornow is this just sending me the auth log or syslog ?08:44
jdstrandman logcheck08:45
jdstrand/etc/logcheck/logcheck.logfiles is the list of files to monitor08:45
shawarmamathiaz: Sure. I've just never found that particular solution very elegant. I haven't got a better idea, it just always felt kind of kludgy.08:47
shawarmamathiaz: wrt to the admin following a tutorial:08:47
roottoorCool08:48
shawarmamathiaz: I think that ebox itself removes the need for most tutorials.08:48
roottoorThanks to all08:48
shawarmamathiaz: So.. Well, I don't think the problem will be very big.08:49
jdstrandroottoor: np08:49
mathiazshawarma: It's true that ebox is supposed to handle most of the situation.08:49
mossholdermshawarma - just curios... are you talking about this ebox?   -> http://ebox-platform.com/08:49
mathiazmossholderm: yes08:49
shawarmamossholderm: Yes.08:50
mathiazshawarma: if ebox cannot be used to configure a specific aspect of the system08:50
mathiazbut still be used for another aspet08:50
mathiazit would be great to support that scenario.08:51
mathiazExample: ebox can manage ldap user accounts and information.08:51
mathiazand the end user wants to use it because it does the job.08:51
mathiazbut the ldap server requires the usage of ssl.08:52
mathiazso an experience sysdamin changes the configuration file on the server to support secured ldap, but the end user still wants to use ebox to manager user accounts08:52
mathiazebox should be able to handle that kind of scenario.08:53
shawarmamathiaz: end user == admin08:53
mathiazshawarma: yes and no.08:54
mathiazshawarma: in the above scenario, the end user is a junior admin08:54
mathiazshawarma: he asks/hires a more experienced admin to make his server work08:54
mathiazshawarma: once the server works in the environemnt there is no need to have the experienced sysadmin around08:55
mathiazshawarma: the junior admin/end user uses ebox for his day-to-day management08:55
dendrobatesshawarma: that is a very common use case, a "unix engineer" configures the box, but the access control team adds and removes users. 08:56
ivoksright, i get those kind of request every day :/08:56
mathiazI used the ldap example because I had to deal with that08:56
mathiazthere is no good ldap admin tool to manage users.08:57
ivokssame is with mail; set up a mail server and end-user wants to add/remove users08:57
dendrobatesbut that leans more towards role-based access control.08:57
mathiazbut samba could be use as another example08:57
shawarmaUm.. I'm not entirely sure that fits in our use case anyway.08:58
dendrobatesA user should have certain privileges based on that users role.  be it system admin or operator, or auditor.08:58
shawarmaWe're providing this for small businesses mostly.08:58
dendrobatesshawarma: that is what I am saying, that belongs as apart of a larger initiative later, if we do role based access, which I hope we do.08:59
shawarmaBesides, if the use case, you're suggesting is "some more knowledgeable dude stops by and sets new, shiny stuff up", then he should be able to spot the huge warning about the config file getting overwritten.09:00
shawarmaIf not, he should at least notice during his testing.09:00
shawarmaIt's next to impossible to safe guard against knowledgeable, but ignorant users. Especially those with the root password.09:00
mathiazshawarma: that's right. I agree that the warning in the configuration file and the pointer to the template file may be enough09:00
shawarmas/ignorant/unattentive/09:01
shawarmadendrobates: ebox will learn role based access stuff relatively soon.09:01
shawarmadendrobates: If not for gutsy, then at least for gutsy+1.09:01
mathiazshawarma: but I still think that ebox should not overwrite files that have local modification without warning the user09:02
dendrobatesshawarma: shawarma: s/knowledgeable/privileged/09:02
shawarmamat..09:03
shawarmaoh.09:03
dendrobatesshawarma: is ebox at a state where I can look at it?09:03
shawarmadendrobates: Almost, but not quite. I'll demo it at the sprint next week.09:04
shawarmadendrobates: You may be able to get a sneak preview before then.09:04
lcddthis ebox seems much like webmin09:04
dendrobatesshawarma: is it this? http://ebox-platform.com/  09:05
shawarmadendrobates: I'll upload some new packages to my ppa later tonight, I think. You can grab them from there, but (standard disclaimer) DO NOT INSTALL IT ON A SYSTEM YOU CARE ABOUT. IT *WILL* EAT YOUR DATA.09:05
shawarmadendrobates: Sure is.09:05
shawarmadendrobates: Shiny, huh? :)09:05
dendrobatesshawarma: I don't care about any of my systems.  Bring it on. ;)09:06
ivokslooks very nice (much better than webmin :)09:06
shawarmawebmin, how I loathe thee.09:06
ivokswe all do09:06
lcddi've never heard or seen anyone actually use webmin, even though it has been around for a while09:07
=== mralphabet used it on slackware
dendrobatesThere have been major security issues with webmin, I would be afraid to touch it.09:08
shawarmamralphabet: I think that's were I used it too. That's double pain!09:08
shawarmadendrobates: ..except with an axe or a huge magnet, of course.09:08
mralphabetshawarma: I enjoyed slackware, nice and straightforward most of the time09:09
dendrobatesshawarma: were you working on ebox before you started at canonical?09:10
shawarmamralphabet: Yeah. Just like a rusty spear coming right at you.09:10
mossholdermshawarma - I have been working on integrating a few of the same components into a feisty derivative , but am not nearly as far along as ebox... one thing I came across that was useful was using heimdal-kdc, in addition to openldap, with the smbk5pwd openldap module to get single-signon working 09:10
shawarmadendrobates: Nope.09:10
mralphabetshawarma: hah09:10
shawarmamossholderm: Yeah. I'm hoping to add kerberos support, too.09:11
dendrobatesWe need to do alot of kerberos/auth type of work.09:12
dendrobatesIt's the area that Ubuntu is really lacking.  09:12
mossholdermI'll send you a link to my notes, there are a couple of things that take some beating to get working09:12
jdstrandshawarma: is the plan to have ebox be a part of ubuntu server?09:12
shawarmajdstrand: optional part, of course, but yes.09:13
jdstrandshawarma: and this is webmin-like in that it runs on a webserver?09:13
shawarmajdstrand: You're not going to get it if you don't want it.09:13
shawarmajdstrand: Yes.09:13
mossholderme.g. the bug I asked about earlier, and the bug in heimdal-kdc that makes password changes not work when the account is also a samba account09:13
jdstrandshawarma: i understand-- I was just trying to see what it does because I haven't seen it before.  So it does modifications to the local machine only?09:14
shawarmajdstrand: Currently, yes.09:14
shawarmajdstrand: There's multi-server support on the roadmap somewhere.09:14
=== sacater [n=sacater@ubuntu/member/colchester-lug.sacater] has joined #ubuntu-server
jdstrandshawarma: how many canonical employees are working on it?09:15
shawarmajdstrand: Just one.09:15
shawarmajdstrand: At the moment.09:15
shawarmajdstrand: I can manage it.09:15
=== mathiaz [n=mathiaz@bas14-montrealak-1177841807.dsl.bell.ca] has joined #ubuntu-server
jdstrandjdstrand: I see.  I ask all this because I was thinking about a system that would make it easier for users to administer their servers, but it takes a different approach.09:16
shawarmajdstrand: Do tell.09:16
jdstrandshawarma: well, right now I just have the building blocks in place, with one example module/plugin for bind authoritative zones.09:17
shawarmajdstrand: Alright. That sounds like a different niche.09:18
jdstrandthe idea is that it can read configuration files and such, but only touches the parts it knows about, and won't overwrite other changes.  It might rearrange things, but won't remove anything (kind like the samba configurator).09:18
dendrobatesshawarma: how are the upstream developers, easy to work with?09:19
shawarmadendrobates: *very*09:19
jdstrandshawarma: it doesn't run in a webserver, but instead will work with whatever file you give it.09:19
shawarmadendrobates: Extremely friendly and helpful.09:19
jdstrandshawarma: it leaves the deployment of the config up to the administrator.  So he/she can use rsync, ssh, cfengine, whatever.09:20
shawarmadendrobates: They made my "people I should buy beer" list at first encounter.09:20
mathiazjdstrand: that means your framework knows about configuration file format09:20
shawarmajdstrand: I see.09:20
jdstrandshawarma: it will allow for cli and gui configuration of these parts.09:20
jdstrandshawarma: yes-- intimately.09:20
jdstrandshawarma: but it uses a plugin architecture, so it doesn't get all messy09:20
dendrobatesshawarma: btw, we need to all spend some time at some pubs in London.09:21
shawarmadendrobates: That does without saying.09:21
nealmcbdendrobates: right on about the kerberos outages.  E.g. I don't see how to even install it on dapper now, due to some package dependency changes:  https://bugs.launchpad.net/bugs/12192309:21
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server
shawarmadendrobates: s/does/goes/09:21
jdstrandit is in the beginning stages, but it can do the SOA, CNAME, A, NS, PTR and MX for bind authoritative zones.09:21
jdstrandmathiaz: that 'yes intimately' was meant for you09:22
shawarmadendrobates: It's going to be fun, I think. 09:22
mathiazjdstrand: in which langage is it written ?09:22
jdstrandmathiaz: python09:22
dendrobatesnealmcb: I know it can be done in edgy, but I've never tried to do it in dapper.09:22
jdstrandmathiaz: so far I just have the cli, which uses python-newt09:22
nealmcbdendrobates: yeah - I got it installed in feisty also09:23
jdstrandmathiaz: there is a backend as well as a frontend.  the backend will expose a certain api so any frontend can implement (hence cli or gui).09:23
mossholdermdendrobates, nealmcb - works in feisty as well09:23
=== tck [n=tck@213-202-153-56.bas503.dsl.esat.net] has joined #ubuntu-server
nealmcbbut not having kerberos installs working in the LTS version seems like a significant problem to me09:25
jdstrandmathiaz: it is OO so there are some interfaces that each backend and frontend will support, so all the different backends and frontends can be combined into some sort of master 'shell'.  So you could run the shell, and get your bind authoritative zones, your apache virtual hosts, your samba shares, etc09:25
nealmcbso if anyone else can try to reproduce or fix that bug I'd appreciate it09:25
jdstrandshawarma: the approach is to make the most likely changed parts exposed in an easier to use ui, but leave the full configuration up to an admin as well.09:26
nealmcbjdstrand: does it have a name?09:26
jdstrandshawarma: so rather than having it configure every last samba option and trying to reconcile everything, it will just have a 'shares' portion.09:27
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server
nealmcbjdstrand: sounds like a good approach09:27
jdstrandshawarma: idea being that debconf gets us close, and it allows users to change the other bits.09:27
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has left #ubuntu-server []
mathiazjdstrand: there is a wiki page about sysadmin framework : https://wiki.ubuntu.com/SysAdminFrameworkEvaluationCriteria09:28
shawarmajdstrand: I see. Interesting.09:28
jdstrandnealmcb: I don't have a name yet09:28
mathiazjdstrand: you might have a look at it - it gives some ideas about features for a sysadmin framework.09:29
=== eljak [n=eljak@194.126.31.51] has left #ubuntu-server ["Leaving"]
jdstrandnealcmb: I have never liked the idea of a webserver with that much power-- not that ebox isn't useful, or even great-- just never personally liked the approach.09:29
jdstrandmathiaz: I will check it out09:29
mathiazjdstrand: a web interface is good for remote administration for end user/ junior sysadmin.09:29
mathiazjdstrand: but it should just be a frontend.09:30
jdstrandmathiaz: absolutely.09:30
mathiazjdstrand: the backend (the one that modifies the configuration files) shouldn't be in a webserver09:30
mathiazjdstrand: or doesn't have to be in the webserver09:31
jdstrandmathiaz: ideally-- but as mentioned, ebox does make local changes-- I guess I assumed they would be on the local server, but they could be moved somewhere else.09:31
jdstrandmathiaz: I don't know anything about ebox-- so I shouldn't comment on it.09:31
mathiazjdstrand: yes. If you can separate the backend and the frontend then it's easier to support multiple servers09:32
mathiazthat's the approache taken by puppet for example09:32
mathiazjdstrand: or other framework that do cluster configuration/management09:32
mathiazjdstrand: framework09:32
jdstrandmathiaz: the goal of mine was to just to do the config bits, and leave the deployment to another tool09:33
mathiazjdstrand: from the architecture point of view, there an agent that runs on the server and receives the configration to apply.09:33
jdstrandmathiaz: ala cfengine or similar, I imagine09:33
jdstrand?09:33
mathiazjdstrand: yes. cfengine is a good example also.09:33
mathiazjdstrand: but it doesn't understant the configuration syntax.09:34
mathiazjdstrand: it provides some powerfull editing tools/macros.09:34
jdstrandmathiaz: so its like a remote text editor?  (obviously grossly simplified)09:35
mathiazjdstrand: but if you want to make complicated things (like merging information coming from different configuration location) it can be tricky09:35
mathiazjdstrand: no. not really.09:35
mathiazjdstrand: it's more a declarative langage and you can say things like : if you find this pattern, add this line after it.09:36
jdstrandmathiaz: oh-- you mean it is one way-- the UI gathers the bits, and it writes it out.09:36
jdstrandmathiaz: scratch that last comment09:36
jdstrandmathiaz: well, the framework I am working on is aimed at these same users.  Idea being, get a deafult, sane, secure configuration via debconf, then use this tool to add new stuff to it.09:38
jdstrandmathiaz: if you want to tweak named.conf logging options (for example), you wouldn't necessarily use this tool.09:38
mathiazjdstrand: seems like a good idea.09:38
jdstrandmathiaz: not that one couldn't write those bits, but, one thing at a time.  :)09:39
mathiazjdstrand: small steps first. 09:39
mathiazjdstrand: that's what we're trying to do in the end for ubuntu server.09:39
jdstrandmathiaz: I also liked it because, at least for bind, it is relatively easy to not destroy your SRV or TXT records, while still adding the others.09:40
jdstrandmathiaz: yes, I hope to be able to contribute to ubuntu server with this software.09:40
mathiazjdstrand: that would be great. Don't forget to show your code often so that you can get valuable feedback.09:41
jdstrandmathiaz: yes, working on it.  ;)09:41
jdstrandmathiaz: I'd like to read through that link you gave and chew on it09:42
mathiazjdstrand: it has some ideas inside. But don't try to implement everything...09:42
jdstrandmathiaz: oh no. would want help!09:43
jdstrand:)09:43
=== mathiaz [n=mathiaz@bas14-montrealak-1177841807.dsl.bell.ca] has joined #ubuntu-server
mossholdermlater everyone...10:12
=== mossholderm [i=c09a5be1@gateway/web/cgi-irc/ircatwork.com/x-bbefde817e1ce3b7] has left #ubuntu-server []
=== TQ_ [n=neron@87.120.64.86] has joined #ubuntu-server
=== olem [n=olem@haven.senso-rezo.org] has joined #ubuntu-server
=== lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server
=== sommer [n=sommer@cpe-075-183-108-021.triad.res.rr.com] has left #ubuntu-server []
=== mathiaz [n=mathiaz@bas14-montrealak-1177841807.dsl.bell.ca] has joined #ubuntu-server
=== tck [n=tck@212.2.165.61] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== slackwarelife [n=slackwar@host145-195-dynamic.58-82-r.retail.telecomitalia.it] has joined #ubuntu-server
=== nrpil [n=nrpil@s5591f679.adsl.wanadoo.nl] has joined #ubuntu-server

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