/srv/irclogs.ubuntu.com/2008/03/12/#ubuntu-server.txt

owhHow do I tell LP that it's a bug report about hardy?00:08
kgoetzowh - https://bugs.launchpad.net/ubuntu/hardy/+bugs00:11
owhkgoetz: Yes, but how do I add my bug report, Bug #201237 to that list - do I just add a "hardy" tag?00:12
kgoetzowh: if you click 'report bug' it should reporta  bug on hardy, aiui00:13
owhkgoetz: Hmm, that seems to indicate that I need to delete the bug report I just made and do it again. That doesn't seem right.00:14
ScottK2owh: Let me look at the bug.00:14
owhhttps://bugs.launchpad.net/ubuntu/+source/tasksel/+bug/20123700:15
owhubotu seems asleep at the wheel again :)00:15
ScottK2Yeah00:16
ScottK2The only thing I see it nominate for a release.00:16
ScottK2Dunno if that's the right way though00:16
ScottK2owh: I'd suggest ask in #ubuntu-bugs00:16
owhCool, will do.00:16
ubotuLaunchpad bug 201237 in tasksel "tasksel does not work if installed on a machine with no network" [Undecided,New] https://launchpad.net/bugs/20123700:22
owhROTFL00:24
owhFYI the suggestion in #ubuntu-bugs was to indeed nominate it for hardy, then it may or may not actually be approved by the maintainer for such inclusion.00:25
ScottK2OK00:26
owhI need some help. I'm still trying to track down why a cron.daily job isn't running. The script runs fine from a command-line. I'm wondering how I can "simulate" the cron environment so I can see what it's doing. There was a suggestion to install mail on this server to attempt to catch any output that might be generated, but I'm reluctant to do that on this production server. Any suggestions / comments / reading material?00:59
andguentI would second the email notify setup, you never know what else isn't working and is trying to notify you via mail01:00
kgoetzi'll third it - why wouldnt you want mail on a production sytem?01:00
infinityThere will be some minimal logging to syslog.01:00
kgoetzthe only other thing i can think of is redirect syslog to another system and bump up crons reporting01:01
andguentanother option is to cat /etc/crontab, look for the daily line, and run that01:01
infinityYou could also wrap your cronjob in something that logs to a logfile.01:01
andguentit might rotate all of your logs though :)01:01
infinityowh: What does the script do?01:01
kgoetzfirst thing i'd check with not-runnign cronjobs is crons $PATH01:01
infinityAnd, yes, I was going there. ;)01:02
owhinfinity: It backs up vmware images.01:02
infinitycron's PATH is, by default, rather lacking.01:02
infinityYou should set PATH either in your cronjob, or the script being run by said cronjob.01:02
owhThat's a point that I had not considered.01:03
owhAlso, the mail side of things, under Debian I can setup local mail only, is that available under Feisty-server, I'm unsure.01:03
infinityYup.01:03
infinityBoth postfix and exim4 should give an option to be local-only.01:03
owhWell, that simplifies things.01:04
infinitypostfix might even default to it these days.  Not sure, as I'm a disciple of Exim.01:04
owhOk, given the "overwhelming" suggestion to install mail, I might do that first.01:04
infinity(Exim-lover though I am, though, I'd recommend postfix from the "it's the Ubuntu default, and you're more likely to get IRC support for it" perspective)01:05
owhYeah, exim here too, but I'll go with the Ubuntu default.01:05
kgoetzi'm not familar with postfix's debconf, but exims is good for that sort of 'just need basic mail' stuff01:05
infinityIf you know exim well enough, do Exim.  We support both (ie: both are in main)01:05
infinityexim4-daemon-light, select "local only", profit.01:05
andguenti personally love ssmtp, its so much less of a headache to configure01:05
anthonyAny particular reason you like exim btw?  (/me doesn't know about either)01:05
owhI'll do a quick test before I do it for real :)01:05
andguentdon't know about any local only settings though01:05
infinityssmtp has the distinct disadvantage of not delivering local mail. :)01:06
infinityNice for getting mail OFF the host, though.01:06
owhI'm expecting that tasksel will do the right thing.01:06
owhOk, thanks for knocking me into place, I'll investigate some more :)01:06
kgoetzinfinity: which is really all you need in a server :)01:06
infinityanthony: I've been using exim for a decade, I know the spec inside out and backwards, and I've contributed hudreds, if not thousands, of lines of code to the project.01:06
infinityanthony: In other words, I'm terribly biased.01:06
kgoetzhehe01:06
andguentme on the other hand, have never contributed code to either :) I just know that 5-6 lines of conf files and i'm done :)01:07
anthonyinfinity: That's a pretty good reason.  :)01:07
owhinfinity: You would have been a handy person to know some years ago when two instances of exim refused to send email between each other for some unfathomable reason. Network sniffing indicated that one instance would just give up. Never did find out why, but upgrading one side "fixed" it :)01:08
faulkes-bah, you love sendmail.cf, admit it01:08
owhROTFL01:08
infinityI think postfix likely wins in the "ease of use" category, but I still feel like I can do a lot more with exim's config files, when I want to do something "weird".01:08
owhfaulkes-: My introduction to sendmail.cf was on an Apple AU/X server :)01:08
owhFor those wondering, Apple made Unix before OS/X :)01:09
infinityfaulkes-: sendmail is why I love exim, to be honest.  Exim is nowhere near as confusing, but manages to be just as powerfully configurable.01:09
owhs/Unix/Unix servers/01:09
infinityowh: s/made/licensed/01:09
* faulkes- lalalalala m4 I can't hear you01:09
owhinfinity: Yeah, a bit of that too :)01:09
faulkes-heh, you had to love the bat book01:09
infinityowh: It's okay, your secret's safe with me.  My first at-home UNIC box was an Amiga.01:10
* faulkes- remembers doing some terribly awful things to sendmail.cf01:10
infinity(First UNIX machine I played with that I didn't own was OSF)01:10
owhinfinity: Now that's personal torture :)01:10
* infinity misses DEC.01:10
* kgoetz gives infinity an Alphaserver 5/30001:11
* owh misses the Alpha on the desktop and the VAX heard in the back office :)01:11
kgoetz*300001:11
* kgoetz missed the whole era :@01:11
infinityI have a DEC3k/900 lying around here.01:11
* owh started with 3.5kb RAM on a 6502 based Vic20 :)01:11
* kgoetz goes to sulk01:12
infinityNever got around to porting the turbchannel drivers from Linux/MIPS to Linux/Alpha, so the thing still boots NetBSD/Tru64.01:12
owhinfinity: It seems that you have waaaay too much time on your hands :)01:12
infinityIf only that were true.01:14
* owh misses a serial link between the Vic20 and the Apple ][ joystick port to transfer images from floppy to the Vic20 tape drive :)01:15
infinityIf I had more spare time, the HPPA port would be in better shape, we'd have an Ubuntu/Alpha port "just cause", and I'd still be working on m68k glibc/kernel stuff.01:15
owhinfinity: This morning I was lamenting all the things I want to do, but just don't have enough hours in the day for, so I know what you're talking about.01:15
kgoetzinfinity: are you just a serial porter?01:16
infinitykgoetz: Well, no.  I work for Canonical on the buildd infrastructure.  But, yeah, I used to do a lot of porting before this.01:17
infinitykgoetz: No time anymore, really.01:17
owhThe irony is that while I was lamenting that, I remembered a TV show last night about the Royal Family and the strange things that people get up to. While I might not get to do all that I want, at least what I'm doing is improving the community around me, so it made me feel a tad more useful than the accountant who plays police officer for Liz when she visits Scotland one week in the year.01:17
owhinfinity: So, think of all the good you're doing :)01:18
owhHow do I stop an installer from apt-getting stuff during installation?01:19
kgoetzremove the network cable01:19
owhHmm, yes, I suppose I can disable the interface in VMware.01:20
owhSigh, I thought there might be a more elegant way :)01:20
kgoetzlog into the installer console and try to ifdown the nics?01:20
owhThat might work after it's configured them.01:21
owhExcellent suggestion.01:21
andguenti'm a few minutes late, but you could also repoint its dns server to something bogus....01:23
owhFair idea, bit of extra work beyond Alt-F2, Enter, ifconfig down eth001:24
owhBut valid :)01:24
kgoetzowh: or even shorter: ifdown eth0 (if the installer supports it)01:25
owhkgoetz: Nope :)01:25
kgoetzaww01:26
owhTried that :)01:26
kgoetz:)01:26
kgoetzwould i be correct in guessing these dirs are misnamed? http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-sparc/01:30
owhCan someone please explain why if I've just logged into a machine, either via a login prompt or by unlocking the screensaver, I still am required to enter the same password in sudo? I'm unsure why this might be considered "safer". I'm not saying, never prompt for a sudo password, having it expire in the same way as it does between sudo calls is fine, but why?01:37
anthonyAnyone have opinions on ebox?01:38
owhanthony: It will be the server gui of choice RSN.01:38
anthonyowh: And does that translate to "it's decent" or "it's the best of server GUIs, but all server GUIs are terrible"?01:40
owh:)01:40
owhanthony: Personally, I'm leaning toward the latter, but that is based on looking at it, not using it. I don't feel that I'm a fair observer.01:41
owhanthony: I'm sure that there are other opinions in this room.01:42
anthonyowh: Fair enough.  I _can_ handle cli configuration, but might give it a look anyway, since if it works that would be very convenient at times.01:42
owhAccording to the debian manual aptitude can install tasks, but the man page doesn't divulge how that might be achieved. With apt-get, you can specify with a trailing caret (^), this doesn't work with aptitude. How do I do this?01:54
* owh cannot use tasksel because it hangs at 100% due to a bug.01:55
andguentowh: what are you trying to install and how?02:02
owhThe task mail-server02:02
owh:)02:02
owhI wanted to just run tasksel, but the box is running Feisty and it stops at 100% - this is on my VM instance, not production. So, then the work-around is to install the task from the commandline: apt-get install mail-server^, but my preference is for using aptitude.02:04
owhI'm not gaim to try this on the production server just yet :)02:04
owhs/gaim/game/ :)02:04
andguentok.. what happens when you do a 'apt-cache search mail-server'02:05
owhI get procmail and gup back.02:05
owhThere are no packages with that name, the '^' in the apt-get command takes care of that.02:05
andguenti'm not sure what documentation is throwing an extra ^ in the line, but apt-get doesn't use them in any special way02:06
owhNo, the way to install a task with apt-get is to supply the task name with a '^' at the end.02:06
andguentif you are still looking to get tasksel installed, you can try 'apt-get install tasksel' -- or maybe i'm just lost and not helping much :)02:07
owhNo, tasksel is installed, but a bug in debconf stops it from working properly. There's a bug about it.02:07
owhThis is leaning towards, suck it up and use apt-get rather than aptitude :)02:07
andguenti've only used apt-get, ignorant and happy about it :)02:09
owhROTFL :)02:09
owhI'm just going to emulate a different install and see what gives.02:09
owhWell, well, well. aptitude install postfix worked just fine and dandy, no dovecot, and other stuff :)02:11
andguentmmmmmkay, glad you figured it out, i think i need to figure out if this screen is causing my headache or not :)02:14
owhandguent: What is the refresh rate set to?02:15
andguent60hz :) I usually can handle that fine.... its TFT too02:17
infinityowh: Tasks in apititude are something like ~t^taskname, I think.  It's been a while.02:17
infinityowh: apt-get's interface works for me, and it's what I use on the buildds.02:17
owhinfinity: Tah, I ended up just installing postfix with no mail-server task :)02:18
lamontinfinity: there's another interface besides apt-get ??? :-)02:20
lamontwell, I mean other than dselect02:20
owhlamont: Now that there is autoremove, not really :)02:20
owhkirkland: ping02:21
* lamont was introduced to the aptitude version of easter eggs the other day... most cute.02:21
owhlamont: I suppose it beats the flight simulator in Excel :)02:23
andguentapt-get moo?02:24
owhandguent: And others.02:24
lamontandguent: that's the apt-get version... aptitude has a similar one02:24
andguentsomehow, that just doesn't surprise me02:26
owhinfinity: On the buildds, can you run "extra" scripts and get reports?03:51
owhinfinity: kirkland and I are trying to get init.d scripts to output a meaningful status. I've created some scripts to figure out what has an init.d, and I'm grepping those for "status)", but I wondered if the packages all get installed during build testing and if they are subjected to any standard tests.03:53
owhinfinity: Likely it isn't possible, but I just wondered.03:54
kgoetzowh: packages are checked by lintian/linda for validity, or do you mean something past that?04:00
owhkgoetz: We're trying to determine first of all which packages have an init.d script, then which of those supports "status", then which of those is LSB compliant. Fix bugs/Add code accordingly.04:02
owhI just wondered if the buildds would accommodate that, rather than installing each package and testing.04:02
owhAt present I have all the steps untill "installing the package" and running the init.d script with "status".04:03
kgoetzowh: you dont have to install - you could download the packages and dpkg -x them (i did lots of looking into those same sorts of questions)04:03
kgoetzbrb though, say 5 min04:03
owhkgoetz: Cool.04:03
kgoetzback04:08
kgoetzdetermining if something has an init script should be relatively easy. not sure about status (not sure what this means) or lsb compliance, because i dont know whats involved04:09
owhkgoetz: Yes, I've written the scripts and have all that detail, now I need to determine what it might output.04:09
owhkgoetz: https://wiki.ubuntu.com/OnnoBenschop/ubuntu-server/init.d-status04:09
kgoetzwhat is status?04:11
kgoetzis it an upstart thing?04:11
owhkgoetz: It tells you if the package is running etc.04:11
kgoetzowh: any reason to `find -type f` instead of `find -name \*.deb`?04:13
owhkgoetz: Yes, there are udebs in there too.04:13
owhkgoetz: Besides the package dirs should only contain packages :)04:13
kgoetzthey shouldnt contain spaces either :) (which i think are fair assumptions, fwiw)04:14
owh:)04:16
* owh wrote a nice big disclaimer at the top :)04:16
* kgoetz saw, and was a bit confused by it04:16
owhkgoetz: It really wasn't intended for anything other than initially getting a handle on the status. If we're going to do this for real, I suspect I'll have a little think about it. Mind you, dpkg -x should handle it, the spaces are simple enough.04:17
owhfaulkes-: Does your graphing magic handle IRC logs?04:17
kgoetzowh: quote the variables and it shouldnt be a problem04:18
owhkgoetz: Yup.04:18
owhkgoetz: I didn't because I got beat up by echo -e and trying to output a \t.04:19
ScottK2Why do we care about status in init scripts?04:19
owhWell, when we finally get ebox to do its thing, it might be useful :)04:20
owhI'm sure that there is a high-brow LSB answer too somewhere :)04:20
owhs/high-brow/official/04:21
ScottK2I'll try it a different way then ...04:21
ScottK2owh: What caused you to care enough to write the script?04:21
owhAh, there was some discussion about it. Lemmie have a gander in my logs. One mo.04:21
* kgoetz thought upstart meant no init scripts04:23
kgoetz*init.d04:23
owhScottK2: Yesterday: (08:34:04) kirkland: owh: mathiaz and I were talking earlier today about getting more of the scripts in /etc/init.d LSB-compliant04:23
owhScottK2: So blame mathiaz and kirkland :)04:24
owhReally, getting a status back is not a bad idea. You can then use that status in other places. If there is a standard way of doing it, makes life easier.04:25
owhDoes that answer the question, or did I just head off on a wild goose chase?04:25
owhkirkland started volunteering and I had a few hours to put some scripts together.04:26
ScottK2Makes me wonder what the heck status is supposed to provide, but not so much I'm going to go hunt it down.04:32
owhkirkland told me he had a link, I'll get him to dig it up for us for tomorrow's meeting :)04:32
owhScottK2: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html04:36
owhCurrent version is 3.2.0, but the specs for this appear to be the same.04:39
ScottK2That makes sense I guess.04:39
owhThe nice thing about it is that you can then use the status in other places, a web gui, a cron job, etc.04:40
owhkgoetz: Is it a reasonable assumption in my script that: a package with init.d script has it stored inside the /etc/init.d directory, not created by post installation script04:53
kgoetzowh: yes. as a rule04:54
owhThat is, if I unpack it with dpkg -x, I'll have an etc/init.d directory.04:54
owhCool04:54
owhSo far so good then :)04:54
kgoetzwhat i'm not sure of is if it will have a directory structure, or if you should grep the install scripts for a mv blah /etc/init.d04:56
owhkgoetz: Well thus far I've had etc/init.d directories, but a grep for etc/init.d might be useful.04:57
owhkgoetz: Lots of false positives, example scripts, help documents, procps (which has 'cp' in the name :), but nothing that indicates any other means of creating an init.d script.05:18
owhs/Lots/Found lots/05:18
kgoetzowh: what did you grep for?05:19
owhgrep -ra '/etc/init.d' ${temp_dir}/* | grep -E 'mv|cp'05:19
owhThe only one that jumped out at me in any way was python-twisted-core, but that appeared to be sample code only.05:20
owhI suppose we could install *all* applications and see what falls out the bottom :)05:22
* owh is kidding.05:22
owhkgoetz: Hmm, I suppose for a package to be compliant it needs to register all its files. The ones installed are plain, but the ones we're looking for would perhaps be classed as config files.05:25
kgoetzowh: what do you mean by 'registered'?05:27
owhIn the dpkg list, there's a file for each package. I cannot recall what its called.05:28
owh/var/lib/dpkg/info/*.list05:28
owhThat directory appears to be full of init.d references :)05:30
kgoetzyep.05:31
kgoetzhave you thought about grabbing source packagefs instead of binary?05:31
nxvlhow do i write new blueprints?05:31
owhkgoetz: Well, at present I'm just using the .iso05:31
nxvli don't find the option05:31
kgoetzowh: ah right05:31
owhkgoetz: I figured I'd just start at one end :)05:31
kgoetznxvl: https://blueprints.launchpad.net/ubuntu/ 'register a blueprint'05:32
kgoetz?05:32
kgoetzowh: yep05:32
nxvlkgoetz: thnx05:32
owhThe comments we're making here aren't going to waste, so keep poking me in the eye! (I'm adding them to a list to add to the wiki page.)05:33
kgoetzi'm stopping- i'm heading off :)05:37
owhThanks for your comments!05:38
kgoetzafk. heading home05:38
kgoetzno worries :)05:38
nxvlkgoetz: thnx05:42
=== cjwatson_ is now known as cjwatson
Jeeves_Morning!07:55
_rubenmornin Jeeves_ .. having fun with your sun servers? ;)08:00
Jeeves__ruben: Not yet :)08:03
Jeeves_Connected them with alom08:03
Jeeves_But need to fix some stuff first08:04
* Jeeves_ is having arguments with the Cisco they're connected to :)08:04
_rubenhehe08:05
_rubenlooked at the pics the other day .. lookin sweet ;)08:05
_rubenquite a shitload of disks ;)08:06
Jeeves_Indeed :)08:07
_rubenwas kinda curious about the cooling though .. they look rather tightly stacked together08:08
Jeeves_I just requested an seperate vlan and IP-space, so we should be able to play with them this afternoon08:08
Jeeves__ruben: What about it?08:08
_rubenwell .. there's not much room for airflow i think?08:10
Jeeves__ruben: There's a lot of heat coming from the rear. So the airflow manages to get there :)08:22
amerhi , how can i list the runlevel processes?, please any help08:41
Jeeves_09:37 < bitrot> Config on router jun1.kelvin changed by user 'daniel' with comment add Ubuntu vlan08:44
Jeeves_Noc is doing their thing ;)08:44
_rubenheh .. irc feedback of noc operations? how sweet :)08:47
nijabamorning08:47
Jeeves__ruben: snmptraps08:48
_rubenJeeves_: ah .. something ive been meaning to investigate as well .. am in the progress of replacing our crappy d-link switches with 3com ones at one of our hosting environments08:50
_rubenthere's only very little info to be found on the details of the various traps08:50
Jeeves__ruben: Replacing 'crappy' switches with 3com?08:51
Jeeves_Those are crappy as well! :)08:51
_rubenJeeves_: cisco had my preference, but would've cost 2-3 times more .. and compared to the d-link ones, the 3com ones are rather spectacular .. and who knows, maybe they'll be replaced with cisco's eventually .. if these turn out to not be adequate either ;)08:54
=== \sh_away is now known as \sh
henkjanjdstrand: stateless ipv6 autoconfiguration is something common used in an desktop environment. in any case its more common used than dhcpv610:13
jdstrandhenkjan: I read up on it and committed it.  it should hit sometime today11:04
henkjanjdstrand: okay11:10
henkjanthnx for quick fixing :)11:10
jdstrandnp ;)11:15
henkjanjdstrand: would you like to have access to an ipv6 enabled host for testing?11:17
henkjani can create a xen domU for testing purposes11:18
* jdstrand ponders that11:18
thewolandHi, I would like to install a server version of Ubuntu on a tiny PC11:19
thewolandThe PC is built on VIA Eden running at 200MHz and booting from a CF card.11:19
thewolandAny suggestion on where to find a good manual for this task?11:19
zulmorning11:41
jdstrandhenkjan: I appreciate the offer, but I think at this time it is not required12:02
jdstrandhenkjan: not a lot are using ipv6 right now, and I think we are ok.  Perhaps we can revisit this in the future?12:03
henkjanjdstrand: okay12:14
tznhello everyone12:22
tzngot a question about rdac module12:23
tznim currently using some DSxxxx hw with centos systems12:23
tznwhat is current support for rdac in ubuntu?12:23
Jeeves_http://ipv6.google.com/12:33
Jeeves_13:03 < jdstrand> henkjan: not a lot are using ipv6 right now, and I think we are ok.  Perhaps we can revisit this in the future?12:33
Jeeves_jdstrand: Too bad you feel that way12:34
jdstrandJeeves_: please explain.12:34
jdstrandipv6 is fully supported in ufw12:34
Kamping_KaiserJeeves_, hey mate12:35
jdstrandI just didn't want henkjan to have to go through all the administrative overhead of giving me access to one of his machines12:35
jdstrandwhen I can test ipv6 here locally12:35
Kamping_Kaiseri wont be able to installfest tomorrow :( one of the test team decided he wanted to play with solaris12:35
jdstrandJeeves_: ^^12:36
Jeeves_jdstrand: Cool that it's supported! Did I misinterpreted the 'not a lot are using ipv6 right now, and I think we are ok'?12:37
jdstrandJeeves_: I think so12:37
jdstrandJeeves_: I was responding to henkjan asking if I wanted access to an ipv6 enabled machine of his12:37
Jeeves_I thought you made the often made chicken-egg mistake. My bad.12:38
jdstrandnp12:38
Jeeves_Kamping_Kaiser: I'm about to configure alom here and there12:38
Jeeves_And I've got two of them :)12:39
Jeeves_It pings!13:23
Jeeves_Anyone knows the default T1000 ALOM pass?13:23
Jeeves_Booting T1000 ...14:25
sommernoooooo... he'll go after John Conner!14:26
_rubenhaha14:27
sommerhere all week14:27
faulkes-sommer? sounds a little close to conner14:27
faulkes-and as we all know, john does use computers14:27
faulkes-something you aren't telling us?14:27
sommerit's not me it's skynet...14:28
* _ruben hides14:28
Jeeves_Hmm14:33
Jeeves_I don't have keyboard on the console14:33
zulhasta la vista baby?14:35
shirishguys, there was some discussion about a Ubuntu Small Business Server edition, is that still somewhere or no?14:53
Jeeves_shirish: ebox? :)14:56
shirishJeeves_: dunno what ebox is15:00
dexemshirish: http://www.ebox-platform.com15:00
* shirish thinks it might be something to do with server & enlightment wm15:00
shirishdexem: thanx, will check it out.15:01
Jeeves_shirish: Webinterface for SBS-ish stuff15:01
shirishbtw Ubuntu Server doesn't have its own homepage? Everything on the wiki only?15:01
shirishalso does somebody have info. about the specific kernel which ships with the server image, any mail/link explaining the difference between the desktop kernel & server kernels would be great :)15:04
shirishfound it, just sharing it with u guys as well, http://www.serverwatch.com/tutorials/article.php/3715071 seems pretty nice :)15:07
zulmathiaz: for 3.0.28a debian dropped a bunch of patches so we dropped them as well15:22
mathiazzul: cool !15:24
zulhttp://pastebin.ca/93974715:25
kirklandmathiaz: hey, https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/20128715:26
ubotuLaunchpad bug 201287 in apache2 "apache2 init script support for 'status'" [Undecided,New]15:26
mathiazkirkland: exzzellent...15:27
kirklandmathiaz: so I'm working on cron now15:27
mathiazkirkland: now could you also check if all the other bits required for lsb compliant scripts are available ?15:28
kirklandmathiaz: apache was nice, in that it already had a built in "pidof" function and call and dependencies15:28
kirklandmathiaz: cron does not15:28
kirklandmathiaz: pidof is part of sysvutils15:28
mathiazkirkland: I think that pidof is actually a function provided by the lsb init functions15:28
kirklandmathiaz: well, the command line utility is in sysvutils15:29
kirklandperhaps there's a function....15:29
kirklandmathiaz: so i didn't want to add sysvutils as a Depends15:29
kirklandmathiaz: but I was thinking of adding it to Recommends15:29
kirklandand making `etc/init.d cron status` fail gracefully if pidof not found15:30
kirklandmathiaz: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html15:30
kirklandthat's what's required by lsb15:30
kirklandmathiaz: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html15:31
kirklandlsb also requires a pidofproc function15:31
mathiazkirkland: there is a pidofproc function15:31
kirklandk15:31
mathiazkirkland: available in /lib/lsb/init-functions15:31
kirklandlet me try that15:31
kirklandmathiaz: LSB has some tests15:32
kirklandmathiaz: pidofproc works like a charm!15:36
* kirkland high fives mathiaz15:36
Jeeves_zpool1                 8.4T    39K   8.4T     1%    /zpool115:54
Jeeves_Hmmm15:54
sorenkirkland: "pidofproc"?15:56
kirklandsoren: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html15:56
kirklandsoren: /lib/lsb/init-functions15:56
sorenkirkland: That's a rather unfortunate description.. "Only process identifiers of running processes should be returned"15:57
kirklandsoren: unfortunate why?15:58
sorenkirkland: So only if they're in actual running state in which case it'd be a no-op on a non-smp system.15:58
sorenor..15:58
sorenon processes which are in the process table, which is redundant since that's the only way they could have a pid.15:58
sorens/^on/only/15:59
zulyay: https://bugs.edge.launchpad.net/ubuntu/+source/samba/+bug/20144216:00
ubotuLaunchpad bug 201442 in samba "ffe for samba 3.0.28 to 3.0.28a" [Undecided,New]16:00
kirklandsoren: seems okay for me for daemons, which is the target here16:00
kirklandsoren: are you quabling with the wording of the spec, or the actual use of the function?16:01
* kirkland still can't tell when soren is joking ;-)16:01
sorenkirkland: The wording of the spec.16:02
=== soren is now known as soren_not_joking
kirklandsoren_not_joking: thanks, that will keep things clear... just keep /nick up to date at all times :-)16:02
=== soren_not_joking is now known as soren_joking
soren_jokingI will.16:02
=== soren_joking is now known as soren
_rubenJeeves_: that could hold a lot of pr0n^H^H^Hrepository files16:03
Jeeves_:P16:03
kirklandsoren: right, so running processes means to me processes in the process table16:03
kirklandsoren: which may or may not be active/sleeping16:03
sorenRight. Which other kinds of processes have pid's?16:04
sorenNone.16:04
sorenSo it's redundant (and thus confusing)16:04
kirklandsoren: ps -ef | grep defunct16:04
sorenSpecifications should be exact and to the point.16:04
_rubenJeeves_: what kind of raid setup is that btw?16:04
Jeeves__ruben: No clue.16:05
Jeeves_Trying to rebuild the whole stuff using zfs16:05
sorenkirkland: So all /runnable/ processes?16:05
_rubenJeeves_: hehe16:05
Jeeves_I'm new to ZFS16:06
_rubenJeeves_: but i do hope there's hardware raid involved? :)16:06
sorenkirkland: "runable", perhaps.16:06
* soren is not sure16:06
Jeeves__ruben: zfs is software-raid, AFAIK16:06
Jeeves__ruben: But it's built for being a fileserver16:06
sorenkirkland: Where do I send patches for that spec? :)16:07
kirklandsoren: i know a couple of the IBM guys who work on it16:07
kirklandlet me check16:07
kirklandsoren: it's Linux Foundation, now, so perhaps in a month in Austin16:09
_rubenJeeves_: seems zfs has raid0/raid1 and 'custom versions' of raid5 and raid6 .. looks nice on first sight16:09
sorenkirkland: I'll print out 500 copies of a patch and distribute it all over the place and see what happens :)16:09
kirkland:-)16:10
kirklandokay, so the apache2 package doesn't have a -1ubuntu in its name16:11
kirklandwhich means that it's just a straight up debian package?16:11
sorenYup.16:11
mathiazkirkland: yes16:11
* mathiaz thinks about all the trees in Denmark 16:12
kirklandmathiaz: looking at the changelog, i don't even see a -1ubuntu version in its history... does that mean ubuntu patching it is unprecedented (and therefore highly unlikely)?16:12
mathiazkirkland: it was - just that when a package is synced, the changelog is dropped16:12
mathiazkirkland: otherwise we'd have to keep a merge16:13
kirklandmathiaz: i see....16:13
kirklandmathiaz: how, then, do I get around this error: "dpkg-source: error: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address16:13
kirkland"16:13
mathiazkirkland: did you set the Maintainer field to core-dev ?16:14
nxvlmathiaz: did you see the blueprint i started yesterdays16:14
nxvlmathiaz: i subscribed yourself to it16:14
kirklandmathiaz: nope, I suppose that has to be done, since we've modified the package, then16:14
mathiaznxvl: I've noticed - still have to read thourgh your proposal16:16
mathiaznxvl: did you look at the previous specs and the pages in wiki.ubuntu.com about previous attempts ?16:16
* zul thinks about all the bacon in denmark16:17
mathiazkirkland: yes - https://wiki.ubuntu.com/DebianMaintainerField16:17
nxvlmathiaz: i based the wiki page on ufw one16:17
mathiaznxvl: I meant about the content16:17
nxvlmathiaz: i'm not still finished with the spects, but the base idea is already descriebed16:17
mathiaznxvl: there are a couple of spec written up for simplifing the administration of an ubuntu server16:17
nxvlmathiaz: yes, i take a look at some of them16:18
nxvlmathiaz: but nothing so similar as i want to16:18
nxvlmathiaz: also, the tool i want can be used in the future for complete desktop and/or serve administrator, as it is modular16:19
Jeeves_Who is my date for tomorrow morning, for playing with the T1000's ?16:33
=== leonel_ is now known as leonel
Jeeves_henkjan: Says it is pschulz0116:38
krautare you right or left handed?16:39
kirklandmathiaz: see http://launchpadlibrarian.net/12607821/apache2_init_status.diff16:41
kirklandmathiaz: that look better?16:42
mathiazkirkland: yes - what about the comment on pidof apache2 in pidof_apache2 ?16:44
mathiazkirkland: # if pidof is null for some reasons the script exits automagically16:44
mathiazkirkland: # classified as good/unknown feature16:44
kirklandmathiaz: :-)  yeah, funny, huh?  i did hit that bug16:44
kirklandmathiaz: and I found that putting the || true inside the shell call fixed it for me16:44
kirklandmathiaz: hence my comment16:44
* kirkland notes that those comments were unchanged by kirkland16:45
mathiazkirkland: yes - but the apache maintainer added a "# classified as good/unknown feature"16:45
mathiazkirkland: if you've fixed a good feature, it ain't no good ;)16:46
kirklandmathiaz: i took that as a poor attempt at comedy16:46
kirklandmathiaz: calling a "bug" a "feature"16:46
mathiazkirkland: under which condition did you hit the bug ?16:46
kirklandmathiaz: in the case where there are no apache2's running16:46
kirklandthat pidof command just bombs16:46
kirklandand the script promptly exits16:46
kirklandsilently16:47
kirklandno information16:47
mathiazkirkland: right - and now it would just say that apache2 is not running16:47
kirklandit is definitely NOT a good feature16:47
mathiazkirkland: agreed16:47
Theo__hello16:47
kirklandmathiaz: i think the outermost || true could be removed16:47
kirklandmathiaz: as well as the smart-alec comment16:47
kirklandmathiaz: but I went with the bare minimum needed for my bug fix16:48
kirklandmathiaz: alternatively, i could have used pidofproc16:48
kirklandmathiaz: but it seemed silly, since this script had one specifically tailored toward apache2 built in16:48
kirklandfigured i better use that16:48
mathiazkirkland: yes - so we could get rid of the second truee16:50
mathiazkirkland: and just use PIDS=`pidof apache2 || true`16:50
kirklandmathiaz: i agree16:50
kirklandmathiaz: it's superfluous16:50
mathiazkirkland: could you also fix the echo statement ?16:51
mathiazkirkland: and use the lsb function instead16:52
kirklandsure16:52
kirklandmathiaz: what echo do you speak of?16:54
kirklandmathiaz: I did change it to this:                 if pidof_apache >/dev/null; then16:55
kirklandthat takes care of it spitting process id's at you16:55
mathiazkirkland: there is an echo "ERROR:..." in pidof_apache16:55
kirklandmathiaz: ah, I see16:56
kirklandmathiaz: log_failure_msg ?16:56
mathiazkirkland: seems like the best option16:57
=== \sh is now known as \sh_away
kirklandmathiaz: http://pastebin.com/d2311aa2c17:00
kirklandmathiaz: look better?17:03
mathiazkirkland: meh - I don't think we should do that17:05
mathiazkirkland: log_failure_msg echoes to stdout17:05
kirklandmathiaz: crap, i just posted to launchpad17:05
mathiazkirkland: so we may end up with PIDS with the error message17:05
mathiazkirkland: -> PID=$(pidof_apache)17:06
mathiazkirkland: actuall - no17:06
kirklandmathiaz:         exit 217:06
mathiazkirkland: yes :)17:06
kirklandmathiaz: it exits immediately17:06
kirklandmathiaz: so you're happier with it now?17:07
mathiazkirkland: one more comment - could you also fix the echo "MPM ..." at the begining of the script17:08
mathiazkirkland: and make it use an lsb function17:08
kirklandmathiaz: log_daemon_msg ?17:09
kirklandlog_end_msg17:09
dfulloI am trying to use ldap authentication on 7.10 server17:10
dfullowhen I make the changes in nsswitch.conf and reboot the server it hangs17:10
dfullopasswd:  files ldap17:10
dfullogroup: files ldap17:11
kirklandmathiaz: I'd also need to move the . /lib/lsb/init-functions17:11
kirkland up17:11
dfulloshadow: files ldap17:11
mathiazkirkland: log_failure_msg seems to be more appropriate17:12
dantalizingmathiaz: have you had a chance to check on status of the -openvz flavor for hardy?17:12
mathiazkirkland: log_daemon_msg are debian/ubuntu specific IIRC17:12
mathiazkirkland: there are not part of the LSB standard17:12
kirklandmathiaz: oky17:12
mathiazdantalizing: nope17:12
dantalizingmathiaz: k.  i asked in #ubuntu-kernel and got no response, just fyi17:13
kirklandmathiaz: http://pastebin.com/dac660c417:13
mathiazdantalizing: gitweb doesn't show anything new on that front17:14
dantalizingmathiaz: yah thats why i'm asking...i check during my lunchtime ... :(17:14
mathiazdantalizing: you may wanna ping BenC directly as he is the one that said openvz should land in hardy17:14
dantalizingmathiaz: didnt wanna breach any existing protocol and hurt the chances by being a pest... wasnt sure the best way to follow up17:15
dantalizingmathiaz:i'll try though17:16
mathiazkirkland: ok - much better.17:17
mathiazkirkland: so to keep improving things, the exit code for the MPM not here should not be 017:18
mathiazkirkland: according to http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html17:18
mathiazkirkland: it should be 617:18
kirklandmathiaz: done.17:19
mathiazkirkland: do you have a debdiff somewhere ?17:20
kirklandwith the exit 6?17:20
mathiazkirkland: yes17:21
mathiazkirkland: or the whole diff17:21
kirklandmathiaz: one second...17:21
mathiazdantalizing: it's okay to ping someone every once in a while17:21
mathiazdantalizing: as long as you don't harress them on a hourly basis17:21
kirklandmathiaz: http://pastebin.com/d5bdc341f17:22
mathiazkirkland: could you also document the exit 6 in the changelog17:23
mathiazkirkland: something like "exit code compliant with the LSB policy."17:23
* dantalizing deletes his new ircpingbot17:23
kirklandmathiaz: http://pastebin.com/d73b8e63917:25
mathiazkirkland: so to keep on LSB compliant exit codes, there are two exit 1 that are wrong17:30
mathiazkirkland: for reload) and *)17:30
mathiazkirkland: reload should exit 6 when there is a configuration problem with apache17:31
mathiazkirkland: and *) should exit 3 with an action is not implemented17:31
kirklandmathiaz: okay, i'll make a sweep of all exit codes17:32
kirklandmathiaz: this patch was originally just supposed to add a status) section...  now we're well into full LSB compliance work17:32
mathiazkirkland: I wouldn't touch exit 2 in pidof_apache17:32
kirklandmathiaz: is that the new goal?17:32
mathiazkirkland: hum... :D17:32
mathiazkirkland: not full LSB compliance17:33
mathiazkirkland: just fixing stuff here and there17:33
mathiazkirkland: after that I'll be happy :)17:33
kirklandmathiaz: sure you will .... :-)17:33
kirkland*mathiaz like the iterative process17:33
kirklandmathiaz: http://pastebin.com/d4caee1f517:35
mathiazkirkland: great - I'm happy now17:40
mathiazkirkland: can you attache the debdiff to the bug and I'll sponsor your upload17:40
kirklandsure thing, will do now17:41
kirklandmathiaz: debdiff uploaded to https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/20128717:43
ubotuLaunchpad bug 201287 in apache2 "apache2 init script support for 'status'" [Undecided,New]17:43
kirklandmathiaz: here are the one I was going to tackle immediately...17:44
kirklandmathiaz: http://pastebin.com/d5c09ebc217:44
kirklandi think I can do most of those today17:45
kirklandowh has a better list, and I'm running his script on my mirror for all of main and universe17:45
mathiazkirkland: seems great - I'd suggest that you check in the Debian bug tracker to see if there are patches for the status action17:45
mathiazkirkland: and also in LP17:46
kirklandmathiaz: yep, i've been checking LP17:46
kirklandmathiaz: haven't checked Debian17:46
kirklandmathiaz: what do I need to do to push this apache patch to Debian?17:46
mathiazkirkland: So as a first step I'd start to file bugs in LP to implement the status action17:46
mathiazkirkland: then check if there is a bug in debian17:47
mathiazkirkland: if so - link it to LP17:47
kirklandmathiaz: it to LP, or LP to it?17:47
mathiazkirkland: you link it in LP17:47
kirklandmathiaz: gotcha17:48
kirklandmathiaz: what about pushing the apache patch to debian?17:48
mathiazkirkland: yes - always a good idea to do it.17:49
mathiazkirkland: usually I do that once I've uploaded the package to ubuntu17:49
mathiazkirkland: with the submittodebian script17:50
kirklandmathiaz: okay, so you'll take care of this one then, since you're the uploader?17:51
mathiazkirkland: I'd rather you do it - so that you can use to the process17:57
kirklandmathiaz: fair enough17:58
* kirkland is happy to learn17:58
mathiazkirkland: actually - submittodebian is more for merges as it requires the ubuntu and the debian dsc files17:58
mathiazkirkland: in our current case we only have the ubuntu change.17:58
mathiazkirkland: ok - so could you use the sponsorship process for your apache2 diff ?18:02
mathiazkirkland: https://wiki.ubuntu.com/MOTU/Sponsorship/SponsorsQueue18:02
kirklandmathiaz: sure, let me go read that18:03
kirklandmathiaz: ubuntu-main-sponsors right?18:11
mathiazkirkland: yes - apache2 is in main18:11
kirklandmathiaz: okay, i renamed the patch to .debdiff, set the status to confirmed, and subscribed ubuntu-main-sponsors18:12
mathiazkirkland: excellent.18:12
kirklandmathiaz: i think that's all i was missing from the SponsorQueue page18:12
mathiazkirkland: it was just to introcude you to the sponsorship program18:12
mathiazkirkland: now I can get your debdiff from there18:12
kirklandmathiaz: sure, no problem18:13
kirklandthat's good18:13
mathiazkirkland: ok - so I've uploaded your cyrus-sals2 merge18:14
kirklandmathiaz: 'your' cyrus-sals2 merge :-P18:14
kirklandmathiaz: i'm not to be blamed for that mess :-)18:14
kirklandj/k18:14
mathiazkirkland: you should have received an email from LP18:15
mathiazkirkland: now the next thing to do is to forward patches to debian18:15
kirklandmathiaz: okay....18:15
kirklandmathiaz: wiki page?18:16
spiekeyhi18:17
spiekeydoes someone know a firewall testing tool to test udp and tcp ports?18:17
spiekeylike ftester18:17
mathiazkirkland: https://wiki.ubuntu.com/Bugs/ReportingToDebian18:18
kirklandmathiaz: cool, querybts shows no relevant bugs18:21
kirklandmathiaz: okay, so i run submittodebian18:23
kirklandmathiaz: take out the maintainer field changes18:23
kirklandmathiaz: leave everything else18:23
mathiazkirkland: well - I tend to actually break the diff into functional patches18:24
mathiazkirkland: so that the debian maintainer doesn't have to go through a giant patch with multiple bugs fixed in it18:24
kirklandmathiaz: this isn't exactly a "giant patch" though18:25
mathiazkirkland: right - it was more a general comment18:25
kirklandmathiaz: k18:25
mathiazkirkland: let me check what I'd do18:25
kirklandmathiaz: normal severity (6)18:26
mathiazkirkland: so I wouldn't include the postinst diff18:27
mathiazkirkland: it's ubuntu specific18:27
mathiazkirkland: the change to rules make sense for debian18:27
mathiazkirkland: for the control file I'd open a bug mentioning the reason to do this18:28
kirklandmathiaz: there is no postinst in my diff18:28
mathiazkirkland: so I'd file two bug reports - one with the clean target diff18:28
mathiazkirkland: and one for the control file18:28
mathiazkirkland: ok - you're probably not using the one I've uploaded18:29
kirklandmathiaz: are we talking about apache2 here?18:29
mathiazkirkland: no - cyrus-sasl2 !18:29
kirklandmathiaz: jebus18:29
mathiazkirkland: I was refering to cyrus-sasl2 because I've just uploaded the merge18:30
kirklandmathiaz: i think you should submit the cyrus-sasl2 ones, since you have the updated sources.  i'll do the apache2 one, for the experience, and because I have all the info18:30
mathiazkirkland: ok.18:30
kirklandmathiaz: apache2 patches sent to debian18:34
=== cjwatson_ is now known as cjwatson
chris____hello, does anyone here have experience with BIND and DNS?19:16
chris____I've set myself up a bind server and it works fine locally, its just when I do an nslookup on the domain from my local computer, it doesn't return anything19:16
mathiazsoren: how can I setup a bridged network for libvirt/kvm ?19:18
sommerchris____: have you put the dns server into /etc/resolv.conf?19:21
chris____sommer: yes it is the first entry in my /etc/resolv.conf19:22
sommeris port 53 open on the server?19:22
chris____sommer: yes, nmap locahost shows port 53 is open19:25
sommerchris____: you might try restarting bind9 and checking /var/log/syslog for errors19:26
chris____ill check it out right now, thanks19:26
sommerdoes dig -x domain.name work on the dns server?  another check anyway19:27
sommerdig is part of the dnsutils package... if you don't have it installed19:27
chris____here is the output from syslog, btw my domain name is my325i.com and the IP is 69.93.237.1319:28
chris____Mar 12 15:27:01 chris named[19418]: zone 237.93.69.in-addr.arpa/IN: loaded serial 200803100019:28
chris____Mar 12 15:27:01 chris named[19418]: zone my325i.com/IN: NS 'ns1.my325i.com' has no address records (A or AAAA)19:28
chris____Mar 12 15:27:01 chris named[19418]: zone my325i.com/IN: loaded serial 200803120019:28
chris____Mar 12 15:27:01 chris named[19418]: zone localhost/IN: loaded serial 119:28
chris____Mar 12 15:27:01 chris named[19418]: running19:28
chris____sorry for pasting in here, I should have pasted it in a text file19:28
sommerchris____: try creating an A record for ns119:28
sommer"zone my325i.com/IN: NS 'ns1.my325i.com' has no address records (A or AAAA)"19:29
chris____okay, in the db.my325i.com file ? Here's my dig output http://69.93.237.13/dig.txt19:30
chris____I added it in the db.my325i.com file and I got a new error, heres the output from /var/log/syslog http://69.93.237.13/syslog.txt, the entry I tried was "@ IN A ns1.my325i.com"19:36
nijaba:( ubotu left us19:37
chris____haha hes back19:37
chris____I have to go, but I will be back on later probably asking the same question, thanks for helping me troubleshoot19:38
sommerdoh19:39
sorenmathiaz: You need to set up your bridge first manually.19:53
sorenmathiaz: After that, it'll show up in virt-manager.19:53
mathiazsoren: ah - so I should not try to get an xml file for libvirt19:54
sorenNah, don't bother.19:55
kirklandmathiaz: maintainer field change added to changelog19:59
mathiazsoren: I'm following this wiki page for setting a bridge to use with kvm: https://wiki.ubuntu.com/KvmWithBridge20:08
mathiazsoren: there is a reference to a tap0 device, but I don't have it on my hardy server20:08
chris____hello, I'm back, I was having trouble with DNS on my server. I can't seem to get it to work properly. I posted up my "dig -x my325i.com" (my325i.com is my domain) at http://69.93.237.13/dig.txt, I also posted up a snippet from my /var/log/syslog file at http://69.93.237.13/syslog.txt20:15
nxvlmathiaz: server meeting starts in 45 minutes, didn't it?20:15
chris____if anyone could help, it would be greatly appreciated20:15
chris____by the way, the syslog snippet I posted was after adding "@ IN A ns1.my325i.com." to my db file20:16
mathiaznxvl: the server meeting will start in 45 minutes - at 21:00 UTC20:16
twbIs there an equivalent to snapshot.debian.net for Ubuntu?20:17
=== chris____ is now known as m40h-746
kirklandmathiaz: see if this one is better on the first time through....  https://bugs.launchpad.net/ubuntu/+source/cron/+bug/20150420:18
ubotuLaunchpad bug 201504 in cron "cron init script support for 'status'" [Undecided,Confirmed]20:19
nxvlmathiaz: thnx, i still have problem with UTC time20:19
nxvland i can't add it to my gnome clock20:19
mathiaznxvl: date -u is your friend20:20
ScottK2kirkland: Is there really a point in filing these bugs right now?  This is really a Hardy +1 issue.20:22
kirklandScottK2: in almost every case, they are trivial to fix20:24
kirklandScottK2: it is an LSB-compliance issue20:24
kirklandScottK2: and it's something that linux admins rely upon in other linux distros--i think it's important for the ubuntu server to provide such informaiton20:25
kirklandScottK2: we're concentrating (for now) on the core services in ubuntu-server which have the bug20:27
kirklandScottK2: you can see my patches so far for apache, and cron20:27
kirklandScottK2: for the many, many other init scripts (non ubuntu-server), sure, Hardy+1 is great20:28
kirklandowh: howdy20:32
kirklandowh: sorry i missed your pings last night ;-)20:32
owhIt happens when you're asleep :)20:32
owhDid you see the updated stuff on the wiki page?20:33
kirklandowh: i did20:33
owhDid it help?20:33
kirklandowh: and I have made a few changes to your script20:33
owhBring it on!20:33
owh:)20:33
kirklandowh: yeah, but there's something else we're going to have to work around to run it against a full mirror20:33
owh?20:34
kirklandowh: so I'm running it against a local copy of something like http://archive.ubuntu.com/ubuntu/pool/main/20:34
owhkirkland: Wasn't that the intent? Or are you talking about something else?20:34
kirklandowh: now have a look at final subdirectory20:35
kirklandhttp://archive.ubuntu.com/ubuntu/pool/main/a/abiword/20:35
kirklandso I can filter that down some with find -type f -name *_i386.deb20:35
kirklandto get rid of the dupliacate arches20:35
owhkirkland: Yes, that will need to be filtered :)20:35
owhWhat about udeb?20:35
owhThe .iso was full of them.20:36
kirklandowh: but the versions present a problem...  we only want the latest20:36
owhI didn't see that, one mo.20:36
owhkirkland: Yes, that's right. I can deal with that with a sort and a tail.20:37
kirklandowh: almost; maybe a fancy sort20:37
owhkirkland: Based on that the naming of the latest version will be alphabetically consistent though.20:37
kirklandowh: because those dirs have multiple packages20:37
=== \sh_away is now known as \sh
kirklandowh: abiword-common, abiword-gnome, etc.20:38
kirklandi think sort can split up parts of the string20:38
owhkirkland: So, perhaps we'd need to start at the other end of the problem, that is, start from a package list.20:38
kirklandowh: right, so I have some perl that might help20:39
owhkirkland: It depends what we're doing this for. Is it a one-off, or is it going to be an ongoing compliance check?20:40
owhkirkland: If it's one off, we can construct a list, if not we need to be able to handle what comes our way.20:40
Ericki need some help getting apache to work on ubuntu20:40
kirklandowh: a one-off, I hope20:40
kirklandowh: LSB has compliance tests20:41
kirklandowh: http://www.linux-foundation.org/en/Testing20:41
owhkirkland: How big is a full listing of a mirror?20:41
kirklandowh: one minute, i'll pastebin it for you20:41
kirklandowh: this is for main and universe20:42
* owh gets ready to copy/paste :)20:42
kirklandowh: a listing of all /etc/init.d/* scripts, sorted by the package that owns it20:42
Erickis anyone able to help me?20:42
owhErick: You need to tell us what is wrong.20:43
Erickowh:  http://www.pastebin.ca/94017920:43
nijabaErick: ask your question, don't ask to ask20:43
kirklandErick: try starting it more like "sudo /etc/init.d/apache2 start"20:45
owhI suspect that Erick has another copy of a web-server running.20:46
Erickowh, no20:46
csguestcould somebody take a look at: https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/19953320:46
ubotuLaunchpad bug 199533 in xen-3.2 "Device 0 (vif) could not be connected. Hotplug scripts not working." [Undecided,Confirmed]20:46
csguestit is confirmed and we have proposed fixes20:46
Erickkirkland, when i start it like that it tells me it is already running20:47
kirklandErick: "sudo /etc/init.d/apache2 restart"20:47
owhkirkland: So, this listing is output, or is it a dir listing of the mirror?20:47
Erickkirkland, still cant connect to my computer20:48
kirklandowh: perl script is here http://pastebin.com/d39fab86e20:48
kirklandowh: uses a find under the covers20:48
kirklandowh: uses a dpkg -c to list the contents of the package (such that I don't have to explode it like you do)20:49
kirklandowh: currently, only looks for ./etc/init.d/20:49
kirklandowh: needs your code to bust it open, and search for "status)"20:49
nijabaErick: can you ping your server?20:49
owhkirkland: Did you see the discussion that kgoetz and I had about that yesterday? It may well be that there are other ways to create init.d scripts :(20:49
kirklandErick: have you customized the apache2 configuration files already?  or are you using the stock config20:49
Ericknijaba, yes i can ping it20:50
kirklandowh: hmm, i don't remember seeing that20:50
Erickkirkland, ive configured it a different site, but have not done anything with apachee.conf20:50
owhkirkland: I summarised it on the wiki: https://wiki.ubuntu.com/OnnoBenschop/ubuntu-server/init%2ed-status#head-0325a23d7857a153c12a28aedfe10ccf6c6fa10c20:51
kirklandowh: here's the first part http://pastebin.com/d6ba4dded20:51
nijabaErick: can you paste your apache.conf on pastebin.ca?20:51
Ericksure20:51
kirklandnijaba: i doubt its his apache.conf...  it's probably one of the sites-enabled20:51
nijabaErick: sorry I meant your confing for the other site20:52
kirklandErick: can you restore the default configurations and see if apache2 will start?20:52
Erickwhoa, you lost me nijaba20:52
Erickkirkland, i dont know how20:52
nijabaErick: you said that you did not touch apache.conf20:52
Erickyeah20:52
Ericki didnt20:52
Erickwell, a little bit with the servername20:52
Erickbut thats all20:53
nijabaErick: so I ma wondering how you configured the "other site"20:53
Ericki told apache to use that one instead of the old one20:53
kirklandErick: list the contents of "ls /etc/apache2/sites-enabled/"20:53
Erickkirkland, no such file or directory20:54
kirklandErick: what version of Ubuntu are we talking about?20:55
Erickgusty20:55
kirklandErick: ls /etc/apache2/sites-available/20:56
Erickok, got it20:56
Erickthe site is: ericksite20:56
Ericki configured it to use that one20:56
Erickwhen i go to http://localhost/ i get that page, too20:57
kirklandErick: using a2ensite?20:57
Erickkirkland, yes20:57
Erickthen i restarted apache20:57
kirklandhmm, i have doubts about your installation if you're lacking an /etc/apache2/sites-enabled/ directory, but whatever... if http://localhost/ is working, it's a problem within your config file20:58
sorentwb: What are you looking for specifically?20:58
kirklandErick: post your ericksite config to a pastebin20:58
kirklandstripping anything sensitive, of course20:58
Erickkirkland, i did get the sites enabled20:58
Erickthat was it20:58
Erickericksite20:58
kirklandErick: cat ericksite20:58
Erickcat?20:58
kirklandErick: man cat20:59
=== csguest is now known as deshantm
Erickwhat do you mean?20:59
kirklandErick: I'm giving you commands to run21:00
Erickok21:00
Ericklol21:00
nealmcbserver team meeting now in #ubuntu-meeting21:00
* owh heads over to the meeting.21:00
kirklandErick: man is how you read documentation from a command line in linux21:00
kirklandErick: "man cat" will tell you that cat is the command used to print a file to the screen21:00
Erickok21:00
Ericki printed it21:01
kirklandErick: copy and paste that to a pastebin if you want help with your configuration21:01
deshantmis there someone that could pass on a bug to the ubuntu Xen team or Chuck?  #19953321:01
deshantmit is confirmed and we have proposed solutions21:01
Erickkirkland:  http://www.pastebin.ca/94024121:01
Erickwhoa, wait21:02
kirklandErick: I don't need to see the documentation to "cat" ...21:02
Erickcat ericksite doesnt work21:02
twbsoren: the ability to grab debs that were in an Ubuntu repo, but are no longer (because they've been superseded.)21:02
kirklandErick: probably because you aren't in the right directory?21:03
sorentwb: They're all on launchpad. Why do you need them, though?21:03
twbsoren: for example, right now I wanted the newest version of coreutils that didn't cause LP 191884.21:03
ubotuLaunchpad bug 191884 in coreutils "wrong id behaviour on a system with LDAP" [Undecided,New] https://launchpad.net/bugs/19188421:03
sorentwb: Ok, launchpad it is, then.21:04
twbI don't understand what you mean by `they're all on launchpad'21:04
kirklandErick: cat /etc/apache2/sites-available/ericksite21:05
kirklandErick: or, cd /etc/apache2/sites-available; cat ericksite21:05
Erickkirkland:  http://www.pastebin.ca/94025421:06
Erickkirkland, i need to go21:11
kirklandErick: the problem is almost certainly that you have multiple web servers running21:12
kirklandErick: look hard for another server running21:12
Ericki dont though21:12
Ericknever messed wither servers before21:12
Erickthe system was only installed 2 weeks ago21:12
kirklandand try the /etc/init.d/apache2 restart thing again21:12
owhErick: That looks a lot like the default site. I think you have both default and ericsite enabled on the same port.21:12
Erickbut i need to go, thanks for the help21:12
kirklandErick: sorry, good luck21:13
kirklandErick: owh: could be... you should set each site to listen on a unique Listen port or ServerName21:14
owhkirkland: I think Erick copied default to ericsite, edited it a bit and enabled it.21:14
kirklandowh: right, he doesn't have a proper sites-enabled directory21:15
kirklandowh: and he should be using a2ensite21:15
owhkirkland: I'm putting that down to a typo on entering the ls command.21:15
kirklandowh: http://pastebin.com/d4fca412e21:16
kirklandowh: complete list21:16
kirklandowh: that's main only, actually21:17
owhkirkland: That's not looking too scary.21:17
kirklandowh: i'm running universe now21:18
kirklandgonna take 5...21:18
owhSure.21:18
owhkirkland: You going to be around for a bit after the meeting?21:19
kirklandowh: yep21:19
owhk21:19
sorentwb: Which package do you want, I'll show you how to find them.21:28
twbOK, for the sake of the exercise let's say coreutils=5.97-5.6ubuntu121:30
sorenhttps://launchpad.net/distros/ubuntu/+source/coreutils/21:31
sorentwb: Find the release you want and click the version number of it.21:31
sorenThat brings you to https://edge.launchpad.net/ubuntu/+source/coreutils/5.97-5.6ubuntu121:32
sorenGo down to the builds sections. You want amd64 or i386?21:32
twbYes.21:32
sorenWhich one? :)21:32
twbPreferably as in an apt repo, like snapshots.d.n21:32
twbs/as//21:33
sorensnapshots.d.n is not an apt repo.21:33
twbIt's a whole bunch of apt repos21:33
twbOne for each package21:33
sorenAh.21:33
twbWell really it's one repo, but with /package instead of /main21:33
sorenWEll, do you want the package or not? :)21:33
twbOne moment, I'm still taking notes21:34
sorenOk, for the sake of the excercise, let's choose amd64. Click hardy amd64, which brings you to https://edge.launchpad.net/ubuntu/+source/coreutils/5.97-5.6ubuntu1/+build/472902.21:34
sorenOn the left, there's a box called "Resulting binaries". Click the binary package you want..21:35
soren..and there it is ready for your downloading pleasure.21:35
sorenThe url for that last page is:21:35
twbOK.21:35
sorenhttps://edge.launchpad.net/ubuntu/hardy/amd64/coreutils/5.97-5.6ubuntu121:35
twbThat's better than nothing, but it's very tedious.21:35
sorenNot if you just construct the url if you know the binary, arch, and version.21:36
twbOften I don't know exactly which version is the one that introduced a regression21:36
sorenIf you often need older binaries, that's a symptom that something is very wrong somewhere.21:36
twbSo I want to add all of them to my sources.list and downgrade them one version at a time21:36
soren"all of them2?21:37
soren"?21:37
twbsoren: yes, I would never downgrade on a normal system21:37
twb"all of them" as in all versions21:37
twbThis is the snapdhots.d.n workflow21:37
sorenWhat would you need it for?21:37
twbFinding what release introduced a regression21:37
twbOr finding what is the latest version of a library that works with your stupid in-house code.21:38
soren*shrug* File a bug against soyuz.21:39
sorenAgain:22:36:57 < soren> If you often need older binaries, that's a symptom that something is very wrong somewhere.21:39
twbGranted.21:39
twbIf hardware and software worked reliably, I'd not have a job21:40
twb:-)21:40
sorenI'm sorry to hear that. Do you work in a support centre?21:40
soren:p21:40
twbI'm a sysadmin21:40
krauti'm your worst nightmare21:47
sorenHah!21:48
* zul is an EX-sysadmin..wohoo21:49
nxvlsorry, i needed to go out for a while, what are we talking about now?22:04
nxvlwrong channel22:04
nxvl:P22:04
ivoksScottK: this is something we could do for hardy+122:10
nxvlmathiaz: did you take a look at the blueprint?22:10
nxvli still need to work harder on the wiki page, but the base idea is there22:11
ScottK2ivoks: Yes22:11
ScottK2ivoks: You still need you new tasksel revision uploaded, right?22:12
ivoksScottK2: right... patch is uploaded22:12
mathiaznxvl: not yet22:13
ScottK2ivoks: So you do not need me to do it?22:13
ivoksScottK2: umm...? i'm not core dev, so i can't apply it22:14
ScottK2ivoks: So you meant you'd uploaded it to LP.  Got it.22:14
ivoksScottK2: i've just added new version to lp22:14
ivoksright22:14
ScottK2mathiaz: Why do you think the tasksel needs an FFe?  It looks like bug fixing a previous broken upload to me?22:25
=== \sh is now known as \sh_away
kirklandmathiaz: so we now have a better list for you22:35
* owh runs for cover.22:35
kirklandmathiaz: http://ubuntu.pastebin.com/m627c07fb22:35
kirklandmathiaz: owh installed a vm with the latest hardy-server snapshot22:35
kirklandticking all the servers offered by the installer22:36
mathiazScottK2: are you refering to https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/164837 ?22:36
ubotuLaunchpad bug 164837 in dovecot "Dovecot SASL for postfix" [Low,In progress]22:36
ScottK2mathiaz: Yes.22:36
owhmathiaz: Then I installed all 7 server tasks.22:36
mathiazScottK2: the debdiff adds a new postinstall script22:36
ScottK2Yeah.  I'm asking slangesek about it now.22:36
kirklandmathiaz: of which 4 (apparmor, postfix, postgresql, cupsys) have status sections22:37
kirklandmathiaz: plus we already have patches for 2 more (apache, cron)22:37
mathiazScottK2: ok.22:37
kirklandmathiaz: waaay to many for he and i to hack out overnight, as ScottK2 suspected22:37
mathiazkirkland: hum - mysql has a status action IIRC22:38
kirklandmathiaz: ooh, good point, bad grep on our part22:39
kirkland  'status')22:39
kirklandquoted, tricky.....22:39
ScottK2So no ivoks has run off22:40
ScottK2mathiaz: Did you see slangasek's comments on ubuntu-devel?  I think we need to think about Dovecot again22:42
kirklandmathiaz: so mysql was the only additional one on that list22:44
ScottK2mathiaz: At a glance, I don't see anything in the Dovecot part of the tasksel change that's clearly wrong for putting straight in the Dovecot package.22:44
ScottK2That'd make this whole thing much simpler22:44
kirklandmathiaz: at this point, should we just pick a few of the most important?  (eg openssh-server) and propse those?22:45
ScottK2I see you discussing it now ...22:45
Erickj92kirkland, would having the apache server going on another computer on the same network effect it on the machine im trying to get things working on?22:48
kirklandErickj92: nope22:49
Erickj92darn22:49
Erickj92is there any other possible thing?22:49
Erickj92for the record, i cant ping that machine22:50
kirklandErickj92: well that would be a problem22:50
faulkes-if you can't ping the machine, then a more fundamental problem exists than apache22:54
faulkes-check that the interface is up and configured22:54
Kamping_Kaiserunless you drop icmp22:54
Erickj92faulkes-, how?22:54
kirklandErickj92: can that machine ping out?22:55
Erickj92ping out?22:55
Erickj92oh22:55
faulkes-well, default install shouldn't affect it (if this is a default install)22:55
Erickj92yeah22:55
Erickj92it can ping out22:55
faulkes-then it has connectivity22:55
faulkes-so I would say it looks like an iptables issue22:55
Erickj92i just bought this new static IP from my ISP22:56
Erickj92is there somthing in my router settings that could be doing it?22:56
faulkes-if you are dealing solely on the local lan, probably not but that isn't a garrauntee, every network is different22:57
Erickj92im so confused22:57
faulkes-but if you can't ping your machine but it can ping out, it sounds like there is something firewalling it (iptables)22:57
Erickj92from where/22:58
Erickj92??22:58
Erickj92like a software firewall, or hardware22:58
Erickj92faulkes-, when i go to www.whatismyip.org, it tells me somthing different then the ISP told me22:59
Erickj92that i had22:59
Erickj92what is the command to stop apache23:01
Erickj92?23:01
iclebyteis there a package for BASE?.. i cant seem to find one.23:15
soren"BASE"?23:16
iclebytenope.. there is a package called 'acidbase' but it wants to use postgresql and i'm trying to use it in conjunction with the snort-mysql package23:20
faulkes-hrmmm, I'm going to have to go over todays meeting log23:28
* faulkes- was running back and forth23:28
faulkes-laptop install, server install, meeting23:28
faulkes-not enough eyes and hands23:28
sorenScottK2: dovecot.conf is a conffile? Sure?23:41
ScottK2soren: Everything in /etc is a conffile since debhelper 3 or 4.23:41
sorenEr.. No.23:41
ScottK2No?23:42
sorenAnything shipped in /etc is a conffile.23:42
soren"shipped" being the keyword.23:42
ScottK2Ah.23:42
sorendovecot.conf is built during postinst from a template, iirc.23:42
ScottK2I'd say that's parsing things pretty finely.23:43
* ScottK2 goes and reads the policy23:43
sorenNo.23:43
sorenIt's really not.23:43
sorenIt's done that way to avoid it being a conffile.23:43
sorenPolicy forbids you from doing automated editing of conffiles.23:43
soren..so if you want to edit a file in /etc e.g. during postinst, you need to make sure it's not a conffile.23:44
soren"conffile" is not just a clever name for files shipped in /etc.23:44
sorenIt's a status that has very specific meaning to dpkg.23:44
sorensmb.conf is not a conffile either.23:45
mathiazsoren: yes - however dovecot.conf is managed via ucf.23:47
mathiazsoren: would this matter ?23:47
sorenTo what? I havent' followed the discussion. I just saw ScottK's comment in a bug claiming dovecot.conf was a conffile and it's not.23:48
sorenThe short version is:23:49
mathiazsoren: whether a maintainer script can modify a file managed by ucf, but not a conffile23:49
sorenYou can choose to mark your configuration files as conffiles, never edit them programmatically, and let dpkg handle upgrades and all that jazz..23:49
sorenor..23:49
sorenhandle upgrades gracefully yourself.23:49
mathiazsoren: let me rephrase23:50
sorenGracefully means: Don't clobber users' changes, don't ask the user to confirm changes that *you* made from a script, etc.23:50
mathiazsoren: whether a maintainer script *from another package* can modify a file managed by ucf, but not a conffile23:50
sorenmathiaz: It's not strictly forbidden, afair, but frowned upon.23:50
sorenIf you need that sort of thing, the package that "owns" the configuration file should provide a script or something to do the relevant changes.23:51
mathiazsoren: well - in the case of dovecot, the proposal is to enable sasl by default23:51
sorenhttp://www.debian.org/doc/debian-policy/ch-files.html#s10.7.4 for reference.23:52
sorenmathiaz: Which package will need to edit which package's configuration?23:53
mathiazsoren: looking at https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/16483723:54
ubotuLaunchpad bug 164837 in tasksel "Dovecot SASL for postfix" [Undecided,Invalid]23:54
mathiazsoren: and the last patch from ivoks :http://launchpadlibrarian.net/12606104/tasksel.diff23:55
mathiazsoren: there are two things that needs to be done: configure postfix to use sasl (via postconf) and modify dovecot to run a sasl server23:55
mathiazsoren: the latter requires a modification of dovecot configuration file23:56
sorenThat, in itself, is not a problem.23:56
mathiazsoren: the former call postconf to setup postfix correctly, which is allowed in the policy23:56
mathiazsoren: right - but it's frown upon.23:57
sorenTo maintain sanity, the code to actually enable sasl in dovecot should be in the dovecot package.23:57
soren...and the tasksel postinst can call that (or whatever).23:57
mathiazsoren: well it seems that we could actually ship dovecot with sasl enabled by default23:57
mathiazsoren: which would solve our problems23:57
sorenmathiaz: Well, no, it's fine to edit another package's configuration. You just need to have the mechanics straight.23:58
sorenmathiaz: That would be lovely.23:58
sorenI've never liked the idea of the tasksel postinst.23:59

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