/srv/irclogs.ubuntu.com/2011/05/24/#ubuntu-server.txt

SpamapSkirkland: definitely jealous of your trip.. Plitvice has been on my todo since I saw pics.00:00
kirklandSpamapS: heh, yeah, you'd love it ;-)00:10
ph8hmmm00:16
ph8i've got a kernel panic00:16
ph8on a rubbish KVM00:16
ph8is there a way to RSEIUB without the sysrq key?00:16
ph8I can hold alt, but not sysrq00:16
ph8i can only 'tap' print screen rather than simulate a hold00:17
RoAkSoAxlbor/win 200:24
RoAkSoAxlol00:24
=== jjohansen is now known as jj-afk
NCommanderwhy is aptitude shipped as part of UEC?01:20
NCommanderoh, nm, tasksel depends on it. Shutting up now :-) (although I'm still confused on why its Task: uec)01:21
jdiiCan anyone here help me with a question about load balancing02:58
uvirtbotNew bug: #787312 in samba (main) "package smbclient 2:3.4.7~dfsg-1ubuntu3.6 failed to install/upgrade: subprocess dpkg-deb --fsys-tarfile returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/78731204:26
toddnineHey guys.  Have a cron question.  I'm trying to do a rolling backup across all nodes in our cluster.  Each node will need to run every 6 hours.  I can do all the maths in chef, but I'm unsure the best way to enter them into cron.  Essentially every node will run ever 6 hours, but with our 3 nodes they need to be in 2 hour offsets.  I, I. N1: 0,6,12,18 N2: 2, 8, 14, 20, etc05:04
toddnineIs it possible to do this with the */6 syntax, or do I need to list the hours explicity?05:05
SpamapStoddnine: you may want to look into something like bacula05:11
toddnineSpamapS: Thanks for the response05:12
toddnineI'm actually good on the backup solution itself.   It's a custom program we've written to sync our Cassandra data with S3 for disaster recovery05:12
SpamapStoddnine: it has more sophisticated capabilities for scheduling and can very easily do differential/incrementals ... plus it uses a database to track files so restoring is generally very very efficient05:12
toddnineStaggering it across the nodes is the issue, and across 2 DCs on 2 sides of the world :)05:13
SpamapSah you're out there on the edge. :)05:13
SpamapSyeah Bacula can automatically stagger servers in groups05:13
SpamapSbut.. you probably have to run some "dump my data" thing out of cassandra05:13
toddnineYeah, exactly05:14
toddninethe script and the backup itself works really well05:14
toddnineit's the timing of the automation.  I can work out the math in my chef recipes, but I'd rather not :)05:14
toddninelooks like I don't have much of an option05:14
SpamapSso, you can just do something really lame and have the servers you want offset sleep for 3 hours..05:15
toddninehow so ?05:16
SpamapSOr, what I'd do.. I'd have one script that manages all of the backups.. so it would just make sure that no more than X ran at once, and start itself every 6 hours.05:16
toddnineYeah, who controls the backup though?05:17
SpamapSthe server backer upper05:18
SpamapS:p05:18
toddnineand what if it crashes :)05:19
SpamapSthere is no "it" in the cloud05:19
SpamapSalways "they"05:19
toddnineexactly05:19
SpamapSotherwise its not webscale05:19
lifelessSpamapS: around ?06:13
* lifeless looks for ubuntu server team members to help diagnose an lp issue with their team06:14
=== smb` is now known as smb
fastvegHey guys, I need some help getting a script to run even after I close the SSH window09:01
joschifastveg: start-stop-daemon, nohup, screen. the last one is kind of dirty and you should use one of the first two.09:02
fastvegSomeone said that you could basically just put an & symbol at the end of the command and it should work, but I'm not having any luck with that09:02
joschifastveg: no, just sending the process to the background (with the ampersand) won't work. it's still attached to the login session09:03
fastvegjoschi, thanks... let me show you the script and if you could help me format it.... one sec09:03
fastvegscrapy crawl domain.com --set FEED_URI=filename.json --set FEED_FORMAT=json09:04
fastvegso this is a python script that crawls a bunch of urls and returns the output as a .json file09:05
fastveg(using the scrapy python framework)09:05
fastvegI actually did try to use screen, but didn't have luck witht hat either.... but I'm not sure I formatted correctly09:06
fastvegjoschi: someone said to use screen like this:  screen -dmS my_app python bla.py -- but how would that look on the script above?09:08
joschifastveg: exactly as you wrote it ;)09:10
joschiinstead of bla.py put in your script call09:10
fastvegdoes the word python still need to be there?  because I took that out last time.09:11
fastvegalso, thanks for the info about &, I was trying to google exactly what it did, which was entirely impossible09:11
joschifastveg: see section JOB CONTROL in bash's man page09:13
joschifastveg: the "python" just calls the script as a parameter of the python interpreter. if it has a proper she-bang (#!/usr/bin/python or similar in the first line), it'll work without the "python"09:14
fastvegjoschi: thanks.  why is screen considered hacky compared to the other two methods?09:15
fastvegand will screen still work if I exit the ssh session (unlike ampersand?)09:16
joschifastveg: screen's purpose is to multiplex terminals for interactive usage. it has far too many features you won't need09:16
joschifastveg: yes, it'll work09:16
joschiyou just have to detach the session instead of quitting screen09:16
fastvegdude, thanks so much, great info.  have a good day.09:16
fastvegjoschi: detach the session = closing the terminal window? or something else?09:18
joschifastveg: try ctrl-a + d ;)09:18
benccI've installed openssh-server and /etc/ssh/sshd_config is empty, is that ok?10:03
_rubennope10:22
uvirtbotNew bug: #787496 in tomcat6 (main) "tomcat6-user 6.0.24 with confluence deadlocks" [Undecided,New] https://launchpad.net/bugs/78749612:26
andygraybealSpamapS, so i ran fsck -yf /dev/mapper/volume_name  -- it ran, says everything is clean but i still have issues with that folder13:14
andygraybealany ideas?13:15
andygraybealam i running fsck wrong ?  i booted into single user mode and unmounted /dev/mapper/volume_name13:16
andygraybeallike right now, ls -al is taking 10% of my cpu..13:18
andygraybealtrying to read that folder13:18
moonpupwould anyone know why logwatch delivers it's email to me everyday at 6:25am, but when I check mail it says no new mail. if i go into my Maildir I see the new mail sitting in the new folder13:51
smoserhggdh, console output (get-console-output) is your only hope at that point.13:59
hggdhsmoser: so I was not wrong... and jj-afk confirmed it is an issue, anyway13:59
hggdhsmoser: thanks14:00
smoserwhat was the problem ?14:00
hggdhmaverick proposed does not boot on m1.small14:00
RoAkSoAxmorning all14:20
Jeeves_Morning14:20
ahasenacksmoser: hi, are you the "owner" of uec-images.ubuntu.com basically?14:22
ahasenacksmoser: I ask because I'm switching the way we access that query directory from http to https14:22
ahasenacksmoser: seems to work, ssl is available, but I wanted to ping you about it14:23
smoserahasenack, yes. you should use https, and it is available by design. and yes, i supposed i "own" it as no one else does14:29
smoserbut hopefully that will be moving to more "release team" at some point soon14:29
ahasenacksmoser: cool, thanks14:30
smoserahasenack, remember, rsync is also available.14:30
smoserbut there would be no way to do ssl over that i dont think.14:31
ahasenacksmoser: but it's such a small file14:31
smoserand we don't sign that data.14:31
ahasenackyeah, we got a request for some sort of detached gpg signature for that file, or inline14:31
ahasenackbut one step at a time14:31
smbhggdh, smoser Am on it (maverick ec2)14:32
smoserahasenack, what file would you want signed?14:32
ahasenacksmoser: released.latest.txt14:33
=== hito_jp0 is now known as hito_jp
smosersmb,  i was about to bother you about lucid-updates. its still just '-proposed'. we expect new kernel in -updates sometime soon still?14:33
smoserahasenack, is that enough for you though?14:34
ahasenacksmoser: that and https, I think we are covered14:34
smoserwhy would you need signed *and* https?14:34
ahasenackprobably signed would be enough too14:34
ahasenacksmoser: I can switch to https right now with a one-line change in the code, but switching to verifying a signature is much more involved14:34
smoserright.14:34
smoserand why would you not want /query/maverick/server/released.txt signed also ?14:35
ahasenack"%s/server/released.current.txt" % ubuntu_release)14:35
ahasenackthat one too14:35
ahasenackI'm just looking through the code14:35
ahasenackand finding all the bits we fetch14:35
uvirtbotNew bug: #787551 in ntp (main) "ntpdate 4.2.6p2@1.2194-o: "no server suitable for synchronization found" - works with 4.2.4p8@1.1612-o " [Undecided,New] https://launchpad.net/bugs/78755114:36
smbsmoser, I would not be the authoritative source there. I lost track a bit. Probably best ask sconklin or bjf14:36
smoserk14:37
smoserahasenack, right.14:37
=== marrusl_ is now known as marrusl
uvirtbotNew bug: #787558 in openvpn (main) "package openvpn 2.1.3-2ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/78755814:46
SpaceBassanyone using a Drobo (specifically Drobo-s) with server? any tips on formatting, lun size, etc?14:51
LenhixHello. Is there any way of installing a package with PHP 5.2 in Ubuntu Server 10.04?14:59
LenhixA customer had a lot of apps and they're not working with PHP 5.3. I'd rather not have to compile it...15:00
fastvegI'm having some trouble getting a command to continue to run after I disconnect ssh15:02
fastvegThe command is formatted like this, it's a python script: scrapy crawl domain.com --set FEED_URI=filename.json --set FEED_FORMAT=json15:03
fastvegI tried to use screen and did this:  screen -dmS my_app python scrapy crawl domain.com  --set FEED_URI=filename.json --set FEED_FORMAT=json15:03
fastvegbut nothing happened.  is the my_app supposed to be in there?15:04
fastvegfirst time using screen15:04
smoserahasenack, so... i guess to effectively sign things, i'd probably just put a top level file with MD5SUMS (and/or SHA1SUMS) and then a signature on that file.15:06
Lenhixfastveg: have you tried #screen?15:12
fastveghaven't  ;)15:13
ahasenacksmoser: works15:16
kirklandhallyn: what are you calling "escape mode" ?15:49
hallyn'ctrl-a escape'.15:51
hallynguess i'm not sure what screen calls it15:51
kirklandhallyn: okay, okay, in scrollback mode15:51
kirklandhallyn: screen calls it "copy" mode15:51
kirklandhallyn: i call it "scrollback" mode15:51
kirklandhallyn: okay, so you'd like screen to obey more vi-bindings when in scrollback/copy mode?15:52
hallynright15:52
hallynthese days i pretty much exclusively use that for cut/paste on terminal15:53
hallyn(bc the S10-3 touchpad sucks so bad)15:53
kirklandhallyn: okay, http://manpg.es/screen.115:53
hallynbut it's too slow bc i have to think about only using b/w15:53
kirklandhallyn: search for "     copy"15:53
kirklandhallyn: I think it's the second hit15:53
kirklandhallyn: this is definition of what's available keybinding-wise, while in scrollback mode15:54
hallynmeh, thanks15:54
kirklandhallyn: to add more, we'll need to patch/enhance screen itself15:55
hallynwhat percent of the file are you at?  I don't see a list of available commands.  I do see a list of the default bound ones15:57
hallynall right i guess i'm gonna have to patch that16:00
=== unreal_ is now known as unreal
SpamapSlifeless: I wasn't around then, around now.16:18
SpamapSandygraybeal: *interesting*16:18
andygraybealSpamapS, it's totally my fault16:18
andygraybealomg, i had a script that was going wacko and i'll explain more when i get time to the ubuntu-server mail list... i need some help16:18
andygraybealfsck checked fine and everything fine, it's that i'm an idiot16:19
andygraybealgiddie goat...16:19
andygraybealSpamapS, thank yuo for the hand holding16:20
andygraybeali had a script that was making files exponentially16:20
andygraybealgah!!!!!!!!!!!16:20
=== mconigliaro_ is now known as mconigliaro
SpamapSandygraybeal: sweeeeet16:25
SpamapSandygraybeal: so there were like, a bazillion files in there?16:25
andygraybealyea16:25
SpamapSwhy didn't I think of that? :-P16:25
andygraybealhahahaha16:25
andygraybeal;)16:25
SpamapSoh well now you got a little maintenance on the FS out of it. :)16:26
andygraybeal0 bytes.. all of them16:26
andygraybealya, i need help from the list to re-write my script..  i'll get to that soon.  yuo can laugh when you see what i was doing.16:26
SpamapSIf you've never crashed a server by doing something recursive or exponential, you haven't worked on Unix. :)16:28
* patdk-wk loves recursive functions :)16:29
patdk-wkeasy to get yourself in trouble though16:29
andygraybealSpamapS,  :))))16:29
* genii-around remembers a server which kept trying to write to /var/log about /var not being able to mount16:30
andygraybealhah, nice16:30
RoyKgenii-around: using /var on dedicated filesystem isn't really what I do with most servers (anymore)16:47
* ScottK remembers discovering that the fish protocol would try to transfer all files in parallel when he tried to move about a quarter million small files all at once.16:47
ScottKThat was also the day I learned about fork bombs.16:48
RoyKlol16:48
* RoyK somewhat misses the days of CGI - I DoSed a server all by myself once, back in 1998 or so, just by trying to 'fix' a poll16:49
=== jj-afk is now known as jjohansen
CharlieSuHi.  On my production servers I'd like for Users to be prompted to enter a description of what work they're performing upon SSHing in.  Ideally I'd log the message to the auth.log or something similar.  Anyone have experience doing something like this?  I'm trying to determine the best place to do this.  Should I specify a PROMPT_COMMAND in my authorized keys files?  Do I need to create a custom shell that invokes bas17:07
pmatulisCharlieSu: my first thought is to put a forced command (script) that will ①  execute a separate script asking & processing the info and ②  proceed to log in normally17:19
hallynScottK: you're telling me not to bother with the packaging request bugs?17:30
ScottKI think they are a waste of time.17:30
hallynScottK: I was following https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages17:31
ScottKIt's optional.17:31
hallynhm17:31
SpamapSIf you want to do UDD..17:31
SpamapSyou won't show up in the sponsoring queue w/o a bug17:31
hallynso what is the alternative?  just ask someone to sponsor and dput?17:31
SpamapS"just ask someone" is not exactly scalable..17:31
hallyngiven it's 4 or 5 packages, i'd prefer to avoid one bug per17:31
hallynSpamapS: you can't scale me anyway, foo!17:32
ScottKNeither is the sponsoring queue for new packages17:32
RoAkSoAxDaviey: let me know when you send the email17:32
SpamapS99% of the time the new packages should go into Debian anyway.17:32
ScottKSince it's several related packages, my advice is find a dev that's at least sort of interested and work with them.17:32
ScottKAgreed.17:32
SpamapSthe maintainer relationship there is stronger, so unless there's a good reason not to put it in Debian, you should man up and be the Debian maintainer, or the package won't be taken care of on the right level in Ubuntu.17:33
DavieySpamapS: SPICE does have some reasons for going to Ubuntu first.17:33
Davieybut hallyn is beter placed to answer that.17:33
hallynSpamapS: yes, there's good reason not to put it in debian17:33
ScottKDaviey can sponsor then.17:33
SpamapSSuch as, we want to make sure Debian doesn't have it first? ;-)17:34
hallynDaviey: mind sponsoring?17:34
SpamapSlike, DFSG reasons?17:34
=== NG_ is now known as ng_
ScottKSpamapS: Speaking of which, are you in NM yet?17:34
Davieyhallyn: show me the mone^D branches / dsc's17:34
DavieySpamapS: no... hallyn will answer this better, but it was more aligned with versioing of things... and Debian being "somewhat" off another stable release.17:35
SpamapSScottK: I've got key signatures and I'm maintaining a few packages. I think next is finding a DD to carry my flag.17:35
hallynSpamapS: see bug 78722017:35
uvirtbotLaunchpad bug 787220 in ubuntu "[needs-packaging] celt051" [Wishlist,New] https://launchpad.net/bugs/78722017:35
ScottKDid I see a DM application from you recently?17:35
ScottKI don't remember.17:35
SpamapSScottK: no17:35
ScottKSpamapS: Ask your Debian sponsor if you're ready for DM.17:35
hallynDaviey: lemme clean up the copyright files today.  but the sources are all in ppa:serge-hallyn/spice217:36
hallynDaviey: if you prefer, i can push a tarball to p.c.c17:36
Davieyhallyn: either way suites me.17:37
Davieyhallyn: can you explain the reasoning again for going to Ubuntu first?17:37
SpamapSScottK: I've had 5 different sponsors. :-P17:37
ScottKSpamapS: You only need one to say yes.17:37
hallynDaviey: sure.  there's a few interlocking reasons, first is that we want it in main (preferably) by 12.04.  Debian doesn't care to rush it bc they have no release for 2 years.17:38
hallynDaviey: now, spice depends on celt (for now), which is under development.  Each new version of it is not compatible with the previous17:38
CharlieSupmatulis: I'm actually doing this PROMPT_COMMAND="other.sh;$PROMPT_COMMAND";17:39
hallynDaviey: spice may drop celt at some point, but they won't switch versions until celt hits a stable release (which may never happen)17:39
SpamapSScottK: I will be working closely w/ Nobert on MySQL, and slangasek on upstart stuff in Debian this cycle.17:39
ScottKGreat.17:39
CharlieSupmatulis: in /etc/profile.d/question.sh    where other.sh logs to my logger17:39
SpamapSScottK: I figure they'll get tired of me bugging them and we can do it then.17:39
hallynDaviey: we (and ubuntu) have celt 0.7.1 packaged.  spice requires 0.5.1.  Debian won't package celt051 for the reasons cited above.  So Debian is just waiting.17:39
hallynDaviey: we coudl patch spice to use celt0.7.1, but then we wouldn't be able to use our client with redhat server and vice versa17:40
hallynDaviey: let me know if i've not blabbed enough yet :)  I htink I outlined it better in the packaging request bug17:41
Davieyhallyn: sounds good to me17:46
fastveghow would I open a website in text only from the command prompt18:06
CharlieSufastveg: links218:07
Picifastveg: w3m http://google.com18:07
Piciw3m should be installed on ubuntu-server by default18:07
fastvegpici: awesome, thanks.  not installed on mine for some reason but I can grab it18:08
CharlieSufastveg: links2 has X support18:08
fastvegahh ok18:08
fastveghaha w3m is sweet.  loving the text based google18:10
* RoyK just tested links2 with X and probably won't use it again :P18:12
hallynDaviey: ok, so when filling iin the list of copyrights in debian/copyright, do i include things like FSF copyright for install.sh that came through autogen?18:16
CharlieSuHi.  I'd like to make a custom shell like this https://gist.github.com/989190 so that I can get the reason why people are logging in when they do.  Is there a way to something like this without having to do this?   If not, is there a way to tell /etc/passwd to try this and then /bin/bash if this file isn't present?18:28
=== hallyn is now known as hallyn_afk
hallyn_afkDaviey: ok, i think the copyright files are pretyt much sorted out.  I prolly went overboard on the spice one and should yank some out.  But all of the *oneiric* targeted ones in ppa:serge-hallyn/spice2 are the ones18:31
hallyn_afkDaviey: if i disappear, kim0 is a good one to re-test if you like, once they hit universe18:31
* hallyn_afk bbl18:31
Davieyhallyn_afk, sorry18:31
Davieyhallyn_afk, no, keep the copyright limited to the upstream files... autogenerated files don't normally matter.18:31
bencchow do I set fqdn?18:34
RoyKbencc: /etc/defaultdomain and /etc/hostname should do18:35
RoyKbencc: perhaps adding your domain to the search path in /etc/resolv.conf too18:42
patdk-wkheh, I always hate that :)18:43
patdk-wkI refuse to ever add a search domain, just causes all kinds of bad dns requests to my recursors18:44
RoyKpatdk-wk: how?18:46
patdk-wkeverytime it gets a failed lookup, it appends the search domain to it, and tries again18:47
=== RoyK is now known as Neverwhere
=== Neverwhere is now known as RoyK
scott[8]is there a "best" or perfered ssh package? for a website production box running 10.419:17
Piciscott[8]: The standard openssh-server package is pretty much the standard.19:18
scott[8]thanks.19:18
PiciWith less redundancy in that sentence ;)19:18
scott[8]haha19:18
=== unreal_ is now known as unreal
uvirtbotNew bug: #787733 in apache2 (main) "bug in lamp-server" [Undecided,New] https://launchpad.net/bugs/78773319:56
lynxmanadam_g o/20:01
adam_gheyo20:01
=== negronjl_ is now known as negronjl
=== hallyn_afk is now known as hallyn
64MAAJY2LWhen changing the port number for ssh in /etc/ssh/sshd_config how do you know which port numbers are safe to use?20:15
RoyK64MAAJY2L: any port is generally safe, or unsafe20:17
RoyK64MAAJY2L: if you want to stop people brute-forcing your machine on ssh, use something like fail2ban or denyhosts20:18
RoyKI use the latter, since it's distributed in terms of lists of attackers20:18
64MAAJY2LIf I changed the port for ssh  in /etc/ssh/sshd_config from 22 to say 80 I'm assuming that would cause problems because port 80 is for http right?20:20
scott[8]64MAAJY2L, it's not going to stop all traffic going to that port20:21
RoyK64MAAJY2L: just leave it at port 2220:21
scott[8]^20:21
RoyK64MAAJY2L: and just install denyhosts to block bots scanning for passwords20:22
64MAAJY2L Ok I will install denyhosts20:22
RoyK64MAAJY2L: also, using something like john to probe the passwords of your users might be good - or cracklib to make sure they don't choose passwords like 'beer'20:23
RoyK64MAAJY2L: moving the ssh port to something else won't help much - a simple scan will show which ports listen to what20:24
64MAAJY2L RoyK: john the ripper right?20:24
RoyKyep20:24
henningekirkland: ping ;)20:24
kirklandhenninge: howdy20:24
henningekirkland: Hi, can you give me a hint about encrypted homedirs?20:25
kirklandhenninge: probably ... what's your question(s)?20:25
henningekirkland: the man pages seem to only refer to the old "Private" setup (a subdirectory).20:26
semiosis64MAAJY2L: /etc/services lists what services commonly use certain ports, but in general you could put ssh on any port that doesnt already have a service on it20:26
henningekirkland, how is does that change when a complete homedir is encrypted?20:26
kirklandhenninge: okay, so you have a user already installed and you want to convert that user to an encrypted home dir?20:27
henningeno ;)20:27
semiosis64MAAJY2L: you can use 'netstat -anp' to see what services are bound to what ports20:27
kirklandhenninge: okay ... you want to .... install from scratch and have your home dir encrypted?20:27
henningekirkland, I have a user with an encrypted homedir but somehow that config got lost.20:27
kirklandhenninge: "that config" ... you mean your ~/.ecryptfs directory?20:27
64MAAJY2Lright.. can't believe I forgot about using netstat20:27
henningekirkland, right20:28
kirklandhenninge: okay, and this is 11.04?20:28
henningekirkland, I mean it is there but it is for my old config20:28
henningeyes20:28
henningekirkland, full story:20:28
kirklandhenninge: what "old config"?20:28
* RoyK wouldn't use Zimbra on anything != LTS20:28
henningeI backed up my old homedir which was not encrypted but had a Private dir.20:28
henningethen I installed 11.04 and created the user with an encrypted homedir20:29
henningeafter that I restored my old homedir.20:29
kirklandhenninge: which overwrote your .ecryptfs?20:29
henningekirkland, exactly20:30
henningekirkland, I have the key,though20:30
henningethe new key20:30
kirklandhenninge: perfect, that was my next question :-)20:30
henninge;-)20:30
kirklandhenninge: and, are you using encrypted filenames?20:30
henningeyes20:30
kirklandhenninge: perfect ...20:30
kirklandhenninge: okay, do this:20:30
kirklandhenninge: cd $HOME/.ecryptfs20:31
kirklandhenninge: touch auto-mount auto-umount20:31
kirklandhenninge: echo "$HOME" > Private.mnt20:31
kirklandhenninge: ecryptfs-wrap-passphrase ./wrapped-passphrase20:32
kirklandhenninge: (enter your new mount passphrase, that you recorded)20:32
henningeAh, already did that last one20:32
henninge;)20:32
kirklandhenninge: logout, and back in20:32
kirklandhenninge: that should do it20:32
henningeoh, cool20:32
kirklandhenninge: give it a try20:32
henningekirkland, I guess it does not matter if I use graphical or console login?20:34
kirklandhenninge: should not20:34
kirklandhenninge: but console fails more gracefully20:34
kirklandhenninge: in case it fails20:35
kirklandhenninge: i recommend testing console first20:35
henningekirkland, I tried, nothing happens20:35
henningeI mean, I am in the blank homedir20:35
benccconfig file should have 0644 or 0600 mode? for example /etc/nginx/nginx.conf20:36
benccit has 0644 but I don't understand why not 60020:36
kirklandhenninge: okay, you've logged in, and you're that user20:36
kirklandhenninge: but your home dir is not mounted20:37
kirklandhenninge: mount | grep ecryptfs20:37
kirklandhenninge: shows nothing, right?20:37
henningenada20:37
henningeright20:37
ruben23guys any idea when i do this i ahve this error----------------> http://pastebin.com/YWCcWKZf20:38
kirklandhenninge: okay, ls -alF $HOME | pastebinit20:38
kirklandhenninge: let me check that your symlinks are setup correctly20:39
genii-around!info php-imap20:39
ubottuPackage php-imap does not exist in natty20:39
genii-aroundruben23: I think you want php5-imap instead20:40
henningekirkland, will do, have to do "man pastebinit" first ... ;)20:41
kirklandhenninge: or just pastebin the output20:41
henningenot easy from the console20:42
uvirtbotNew bug: #787755 in samba (main) "Samba does not notice added or removed CUPS printers" [Undecided,New] https://launchpad.net/bugs/78775520:42
kirklandhenninge: hence, pastebinit :-)20:43
henningehttp://paste.ubuntu.com/61243120:43
henningekirkland, still need to do that number manually ;)20:43
henningeI think that .cache was created by Gnome on the first failed login20:44
kirklandhenninge: and ls -alF $HOME/.ecryptfs | pastebinit20:44
henningeright20:44
henningeurl++ ;-)20:44
henningehttp://paste.ubuntu.com/61243220:44
henningeargh20:45
henningetry again20:45
henningekirkland: http://paste.ubuntu.com/61243420:45
henningekirkland, shouldn't I be able to search for error messages somewhere?20:46
kirklandhenninge: sure, syslog20:47
kirklandhenninge: sudo grep -i ecryptfs /var/log/*20:47
kirklandhenninge: and the contents of $HOME/.Private/ ... they look encrypted?20:48
henningekirkland, it does20:49
henningeECRYPTFS_FNEK_...20:49
kirklandhenninge: okay, I'm at a loss, then ...20:49
kirklandhenninge: try this:20:49
kirklandhenninge: ecryptfs-mount-private20:49
kirklandhenninge: enter your passphrase20:49
kirklandhenninge: oh, wait20:49
kirklandhenninge: we forgot one thing :-)20:49
kirklandhenninge: doh20:50
henninge"not setup properly"20:50
kirklandhenninge: cd $HOME/.ecryptfs20:50
kirklandhenninge: yup, i just remembered ...20:50
kirklandhenninge: keyctl clear @u20:50
henningehuh?20:50
kirklandhenninge: first, clear your keyring ^20:50
kirklandhenninge: then:20:50
kirklandhenninge: ecryptfs-insert-wrapped-passphrase-into-keyring20:50
kirklandhenninge: you should get a message that two keys were inserted into your keyring20:51
kirklandhenninge: and there will be a signature for each20:51
henningeman page says to pass in a file as a parameter?20:51
henningeok, works without20:52
henningekirkland, only one key20:52
kirklandhenninge: okay, that's fine20:52
kirklandhenninge: now, do: keyctl list @u20:52
kirklandhenninge: should show you two keys, right?20:52
henningesudo?20:53
kirklandhenninge: no sudo20:53
kirklandhenninge: as your user20:53
henninge"list is not a legal command"20:53
kirklandkeyctl list @u20:53
henningesorry, tab completion took be to keytool ...20:54
henninge2 keys in keyring ;-)20:54
henningekirkland, try again (logout/login) ?20:54
kirklandhenninge: not yet ...20:54
kirklandhenninge: we need to put those two key signatures into $HOME/.ecryptfs/Private.sig20:55
kirklandhenninge: one per line20:55
henningeah, that one20:55
henningeactually, I had meant to ask about that file in the first place ... ;)20:55
henningeforgot20:55
kirklandhenninge: the first one needs to be the one that came back from ecryptfs-insert-wrapped-passphrase-into-keyring20:55
kirklandhenninge: and the second line needs to be "the other one" in your key sig list20:55
henningeok20:55
kirklandhenninge: yeah, sorry, i barfed on this one20:56
kirklandhenninge: once you've done that20:56
kirklandhenninge: try ecryptfs-mount-private20:56
henningeok, standby20:57
henningekirkland, yeah!!! ;-D21:00
kirklandhenninge: ;-)21:00
kirklandhenninge: sorry about that21:00
henningekirkland, I'll try the login/logout now21:00
henningekirkland, no need to be sorry21:00
henningekirkland, thank you very much ;)21:01
kirklandhenninge: welcome21:01
henningelogin/logout worked, too21:01
henningekirkland, will you be in Dublin?21:01
kirklandhenninge: yep21:01
henningekirkland: Cool, I'll see you there and buy you a drink21:02
kirklandhenninge: \o/21:02
henninge... or an ice cream or whatever21:02
henninge;-)21:02
=== ng_ is now known as NG_
=== NG_ is now known as ng_
SpamapSI believe the appropriate favor currency in Dublin is a Guinness21:17
* kirkland will work for Guinness21:17
JFoI'd walk a mile...21:17
SpamapSMay 24 13:18:15 clint-MacBookPro libvirtd: 13:18:15.000: 1385: error : qemuDomainObjBeginJobWithDriver:453 : Timed out during operation: cannot acquire state change lock21:20
SpamapSHRM21:20
sorenWhile doing what?21:20
jj995I did "zpool create external -m /external /dev/sde", and when my system rebooted sde became sdd -- can/should I have specified a UUID instead?  How can I rename the device used by the zpool?21:22
jj995(no answer in #zfs, so I was hoping to luck out here)21:23
SpamapSsoren: forcing a dead VM off21:24
SpamapSeventually it actually did work21:24
SpamapSjj995: zfs isn't really a linux thing. ;)21:24
SpamapSeven if it is21:24
SpamapSit isn't21:24
=== MTecknology is now known as dead_letter
andygraybealSpamapS, i kill the process when that happens to me21:30
andygraybealer .. when a vm isn't responding with virsh21:30
cillinjust got bind9 and got it running as caching nameserver, but will the database built be persistant or wiped on reboot?21:36
kirklandnegronjl: ping21:42
kirklandnegronjl: okay, I think I'm about ready for that "dotdee" demo ;-)21:42
uvirtbotNew bug: #787789 in bacula (main) "package bacula-director-mysql 5.0.3-0ubuntu2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/78778921:52
lynxmankirkland: can I see? :)21:52
kirklandlynxman: sure :-)21:52
lynxmanyay21:53
kirklandlynxman: let's get negronjl back online, and do a demo21:53
* kirkland fires up an ec2 vm21:53
lynxmankirkland: *nods*21:53
negronjllynxman, kirkland:  where are you guys doing the demo at?21:56
lynxmannegronjl: I guess ec221:56
kirklandnegronjl: lynxman: ssh ubuntu@ec2-50-17-120-128.compute-1.amazonaws.com21:56
kirklandnegronjl: hey, join us in ec2 + mumble21:58
raoult1kk the download to Upgrading Ubuntu 11.4 is 100%22:00
cillinsome "Avahi" is complaining about fully qualified domain name, how can i change it to something else? like "homenet.org" or so22:04
=== ng_ is now known as NG_
RoAkSoAxkirkland: am I too late for the dotdee demo? :L(22:22
kirklandRoAkSoAx: i can do it again22:22
lynxmankirkland: encore encore! \m/22:22
RoAkSoAxkirkland: no worries :), whenever you schedule to show it to someone else I can jump in22:23
RoAkSoAxkirkland: are we changing powernap config.d/ to dotdee?22:23
kirklandRoAkSoAx: :-)  maybe we should ...22:23
kirklandRoAkSoAx: i was going to demo for kees too (who had the marvelous idea to use inotify)22:24
negronjlhmm.... interesting.  kirkland.  maybe we should start incorporating dotdee into our projects ( orchestra, etc. ).  thoughts?22:24
kirklandnegronjl: great idea;  let me give it a thought22:24
RoAkSoAxkirkland: sure let me know when you show it to him and I'll tag along22:24
kirklandRoAkSoAx: let me fix the upstart job, and i'll demo in a few22:24
RoAkSoAxkirkland: k ;)22:24
cillinanyone can help me with how to change / set a fully qualified domain name?22:28
kirklandRoAkSoAx: what's your LP id?22:42
RoAkSoAxkirkland: andreserl22:42
kirklandRoAkSoAx: ssh ubuntu@ec2-50-17-120-128.compute-1.amazonaws.com22:43
negronjlkirkland:  if it is another dotdee demo, mind if I join in?22:43
kirklandnegronjl: heh22:44
kirklandnegronjl: sure, same machine22:44
kirklandnegronjl: same demo22:44
negronjlahh...ok.  I thought you had time to fix the issues.22:44
kirklandRoAkSoAx: you in?22:44
kirklandnegronjl: oh, yeah, i did do that :-)22:45
negronjlkirkland:  im in22:45
RoAkSoAxkirkland: in22:46
kirklandRoAkSoAx: are you on mumble too?22:46
kirklandRoAkSoAx: i'll talk you through it22:46
aroonihow can i find out the process id and process name of the output of this command: QUEUE=scraper RAILS_ENV=backend rake resque:work --trace ?23:13
SpamapSOMG23:21
SpamapShttps://launchpad.net/ubuntu/+source/rubygems/1.7.2-123:21
SpamapS    + executables are now installed to /usr/local/bin.23:21
* SpamapS sends a giant hug Lucas Nussbaum's way23:21
cillinis there any alternative to Webmin?23:51
Coreycillin: Yes, "Knowing what you're doing."23:51
=== Snugger_ is now known as Snugger
cillin.......well thats a helpful answer, all i want is an graphical enviroment to set things23:52
qman__cillin, ebox is an alternative to webmin23:55
qman__however, though perhaps rude, I agree with Corey23:56
qman__these web GUIs tend to just make fixing things a lot harder when they break23:56
qman__and anyone running something like an internet mail server needs to know more than how to click it in a web GUI, otherwise you're just going to get owned23:57
SpamapS!ebox23:59
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox23:59
SpamapSdamnit I submitted a new factoid for that like 2 months ago23:59
SpamapSits not called ebox anymore23:59
SpamapS!zentyal23:59

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