/srv/irclogs.ubuntu.com/2013/12/17/#ubuntu-server.txt

phunyguylickalott: nobody said you were trying to be malicious.... these are friendly reminders.  :)00:15
lickalottcopy00:19
phunyguyso I have a question for the server masses.  What would be the best way for 5-10 users, on about 20 machines to sync user data across, so that I can manage users and groups on server, and they appear the same on all machines?00:19
phunyguyI saw the OpenLDAP method, but was curious if there was something simpler.00:20
lickalottwas gonna say LDAP00:20
lickalottprob the easiest.  Don't think they make a command line version of Active Directory....lol00:20
phunyguyyeah, I am just worried about user and group management in LDAP itself.00:21
phunyguyseems pretty difficult.00:21
lickalottonly other way would be to share out the files/folders that you want them to access (i.e. nfs, smb, etc...)00:22
phunyguywell that's not what I am worried about.00:23
lickalottbut if they change their password on their machine you'd have to change it on your main server for authentication00:23
lickalottwhat is your end game?00:23
phunyguyI just want all machines to reflect the same UID/GID as everything else.00:23
phunyguyI could do it all manually, but any time something changes, it has to be done on all of them.00:24
lickalottyeah00:24
lickalottlemme look around a bit00:24
sarnoldback in the day we used to rdist /etc/shadow, /etc/passwd, /etc/groups .. probably ldap is less bad. :)00:25
phunyguysarnold: exactly, especially since service accounts could potentially use different UID/GID00:25
sarnoldphunyguy: ooof, that's probably a much larger issue today than it was way back then, too :)00:25
phunyguyindeed.00:25
lickalotthttp://www.linux.com/community/forums/system-management/active-directory-alternative/13905#p1390500:26
phunyguyNIS00:26
phunyguythat was it00:26
lickalottNIS or NIS+ may work for you00:26
phunyguyI used that in the past.00:26
lickalottbeat me00:26
phunyguythanks00:26
phunyguyI saw it in the link you posted :)00:26
lickalottlook into CUPS for print servers as well (if you need it)00:27
lickalottphunyguy, I got one for you00:27
=== pgraner` is now known as pgraner
lickalottever installed clonezilla to an hdd?00:27
phunyguynope00:27
phunyguyso you are looking for a backup solution, eh?00:28
lickalottwhat do you use to back up your stuff?00:28
phunyguyI have a few tricks up my sleeve.00:28
phunyguyfirst question, what are you backing up?00:28
lickalottyeah.  I've tried dd, FSarchiver (can't configure because it pukes at teh blkid portion), and clonezilla on a usb drive it a pita because I don't want to have to reboot every fri.00:28
phunyguyso you want to back up your entire system?00:29
lickalottI have a script (cron job) that backs up my profile, but i just rebuilt and wanted a fresh image in case the server goes down again00:29
lickalotttrue00:29
phunyguydoes it need to be CLI, or will a GUI app work?00:29
lickalotti'm running server 12.0400:29
phunyguyhrm...00:29
phunyguyduplicity is one.00:29
phunyguyif you have a GUI, you can do backintime00:29
phunyguyand an extreme centralized solution, you can use BackupPC00:30
lickalottsarnold mentioned a few.  i still need to sit down and research some.00:30
phunyguyBackupPC is rsync-based, and does incrementals.00:30
lickalottbackup PC = linux?00:30
lickalottahh00:30
phunyguyyeah, it requires a webserver and it is perl based00:30
phunyguybasically it goes out to your machines, and rsyncs them00:30
phunyguyso you put in what machines you want it to back up and it does it on the schedule you specify.  There is a bit of a learning curve though.00:31
phunyguybackintime is the same type of thing, but has a GUI, and is client to server, instead of server to client.00:31
TheLordOfTimefor Apache2, where does it access its mime.types?00:37
TheLordOfTimeby default.00:37
TheLordOfTimedoes it use /etc/mime.types or no?00:37
sarnoldhallyn_,stgraber, funny "iinuxcontainers.org" on https://github.com/lxc00:45
stgrabersarnold: fixed00:48
sarnoldstgraber: thanks :)00:48
sarnoldhallyn_: handled ;)00:48
stgrabersarnold: I'm still amazed we get over 600 visitors/day on linuxcontainers.org considering how little there's to see :)00:49
sarnoldstgraber: nice! :) I suspect people are looking for a five-minute-guide to using lxc to see if it'll solve their problems..00:55
sarnoldstgraber: (at least, I've considered that it'd be nice to have full-featured containers of all our supported releases to have full apt-file caches ready -- my schroots have nothing in them, since they're used for sbuild...00:56
sarnold.. so I went to linuxcontainers.org in part to see a five-minute guide :) hehe00:57
stgrabersarnold: haha, yeah, I usually have one container per supported release and per architecture (though armel/armhf using qemu-user-static isn't nearly as reliable as I'd like...)00:59
phunyguydoes anyone know if it is possible to have NIS cache login info for when laptops are not able to see the network? (for example, at boot)02:15
sarnoldphunyguy: investigate https://fedorahosted.org/sssd/02:17
phunyguyoooh02:17
phunyguyok02:17
phunyguythanks02:17
phunyguysarnold: are you sure that is not just for ldap?02:18
sarnoldphunyguy: hrm. It might be. :/ I had the vague impression from somewhere that it was "more" but never looked into it much myself02:26
phunyguyyeah... I got all excited with NIS, until I realized that it doesn't do any caching02:26
sarnoldprobably in part because NIS was designed to be deployed alongside NFS; if one is down there's no point trying to use the other :)02:27
phunyguythere has to be some solution that will work for me :(02:29
phunyguyI mean I can do LDAP, but I am not sure how hard it will be to manage02:29
phunyguyabout ready to just say screw it and do manual user/group membership02:30
sarnoldphunyguy: if you do go that route, look into what chef, puppet, and ansible can do for you02:30
phunyguypuppet looks promising....02:30
phunyguyMy brain hurts.02:39
=== gfrog_ is now known as gfrog
babinlonstonAny one there to help me ? facing issue with  vsftpd using ssl  , Error:GnuTLS error -12: A TLS fatal alert has been received. ,Error:Could not connect to server, This is the Error I'm Facing05:13
sarnoldbabinlonston: you might want to try connecting to the server using openssl's s_client program, it supports e.g. -tls1 -tls1_1 -tls1_2 -ssl3 and so forth switches..05:32
babinlonstonsarnold: now i'm using filezilla i'm facing this issue in filezilla, even i have tried winscp too05:34
yolandajamespage, about adding ubuntu headers in openstack projects, shall i create a blueprint here? https://blueprints.launchpad.net/oslo/09:14
jamespageyolanda, can't we just do it under a bug? or was a blueprint requested?09:15
yolandajamespage, well, they told me to create a custom middleware under oslo09:15
yolandai think that's the process, right?09:15
jamespageyolanda, probably - this is a better question for openstack-dev tbg09:15
jamespagetbh09:15
yolandai'm afraid that this takes lots of time to be approved09:16
lifelessUbuntu headers?09:17
yolandalifeless, welll, not ubuntu, but distribution headers09:17
yolandatalking about that: https://review.openstack.org/#/c/61128/09:17
lifelessso, lets choose a channel and stick to it ;) -> #openstack-dev :)09:17
yolandayes, raised question there09:17
Darkstar1_Morning all09:32
=== xnox_ is now known as xnox
Darkstar1_How can I find login logs going back a few months?10:54
Darkstar1_last only carries me as far as the last 1010:55
yolandajamespage, did an initial approach for active/active rabbitmq: https://code.launchpad.net/~yolanda.robla/charms/precise/cinder/ha/+merge/199271, https://code.launchpad.net/~yolanda.robla/charms/precise/rabbitmq-server/ha/+merge/19876812:00
jamespageyolanda, looks like a good start - how does it test?12:03
jamespagecan you rip out rabbit nodes and still manage the deployment?12:03
yolandajamespage, i looked at cinder.conf, verified that rabbit_hosts were there, and refreshed when adding new unit12:03
jamespageyolanda, i'd probably do a bit more testing than that12:04
yolandaand checked in logfile that cinder connects correctly - it's always grabbing first node anyway12:04
jamespageto ensure that its does actually fail over as well12:04
yolandajamespage, sure, what do you suggest?12:04
jamespageso poweroff the first node12:04
jamespageand see if cinder switches OK12:04
yolandaok12:04
yolandajamespage, magic! http://paste.ubuntu.com/6588536/12:07
jamespageyolanda, nice12:07
jamespageyolanda, do we need to land a charmhelpers branch first?12:08
yolandaaccording to doc, there are some config vars to define the delay, retries, etc... do you think it makes sense to add them on cinder charm and in config?12:08
yolandajamespage, and yes, it was just a sample on cinder, but I need to update charmhelpers12:08
jamespageyolanda, I'd hope that there are sane defaults for that sort of stuff12:08
jamespageyolanda, OK - propose the charm-helpers merge and then re-sync12:09
yolandayes, they are defaults12:09
jamespageyolanda, but looks good12:09
jamespagenice work btw12:09
jamespageadam_g, active/active rabbitmq with cinder ^^12:09
yolandajamespage, it was partially done on rabbitmq, but i found that it was always sending rabbitmq_hosts var. I just send it now if vip is not present12:09
jamespageyolanda, makes sense12:10
yolandagreat, i'll add it into charmhelpers, and then it's as easy as to refresh templates in other charms: ceilometer, nova-compute and neutron. The others don't support it12:11
jamespageyolanda, do we not need to set some of the bit here:12:15
jamespagehttp://docs.openstack.org/high-availability-guide/content/_configure_openstack_services_to_use_rabbitmq.html12:15
jamespagedurable queues and ha policy?12:15
jamespagefor 12.04 users they still get old rabbitmq12:15
jamespagepre 3.012:15
yolandajamespage, i'm not sure about it. I added the HA policy flag to rabbit>=3.0 , but this means that rabbit>=3.0 needs rabbit_ha_queues=true added?12:17
yolandaand for rabbitmq_durable_queues, i think it doesn't make any different between pre 3.0 and post 3.0 , it's just another config setting12:18
jamespageyolanda, hmm - I just pulled your branch into my environment12:20
jamespageafter killing one of the nodes, and then trying to create a volume it sticks in creating12:20
yolandait doesn't connect to new node?12:20
jamespagethe scheduler and volume services have not noticed that rabbitmq #1 has disappeared12:20
jamespageyolanda, the api service has as its tried to use it12:20
jamespageand noticed12:20
yolandai did the test and it reconnected myself, which version are you using?12:21
jamespagebut the scheduler and volume service as just waiting for notifications from the powered off12:21
jamespageyolanda, grizzly12:21
jamespageyolanda, I see the multiple node config in the cinder charm OK12:21
yolandai'm with cloud:precise-havana/proposed12:21
yolandalet me try with grizzly then12:21
jamespageyolanda, have all the cinder services noticed the drop?12:22
yolandayes12:22
jamespageyolanda, well it might be that in grizzly the messaging layer is not as good12:22
yolandajamespage, well, in cinder-api log i don't see any try to connect to rabbit12:22
jamespageyolanda, can you create volumes?12:23
yolandathat is only logged for scheduler and volume in my case12:23
yolandalet me try to create some12:23
yolandai haven't related with keystone, i'll deploy full environment and try12:24
jamespageyolanda, +1 this needs a good test to validate it works how we think it does12:26
yolandasure12:26
yolandafirst wanted to check the approach12:26
jamespageI know adam_g had some concerns re subscribers noticing rabbitmq had gone away12:27
jamespagezul, can you make sure the lab-local changes for openstack-ubuntu-testing get back to branch on LP please12:33
jamespageyolanda, hmm - I'm not seeing the scheduler and volume services notice the failed rabbitmq node12:38
yolandai'm deploying with grizzly now to check it12:39
yolandaon havana worked perfectly12:39
yolandamaybe it needs some config settings?12:39
jamespageyolanda, that is on havana - I re-deployed12:39
jamespageyolanda, how did you turn off your rabbitmq-server node12:39
jamespageI just powered mine done12:39
yolandajamespage, it stopped service12:40
yolandaI did a rabbitmq-server stop12:40
jamespageyolanda, well that's not quite the same thing - that probably correctly terminates client connections12:41
jamespagein a failure that is not guaranteed12:41
yolandajamespage, what did you do to test it?12:41
jamespageyolanda, I'm testing on openstack - so I did a 'nova stop <uuid>' on the first unit12:41
yolandajamespage, and rabbit was down?12:41
jamespageeffectively making it disappear like it was unplugged12:42
yolandaok, i'll try in the same way12:42
=== gary_poster|away is now known as gary_poster
zuljamespage:  ack13:10
yolandajamespage, are you following headers discussion on openstack-dev mailing list? what do you think about it?13:15
sdahi all, I would like to be able to connect to my virtual machine desktop with another device (another desktop, laptop, tablet) and be able to choose what resolution use, and be able to connect multiple user at the same time. VNC is not good for do that, any idea?13:15
=== mjeanson_ is now known as mjeanson
plmHi all13:48
plmpeople, my sata HD on my server show in dmesg error reading and timeout to reading. I tryed smartctl and I have segmentation fault. well, my hd I think has badblocks. I need to do a entire copy of it. What is better/secure solution?13:49
plmusing dd?13:50
jamespageyolanda, I am - can't say I'm surprised13:50
yolandajamespage, yes, this feedback is the one i expected when i filed the bug13:51
plmor clonezilla?13:51
jamespageas a system admin the first thing I would do is endeavour to disclose as little information as possible about what my deployment is running on13:51
jamespageplm, dd is probably OK_ but you will probably have issues reading the backblocks so it might not succeed13:52
yolandajamespage, and the --version call doesn't help us for this case13:52
jamespageyolanda, nope13:52
plmjamespage: and the clonezilla? I cant lost data13:53
yolandaso do you think is better to keep that as patches? or just discard the feature for openstack?13:53
jamespageplm, never used clonezilla13:53
jamespageyolanda, I'm concerned about patch cost13:53
yolandamaintenance...13:53
jamespagemost patches need refreshing from time-to-time especially with the CI approach we take with openstack packages13:53
yolandait could be a bit hard to maintain, as it needs to be on all the components13:54
* jamespage thinks about this a bit more13:54
plmjamespage: what you recomend?13:54
jamespageplm, tbh the only time I ever had data important enough to have to recover a bad disk, I sent it to a specialized company todo that.13:55
jamespageits notoriously difficult to get it right13:55
jamespageplm, sorry - no backups I guess?13:55
plmjamespage: yes, has backup, but it old..14:02
plm*is14:02
pmatulisfor dm-multipath, is there a standard method of being notified of a path failure?14:07
jamespageyolanda, I don't think you will get this upstream14:07
yolandajamespage,yes, i don't expect it14:17
jamespageyolanda, still thinking about it14:21
jamespageyolanda, blimey I'm split on this one14:24
yolandajamespage, i'm thinking if adding this feature will discourage people using our packages?14:24
jamespageyolanda, I think so long as its minimal overhead and configurable no14:28
jamespagethink Apache ServerToken/ServerSignature14:28
jamespageonly displays on server generated error pages, completely configurable in terms of disabling it14:29
yolandajamespage, for our case, it's just simple to set a None in the key14:29
yolandabut shipping that as patches will mean to maintain a patch forever14:30
jamespagezul, there is still something wonky with the precise chroots in the lab15:06
jamespageswift is failing todo semaphore locking in its unit tests15:06
zuljamespage:  yeah ill take a look15:07
zuljamespage:  its next on my list15:08
jamespagezul, goody15:08
jamespageI fixed that python-jsonpatch issue btw15:08
jamespagezigo has a fix from me :-)15:08
zuljamespage:  goody15:08
zuljust packaging  savanna yippe skipped15:09
jamespageadam_g, if you have time the ceilometer charm branches are ready for re-review - I made the changes we discussed in the agent charm to selectively pick data from the relation15:25
jamespagezul, can I get a +1 on python-jsonpath-rw for backporting for icehouse please - ceilometer needs it for trunk15:44
jamespageits in universe so we will need to MIR as well I guess15:44
zuljamespage:  +115:45
jamespagezul, ta15:46
xevworkI've created a preseed file that I'm using with 12.04.3 and I'm trying to add RAID configuration to it. I just want an extremely basic RAID setup: root and swap mirrored on sda and sdb. During installation, it successfully creates md0, but fails while creating md1. It's creating swap partitions that I'm not asking for and they're interfering with the creation of the second RAID device.15:49
xevworkDoes anyone have any tips for getting preseeded RAID to work?15:49
=== Ursinha-afk is now known as Ursinha
smoserrbasak, ping for ubuntu-meeting16:01
zulDaviey:  can you have a look at python-taskflow its blocking the opentack-ci stuff16:07
Davieyzul: ok16:13
=== freeflying is now known as freeflying_away
Davieyzul: Accepted.. python-babel is depended on twice and there is an extra leading space on the last line of d/control.. but nothing to block on :)16:28
=== freeflying_away is now known as freeflying
zulDaviey:  cool thanks16:29
=== chaos_ is now known as soahccc
xevworkI'm trying to preseed a RAID configuration. When the installer partitions the drives, it successfully creates the first array but fails on the second. If I check the logs, it says that it couldn't write the array's metadata. Looking further into it, there are swap partitions that I did not ask for!16:34
xevworkHere's my configuration: http://pastebin.com/MmfgzBE516:34
xevworkIt's creating /dev/sda5 and /dev/sdb5 as swap partitions and activating them.16:34
jrwreni'm using nova-compute, havana, from cloud archive, following the guide and having an issue when I start an instance. the libvirt driver creates the disk image, but its owned by libvirt-qemu, then nova-compute tries to use libguestfs to inject the keys and it fails because nova-compute is running as nova user and can't write to the file.16:37
jrwrennevermind. wrong perms on /boot/vmlinuz*16:50
sm_Hello, Is there somebody that does know even something about mail-stack-delivery?17:03
wiehanHow does one set up a system wide proxy (something like https://www.privateinternetaccess.com/) on ubuntu server 12.04.3 through cli?17:06
=== gary_poster is now known as gary_poster|away
patdk-wk_atleast 50 different ways17:08
wiehanpatdk-wk_, simplest would be?17:09
patdk-wk_way too hard, if your asking17:09
patdk-wk_first you need the machine your protecting17:10
wiehaneasiest then?17:10
patdk-wk_then you need a machine you buy, somewhere on the internet17:10
wiehanit's my 12.04.3 torrent box in the garage. have access to it via ssh17:11
patdk-wk_what good is that?17:11
wiehanpatdk-wk_, can track down a paid for server easily17:11
patdk-wk_it's still in your house17:11
wiehanthe idea is to still protect it (make it invisible) to torrent police or whatnot17:12
sm_Something like PeerBlock?17:12
keithzgIs anyone around using Mosh? I've loved it so far but I'm kindof missing the MOTD info (you know, with current loads, if there are pending updates, etc), which doesn't get displayed when logging in via Mosh.  Does anyone know how I might enable that?17:13
patdk-wk_it is so much easier to just not *download* *illegal* things17:13
wiehanpatdk-wk_, thank you captain obvious17:13
wiehansm_, I guess, I'll have to investigate peerblock?17:13
sm_wiehan, Are you trying to do something like PeerBlock, but for Ubuntu Srv?17:13
wiehansm_, I just want my IP hidden when I download stuff. We just had a landmark case in our country17:14
wiehanWhat I use it for actually is quite irrelevant, as no one wants them to be snooped on17:15
patdk-wk_what you use it for is ver relevent, to if I bother to help :)17:15
sm_wiehan, What about torrenting trough VPN?17:16
keithzgHrmm. I see in Mosh's changelog for 1.1.94-1 (which was many versions ago, currently 1.2.4a) that it  "Now prints message of the day (motd)". Is Ubuntu's MOTD somehow non-standard or otherwise wonky then, or is it the client-side implementation of Mosh that's at fault? Hmm.17:17
wiehansm_, I have the server box set up already with a lot invested in it. I run a transmission torrent server and can access it through any device in the house, I also run a media server on the same machine. It was a big investment17:17
wiehansm_, that works great17:18
sm_wiehan, May I ask how much did you spend on it?17:18
sm_In Euros please.17:18
wiehansm_, I would just like to add a little anonymity  to it17:18
wiehansm_, well, the project itself was a lot of fun to do. I have a server cabinet set up with fans and a micro atx server build that I did from scratch with PoE switches and an adsl router and and and... I guess with my IP camera investment - around 1000 euro17:19
sm_wiehan, That's fine. I was just curious. I dont really thing that there are really any other solusions than VPM or something else. That's a big investment indeed.17:20
sm_*Think17:20
wiehansm_, I'll pay for a vpn service gladly. I just want to know how to set it up on ubuntu server17:21
sm_You are using Transmission?17:21
wiehansm_, I mean something like these http://thebestproxyserver.com/17:21
wiehansm_, Transmission indeed17:21
sm_Okey. You might be able to set it up with this guide: http://www.cyberciti.biz/tips/howto-configure-ubuntu-fedora-linux-pptp-client.html17:23
wiehansm_, ty will investigate17:24
sm_wiehan, This might be useful 2: https://forum.transmissionbt.com/viewtopic.php?f=1&t=1073217:25
=== shadeslayer_ is now known as shadeslayer
=== jkyle_ is now known as jkyle
=== jkyle is now known as Guest75169
=== shodan45_ is now known as shodan45
sdaHi all! I would like to access my desktop from another device. I would also like to be able to choose the resolution at connection like RDP. Also I would like to be able to connect with different users. Do you have any Idea? VNC doesn't seems fit my need!18:45
TheLordOfTimesda, "connect with different users" is gonna be hard without something like TeamViewer...18:49
TheLordOfTimeand that's not a good solution for what you need though18:49
sdaTheLordOfTime, Truth is I have a server, I would like to start the server with CLI and then ask the users to connect to it to have a full desktop enviroment18:51
TheLordOfTimeahh...18:52
sarnoldsda: I believe that's one of the features of e.g. http://www.edubuntu.org/documentation/ltsp-live18:54
=== gary_poster|away is now known as gary_poster
keithzgHmphh. Even new text files I upload seem to mostly get placed as unknown files if they don't have a file extension. That's quite annoying.19:35
keithzgOops, wrong channel, although in fairness my owncloud instance IS running on ubuntu server ;)19:39
keithzgHere, though, I'm still wondering how to make the damned MOTD show up when logging in via Mosh instead of SSH.19:40
sw_hi. how can I set up on my Ubuntu server that whenever some user logs in via SSH the history is cleared when they exit SSH? I want it to be for all users19:41
sarnoldkeithzg: hrm, moshing to one of my systems shows the usual "N packages can be upgraded..." message19:41
keithzgsarnold: Hrmm. Odd. I've even tried it now with two 13.10 servers, both running Mosh 1.2.4a, but no luck, no upgrade/capacity/load messages, just straight to a prompt line.19:42
sarnoldsw_: check out the HISTFILE environment variable in the bash(1) manpage19:42
pmatulissw_: that's a shell-specific question.  if bash, study /etc/bash.bash.logout19:43
sw_sarnold: I seen that actually, so set it to some place it'll be lost? also where should this be set to be picked up for all users?19:43
vlad_starkovQuestion: I'm choosing SSD for Ubuntu+KVM host OS. The guests will be on HDD RAID 10. What capacity of SSD will be enough?19:45
sarnoldsw_: yeah, I'd aim it at /dev/null -- it's funny, the manpage says to unset the variable to not save the history, but it's hard to place an "unset" in the right place to keep it unset... well, I guess if a user's ~/.bashrc or ~/.bash_profile over-writes the value, it'll over-write the value...19:45
keithzgsw_: If you set HISTFILESIZE=0 in /etc/bash.bashrc it should work for all users assuming you're okay with users being able to override that if they want.19:45
sarnoldvlad_starkov: I've got a pandaboard "server" (though it has a full desktop install on it) that takes 26 gigabytes. If you go for 64 gigabytes, that'll give you some overhead space for e.g. a squid-deb-proxy, some swap, and some free space to prevent excessive writing19:47
vlad_starkovsarnold: the server has 16Gb RAM. So what size the swap partition should be?19:48
sarnoldvlad_starkov: my laptop's got 16 gigs RAM, I sometimes have ten VMs running at once (768 M ram in the VMs) and I don't think I've seen more than one gigabyte of swap use19:49
vlad_starkovsarnold: I see19:50
sarnoldvlad_starkov: (I did go with 16 gigs swap on my laptop, primarily so I could use hibernate if I wanted.)19:50
sw_keithzg: I have an /etc/bashrc, no /etc/bash.bashrc, is that the same?19:51
vlad_starkovsarnold: how many free space should I reserve on SSD? Should I partition it somehow or just leave unpartitioned?19:51
sarnoldvlad_starkov: I like having a separate /home partition but if this machine won't have any "real" local users, you can probably skip it19:52
keithzgsw_: Yeah, that should be the same, that's the older convention IIRC (I see bash.bashrc on a pair of newly configured 13.10 machines, but I remember it used to be just /etc./bashrc)19:52
sw_keithzg: thanks! so is it better to 'unset HISTFILE', or 'HISTFILE=/dev/null', or 'HISTFILESIZE=0'?19:53
sw_I guess they all do the same thing, but would one be more logical? :p19:53
keithzgsw_: Yeah, the result is pretty much the same. I'd gravitate towards the last two;  I know with HISTFILESIZE=0 the history will exist for the session and then be lost upon logging out, I assume the same is true for the /dev/null method but I don't know for sure.19:56
keithzgsarnold: Hmm, I don't see /etc/motd on the servers I'm trying to get a message via my Mosh login, whereabouts is that pulled from nowadays then?20:02
vlad_starkovsarnold: thanks20:02
sarnoldkeithzg: check out /etc/update-motd.d/20:03
keithzgHrmm. Okay, and then it runs and writes to /var/run/motd for every login. Interesting.20:06
keithzgApparently if I create /etc/motd manually it spits it out upon login via Mosh.20:06
sarnoldkeithzg: do you have the pam_motd module configured in /etc/pam,d/sshd ?20:07
sarnold/etc/pam.d/sshd20:07
MrBillIm looking to restore data from an old dat tape but don't know what program was used to back the data up. Can anyone here help me with this?20:19
sarnoldMrBill: first thoughts: tar pax cpio lonetar (commercial program, dunno if you can still get it..)20:20
sarnoldMrBill: perhaps amanda? it might use other tools to do the actual tape work..20:20
MrBillAlright ill take a look. Tar fails. that was my first guess. ill try the others you mentioned. I also tried to do jsut a raw dd dump of the tape so i wouldnt ahve to keep waiting around for the tape, but that kept throwing IO errors.20:21
sarnoldugh, yeah, I can imagine. It's been ages since I've done tape things, I don't know if I'd expect a 'dd' to work or not. I'd hope it would...20:22
mdeslaurMrBill: was the tape even written from a linux server?20:23
MrBillthere was supposed to be a copy of some really interesting software on this particular tape, so im really hoping it is not bad.20:24
vlad_starkovAbout SSD: https://sites.google.com/site/easylinuxtipsproject/ssd#TOC-Limit-swap-wear-and-tame-the-inode-cache20:24
MrBillwell, the main machine that ran the show at the business that this server was at was running some form of unix/linux, and there are linux style directories listed on it, so i would assume so.20:25
mdeslaurok20:25
mdeslaurthere's arkeia too20:25
MrBilllisted on the label of the tape that is20:25
sarnoldvlad_starkov: yikes, the advice on that page ranges all over the place -- using ahci is very nearly required, setting up fstrim in a cronjob is a good idea, noatime breaks some features where the default "relatime" drastically reduces atime updates but doesn't break features ..changing the swappiness will help some users and hurt other users, and disabling the browser caches is just insane.20:29
vlad_starkovsarnold: what about item "Ubuntu 12.04: change the scheduler to deadline" ?20:33
sarnoldvlad_starkov: sounds decent enough.20:34
=== zzxc is now known as zzxc_afk
vlad_starkovsarnold: what Ubuntu-Server version do you recommend for KVM?20:37
sarnoldvlad_starkov: 12.04 LTS -- it's the newest released LTS. :)20:38
vlad_starkovsarnold: OK)20:38
sarnoldvlad_starkov: if you're looking to build something on 14.04 LTS when it comes out, then perhaps it'd be worth testing with trusty along the development path20:38
vlad_starkovok20:38
vlad_starkovThnks20:38
vlad_starkovA good explanation about TRIM feature for SSD http://www.youtube.com/watch?v=NnBk2IGYerU20:42
=== _ruben_ is now known as _ruben
keithzgsarnold: Looks like it's set up in /etc/pam.d/sshd (http://pastebin.ubuntu.com/6590964/); and yeah, it works fine if I login via SSH, just not mosh.20:57
sarnoldkeithzg: odd, I thought sshd was responsible for setting up the mosh channel..20:57
keithzgsarnold: Well, it sets up the initial connection/handshake and starts the client-side mosh instance, but then it's mosh->mosh, at least as far as I understand.20:58
keithzgsarnold: I'm tempted to just symlink /var/run/motd to /etc/motd, heh. That should do the job, at least.20:58
sarnoldkeithzg: if you go that way it might be easiest to uninstall the dynamic motd package..20:59
keithzgsarnold: Oh, but in theory though, the dynamic motd will be running every time mosh does the ssh handshakey portion, no? And then mosh reads the new motd through the symlink, et voila.21:00
keithzgOr maybe I'm missing something and being overly optimistic, since it doesn't seem to be updating . . . even when I login via ssh. Hmm. Still info circa Dec 12.21:04
vlad_starkovQuestion: Is it fine choice for os SSD: http://ark.intel.com/products/74949/Intel-SSD-DC-S3500-Series-80GB-2_5in-SATA-6Gbs-20nm-MLC ?21:16
sdaHi all! I would like to create a remote session on my desktop from another device. I would also like to be able to choose the resolution reconnect. And be able to connect multiple different users.22:00
TheLordOfTimesda, that question on its own is vague.22:09
TheLordOfTimesda, [2013/12/17 13:51:01] <sda> TheLordOfTime, Truth is I have a server, I would like to start the server with CLI and then ask the users to connect to it to have a full desktop enviroment22:09
TheLordOfTime[2013/12/17 13:54:33] <sarnold> sda: I believe that's one of the features of e.g. http://www.edubuntu.org/documentation/ltsp-live22:09
TheLordOfTimesda, from about 3 hours ago22:10
sdaTheLordOfTime,  yes, but it's not what i searched, i worked 3hours with it :) Truth is I would like something like RDP for windows. But xrdp on linux doesn't work as well as on Windows22:12
soahcccCan anybody give me some tips of how to pinpoint the cause of occasional lag on my server. I can't see anything with htop (delay 0.25) nor with iostat (iotop doesn't work unfortunately). Syslog doesn't show anything interesting and the raid is also operating normally. I don't know what to do know :(22:22
soahcccWith lag I mean a webpage takes > 20 seconds to load, connection via SSH hangs, etc.22:23
soahcccThe load is around 5 while the only thing I notice is an iowait of 2%22:24
sarnoldsoahccc: are you doing anything like logging hostnames in apache request logs?22:54
wamsoahccc: vserver or bare metal?23:06
=== gary_poster is now known as gary_poster|away

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