/srv/irclogs.ubuntu.com/2008/10/10/#ubuntu-server.txt

staineroh00:00
stainerthis client sucks00:00
[Solars]heh i hate bx00:18
stainerI reading an article in Linux Magazine all about webmin and how it works with ubuntu, if anyone was interested.00:58
stainer!webmin00:58
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.00:58
stainer!otherwaystoinstallcrapthatdontinvolveapt00:58
ubottuError: I am only a bot, please don't think I'm intelligent :)00:58
[Solars]stainer lies!01:03
stainersometimes you can get stuff that aren't even .deb packages. Some people will even install stuff from source, and God forbid, compile their own kernel.01:06
stainerhippies01:06
stainer<-- free thinker01:08
[Solars]i remember when you were forced to compile my own kernels01:08
staineron a 386 with 640k of ram01:08
stainerand it took several hours01:09
staineror at least it seemed01:10
stainer:)01:10
[Solars]erm mine always took over an hour01:13
[Solars]i still have a set of old slackware floppies01:13
stainerhahaha01:14
sommerkirkland: just wanted to say you do good work... don't let the haters get you down :)01:20
Redixe_homeIf a folder has the owner "root" and the group "escrow". Both have Read and Write access. If user "steven" is in group escrow, should he be able to edit that folder and the stuff inside or would I also need to have "root" added to the group "escrow"?02:38
=== PrivateVoid_ is now known as PrivateVoid
=== mathiaz_ is now known as mathiaz
chmacRedixe_home: Your question still current?03:37
chmacRedixe_home: Yes, if the user is in the group and the group has permissions, then the user will have those permissions03:37
chmacThe user root can do anything anyway, so root doesn't need to be in the escrow group03:37
stainerI wish I could be root in real life. Then i wouldn't have to pay bills and stuff. rm -rf /bills03:38
=== Jell1 is now known as crus1
=== crus1 is now known as javaperl
Thorsten11hello i want to know how i can add another internal hardrive to my ubuntu server setup05:25
ropetinLeading question Thorsten11, you mean how to physically add it or how to get it detected in the OS?05:33
=== freaky[t] is now known as fReAkY[t]
Thorsten11how to get it detected in the OS05:51
Thorsten11i am wanted to add more hd space on my server without swapping hd's. I just wanted to know if add a second hd was easy enough05:53
=== fReAkY[t] is now known as freaky[t]
Thorsten11wow my english was horrible there and its my primary tongue lol05:58
Doc|Serverising=p05:58
ropetinThorsten11: shove it in there and it'll be detected06:03
ropetin(within reason)06:03
Thorsten11lol great thanks06:04
Thorsten11thats all i needed to hear06:04
Doc|ServerisingHeh, Ubuntu recognises my 320GB drive but my BIOS says it's 137GB... given, it's a P306:05
mathiazkirkland: I've tested the latest -server iso. virtio network seems to work06:19
kirklandmathiaz: thanks, i did too06:19
kirklandmathiaz: i was going to confirm what i saw with you tomorrow06:19
mathiazkirkland: there has been another commit to the kernel tree06:20
kirklandmathiaz: there's still an issue with the disk06:20
kirklandmathiaz: we're closer06:20
kirklandmathiaz: there's something wrong with the bootloader installation06:20
mathiazkirkland: that has not been uploaded yet06:20
mathiazkirkland: so we should plan to test again this configuration once the kernel is updated or d-i06:20
kirklandmathiaz: k06:20
mathiazkirkland: right - I haven't looked into the virtio block issue06:20
mathiazkirkland: it's not a regression though.06:21
kirklandmathiaz: i'm going to spend more time on it tomorrow06:21
mathiazkirkland: I don't think installing on a virtio block device was supported/working in hardy06:21
kirklandmathiaz: the installer was in bad shape until about 4pm today, though06:21
kirklandmathiaz: no, i saw the same problem there06:21
kirklandmathiaz:  i think we're pretty close06:21
mathiazkirkland: hm - ok. I'll ask about the commit to the kernel tree in the release meeting tomorrow06:22
chmac`find -name .svn -prune -o -type f` includes directories called .svn but not files within them07:21
chmacIs there any way to have the .svn directories not listed?07:21
chmacAha, got it, they appear in the output, but they're not parsed by -exec :)07:23
* delcoyote hi07:40
ganehow to find the performance checking for dns dhcp07:46
ganeplease anyone tell  me to do performance checking for DNS07:54
ganeor proxy server07:54
ivokssommer: happy b-day! :D08:06
* Koon hugs sommer too (hi, ivoks !)08:08
ivoksKoon: hi ;)08:31
=== Doc|Serverising is now known as Indoctrine
livesitehow to move mysql data dir to another dir?09:02
henkjanshutdown mysql09:02
livesitewhen i move it to /home/mysql09:02
henkjanmv /var/lib/mysql /home/mysql09:02
livesitemysqld cannot start09:03
ivoksyou have to configure it09:03
livesitei already configured09:03
livesitemy.cnf09:03
henkjanln -s /home/mysql /var/lib/mysql09:03
ivoksdon't touch that file09:03
henkjanstart mysql09:03
ivoksthere's conf.d directory in ubuntu09:03
ivokscreate /etc/mysql/conf.d/my_custom_conf.cf09:04
ivoksand add:09:04
ivoks[mysqld]09:04
ivoksdatadir = /home/mysql09:04
livesitein my.cnf or conf.d?09:04
ivoks10:04 < ivoks> create /etc/mysql/conf.d/my_custom_conf.cf09:05
ivoks10:04 < ivoks> and add:09:05
livesitei am trying09:05
henkjanif you create a  symlink to the database dir you don't need to change the config09:05
henkjanmuch easier imho09:06
livesite.cf?or.cnf?09:06
ivokscnf, right09:06
livesiteany file name?09:07
ivokscorrect09:07
livesitejust this step?09:09
ivoksjust those two lines, yes09:10
ivoksit would be wise to change log-bin too09:11
ivokssince, bin-logs can be big if you have lots of SQL queries09:11
livesiteshould i change my.cnf?09:11
ivoksi think i already said not to touch that file09:11
livesitei just add this file,but still not working09:12
ivoksthen something else is wrong, not datadir09:12
livesite081010 16:12:41  InnoDB: Operating system error number 13 in a file operation.09:13
livesiteInnoDB: The error means mysqld does not have the access rights to09:13
ivoksto...?09:13
livesiteInnoDB: the directory.09:14
livesiteInnoDB: File name ./ibdata109:14
livesiteInnoDB: File operation call: 'open'.09:14
livesiteInnoDB: Cannot continue operation.09:14
livesitei get this message09:14
ivokswell, does mysql user has access to your datadir?09:15
livesitei give the rights to mysql user09:15
ivokswhat's in /home/mysql directory?09:15
livesiteuse chown09:15
livesitethe fils which copy from /var/lib/mysql09:15
ivoksand what does 'ls -dl /home/mysql' looks like?09:16
livesitedrwxrwxrwx 3 mysql mysql 4096 2008-10-10 15:38 mysql09:17
livesitei give all rights to this directory09:17
ivoksand files in it?09:19
ivoksare they owned by root or mysql?09:20
livesitemysql09:20
livesitenot root09:20
ivoksps ax | grep mysql09:24
ivoksmaybe you have mysql running already?09:24
livesitenot running09:24
livesitei use 64bits server edition09:26
ivokslsof /var/lib/mysql/ibdata109:26
ivokslsof /home/mysql/ibdata109:26
ivoksboth shouldn't retrun anything09:27
ivokserrr09:27
ivoksOperating system error number 1309:27
ivoksthat's permission denied09:27
ivokshow do you start mysql?09:27
livesiteboth nothing returned09:27
livesitesudo /etc/init.d/mysql start09:28
ivoksand 'ls -dl /home/mysql/ibdata1'?09:28
livesite-rwxrwxrwx 1 mysql mysql 10485760 2008-10-10 15:38 /home/mysql/ibdata109:28
ivokswhy is everything 777?09:29
livesitei did this. because 666 not work,so i try 77709:30
ivoksall files in /home/mysql should be 66009:30
ivoksfind /home/mysql -type f -exec chmod 660 {}\;09:30
ivoksfind /home/mysql -type d -exec chmod 700 {}\;09:30
ivokschmod 755 /home/mysql/mysql09:30
ivokschmod 600 /home/mysql/mysql_upgrade_info09:31
ivokschmod 644 /home/mysql/debian-5.0.flag09:31
ivokschmod 755 /home/mysql09:31
ivokschown -R mysql:mysql /home/mysql09:32
livesiteok,i did all above.but still not working09:33
livesitesame error message09:33
ivokswhat's in your /etc/mysql/conf.d/custom_file.cnf?09:34
ivoksor however you called it09:34
livesite[mysqld]09:34
livesitedatadir=/home/mysql09:34
livesitejust this two lines09:34
ivoksdo you still have a backup of original /etc/mysql/my.cnf?09:34
livesitei have restored this file09:35
ivoksand still doesn't start?09:36
livesitewhen i delete custom_file.cnf09:36
livesitemysqld can started09:36
livesiteyes09:36
ivoksbut then it uses /var/lib/mysql09:36
livesiteyes09:37
livesitewhen it uses /var/lib/mysql,it's ok09:37
ivoksstop mysql09:38
ivoksrm -rf /home/mysql09:39
livesitestoped09:39
ivokscp -a /var/lib/mysql /home/mysql09:39
livesitefinish09:40
livesitethen?09:40
livesitestill not working09:41
ivoksjust a sec... phone09:46
ivokscreate a file /etc/mysql/conf.d/custom.cnf09:48
ivoksadd in it:09:48
ivoks[mysqld]09:48
ivoksdatadir = /home/mysql09:48
ivokssave it and start mysql09:48
livesiteno use..09:50
livesitei try this in cent os, it works,but in ubuntu it fails09:50
ivokshm09:52
livesiteis ubutun security policy too stricted?09:53
ivoks /home is on separate partition?09:53
ivoksaaaaaaaaaaaaaaaa09:53
livesiteyes09:53
ivokscorrect09:53
ivoksapparmor :D09:53
livesiteseparate partition09:53
ivoksapparmor profile doesn't allow mysql user to read outside /var/lib/mysql09:54
ivoksrun this:09:54
ivoksaa-complain /etc/apparmor.d/usr.sbin.mysqld09:54
livesitehow to fix it?09:54
livesitethen?09:54
ivoksand then start it09:54
livesiteok.it works09:55
ivoksbut this is just a workaround09:55
ivokscause, your logs will get filled with apparmor complaints09:55
livesite.......09:56
livesitehow to fix it?09:56
ivoksopen file /etc/apparmor.d/usr.sbin.mysqld09:56
ivoksat the end, before last }, add this:09:56
ivoks /home/mysql/ r,09:56
ivoks /home/mysql/** rwk,09:57
livesitejust this two lines?09:58
ivoksyes09:58
ivoksthen stop mysql09:58
ivoksrun:09:58
ivoksaa-enforce /etc/apparmor.d/usr.sbin.mysqld09:58
ivoksand then start mysql09:58
ivoksduring distribution upgrades, keep an eye on that file10:00
livesiteok10:00
livesitethanks10:00
ivoksyou'll have to add these two lines10:00
ivoksif you would like to try...10:00
ivoksdo you have 2-3 minutes to test something?10:00
livesiteyes10:00
ivokscould you delete those lines you added and create new file?10:01
ivoks /etc/apparmor.d/custom.mysqld10:01
ivokswith these lines:10:01
livesiteok,i try10:01
ivoks/usr/sbin/mysqld {10:01
ivoks #include <usr.sbin.mysqld>10:02
ivoks /home/mysql r,10:02
ivoks /home/mysql/** rwk,10:02
ivoks}10:02
ivokshm... i'm not sure that will work, but let's try10:03
livesitefinished10:03
livesitethen?10:03
ivoksaa-enforce /etc/apparmor.d/*10:03
ivoksany errors?10:04
livesiteno10:04
ivokstry restarting mysql10:04
ivoksdoes it work?10:05
livesitefailed...10:05
ivoksbah...10:05
ivokstry removing that line #include <usr.sbin.mysqld> from your new file10:05
ivoksthen run /etc/init.d/apparmor restart10:06
ivoksand then start mysql10:06
livesiteneed aa-enforce10:06
livesite?10:06
ivoksno10:06
ivoksit's already enforced10:06
livesitestill failed10:07
ivoksbah...10:07
ivoksok, than just delete that file and add those two files to /etc/apparmor.d/usr.sbin.mysqld10:08
livesitehah,give up~10:08
ivoksright... we'll have to work on how to configure 'custom' apparmor profiles as an addition to already existing profiles10:09
ivokshowever strange that sounds :D10:09
livesiteha10:10
ivoksfor those that still don't know:10:10
ivoksWikipedia moves to Ubuntu Server :D10:10
livesitethanks a lot.10:13
ivoksnp10:13
livesiteaa just use in ubuntu?10:14
ivoksand suse, iirc10:16
ivoksapparmor is a security shield10:16
livesitethis armor is too strong~10:17
ivoks:)10:17
livesitei am going to offline,Bye~10:20
uvirtbot`New bug: #281188 in samba (main) "Panic or segfault in Samba" [Undecided,New] https://launchpad.net/bugs/28118810:22
ganeplease anyone tell  me to do performance checking for DNS10:30
nijabagane: I have used a tool called dnsperf a while back, don't think it is packaged though, so you might have to take the source and compile them.11:07
=== freaky[t] is now known as freaky_t
=== freaky_t is now known as freaky[t]
=== freaky[t] is now known as freaky_t
ganuwhat is the version of used for server11:32
ganuwhat is the version of kernel used for server11:32
Deeps2.6.24-19-server11:32
ganushall i get this config file11:51
ganuDeeps, what sre the features support by this kernel11:51
ganuDeeps, i want to enable smp in the kernel source how to12:04
_rubensmp is enabled by default12:07
sommerivoks, Koon thanks :)13:31
=== freaky_t is now known as fReAkY[t]
=== fReAkY[t] is now known as freaky_t
zulKoon: have you tested the pam_smblogin fix?13:54
Koonzul: yes, quite extensively13:55
zulcool so I can upload the debdiff for you as soon as I finished this SRU13:55
KoonI was worried that the samba-common upgrade would find /var/lib/samba "owned" by samba but that's not the case13:56
zulok sounds good thanks for the fix13:56
=== freaky_t is now known as fReAky_t
phaidrosis there any way to let sshd chmod files after they got transferred via scp (on the incoming side)? or let sshd automatically trigger a hookscript after file transfers ?14:36
=== fReAky_t is now known as freaky_t
=== benkant_ is now known as benkant
zulKoon: uploaded it by the way14:56
Koonyay !14:56
jdstrandlamont: hi! ping re feedback on bug #27931615:03
uvirtbot`Launchpad bug 279316 in bind9 "SRU for bind9 to 9.4.2.dfsg.P2 on hardy" [Undecided,New] https://launchpad.net/bugs/27931615:03
Linuturkthis channel is now support :O15:04
lamontmeh15:05
lamontjdstrand: looking now - anything particular you want on there that isn't asked for in the text already?15:06
LinuturkFAT32 is so useless15:06
RediXesteven in group escrow can't edit a directory that is owned by root in group escrow with read and write... what would cause this?15:07
RediXeI'm guessing something with sshfs is causing the problem :(15:08
jdstrandlamont: just a comment on regression potential15:08
jdstrandlamont: also, can you briefly comment on:15:10
jdstrand16:28 < jdstrand> lamont: also, I noticed that we went from libisc32 to libisc35, but it looks like only bind9 binaries use it-- can you mention that as well?15:10
phaidrosRediXe: the directory *containing* the directory which should be edited is group escrow & has g+w ?15:12
RediXephaidros: On the server, the directory is /home/common   /home is rwxr-xr-x root root ... while common is rwxrws--- root escrow ..... would the /home be ruining it?15:14
lamontjdstrand: done and done.15:14
phaidrosRediXe: yes. the user shoud have correct permission for the file/dir *and* the dir containing that one.15:15
RediXephaidros: So should I move the common folder to /common (because I also have /home/finance that is not part of group escrow but group finance)?15:17
jdstrandlamont: \o/ thanks man!15:17
lamontjdstrand: sorry for taking so long. :-(15:19
phaidrosRediXe: yes, this could be a solution.15:19
jdstrandlamont: I had my part in that as well...15:20
RediXephaidros: Is it a smart solution or is there a more "preferred" way? Just curious, trying to make sure I don't start doing something the "wrong" way that I might regret later on.15:20
lamontjdstrand: win!15:21
phaidrosRediXe: you only have two choices for that case: either move the content, which users should be able to edit somewhere else, *or* give the users the permissions where the files actually are. smart is, to never give users to many permissions, so they cannot mess, even accidentially.15:23
phaidrosRediXe: how you approach this is just a matter of taste.15:23
RediXephaidros: So lets say I put /companyname/common and /companyname/finance  ....companyname is rwxrwx--- root companyname    ---- /companyname/common is rwxrw---- root escrow ----/companyname/finance is rwxrw---- root finance ..... As long as the user was in group companyname and escrow that user could access /companyname/common but not /companyname/finance right?15:26
phaidrosRediXe: correct.15:26
RediXephaidros: I think I'm starting to get this stuff down finally :P15:26
phaidrosRediXe: until you understand it fully, it seems illogical. once u got it, you even stumble here and there over nice things, like sticky bits and such .. happens to everybudy :)15:27
RediXephaidros: Well I thank you a ton for your help!15:28
phaidrosnp15:28
RediXephaidros: sudo usermod -g rps steven     would add steven to the group rps right? .. ran id steven and I see I'm part of that group but I don't see a group I was in like it replaced it somehow15:35
ATA_Dark_Shadowgreetings,postfix : i was told for ubuntu there were some changes in the location of the smtpd.conf , what would be the right location today ? /etc/postfix/sasl/smtpd ?15:39
ScottKATA_Dark_Shadow: Yes as for many, many years before today.15:40
mathiazkirkland: so I think that installation with virtio network interface is working for intrepid, correct?15:44
kirklandmathiaz: i need to test today's iso, but i think so15:44
ATA_Dark_Shadowwhere should i start to look for an error why postfix possibly does not "contact" saslauth? (i have saslauthd with -d started ; testsaslauth works fine and shows infos)15:44
mathiaznijaba: wrt to JeOS. There are two things that need to be done - -virtual installation + install the minimal seed instead of the standard?15:44
RediXeIs there a limit on how many groups a user can belong too?15:45
nijabamathiaz: yes15:45
nijabamathiaz: did you solve the -virtual kernel issue?15:45
mathiaznijaba: yes - it's all good15:45
nijaba\o/15:45
mathiaznijaba: I can just seed them on the -server iso15:46
mathiaznijaba: we just need to fix the installer options and figure out the seed installation.15:46
nijabamathiaz: that would be GREAT15:46
mathiaznijaba: could this be considered as a regression from hardy?15:46
ScottKATA_Dark_Shadow: It's probably because postfix by default is in a chroot.  If you look in the Ubuntu Server Guide it'll tell you how to get it to talk to saslauthd.15:46
nijabamathiaz: certainly, as we decided to pull the JeOS iso, considering that this feature would be present15:47
mathiaznijaba: ok.15:47
ATA_Dark_ShadowScottK ill check that guide again, maybe i missed something the first time, my postfix isnt in the chroot anymore though, ill have another look15:48
mathiazkirkland: how does the openiscsi look?15:48
kirklandmathiaz: delayed to next week; Etienne is going to recreate his test environment and we're goign to work on it then15:48
ScottKATA_Dark_Shadow: Then if it's not in the chroot, then guide will be wrong.15:49
mathiazkirkland: ok.15:50
=== ivoks2 is now known as ivoks
ivokssommer: bday happy a you wish i :)16:14
* nxvl waves on sommer16:16
ATA_Dark_ShadowScottK still no use, i changed back to chroot enviroment, i still can "login" with testsaslauth and recieve mails without "saslauth" but when i try to send a mail through a mail client i get authentification failed, and saslauthd seems not to get called16:16
nxvlsoren: happy birthday (if you aren't drunk already/still)16:16
nxvlerrr16:19
nxvlsommer: ^^^16:19
nxvlsoren: sorry16:19
nxvl:P16:19
sommerivoks: heh, thanks16:20
sommernxvl: nope not yet, still at work :)16:20
nxvl*yet* is the key16:21
nxvl:D16:21
nxvlon my birthdays i always end when a friend driving mi gf home and another driving me16:22
nxvl:D16:22
sommerlol, as long as you get there it's all good16:23
ScottKATA_Dark_Shadow: I don't have time for detailed assistance right now.  My advice is very carefully go over the recommendations in the server guide and see where yours is different.  Sorry.16:23
spowerscan anyone suggest a good tool for keeping track of a couple dozen ubuntu servers?  I'd like to use ssh-agent and pubkey auth to handle the auth part, but I'm still stuck on some sort of way to show me a list of these servers.16:24
sommerspowers: you could put them into an ldap directory16:25
spowersworking on that, actually16:25
spowersthe main reason i'm using ubuntu-server instead of debian is the easy availability of likewise-open16:25
spowerswhich is fantastic in our windows environment16:26
spowersthe list part is really more about how do i put the list in front of my eyeballs16:26
spowersmost of my experience dealing with linux has been about how to safely cram as much stuff onto a single machine as possible, and the whole thing is inverting right now16:26
sommerldapsearch would work to list them... but also maybe just list them in a wiki page?16:26
spowershmm16:27
spowersi wonder if i can tell firefox to handle ssh:// or something16:27
sommernot sure about that, I was just thinking about my server specific documentation is in a wiki16:28
sommeryou might be able to do something creative like place links to a shell script that will open a terminal and start a telnet session :)16:29
acemohow do i increase the size of my lvm root partition?16:32
ivokswith live cd16:44
zulivoks: bacula uploaded to hardy-proposed againa now we wait :)16:44
RediXeDoes anyone use an off site Back-up service that they would recommend?16:45
=== trashguy_ is now known as TrashGUY
acemoivoks: live cd doesn't seems to have lvm enabled..17:06
thefishacemo: did you lvchange -ay ?17:09
thefishor lvm vgchange -ay17:10
thefishor lvm vgchange -ay17:10
acemothefish: i tried to use lvextend but that gives a bunch of errors17:11
thefishacemo: what kind of errors?17:11
thefishdid lvdisplay show the volumes?17:11
acemolvdisplay also gives a few errors.. but does show the volumes.. lemme type over the errors17:12
acemo"/proc/misc: No entry for device-mapper found. Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver." that 2 times and then "Incompatible libdevmapper 1.02.27 (2008-06-25)(compat) and kernel driver"17:14
thefishmm ok maybe the livecd kernel doesnt have lvm :/17:16
acemonah first time i tried lvm it said its not installed yet and have to type this to install so i installed hoping it would work17:17
acemois it posisble with the ubuntu-server cd to setup a lvm that uses 4 disks during the installation?17:18
thefishacemo: what does vgchange -a y do?17:18
thefishit used to be that only the alternative cd supports lvm, so i always take that one17:19
thefishdont know if its still the case17:19
acemosame errors + the text 0 logical volume(s) in volume group "Leonardo" now active17:19
thefishmm wierd it sees the group17:20
acemolive cd and server cd do support creating a lvm during the install17:20
lukehasnonamethefish: I think that is still the case17:20
lukehasnonameacemo: really, I didn't know the desktop cd could.17:20
thefishacemo: ^ there you go then17:20
thefishdont have a knoppix disk about do you?17:20
thefishor the alternate cd17:21
acemothefish: i got an empty cd and a dvd burner :)17:21
thefish;)17:21
thefishwith all due respect to the various *buntu CDs, i still keep a knoppix disk about17:22
thefishim sure theres a *buntu cd with similar powers somewhere17:22
thefishif you have a server disk about you could try that as well17:23
thefishacemo: actuall... still there?17:24
thefishmodprobe dm-mod17:24
acemostill here17:24
thefishsudo modprobe dm-mod17:24
thefishtry that ^17:25
acemoit gives no output17:25
thefishshouldnt17:25
acemoalright17:25
thefishnot try vgdisplay etc17:26
thefishnow17:26
acemoit shows the volume group now, with no errors17:26
thefishhuzzah!17:27
thefishso now you should be able to proceed as before17:27
acemolvextend -L+1G /dev/Leonardo/root seems to work..17:27
mathiazkees: jdstrand: how can I run the test-dovecot.py from qa-regression-testing?17:27
acemoatleast it says its resized successfully17:27
thefishacemo: dont forget you also need to resize the fs17:27
mathiazkees: jdstrand: I've tried sudo ./test-dovecot.py -v but all the tests fails17:28
acemois there a command to let it extend to the max w.o having to calculate how big this will be?17:28
jdstrandmathiaz: it should have instructions at the top17:28
thefishacemo: whats the fs?17:28
acemoext317:28
jdstrandmathiaz: did you install all the packages?17:28
mathiazjdstrand: I think so17:28
thefishacemo: ext2resize does it online iirc17:29
acemoi ment extending the lvm volume17:29
thefishand no need to do calcs, it just voodoos it17:29
jdstrandmathiaz: apt-get -y install python-unit dovecot-imapd dovecot-pop3d procmail17:29
acemoi like voodoo17:29
mathiazjdstrand: yes - I've installed the packages in my vm17:29
mathiazjdstrand: I'm not running them from a schroot17:29
jdstrandmathiaz: it may need to be updated for intrepid-- I'm trying now17:29
jdstrandmathiaz: I nearly always run from a vm17:30
mathiazjdstrand: the assertion error is:  assert (os.path.exists(pidfile))17:30
jdstrandmathiaz: oh-- well, what is the pidfile for dovecot in intrepid?17:30
thefishacemo: i cont remember the exact commands, but im sure a bit of google etc should get you there17:30
jdstrandmathiaz: I think it is using /var/run/dovecot/master.pid17:30
jdstrand(the script)17:30
acemothefish: great, thanks a million17:31
thefishno worries :)17:31
jdstrandmathiaz: dovecot is working fine here (1:1.1.2-1ubuntu7)17:33
jdstrandmathiaz: are you testing 1.1.3?17:34
mathiazjdstrand: testing 1.1.417:34
jdstrandmathiaz: did it move it's pidfile?17:34
jdstrandmathiaz: just look in /var/run/dovecot after you start it outside of test-dovecot.py17:35
mathiazjdstrand: hm - I suck. only dovecot-imapd was installed. not dovecot-pop3d17:35
jdstrandmathiaz: heh-- that was *exactly* why I added the pidfile check yesterday :)17:36
mathiazjdstrand: tests are working correctly now :D17:36
jdstrandmathiaz: I spent quite a bit of time on that with my ruby update (which uses testlib_dovecot.py)17:36
jdstrandmathiaz: \o/17:36
mathiazjdstrand: are the tests the same as the one that are added to the package?17:36
ScottKzul: SInce you uploaded cyrus-sasl2, please do a no change upload of cyrus-sasl2-heimdal to unbreak it.17:37
jdstrandmathiaz: no-- these are package tests, not binary tests17:37
jdstrandmathiaz: eg, does the installed package still work17:37
jdstrandmathiaz: in various common (and not so common) configurations17:37
mathiazjdstrand: right - the dovecot packages has tests/ directory17:37
jdstrandmathiaz: think of qa-regression-testing as Ubuntu specific tests17:38
mathiazjdstrand: which is a delta we carry from debian.17:38
jdstrandmathiaz: it has nothing to do with build testing17:38
jdstrandmathiaz: oh, well, you could maybe integrate them into q-r-t to get rid of the delta :)17:38
mathiazjdstrand: right - I think the tests/ directory is supposed to be package testing.17:38
mathiazjdstrand: looking at debian/tests/ it seems that testlib_dovecot.py is a similar to the one in qa-regression-testing17:39
jdstrandmathiaz: I see-- I don't know the dovecot packaging well. usually tests/ comes from upstream and is used by 'make check', etc. I assumed that's what it was17:39
jdstrandmathiaz: I'm curious who put it there :)17:40
mathiazjdstrand: IIRC it's ian jackson work on using automated tests.17:40
mathiazjdstrand: he was working on something like that last year.17:40
jdstrandmathiaz: well, normally the scripts in q-r-t are destructive, which may not always be appropriate in a build...17:41
jdstrandbut I don't know anything about the dovecot tests/17:41
mathiazjdstrand: right - debian/tests/ are not run during the build process.17:41
jdstrandmathiaz: I'd yank them out and integrate it into q-r-t then17:41
mathiazjdstrand: could you have a quick look at the files - they seems to be really close to what's in q-r-t17:42
jdstrandmathiaz: so you are creating a 1.1.4 package based on 1.1.2-1ubuntu7?17:43
jdstrandmathiaz: and deciding if this can be dropped?17:43
xa1hi all!17:44
mathiazjdstrand: yes17:44
keesmathiaz: the testlib_dovecot.py stuff was copied out of q-r-t by pitti when ian jackson was working on build-test-automation17:44
xa1is anybody here that can help with nfs4, ldap and kerberos?17:44
keeswhat's in q-r-t is better/newer17:44
mathiazkees: ok - that's what I thought - I guess I can drop this delta then.17:45
jdstrandmathiaz: yank it-- q-r-t is more up to date17:45
acemothefish: this is great.. the program ext2resize is currently not installed you can install it by typing bla bla.. dun works.. ~kicks crappy live cd~17:45
jdstrand 517:45
mathiazI've just asked on #ubuntu-devel if autopkgtest is still run17:45
jdstrando/17:45
thefishacemo: :(17:45
thefishacemo: what about resize2fs?17:46
* jdstrand is disappointed by the split high-five...17:46
acemothefish: ext2resize should work when booting from hard disk?17:46
keesacemo: you want resize2fs instead of ext2resize, IIRC17:46
thefish^17:46
acemoresize2fs works but no magic voodoo :(17:46
keesmagic voodoo?17:46
thefishi have definately used it for shrinkage, and it was all automagic17:47
mneptokkees: i'll take two17:47
keesmneptok: coming right up!17:47
* mneptok puts on his bib and grabs his pincushion doll17:47
thefishacemo: you can give it a Gb value though no? like 200G17:48
keesext2resize is not supported by the ext3 developers -- resize2fs is the right tool to use.17:48
keesin fact, ext2resize has been removed from the repository recently because it's so broken.17:48
acemothefish: it says Usage: resize2fs [-d debug_flags] [-f] [-F] [-M] [-M] [-P] [-p] device [new_size]17:48
thefish`and size can be in s,K,M or G :)17:49
acemoyep, just found that on manpage17:49
thefishwierd, doesnt seem to be a "expand as much as you can please" option17:50
acemoindeed17:50
thefishtheres a shrink version of that though17:50
keeshttp://manpages.ubuntu.com/manpages/intrepid/en/man8/resize2fs.html17:50
keesthefish: resize2fs shrinks.17:50
thefishresize2fs expands too17:50
keesthefish: to match the size of the underlying device on expand, just leave off the "new_size"  (that's why it's in []'s)17:51
thefishcool17:51
thefishacemo: there you go then ^17:51
thefishnice one kees :)17:52
acemoaweasome kees17:52
thefishtheres so much love here right now17:52
acemonow to find what the device is and am done :)17:52
* thefish feels all warm inside17:52
keeshehe17:53
* kees hugs everyone17:53
acemohow i love installing programs on a live cd :)17:54
ATA_Dark_Shadowgreetings, how do i check if postfix is "cotacting" saslauthd? for mail-sending, if i start saslauthd with debug i do not get any information on a connect, setup is chroot, /etc/default/saslauthd is changed, where could i look for errors?17:55
acemosda, sda1, sda2, sda5, sdb, sdb1, sdc, sdc1, sdd, sdd1, sr0.. thats my disk devices.. im guessing sr0 would be my lvm?17:58
acemoor no.. that would be the ram drive?17:58
thefishacemo: you dont have it under /dev/mapper/...17:58
thefish?17:58
acemothefish: depends what the installer put it under17:59
thefishls /dev/mapper should answer that quickly though ;)17:59
acemoonly a yellow control17:59
thefishwhat about /dev/{volgroupname} ?18:01
thefishvgdisplay will give you the group name18:01
zulScottK: done18:01
ScottKzul: Thanks.18:01
acemothefish: Leonardo is the VG Name, but there is no /dev/Leonardo18:02
acemothefish: okay lets install gparted and see if that will make it clear where the device is hiding itself18:05
acemothefish: gparted shows /dev/sda1 (wich is /boot), /dev/sda2 with a sub partition /dev/sda5 (wich is flagged lvm)18:07
acemothefish: conclusion: gparted does not likes lvm.18:07
thefish/dev/sda5 is the partition holding all lvm i think18:10
thefishacemo: did you `sudo ls /dev/Leonardo` ?18:10
thefishcos its prolly owned by root18:10
acemodid sudo -i so am in root all the time18:11
thefishah18:11
acemoin gparted there also is /dev/sdb1 and sdc1 and sdd1 all got a warning sign (the sda5 had too)18:11
thefishye dont change those18:12
thefishdid you install lvm2?18:12
acemoand going on forums made me notice that gparted can't handle lvm atm18:12
acemoyup18:12
thefishkay18:12
thefishwhat does lvdisplay show?18:12
acemo /dev/Leonardo/root and /dev/Leonardo/swap_118:13
thefishwierd, and you cant ls /dev/Leonardo/root ?18:13
thefishcos thats what i would use as the target for resize2fs18:14
acemonope, no such file or directory18:14
thefishbugger18:14
thefishsorry, gotta go - good luck :)18:14
acemothanks =)18:14
acemoill let u know if i see u ever again how and if i fixed it18:14
acemothefish: resize2fs /dev/Leonardo/root seems to work when booting from hard disk.18:17
acemoPerforming an on-line resize of /dev/Leonardo/root to 486959104 (4k) blocks. seems good to me..18:21
xa1does anybody know if I can use nfs4 with ldap if they are setup in different machines?18:21
sommerls18:21
sommerwoops18:21
ScottKjdstrand: Were the Ruby issues fixed in Intrepid too or is that still oustanding?18:25
thefishacemo: nice to hear :) that sounds promising then18:30
mathiaznijaba: should usplash be part of JeOS?18:32
RainCTHi19:23
RainCTI can't create new entries with phpLDAPadmin on Hardy. /var/log/apache2/error.log says: File does not exist: /var/www/htdocs, referer: http://real.localhost/phpldapadmin/cmd.php?cmd=template_engine&server_id=0&container=cn%3Dadmin%2Cdc%3Drainct%2Cdc%3Dhomelinux%2Cdc%3Dnet  Any idea?19:24
sommerRainCT: did you use the config file from the package?19:28
RainCTsommer: I guess so, I haven't changed anything of phpLDAPadmin's config.19:29
sommerRainCT: mmm... well from the error it seems to be looking for /var/www/htdocs instead of /usr/share/phpldapadmin/htdocs/19:31
RainCTRight, but I haven't changed anything and grepping in /etc/phpldapadmin and /etc/apache2 I can't find anything either :/19:32
sommerthat is strange... you might double check the phpldapadmin apache config file though19:33
RainCTsommer: http://paste.ubuntu.com/56075/plain/ (the VirtualHost is new, I added to try if using it might magically fixed the problem but it doesn't work neither there -although it doesn't log an error message, neither-)19:38
sommeryou're loading php4?19:39
RainCTsommer: no, it isn't even installed19:40
sommerRainCT: ya, just noticed that it's in the default config19:40
sommerRainCT: the vhost is enabled right?19:41
sommerand you restarted apaache19:41
RainCTYes. (What do you mean with "enabled"? It works :P)19:42
sommerwait... phpldapadmin is working?19:42
RainCTsommer: Yes. But if I go to "Create new entry here" and set up a new User the form doesn't do anything on submit19:43
sommeroooohhh, sorry I misunderstood... sounds like a phpldapadmin bug then19:43
RainCTwell, but I guess someone would have already screamed if this 'little' feature doesn't work :P19:44
RainCTbut I couldn't find anything about it on Google19:44
sommeryou might also double check the acls on the ldap directory19:44
RainCTI've never touched ACLs so they should be the default ones..19:47
RainCTand modifying the cn=admin account works19:48
sommerdoes the account configured in phpldapadmin have rights?19:49
RainCTit's the admin one, yes19:49
sommerRainCT: you might try enabling phpldapadmin's debug options19:51
sommerRainCT: and try running slapd with -d -119:51
RainCT(I've just tried creating a user through "import" and writing it in LDIF and from there it works)19:53
ScottKzul: It looks like it's more complicated than I'd guess on cyrus.  Someone merged a new heimdal version from Debian, but not the regular one so they're hopelessly out of sync now.19:54
ScottKArgh.19:54
RainCTsommer: argh!!19:56
RainCTsommer: it failed because I had no group and it seems like the form requires one but doesn't warn about it -.-19:56
RainCTsommer: thanks for your time, though :)19:56
ScottKSounds like something for documentation ...19:57
sommerRainCT: np19:57
sommerScottK: maybe, also could be a phpldapadmin upstream bug :)19:58
* RainCT is filling one :)20:01
zulScottK: eh?20:02
ScottKzul: the -heimdal packages has a very tight depends relationship with the main package so it has to have an identical version-revision to work.  I assumed they were in sync which is why I said you needed to bump -heimdal20:03
ScottKzul: Bad assumption on my part.20:03
zulScottK: k ill have a look20:03
ScottKSo now -heimdal is broken until the main package gets up to the same version.20:03
ScottKzul: Thanks.20:03
zulor if you want to have a look be my guest20:03
jdstrandScottK: ruby1.8 it already fixed in intrepid. I am testing if a sync from debian is viable for ruby1.920:08
* ScottK is quite tied up in $WORK and stuff.20:08
ScottKjdstrand: Thanks.20:08
limitedwisdomI could ping from ubuntu server to windows server. I could NOT ping from windows server to ubuntu server. I added the win server to my ubuntu hosts file and then pinging worked in all directions - what's that about?20:13
limitedwisdomI think I'm missing something fundamental here (it wasn't even the hostname I couldn't ping - it was the IP too)20:13
=== TrashGUY is now known as trashguy
DelvienIs it safe/secure to put your www file in /home/user file or should i keep it in /var?20:46
Delvien(apache2 web server)20:46
RainCTDelvien: I don't see how it would make any difference, as long as the files have proper permissions21:04
uvirtbot`New bug: #281423 in dovecot (main) "[ffe] update dovecot to 1.1.4" [Undecided,New] https://launchpad.net/bugs/28142321:06
DelvienRainCT im not sure what permission i need, never dealt with apache or web hosting21:08
RainCTDelvien: well, chmod 650 for directories and 640 for files, and owner <your_username>.www-data should work21:10
Delvienty21:10
RainCT*750 for directories21:10
=== erichammond1 is now known as erichammond
nijabamathiaz: No upstart IIRC21:43
mathiaznijaba: usplash21:44
mathiaznijaba: it's the graphical booting process21:44
mathiaznijaba: so the plan now is to add another option to the boot menu named "Install a minimal virtual machine"21:50
mathiaznijaba: and that would create a system with a -virtual kernel and only ubuntu-minimal installed.21:50
nijabamathiaz: yes, upsplash is what I meant, I do hope we have upstart, sorry21:51
nijabasounds like a good plan.  Thanks for doing it21:51
mathiaznijaba: ok - IIRC jeos would install system that has graphical booting system21:52
mathiaznijaba: to make it prettier21:52
mathiaznijaba: if we can drop that, the better21:52
mathiaznijaba: because usplash was on the jeos iso, whereas it's not on the server iso21:52
nijabamathiaz: I am pretty sure we never had usplash21:52
mathiaznijaba: ok - so problem solved :D21:53
nijabamathiaz: or at least it was not displayed on boot21:53
* nijaba takes off to a concert21:53
lamontmeh.  how doez I bludgeon cups into printing (via smb) to a PCL-only-configured HP2605 ?22:29
kirklandmathiaz: ping23:02
kirklandmathiaz: i'm going to close 279754, and open a new one for the bootloader issue23:06
mathiazbug 27975423:06
uvirtbot`Launchpad bug 279754 in kvm "Intrepid fails to install onto virtio block device" [High,Triaged] https://launchpad.net/bugs/27975423:06
kirklandmathiaz: the error reported in that bug is now fixed23:06
kirklandmathiaz: but, the installed system will not boot23:06
kirklandmathiaz: it's a bootloader problem23:06
kirklandmathiaz: i'm hacking on grub now23:06
mathiazkirkland: right - seems like a good plan. Or you could open a task for grub.23:07
mathiazkirkland: does grub-install recognize /dev/vd* devices?23:08
kirklandmathiaz: given my experience with the raid threads, i'd like to keep bugs focused on a precise issue23:08
kirklandmathiaz: yeah, but it doesn't install correctly23:08
kirklandmathiaz: i installed two systems with the same iso23:08
mathiazkirkland: IIRC that's what had to be fixed in hardy to make the installer recognize virtio block devices.23:08
kirklandmathiaz: one using a standard kvm disk, the other using virtio23:08
kirklandmathiaz: both installs completed without error23:08
joebob777as7Just installed ubuntu 8.04.1 fresh and installed xen and when I boot into xen kernel network gets dhcp but can't ping lan or wan. If I boot back into normal kernel network works fine. can someone give me a hand?23:09
kirklandmathiaz: but the virtio installed system wouldn't boot23:09
kirklandmathiaz: after install, i switched the machine i installed with a standard disk to a virtio disk23:09
kirklandmathiaz: it booted and ran fine, with virtio disk23:09
kirklandmathiaz: then, on that system with a virtio disk, i tried re-running grub-install23:09
kirklandmathiaz: updated /boot/grub/devices.map accordingly23:09
mathiazkirkland: ok  -that seems like an issue with grub-install23:09
kirklandmathiaz: that bombed the machine, made it unbootable23:10
joebob777as7kirkland, please use pastebin as to not flood the channel23:10
kirklandjoebob777as7: huh?23:10
RainCTwhois joebob777as723:11
joebob777as7http://pastebin.ca so you don't paste a bunch in the channel23:11
joebob777as7whois RainCT23:11
kirklandjoebob777as7: dude, take it easy ...  all of that is hand-typed conversation, intended for mathiaz.  pastebin's are used for pointing to giant blobs of generated data or files23:12
kirklandgood riddance23:13
mathiazkirkland: could it be possible that the geometry of the virtio block device is wrongly reported?23:13
kirklandmathiaz: that is very, very possible23:14
RainCTheh. /me is off for today, good night23:14
kirklandnight23:14
* mathiaz waves at RainCT 23:14
kirklandmathiaz: i've been digging, but i haven't seen anything obvious23:14
kirklandmathiaz: there's regex support in the script for *vd* disks23:14
kirklandmathiaz: so someone has *tried* to get it to work23:15
kirklandmathiaz: i was actually about to try it with fedora23:15
kirklandand see how we differ23:15
mathiazkirkland: does grub report an error while booting?23:15
mathiazkirkland: like an error code? or is it just stuck on loading grub?23:15
kirklandmathiaz: its more like "no bootable disks"23:15
kirklandmathiaz: i can screen capture it, one sec23:16
mathiazkirkland: hm - may the partition table is borked by grub-install. Could you try to a vm with the broken disk attach as a secondary hd and look at the partition table?23:17
kirklandmathiaz: http://people.ubuntu.com/~kirkland/Screenshot.png23:17
mathiazkirkland: ah ok - so grub is found23:18
kirklandmathiaz: hmm, i don't think that's necessarily the case23:18
kirklandmathiaz: doesn't even look like it hit stage 123:18
mathiazkirkland: right - but the BIOS detected a bootable drive23:18
mathiazkirkland: what you could try to do is to look at the first bytes of both drives you have23:19
mathiazkirkland: the MBR should be the same23:19
mathiazkirkland: you may be able to figure out if there is an issue there.23:20
mathiazkirkland: IIRC soren had to do something special in ubuntu-vm-builder to make the generated images boot correctly.23:21
kirklandmathiaz: hrm, okay23:25
kirklandmathiaz: https://bugs.edge.launchpad.net/ubuntu/+source/grub/+bug/28149223:25
uvirtbot`Launchpad bug 281492 in grub "grub does not install properly to a virtio disk in kvm (/dev/vda)" [Undecided,New]23:25
stainer.away23:27
kirklandmathiaz: what's the current source package for ubuntu-vm-builder?23:30
kirklandmathiaz: i'll check that source23:30
mathiazkirkland: well - it has been renamed to vm-builder in intrepid23:30
mathiazkirkland: so you may wanna look at ubuntu-vm-builder in hardy23:31
mathiazkirkland: soren rewrote the whole thing in python for intrepid.23:31
kirklandmathiaz: hmm, is it fixed or broken in intrepid?23:31
mathiazkirkland: I don't know.23:31
kirklandhmm, okay23:31
mathiazkirkland: I'm not sure it's the exact the issue you've reported.23:32
mathiazkirkland: it may be related23:32
kirklandmathiaz: i've grepped my irc logs and can't find it...23:46
kirklandmathiaz: what was the kvm virtio invocation you gave me for virtio networking?23:46
kirklandmathiaz: i want to make sure i'm testing it the same way you did23:46
emgentheya23:48
kirklandemgent: hi23:48
emgenthey kirkland :)23:48
kirklandsommer: btw, thanks for the words of encouragement ;-)23:49
kirklandsommer: i made a mental note to thank you when i got a chance ;-)23:49
mathiazkirkland: -net nic,macaddr=52:54:00:25:84:fa,vlan=0,model=virtio23:50
kirklandmathiaz: \o/  thx.23:50
kirklandmathiaz: do i need to do anything on my host?23:53
kirklandmathiaz: and that mac address can be anything, really, right?23:53
mathiazkirkland: the mac adress can be anything - usually I use 52:54:00 as this is the vendor id for qemu23:56
mathiazkirkland: as for the host side I'm not sure23:57
mathiazkirkland: I'm using libvirt to handle all of this23:57

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