/srv/irclogs.ubuntu.com/2014/07/18/#ubuntu-server.txt

manjohow does the power button work for servers? does it work thro systemd/logind.conf ? or thro acpid ?00:07
manjothe powerbtn.sh seems to check for logind and exit when acpid is used00:08
manjoand uncommenting powerkey in logind.conf does not help either00:08
=== thomi_ is now known as thomi
=== Ursinha-afk is now known as Ursinha
zartooshHi I have installed ubuntu 14.04 on my system. I would like anytime dhcp server starts on my system remove with new client lease file so it can try to get new IP address. Is this possible? thx00:44
ruben23hi guys any idea on my ubuntu server - i went to cd /mnt  and i created a directory im already as root user but i get this  ----> [root@elastix mnt]# mkdir testcalls --- mkdir: cannot create directory `testcalls': No such file or directory01:10
sarnoldruben23: try 'cd `pwd`' then re-try your mkdir01:13
sarnoldruben23: that can happen if you deleted the /mnt directory out from underneath your process01:13
ruben23 sarnold: what i will do is  cd..? and pwd..?01:15
sarnoldruben23: or just cd /mnt   :) your choice01:16
ruben23[root@elastix mnt]# cd /mnt01:16
ruben23[root@elastix mnt]# mkdir testcalls01:16
ruben23mkdir: cannot create directory `testcalls': No such file or directory01:16
sarnoldyikes. no idea! sorry01:17
zartooshhi I want to remove a debian package using apt-get remove command but I do not want the package dependencies to be removed, Is this possible? thx01:31
rbasakzartoosh: use dpkg --remove01:43
zartooshrbasak, thx01:57
KawaiolaThis may seem like a basic question however when I scour the internet for the answer there isn't anything straight forward I need to figure out how to make a group in apache02:02
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest32427
=== CripperZ- is now known as cripperz
sarnoldKawaiola: what as a 'group in apache'?05:11
tortibhello can someone help me with this issue?  http://paste.ubuntu.com/7812741/05:39
tortibI'm running ubuntu-server 14.0405:39
sarnoldtortib: you don't want to do that; it or more less destroys your system :(  https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/107251805:41
uvirtbotLaunchpad bug 1072518 in ifupdown "Restart networking crashes dbus and the desktop manager" [Critical,Fix released]05:41
tortibsarnold, oh?05:41
tortibbut I added some IP addresses to the /etc/network/interfaces config file and I want to configure them on the interface now...what's the 'proper' way of doing that on ubuntu?05:41
sarnoldtortib: yeah. without that new guard in place, it made for some extremely upset bug reports. (One from me, haha)05:41
sarnoldtortib: 'ifup ifacename'05:42
tortiboh05:42
tortibokay05:42
sarnoldtortib: or maybe 'ifup -a'05:42
tortibThat didn't do it.05:42
sarnoldhrm, can you pastebin your interfaces file?05:43
tortibI would rather not05:44
sarnoldfairenough05:44
sarnoldyou could strace -f -o /tmp/networking ifup iface   and look for errors in the strace05:45
tortibifup: interface eth0 already configured05:46
sarnoldifdown eth0; ifup eth0  ?05:46
tortibsarnold, so I guess I had the config wrong :)06:01
tortibhow do I add an address? I have iface eth0 inet6 static and then below i have address 2400:6180:0000:0000:0000:aaaa:bbbb then below that I have netmask 6406:02
tortibsarnold, I have that set in /etc/network/interfaces06:04
tortib:x06:04
sarnoldtortib: hrm, the manpage says "Address (colon delimited/netmask) required" -- maybe try 2400:6180:0000:0000:0000:aaaa:bbbb/64 ?06:06
tortibI already have a static ip address set in there and it's the format I described06:06
tortibgateway is also specified that way06:06
sarnoldtortib: what's "2600"? I don't see that class on the wikipedia ipv6 address page06:08
sarnold(I haven't fought the ipv6 fight yet myself..)06:08
tortib2400 you mean?06:08
tortibIt's digital oceans IPs06:08
sarnoldsigh, yeah, that's what I meant. hrm, I'm surprised it looked so unusual..06:10
tortibsarnold, I'm trying to add this to my /etc/network/interfaces config06:20
tortibhttp://paste.ubuntu.com/7812857/06:20
tortibit's a tunnel for hurricane electric06:21
tortibbut everytime I try ifup eth0 it says the interface is already configured06:21
sarnoldtortib: how about 'ifup he-ipv6'?06:22
sarnoldtortib: is the 'ip' command available?06:22
tortibyes06:22
tortiboh it's working now06:22
sarnoldwoot! nice :)06:23
* tortib does a dance06:24
tortibbut i'm still not able to use ifup eth006:25
tortibso I can't assign any ipv6 ips from my /48 to the interface to route traffic :(06:25
sarnoldtortib: you need to bring it down bevfore you can bring it up; did ifdown eth0 ; ifup eth0 work?06:27
tortibsec06:28
sarnoldoh jeeeze, I just figured out 'tortib' :) must be bed time :)06:29
tortibwell06:32
tortibi can't add any ips to the config06:32
tortibit doesn't start the interface for some reason06:32
sarnoldtortib: drat. maybe you're only allowed one addr family per interface in that file. if you want to add more IPs to an interface, you have to use the 'up' or 'post-up' commands to run ip addr add ... dev ...   manually06:33
sarnoldtortib: maybe you have t o do the same if you want both ipv6 and ipv4 addresses on an interface :/06:33
tortibhttp://askubuntu.com/questions/313877/how-do-i-add-an-additional-ip-address-to-etc-network-interfaces06:35
sarnoldfunny; the foo:0 'aliased' interfaces haven't been necessary for over a decade but the interfaces file never adapted..06:36
tortibyeah06:37
sarnoldeither way I guess, whatever you like more :)06:37
sarnoldbedtime ;) good luck tortib06:38
tortibi'm just going to use if.up and create a script to add the IPs to the server that way06:38
tortibthanks sarnold nice talking to you06:38
sarnoldnice talkin to you too :) have fun06:38
=== cripperz is now known as N0DE`
jdmfI'm looking for an Ubuntu 14.04 Rescue image, that I can boot from via PXE/Netboot. Or something similar. I'm using PXE to install OS, but I also want to have a simple OS that I can create and startup my self.07:29
=== disposab1e is now known as disposable
pdsmessing around with preeseeding however it's hang up - any way to see what's frong08:37
peetaur2pds: hit ctrl+alt+f# until you find the one with the log08:46
pdshmmm you don't have way to install software in /bin/sh08:46
peetaur2or look around for the log file in a termina08:46
pdstry to run the following in a postinst08:48
pdssudo apt-get install apt-add-repository08:48
pdssudo apt-add-repository ppa:rquillo/ansible08:48
pdssudo apt-get update08:48
pdssudo apt-get install ansible08:48
pds 08:48
peetaur2don't use sudo08:49
peetaur2and you should use the in-target thing08:49
peetaur2and are you aware that it is one long logical line, so you have to use \ at the end of the line, and ; between commands?08:50
peetaur2and you should test your commands manually too ... I bet the repo one will ask interactively about accepting a key or some such08:50
pdsany workaround ?08:51
pdshmmm will mess a bit around :)08:52
pdslike always :)08:52
lordievaderpds: Does the script run as root?08:52
pdsa postinst so probably the user that has be created during the install08:52
peetaur2preseed stuff runs as root08:53
peetaur2it is running in the installer environment08:53
lordievaderAh, yes, then drop the sudo. It will probably break on that asking for a password or something.08:54
pdspreseeding = lots and lots of testing :)08:55
zartooshHI I have a server which gets its Ip address from dhcp. Uing ubuntu 12.04, I could move the disk on my system to another system by removing /etc/udev/rules.d/70-persistnet-network (not sure about name).  System would get new IP address from dhcp server.  Now I have moved to ubuntu 14.04. I do not see that file is getting created all the time.  Also if  I move the disk to another system, the new system still tries to boot with old I11:55
zartooshP address and it does not try to get new IP from dhcp server? thx11:55
=== jibel_ is now known as jibel
flixHi guys and gals! Anyone willing to help me with a port/firewall issue? I want to change my nginx configuration such that the server listens on a different port other than 80, say 82. But as soon as I do that it becomes unavailable, so the firewall thing is my first guess, but I don't seem to be able to fix it... :(12:43
flixNot exactly knowing what I'm doing -- I didn't set the server up myself and I'm not very familiar with Ubuntu --, but I've added a rule in iptables (iptables -A net2fw -p tcp --dport 82 -j ACCEPT) and in ufw service (ufw allow 82) but that doesn't seem to help. When I try to access the server I get a timeout.12:46
Dave404Could someone help me with an upgrade from 10.04 server? Here's the issue I'm having: http://pastebin.com/GHtY9mcm12:50
rbasakDave404: you need to go via 12.04. YOu can't upgrade from 10.04 to anything else.12:54
Dave404rbasak: erk. Erm, how can I do that without losing my configuration?12:54
rbasakDave404: carefully?12:55
rbasakDave404: back up first.12:55
rbasakDave404: you will lose some configuration, because configuration necessarily changes with newer releases of various packages.12:55
rbasakDave404: you have to adjust everything.12:55
Dave404I was mostly worried about having to configure my mail server again12:55
Dave404I'm amazed I managed it the first time12:56
rbasakYou will most likely have to.12:56
rbasakStuff changes. Upstreams deprecate old configuration directives. Etc.12:56
Dave404It's more a concern because when I installed mail server documentation apparently required a degree in compsci to be understood12:57
patdk-wk:)12:57
rbasakThe best thing to do is record what you do to configure a server, and make that automatic. Then work on a new installation on a new release and update that configuration until it works. Then switch over.12:57
patdk-wkrsyslog pisses me off so much for that :(12:57
Dave404Apache and so forth are a doddle these days12:57
rbasakYou'll be upgrading from Apache 2.2 (at most) to 2.4. Various configuration directives have changed.12:57
Dave404Apache I'm not worried about12:57
Dave404Apache is fairly user friendly12:57
rbasakWell, you see my point.12:57
patdk-wkwhat mailserver do you use?12:57
Dave404I'm honestly not sure12:58
patdk-wkcause nothing has really changed in postfix12:58
patdk-wkand only alittle in dovecot12:58
Dave404I recall Dovecot being one component12:58
patdk-wkatleast those programs are very good about backwards config compatability12:58
Dave404I remember it not being clear what the different parts were for only that they needed to be configured12:58
patdk-wkwell the issue with email is, it's a huge stack12:58
patdk-wklots of software doing stuff12:59
Dave404I was just surprised that we (that is to say geeks worldwide) hadn't manage to make it a little easier to install by now12:59
Dave404One can have an instance of Apache up and running in minutes13:00
Dave404On the plus side the documentation looks to have improved13:00
Dave404Sorry to be a negative nitwit13:00
patdk-wkdave404, it's not suppost to be easy :)13:01
patdk-wkif it was, every spammer would have one :)13:01
patdk-wkand that is what everyone running a mail system is attempting to avoid13:01
Dave404That seems like throwing the baby out with the bathwater13:01
patdk-wkwhy?13:01
patdk-wkif you really want your emails to be read13:02
patdk-wkyou will follow what the receiver requires, or pay someone to do it for you13:02
Dave404I don't think I follow but it sounds confrontational13:02
patdk-wkemail is :)13:03
patdk-wkdue to spam/viruses, no server will accept the fact you are who you say you are, till you prove yourself13:03
patdk-wkand doing that proof requires a lot of work13:03
rbasakI have some plans to make all of this better in a fairly revolutionary way, but I haven't had any time to work on it recently :-(13:03
patdk-wkrbasak, including dns, spf, dkim, dmarc?13:04
Dave404I'm not sure how that affects setup to the point of making it so difficult. That sounds like the sort of thing that affects the underlying mechanics rather than the end-user's setting up of it13:04
rbasakpatdk-wk: yep!13:04
patdk-wkend user? the end user is simple13:05
patdk-wkthe issue with end users, is email programs are still written from the 80's13:05
Dave404I recall the documentation alternating between aggravatingly vague and impenetrably deep13:05
patdk-wkwhy do they default to port 25? 25 was done away with in 200513:05
Dave404So it would say "You need these packages. Oh and this one." without explaining what the purpose of any of them was in an approachable way13:06
Dave404Then further down it would assume one understood how the parts fit together and the explanation could skip to properly in-depth things13:07
Dave404From what I can see at least some of that has been remedied13:07
Dave404Okay, so PostFix exchanges email between the server and the outside world. Cool.13:08
Dave404Then Dovecot makes it accessible remotely - serving up email via POP3 or IMAP13:08
Dave404Sorry, rubber ducking13:08
patdk-wk:)13:11
patdk-wkoh, I think I know what you want13:11
patdk-wka generic all in one, smtp server tutorial13:11
patdk-wkI'm not much of a fan of those, probably why I'm coming off that way13:11
Dave404Something like that would be nice, yes. I find it difficult to get into things properly if I'm just stumbling in the dark. I need a general grasp of the big picture before I can appreciate where the details fit in :(13:16
patdk-wkwell, what I would agree more with, and I have seen a few but kindof rare13:20
patdk-wkis more a guide to what is needed13:20
patdk-wkand pointers to documentation for them13:20
patdk-wklike, you will need postfix, dovecot, likely too amavisd-new, clamav, spamassassin13:20
patdk-wkand optionally, policyd, postsrs, ...13:20
Dave404It might also be worth noting it's a tiny mail server in terms of users. There's like 3 accounts13:22
patdk-wkbut like most all tutorials, you get, this is what I did, you have no clue if I did it correctly, or if I documented this correctly, or what any of this means, just follow it :)13:22
patdk-wkthe amount of people doesn't matter13:22
patdk-wkit comes down to, how successful you want your emails to get out13:22
patdk-wkhow much spam you don't want to get in13:22
Dave404In all honesty I've never received any spam on these accounts13:22
patdk-wkand how much protection you want from if an account gets compromised or the website is hacked13:22
Dave404In the entire time I've run them13:23
patdk-wkthen you must not submit those email accounts to many likes13:23
patdk-wkthe worst amount of spam I got, was after I had to sign up for microsoft partner :(13:23
Dave404They're not signed up to anything beyond PayPal, I think13:24
patdk-wksecond worse, and this involed phone calls also, was hitting the inc50013:24
patdk-wknow, my wife gets all kinds of crud13:24
patdk-wkbut she puts her email in everything13:24
patdk-wkand signes up for every single *offer*13:25
Dave404I use my personal gmail account for stuff like that and let them handle spam13:26
patdk-wkso atleast the spam part you don't have to worry about then13:26
patdk-wkpostsrs you only need to worry about if you relay/forward emails13:26
patdk-wkpolicyd protects you from a compromised account from sending too much spam, or from your website doing it13:27
Dave404It's a low traffic mail server mostly for handling some super-simple business stuff13:27
patdk-wkthe first time someone gets a virus, and a spammer gets the account password, it will no longer be low volume :)13:27
Dave404No Windows users :)13:28
patdk-wknot sure what that has to do with it13:28
Dave404I'm not sure how to respond to that13:29
patdk-wkyour claiming, if you run windows, there is no way your password can be compromised?13:29
patdk-wkdon't run13:30
Dave404I didn't claim that.13:30
patdk-wkok, not sure what, no windows users, has to do with anything then13:30
Dave404You mentioned viruses.13:30
patdk-wkyes13:30
patdk-wkthose exist on macos, linux, ...13:31
Dave404Not exactly a common problem though compared to the way they are in the world of Windows13:31
patdk-wkno?13:31
patdk-wkevery single java issue is also a linux issue, unless your not using oracle java, then it might not have that security issue :)13:31
patdk-wkevery flash issue is also an issue, likely more so now, without anymore updates13:32
patdk-wkif you never run java/flash/javascript your likely safer13:32
Dave404In all honesty I'm more concerned about issues with WordPress than I am about viruses on my desktop13:33
patdk-wkwordpress has endless issues :)13:33
patdk-wkyou can limit it's issues somewhat by using apparmor13:33
Dave404Yes, I know my *nix desktops aren't impenetrable fortresses but they also don't roll over at the first auto-downloading .exe file13:34
Dave404So I'm not super concerned about someone pinching my password. I'm more concerned about issues somewhere else in the system allowing access without said password13:36
foelixHi all! I'm sorry, I posted this before (half an hour ago) from a webchat but was disconnected (and didn't receive an answer afaikt).13:37
foelixCan someone help me with configuring a Ubuntu 14.04 server such that nginx listens on port 82 instead of 80?13:37
foelixHere's the thing: Nginx works when set to 80 but requests time out when I change the port to 82. I added a iptables rule [iptables -A net2fw -p tcp --dport 82 -j ACCEPT] and also [ufw allow 82] but I'm probably missing something...13:38
patdk-wkstrange13:39
patdk-wkufw? and shorewall?13:39
patdk-wkand you didn't use shorewall to do it?13:39
patdk-wkare you sure nginx is listening on port 82?13:39
patdk-wkyou verified via netstat?13:40
RoyKpatdk-wk: viruses exist on virtually all platforms, but given the volume of such things on windows compared to anything else, you can say viruses virtually do not exist on anything but windows13:40
patdk-wkroyk, depends13:40
foelixsudo netstat -nap |grep 'nginx'13:40
foelixtcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      25639/nginx13:40
foelixtcp        0      0 0.0.0.0:82              0.0.0.0:*               LISTEN      25639/nginx13:40
patdk-wkI find a virus every single day on linux13:41
patdk-wkI only find them about once a year on windows13:41
patdk-wkbut then my windows machines have no internet access13:41
patdk-wkbut the linux ones do13:41
RoyKthen it's not remotely comparable13:41
foelixI'm not familiar with the server (didn't set it up myself). How do I check shorewall?13:41
patdk-wkis there an /etc/shorewall folder?13:42
foelixoh, yes.13:42
patdk-wkedit the rules file in there13:42
patdk-wkACCEPT net $FW tcp 8213:42
patdk-wkif you want net only13:42
patdk-wkdepends on what all else is connected to that machine13:43
patdk-wkthen do a, shorewall restart13:43
foelixNo way!!13:44
foelixit works13:44
foelixThank you so much patdk-wk!13:44
foelixI knew it was something trivial.13:44
patdk-wkwell, if you used iptables correctly, that would have worked (for awhile)13:45
patdk-wkbut adding an accept rule, AFTER the return rule, is not too useful13:45
patdk-wkheh, funny email13:47
patdk-wkRemember before you call "Reboot" - "Reboot" - "Reboot"13:47
foelixThanks for pointing that out! Makes sense. I'm still just a bloody noob after all... :)13:48
foelixSo using ufw (which is enabled on that server apparently), doesn't automatically take care of shorewall, is that right?13:51
patdk-wkthose are two totally different firewall tools13:52
patdk-wkand how do you know ufw is enabled? and not just *installed*13:52
RoyKufw status_13:53
RoyK?13:53
cfhowlett!ufw | RoyK13:53
ubottuRoyK: Ubuntu, like any other Linux distribution, has built-in firewall capabilities. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | GUI frontends such as Gufw also exist. | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo13:54
RoyKChris_hubu: I know...13:54
RoyKeh13:54
RoyKcfhowlett: I know13:55
Chris_hubuheh13:55
RoyKcfhowlett: I was just trying to suggest using ufw status to check if it was enabled :P13:55
cfhowlettRoyK sorry, I came in mid-thread.  proceed.13:56
rbasakzul, coreycb, matsubara, lutostag, gnuoy, gaughen, kickinz1, beisner, rharper: o/14:18
Dave404Again, for my own future reference, here's the code I used: grep -rl "gupfiihzra" . | xargs sed -i 's/<\?php \$gupfiihzra.*\$cmhvuwnohn-1\; \?\>//g'14:18
matsubarao/14:18
beisnero/14:18
rharperrbasak: \o14:18
lutostag\o14:18
rbasakEveryone else: my team are going to do some virtual sprinting for the next couple of hours to get a bunch of server packages merged and sponsored14:18
gnuoy\o14:18
gaugheno/14:18
kickinz1o/14:19
zulhelo14:19
rbasakFeel free to watch, or join in, etc. There are sponsors here to try and help and get packages and other server fixes landed.14:19
rbasakhttp://reqorts.qa.ubuntu.com/reports/ubuntu-server/merges.html is a list of ~ubuntu-server subscribed packages that may need a merge14:20
rbasakhttps://merges.ubuntu.com/ has the full list14:20
rbasakhttps://wiki.ubuntu.com/UbuntuDevelopment/Merging is a helpful guide14:21
rbasakDoes everyone want to pick a package that looks interesting to you, and see if you can either update it, or find out why that would be inappropriate?14:22
* kickinz1 reading14:22
rbasakLet us know what you're looking at to save duplicate work14:22
rharperrbasak: I'll try vgabios14:23
rbasakrharper: sounds good!14:24
rharpergrab-merge says it's maintained in revision control -- need to investigate14:24
rbasakIt may be telling you about for Debian, rather than Ubuntu.14:25
rharperah14:25
gaughenrbasak, if it shows one of our team members names for last uploader, should we ask first?14:25
gaughensome of these look very openstacky14:25
rbasakgaughen: yes. The general locking mechanism to avoid duplicate work is to check with the last uploader.14:26
* lutostag takes a look at autofs14:26
foelixsorry for the delay: service ufw status says "running" -- that's why I assumed it was active.14:26
rbasaklutostag: great, thanks!14:27
gnuoynagios-nrpe for me!14:27
rbasakI don't particularly have a plan for how this session might work btw, we'll just see how it goes I guess.14:27
rbasakI'm happy to go through decisions about each package merge if you want to have that discussion here. Or if you know what you're doing, just go ahead and prepare the merge.14:28
rbasakgnuoy: thank you!14:28
gaughenokay, rbasak I pick numactl14:29
* kickinz1 takes alsa-utils14:29
gaughenrbasak, I have no idea what I'm doing.14:29
beisnerrbasak: i'll give samba merge a spin.14:29
kickinz1(why is alsa-utils, in server list ?)14:29
rbasakbeisner: great! Note that I know I can't upload samba, so we may need zul to sponsor that.14:30
rbasakgaughen: no problem - I'll go through it here. That'd be a good example of the process I think.14:30
zulrbasak:  *cough* core-dev *cough*14:30
gaughenzul, hahahahahah!14:30
rbasakbeisner: also I happen to know that samba FTBFS in Utopic right now. I discovered that yesterday. Maybe it's fixed in Debian now though.14:30
beisnerrbasak, do you have a blog post yet?  ;)14:30
rbasak(I haven't had time to look yet!)14:30
gaughenbeisner, he needs a wiki page!14:31
rbasakkickinz1: that's a good question.14:31
gaughenbeisner, with info about him like that he likes american football, etc, etc14:31
rbasakkickinz1: http://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.utopic/ is a good place to look14:31
kickinz1rbasak, I take another one?14:31
zulrbasak:  also things like keystoneclient, heatclient, etc should probably be blacklisted14:31
rbasakkickinz1: sure. It's certainly a low priority for server anyway.14:32
rbasakzul: yes - I have a plan to implement some sort of blacklisting for the merge report, but there are a bunch of things above it on my TODO list :(14:32
zulrbasak:  i so dont know what that is like14:32
rbasakgaughen: OK so let's look at numactl14:33
gaughenokay14:33
kickinz1ok I'll look at keepalived14:34
rbasakI see that it was last uploaded by dannf, sponsored by seb128, from that report, and it looks like Debian have moved from 2.0.9~rc5-1 to 2.0.9-1 since.14:34
rbasakkickinz1: great!14:34
rbasakgaughen: so the first place that I go to next is http://packages.qa.debian.org/numactl. This is the Debian PTS, which tells me all about this package in Debian.14:35
rbasakAnother important page is https://launchpad.net/ubuntu/+source/numactl, which is the equivalent Ubuntu page.14:35
rbasakFrom the Debian PTS page, I follow a link to the changelog, on the right under links14:36
rbasakHere I can see what Debian have change since Ubuntu diverged.14:36
gaughenlet me find the versions again14:36
gaughenI better write them down14:36
rbasakI'm interested in changelog entries that follow 2.0.9~rc5-1, since the 2.0.9~rc5-1ubuntu2 in the Ubuntu version in Utopic tells me that that's the point where Ubuntu diverged.14:37
matsubaraI'll take python-flake814:37
rbasakmatsubara: great - thank you!14:37
kickinz1grab-merge is dangerous!14:37
gaughenrbasak, oh cool that doesn't look too bad14:37
gaughenjust one changelog entry14:37
rbasakgaughen: right. Just one change.14:37
rbasak(well, one Debian upload, with three distinct changes logged)14:38
rbasakgaughen: next, I want to know what Ubuntu has changed, so that we can assess what we need to upload to update Ubuntu14:38
rharperrbasak: so, the file with conflicts was debian control, so looks like a simple change in the Maintainers list14:39
rbasakSo to do that I click on 2.0.9~rc5-1ubuntu2 under the Utopic section in https://launchpad.net/ubuntu/+source/numactl14:39
gaughenrbasak, what does "* Upgrade standards to 3.9.5 (no change)" mean?14:39
rharperrbasak: should I update the XSBC-Original-Maintainer value to match the Debian Maintainer value ?  Debian QEMU Team vs Debian QA Group ?14:40
rbasakrharper: that's from grab-merge for vgabios, right? What's the rest of the previous Ubuntu delta look like - is it still applicable now?14:41
rbasakgaughen: debian/control must define the Debian policy version that the package complies to. When Debian updates policy, then the package declares compliance with an old policy.14:41
gaughenaaah okay14:41
rharperrbasak: yes -- I think so http://paste.ubuntu.com/7814707/14:41
rbasakgaughen: so the Debian maintainer must check the policy changelog, make sure the package is compliaant with latest policy, and bump the policy version the package declares compliance with.14:42
rbasakgaughen: in this case, he's done that, and found that he's not needed to make any changes. So he's just changed the declaration in debian/control, and logged the change like that.14:42
gaughencool14:43
rbasakgaughen: in Ubuntu, we don't usually want to introduce a delta just to meet Debian policy, as that's just tedious to maintain. So we leave it to Debian (or file bugs and patches with Debian)14:43
rbasakgaughen: the exception is for packages which aren't derived from the Debian package (eg. Juju). There, we originate the package so we update in the same way to bring packages up to compliance.14:44
rbasakrharper: yes - XSBC-Original-Maintainer should match the Maintainer field from the Debian package our diverged package is based on14:44
rbasakrharper: is that the entire diff?14:45
rharperrbasak: thats the only change , yes14:45
rharperthe REPORT file shows only debian/control14:45
rharperas a file with conflicts14:45
* rbasak takes a look14:45
beisnerlol, grabmerging samba advises:  'It looks like this package is maintained in revision control  ...  You almost certainly don't want to continue without investigating.'14:46
gaughenha!14:47
* beisner give samba back to the floor.14:48
* beisner gives samba back to the floor.14:48
matsubararbasak, I'm in a similar situation as rharper, there's a conflict in debian/control in the maintainer field: http://paste.ubuntu.com/7814740/14:49
rbasakrharper, matsubara: so there's a tool called update-maintainer14:50
rbasakThe background is https://wiki.ubuntu.com/DebianMaintainerField14:51
rbasakThis is why, if in Ubuntu we change the package (ie. diverge from Debian), we rename the field.14:51
rbasakWhat the tool does is trivial, so you can fix it up by hand. But  matsubara's conflict looks a bit confusing to me because the original fields were multiline. It may be easiest to select the Debian side of the conflict, and then to just run update-maintainer to fix it for Ubuntu again.14:52
rharperrbasak: so, once I've updated the file with conflicts, what's next?14:53
rbasakrharper: looking14:55
rbasakrharper: so you've fixed the conflict manually, but you still have something that merge-o-matic thinks might be right. But this assumes that it's fine to merge Ubuntu changes with Debian changes.14:56
rbasakrharper: it may be the case that the changes apply but don't make logical sense, or break the package.14:56
rharperok14:56
matsubararbasak, Cool, I left the debian part and ran update-maintainer and now I got this debian/control file: http://paste.ubuntu.com/7814762/ and am ready for the next step14:56
rbasakrharper: debian/source/format says "3.0 (quilt)", so this is a modern best-practice package that uses the quilt system.14:57
rharperrbasak: I think they make sense;  the ubuntu changes add new screen modes;  the upstream changes in debian are unreleated, so I think the ubuntu change still make sense14:57
rbasakrharper: so the next thing I did was to run "quilt push -a", and this failed. Do you get the same thing?14:57
rharperrbasak: where are you running that? in the 5ubuntu1 dir ?14:57
rbasakrharper: I also followed the bug link in the Ubuntu delta, which linked to a Debian bug, which is apparently fixed in Debian. So I think the changes maybe do conflict.14:58
rbasakrharper: yes - in vgabios/vgabios-0.7a-5ubuntu1/14:58
rharperah14:58
rharper% quilt push -a14:58
rharperNo series file found14:58
rbasakrharper: ah, sorry.14:58
rbasakrharper: http://wiki.debian.org/UsingQuilt14:58
rbasakexport QUILT_PATCHES=debian/patches14:59
rbasakexport QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"14:59
rharperah, right14:59
rbasakrharper: those two lines should set you up quickly for hnow14:59
rharpernew box doesn't have those settings14:59
rharperyeah, I get failed push now14:59
rbasakrharper, matsubara: so the general task here is to examine the previous Ubuntu delta carefully, the new Debian changes carefully, and figure out how to apply the Ubuntu delta on top of latest Debian package.15:00
rbasakIn git terms, this is a rebase.15:00
rharperright15:00
rbasakDebian may have picked up changes that Ubuntu made, for example, but in a different way.15:00
rbasakmerge-o-matic tries to do it automatically, but this isn't necessarily safe. You still have to check that it makes logical sense.15:01
rbasakWhen you're done, you can build a source package (I use "debuild -us -uc -nc -S"). Then examine diffs using debdiff against the old and new .dsc files.15:02
matsubararbasak, ah ok, even though the REPORT says the only conflict is in debian/control, whatever the tool did merge automatically and didn't flag as a conflict needs some eyeballing just to make sure?15:03
rbasakA sponsor usually wants to see the diff between the new debian package and the new proposed ubuntu package, and the diff between the old ubuntu package and the new ubuntu package. I usually want to see the diff between the old debian package and the old ubuntu package as well.15:03
rbasakmatsubara: right - you go tit15:03
rbasakyou got it15:03
rbasakI find merge-o-matic useful only for trivial merges, because I want to check every aspect of the old Ubuntu diff manually to make sure that whatever the reason it was there before will still work in the new upload.15:05
rbasakI know other Ubuntu devs who are happy to examine the whole diff that way though.15:05
* hallyn_ does like to look at full debdiffs15:06
rbasakSo what you do exactly is up to you - provided that you're confident at the end of your process that the whole previous Ubuntu delta is accounted for in some way15:06
rharperrbasak: in this case, it appears that some of the ubuntu patches have already been applied; should they be dropped if all of the contents of the patch are included in the newer package ?15:06
hallyn_yup, that's the idea case15:06
rbasakright15:06
hallyn_then note that in the changelog15:06
hallyn_s/idea/ideal/15:07
rharperok and what's the quilt way to drop the patch?15:07
rbasakIf all changes can be dropped, then we can sync the package directly from Debian and drop our delta. That's the most ideal.15:07
rharperrbasak: right15:07
rbasakquilt has a command to do it. I just "quilt pop -a", remove the patch from debian/patches/series and the patch file itself.15:07
rbasak(which also works)15:07
hallyn_rharper: depends on how you got yoru source tree;  i assume it's not yet applied, else it woudl have failed no?15:08
rharperhallyn_: right, quilt push -a failed15:08
rharperso nothing is applied15:08
hallyn_right so just remove that line from series,15:08
hallyn_and remove the patch file15:08
hallyn_(and add to changelog :)15:08
hallyn_profit15:08
rharperah, I was hoping there was a quilt remove15:08
gnuoyrbasak, I have a patch that's in the ubuntu package but not in the debian one and I don't see any mention of why15:08
rharperthat did the series and file removal15:08
rbasakrharper: careful there - it may have applied some and then failed on one, so you may still have some applied.15:08
rbasakrharper: I think there is a quilt remove (or something).15:08
rharperrbasak: its at the top of the series (first file in the list)15:08
rbasakrharper: also safe is to quilt pop -a to be sure.15:08
rharperrbasak: indeed15:09
rbasakgnuoy: so it sounds like you probably need the patch still. If the details of the patch itself make sense there. Does it still apply?15:09
rbasakIs anyone blocked, BTW? I feel OK keeping up right now but am not entirely sure, so please remind me if you're waiting on a question.15:09
rharperhallyn_: would you use dch  to add a line for removing a patch that's already present?  is there a format or anything for that sort of entry ?15:11
matsubararbasak, when you say compare the delta between the two packages, looking at python-flake8_2.1.0-1ubuntu1.patch and python-flake8_2.1.0-2.patch should suffice, right? I see that the debian maintainer changed the order of the dependencies and some wrapping (which I think genereated the conflict in the control file) and the ubuntu maintainer added autopkgtests to the package, so it seems that I want to keep the debian changes and k15:11
matsubaraeep the autopkgtests15:11
gaughenrbasak, so I looked at the ubuntu1 and ubuntu2 diff's and they look pretty small - just adding ppc64el (for ubuntu1) and arm64 (for ubuntu2)15:11
hallyn_rharper: dch -a15:12
hallyn_appends an entry without bumping the version #15:12
rbasakgaughen: looking15:12
hallyn_it will updcate the mod time, so i usually do that15:12
hallyn_rharper: take a look at changelog for qemu.15:12
gaughenrbasak, was just talking through15:12
gaughenI'll keep going, you're answering questions15:12
hallyn_rharper: bc i have to do a lot of that every time i merge from debian or upstream15:12
rbasakgaughen: no I think I'm clear right now :)15:13
rbasakgaughen: so it looks like your one is straightforward and should cleanly merge15:13
rbasakgaughen: personally, this is the point I choose merge-o-matic.15:13
gaughenrbasak, SWEET! I picked well!15:13
rharperhallyn_: ok15:13
rbasakgaughen: so find a directory to use somewhere, and run "grab-merge numactl"15:14
gnuoyrbasak, this is the patch http://paste.ubuntu.com/7814839/ . The update to check_nrpe.c seems fine and useful but I wouldn't like to say about the update to utils.c15:15
rbasakgnuoy: so from https://launchpad.net/ubuntu/+source/nagios-nrpe, I'm clicking on 2.15-0ubuntu115:16
rbasakgnuoy: that shows me the changelog associated with that upload, which in this case is the only upload that involves the Ubuntu delta15:17
gaughenrbasak, done15:17
rbasakgnuoy: ah - so this was previous merge that hasn't changed.15:17
rbasakgaughen: now examine REPORT - it says that everything's clean, so it's pretty much done everything for you.15:17
gnuoyrbasak, I'm going through the confilicts that merge-o-matic spat out fwiw. the others seem trivial, this one I don't get15:18
gnuoyrbasak, so just keep the patch then ?15:19
rbasakgaughen: grab-merge has given you four .dsc files. These correspond to BASE, DEBIAN and UBUNTU for the three-way merge - 2.0.9~rc5-1 is BASE, 2.0.9-1 is the new Debian version, 2.0.9~rc5-1ubuntu2 is the old Ubuntu delta, and 2.0.9-1ubuntu1 is the merge-o-matic's proposed new Ubuntu delta. Does that make sense?15:19
gaughenyup15:19
rbasakgaughen: you can examine deltas with the debdiff command, against two .dsc files. Usually piped into less or something.15:19
rbasakgaughen: so your task now is the same - check that the old Ubuntu delta has been applied to the new Debian version sanely15:20
rbasakgnuoy: looking15:20
* beisner is following along in numactl with gaughen15:23
rbasakgnuoy: OK, so the changelog is telling me a story.15:24
* gnuoy grabs some cocoa15:24
rbasakgnuoy: it wasn't a previous merge by Stephane, sorry15:24
rbasak2.13-4 was in Debian, and the Stephane introduced 2.15-0ubuntu115:24
rbasakthat -0 in -0ubuntu1 is special. It means that he updated to the new upstream release before Debian did.15:24
rbasakAnd that previously, there was no Ubuntu delta, since the entry before that is 2.13-4.15:25
gnuoyok, I follow so far15:25
=== manager is now known as ramgor
rbasakgnuoy: so Debian has now caught up, and also updated to 2.15 - since the upstream version (the part before the -) is the same.15:26
rbasakgnuoy: so it seems likely to me that everything Stephane had to do to update packaging for 2.15, Debian has done now also.15:26
gnuoyrbasak, except this one patch15:27
rbasakAh, sorry. You're ahead of me.15:27
=== JanC_ is now known as JanC
rbasakgnuoy: so just giving you a commentary as I look15:29
rbasakgnuoy: looks like Debian dropped the patch, and Ubuntu still has it.15:30
gnuoyrbasak, do you see a smoking gun for debian dropping it ?15:30
gnuoyI couldn't see a reference in the changelog15:30
rbasakThere are a couple of "Remove obsolete patch" entries.15:31
rbasakBest to look at Debian VCS to match it up I think.15:31
rbasakSo packages.qa.debian.org/nagios-nrpe15:31
gnuoyrbasak, ok, who gets to decide whether this patch actually is obsolete given it seems to be a technical decision based on the awesomeness (or lack of) of urandom15:32
rbasakIf the Debian maintainer maintains a VCS for the package and has listed it, it'll appear here.15:32
rbasakgnuoy: Debian and Ubuntu fight it out :)15:32
gnuoyrbasak, where ubuntu is personified by ...15:32
=== Ursinha is now known as Ursinha-afk
kickinz1rbasak: for keepalived, it seems that there is just an init.d change to keep, as it seems that some of the patches and Build-devs seemed to the same now.15:33
matsubararbasak, so I seem to have built a new package with ./merge-buildpackage after editing the changelog with the dch -a. The only work I actually did was to sort out the conflict in the debian/control. Should this be in the changelog or should I keep the automatic entry added by MOM?15:33
rbasakgnuoy: the first thing I want to do is see if I can figure out Debian's rationale, so I want to find their VCS. The changelog suggests there is one since those are git commit ids. But debian/control doesn't list anything.15:34
kickinz1I looked at: https://patches.ubuntu.com/k/keepalived/keepalived_1:1.2.7-1ubuntu1.patch, then debdiff against debian and ubuntu packages.15:34
rbasakhttps://packages.qa.debian.org/n/nagios-nrpe.html tells me that it's team maintained though, so I'll look at alioth15:34
gnuoyrbasak, tip top, thanks15:34
rharperrbasak: hallyn_: it appears to me that all 4 patches are now included in the upstream debian package15:36
rbasakSorry, I'm falling a little behind here.15:37
kickinz1rbasak, if that becomes the only difference, do we keep it?15:38
rbasakgnuoy: https://alioth.debian.org/projects/pkg-nagios/ seems relevant. It may be in that repository, but the public don't have access. That's probably a bug, and it's also probably a bug that they don't link the VCS from debian/control.15:40
gnuoyrbasak, so what should my next steps be ?15:41
rbasakgnuoy: I think I'd do two things here. 1) File a Debian bug asking for VCS-* fields in debian/control, since evidently they're using a VCS.15:43
rbasakgnuoy: 2) email the team mailing list, explaining that you're not sure why the patch was dropped because it seems sane and relevant to you, and should they reinstate it, and you can't tell for certain because of the lack of a working VCS link15:44
rbasakgnuoy: that's what I'd do, I think.15:44
rbasakgnuoy: in the meantime, Ubuntu still ships 2.15, so we should be OK. I'd want to flag this in the merge report as not-needed for this particular version, since we seem to be carrying everything that Debian is at least.15:45
rbasakI don't have means to flag it like that yet though.15:45
rbasakHowever, it would be good to sync the package if possible, because then it won't be on our plate any more.15:45
gnuoyrbasak, if you were to hazard a guess why would you suppose that using urandom was removed ?15:45
gnuoyand thank you15:46
rbasakhttps://wiki.ubuntu.com/Debian/Usertagging for filing Debian bugs.15:46
rbasakgnuoy: and http://packages.qa.debian.org/nagios-nrpe links to the team mailing list in the maint field.15:46
rbasakgnuoy: NFI why using urandom was removed. It doesn't make sense to me.15:47
rbasakmaybe they figure that they don't need a crypto-safe RNG?15:47
rbasakI don't know.15:47
rbasakSo next, kickinz1 I think. Sorry I'm behind.15:47
kickinz1rbasak, np15:48
rbasakLooking15:48
kickinz1from what I've seen, ther are 2-3 changes:15:49
kickinz1init.d runleves 0 and 6 removed, and a postinst script that remove scripts for those level.15:50
kickinz1Debuild-deps, that are the same now in debian also15:50
=== Ursinha-afk is now known as Ursinha
kickinz1and a patch to suport libnl >= 2.015:52
rbasakWow. The init script changes date back to Edge.15:54
rbasakEdgy15:54
rbasakThere's no explanation as to why it's there, but I guess it's OK to keep that.15:54
lutostagin the debian changelog are we supposed include rationale for resolution of merge conflicts?15:54
rbasaklutostag: I think it's better to be verbose. But I'd only do it if the conflict resolution was non-obvious.15:55
rbasakkickinz1: so I ran debdiff keepalived_1.2.7-1.dsc keepalived_1.2.7-1ubuntu1.dsc|less15:55
rbasakkickinz1: that should show me the old Ubuntu delta, right?15:56
kickinz1you get it directly from https://patches.ubuntu.com/k/keepalived/keepalived_1:1.2.7-1ubuntu1.patch15:56
rbasakkickinz1: I see the Build-Depends change mentioned in the changelog as part of the delta that's still being kept. But there is no delta present.15:56
rbasakkickinz1: so it's not even that it's been dropped - it was already dropped.15:56
rbasakI mean that Debian haven't only just updated it.15:56
rbasakThe previous person who merged it did not check.15:56
kickinz1for me all what is left is the init.d modification, and rming of rcà.D and rc6.d Kscripts15:57
kickinz1I wonder if it worth the merge at each version just for that?15:58
kickinz1I'm looking again at the libnl patch15:58
rbasakkickinz1: that's a good question. I don't like to drop a patch without understanding the rationale for it though, and that's not mentioned, and nor is there a bug link.15:59
rbasakThis is why we should explain non-obvious things in changelogs :)15:59
rbasakkickinz1: I'm also confused because it doesn't apply to actually apply the patch. The debian/patches/series file is empty.15:59
rbasakdoesn't appear to actually apply16:00
kickinz1patch was there to build against libnl3, sbuilding it as it doesn't raise any building troubles at first sight16:04
rbasakYes - perhaps not necessary any more16:04
rbasakBut in that case, the patches themselves in debian/patches should really be removed.16:05
rbasakkickinz1: so it looks like you just need the init.d changes, right?16:05
rbasakkickinz1: that looks reasonable to me, if it builds against libnl3 OK.16:05
hallyn_15:59 < rbasak> This is why we should explain non-obvious things in changelogs :)16:06
rbasak:)16:06
hallyn_and since things after looking at it may seem obvious to you but non-obvious to someone else, i like to comment everything16:06
hallyn_cause i know i'm bad at guessing what will be obvious even to myself in a month16:06
rbasak+1 - if in any doubt, more verbose is better.16:07
rbasakI need to run now. I have a train to catch :-/16:08
kickinz1rbasak, maybe I'm wrong but init.d patch seems not necessary, isn't it?16:08
kickinz1ok, np16:08
rbasakkickinz1: I sort of agree, but without knowing the original reason it was put in, I don't feel comfortable dropping it.16:08
rbasakkickinz1: I suspect that's what every other previous Ubuntu developer who has merged this package has also felt.16:08
rbasakhallyn_: are you around and OK to take over, if others want to carry on? Or zul maybe?16:09
rharperrbasak: so, I'm confused;  vgabios-0.7a-5ubuntu1 dir inside vgabios dir after running grab-merge -- does that have patches applied or not?  quilt says no, but I'm not convinced; if I unpack the orig.tgz  file, I don't see those changes applied.16:09
rbasakrharper: I think the patches are not applied by grab-merge. The orig.tgz file should also not have patches applied. The patches are shipped as-is in the debian.tgz, and dpkg-source will apply them by default when unpacking.16:10
=== kickinz1 is now known as kickinz1|bbs
rbasakmatsubara: usually you should fix up the changelog, so it describes: that you're merging, what remains in the Ubuntu delta, what you're dropped in the Ubuntu delta, and anything else that you've kept.16:11
rharperrbasak: the odd thing is that all of the ubuntu patches in debian/patches/  appear to be present in the _5ubuntu1 dir -- but if I attempt to debuild -S after removing the patches, it says there is a diff between orig and the current tree16:11
rbasakmatsubara: I don't feel it necessary to explain what conflicts you resolved, provided that logically the changes are still described, and if you've had to change any of the logical changes, that you've explained what and how.16:11
rbasakOK, I really have to go now. Sorry!16:12
rbasakWe can resume next week, or feel free to catch me any other time as well.16:12
matsubararbasak, ok. I'll re-do that but I went ahead anyway and built the package with merge-buildpackage and then tried to pbuild it but got dependency failure16:12
kickinz1|bbsthanks rbasak!16:12
rbasakI hope the session was useful. I'm sorry we didn't get as far as any uploads!16:12
kickinz1|bbsyes16:12
lutostagrharper: the debian/patches have been applied to the unpacked dir in your grabmerge dir16:12
rbasakHopefully next time :)16:12
matsubarathanks rbasak, have a nice weekend!16:13
rharperlutostag: ok, that makes more sense to me16:13
hallyn_rbasak: sorry i can't right now, but could in  an  hour16:13
beisnerthanks rbasak!!16:13
lutostagrbasak: thanks~16:13
hallyn_zul: ^ can you take over, if ppl want to continue the merging fun?16:13
rharperrbasak: thanks!16:13
rharperlutostag: I'm still left wondering what next;  if the patches are applied (quilt doesn;'t seem to think so, but it appears that is) -- not sure there is anything to do;16:14
lutostagwhere are you running quilt from, and what cmd -- I havent gotten that far yet16:16
lutostagrharper: ^ ?16:16
rharperlutostag: grab-merge vgaboils; cd vgabios/vgabios-0.7a-5ubuntu1/ ; fix up debian/control (merge conflict); then quilt push -a ;16:17
rharperquilt complains that it can't apply (conflic) and all patches appear to be applied , but quilt pop -a says nothing is applied.16:17
rharperthat's the confusing part16:18
rharperif I don't mess with quilt, debuild -S works just fine16:18
rharperif I remove the patches from the debian/patches/ dir (via quilt remove -r)  then I get a deb error about uncommitted changes16:18
zulill be around16:20
* hallyn_ bbsoon16:21
lutostagrharper: it does seem strange16:21
lutostageven tho my debian/patches had merge conflicts they somehow got applied anyways which doesnt make sense16:21
lutostagand grab-merge doesnt appear to do any quilting of its own16:22
rharperlutostag: indeed16:24
rharperzul: do yo know anything about grab-merges applying patches ?16:25
zulat little16:25
zulwhats up16:25
zuloh wait..grab merge? nyiet16:26
rharperhehe16:27
rharperzul: if we don't use grab-merge then what would the process be ?16:27
zuloh wait...yeah i used grab-merge.sh16:28
zulsorry switching context16:28
zulso whats the problem16:28
rharpergrab-merge showed one conflict, just in the debian/control -- I fixed that up16:28
zulok16:28
rharperrbasak: mentioned that I should quilt push -a16:28
rharperthat blows up16:28
rharperbut I look at it appears that all patches in debian/patches are already applied (but quilt doesn't think so)16:29
zulyeah if the source isnt sane it does16:29
zulwhich one is it?16:29
rharpervgabois16:29
rharpervgabios even16:29
=== Ursinha is now known as Ursinha-afk
zulrharper:  you can try pop -a -f  it then push16:30
rharperzul: no dice16:31
rharperquilt doesn;t think they're applied16:32
rharperbut it appears that they are16:32
rharperwhich means something applied them outside of quilt16:32
rharperIMO16:32
zulrharper:  right16:35
zulrharper:  sometimes there is tmpfiles leftover that shows you patches it thinks that been applied16:36
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== kickinz1|bbs is now known as kickinz1
jonascjHi all. What is a good hostname for a server when no FQDN actually resolves to its ip (e.g. if machine is only attached to a local network)?17:13
jonascjwhatever you would have named it, just without .domain.com?17:14
sarnoldjonascj: it helps to go with a theme; I picked people from nixon's presidency because I know the names well and each machine then has a personality..17:14
sarnoldother people like norse gods17:14
jonascjsarnold: that was not what I meant :) If I wanted to call it "hms.domain.com" if it was publicly avilable, should I just call it "hms" if it is only attached to a local network?17:15
sarnoldjonascj: sure17:15
sarnoldjonascj: some people like to pick a TLD for all their internal machines and then run an authoritative DNS server for that domain internally17:16
sarnoldjonascj: but with ICANN these days .... whatever you pick is liable to be a new TLD some day. sigh.17:16
jonascjsarnold: yeah :/17:16
sarnold(.local used to be perfect for that. dunno if I can blame icann for that one or not, but I might as well.)17:17
jonascjsarnold: what is the hostname used for anyway? I does not impact dns, it doesn't really matter how your terminal look, etc.17:17
sarnoldjonascj: so that you can check uname -a   before rebooting the thing :)17:18
=== Ursinha-afk is now known as Ursinha
jonascjsarnold: will it work as net bios name also?17:18
sarnoldjonascj: that may be a edfault setting of nmbd, but check in on that, it's been a decade since I've used it17:19
sarnoldjust be sure you don't mind the name -- I once named a machine "lilbitch" cause it was an annoyance unlike anything else.. and then when it came time to deploy the thing, we spent forever tracking down every user-visible instance of the name. sigh. :)17:20
jonascjyeah, I've never used it for anyting. I remember it was there in the network config of my windows 98 pc 15 years ago when I as a child tried to set up a network (sharing files between two machines - to no avail)17:20
sarnoldthe usual experience :) haha17:20
jonascj*net bios that is17:20
jonascjHmm, I am installing ubuntu server 14.04 and it fails with "Unable to install busybox-initramfs". It says I can check /var/log/syslog, but how? By booting some live usb, mounting the current /var partition (disk) and read the file?17:53
ogra_jonascj, tty4 should have a shell17:57
jonascjogra_: Do I need internet connection while installing? I have downloaded a ~500MB iso which I've used to make a bootable usb...18:00
jonascjand yes, there was a shell.18:04
jonascjI see two errors: "Unexpected error: command not executed 'sh -c debconf-apt-progress --no-progress --logstderr --    apt-get -q -y --no-remove install mdadm"18:05
jonascjand "Unexpected error; command not executed 'sh [the same as above] install busybox-initramfs'"18:06
jonascjhmm, the downloaded iso matches the md5 published18:11
jonascjbut the usb key "check disk for defects" fails18:11
TJ-jonascj: Does the md5sum of the USB key match too?18:15
rbasakrharper: could it be that the patch has been taken upstream, so the patch is no longer needed?18:16
rbasakrharper: then quilt won't know about it, will fail to apply the patch, and if you examine the upstream code you'll see that it's there.18:17
rbasakrharper: if this is the case it should be in the upstream orig tarball, also (already applied)18:17
jonascjTJ-: I am recreating the usb with usb-creator-gtk, when it is done I will md5 it. I am not sure it should match though...18:17
rbasak(I'm on the train - will not have great connectivity)18:17
jonascjcouldn't the folder structure be different between iso and usb?18:18
TJ-jonascj: I'm not sure either... I usually use "dd" so its a block-correct clone18:19
jonascjdd it to the usb?18:19
jonascjTJ-: ^18:20
sarnoldjonascj: yeah, dd has been far more reliable for me than usb-creator-gtk18:20
TJ-jonascj: I usually just do "dd if=ubuntu.iso of=/dev/sdX" where sdX is a USB key18:20
sarnoldyou don't get the persistent data partition thingy but if you don't care dd is just way easier18:21
jonascjI'll try that instead. I didn't knew that would work18:21
jonascjany good blocksizes or is the default fine?18:23
jonascjafter dd'ing the usb passes the check18:34
jonascjHow safe is to to choose "instal security updates automatically"?18:39
jonascjwill it be done without restarting the machine, or will it involve restarts?18:40
jonascjNever mind18:43
patdk-wkas safe as you doing it yourself :)18:44
jonascjalthought I might review them first if I do it manually, but yeah, what do I nkow about what's safe to do and not18:44
stiv2kis 12.10 EOL now?18:44
patdk-wkfor the last several years, yes18:45
stiv2kso, i cant install any new software?18:45
patdk-wknope18:45
stiv2ki was getting updates still until a couple months ago18:45
patdk-wkthis is why lts was created18:45
patdk-wkhmm?18:45
patdk-wk18months max18:45
stiv2kyes18:45
stiv2khm18:45
patdk-wk12.10+18=?18:45
jonascjWhen the installer comes to install GRUB, where will it install it if I have /dev/md0 (consisting of /dev/sda and /dev/sdb) and /dev/md1 (consisiting of /dev/sdc and /dev/sdd). /dev/md0 and /dev/md1 make up an LVM Volume Group...18:46
patdk-wk13.04?18:46
stiv2ki can't math right now18:46
patdk-wk14.0418:46
stiv2kah18:46
stiv2kthat makes sense18:46
patdk-wkoh, so likely died a few months ago18:46
stiv2kshit18:46
stiv2kso i need to upgrade18:46
stiv2ki dont like upgrading18:46
stiv2kthings always break18:46
jonascjI chose "No" and it now gives me the option to specify a device myself. If I do "/dev/md0" will it in effect be installed to both /dev/sda and /dev/sdb (which make up /dev/md0)?18:49
jonascjspecifying /dev/md0 failed :)18:50
jonascjbut then again, I do not know if the mbr is mirrored by the md-raid, so maybe that is why it does not make sense18:51
jonascjhmm, "pvdisplay" sayd they are named /dev/md126 and /dev/md12718:56
RoyKjonascj: pastebin /proc/mdstat19:00
jonascjRoyK: I'll have to type it here since it is during the installation procedure and I cannot easily get it to pastebin19:02
jonascjRoyK: md126: Active raid1 sdb1[1] sda1[0]19:02
jonascjRoyK: md127: active raid1 sdc1[0] sdd1[1]19:02
plmHi all19:02
plmI broken my system and cant to recovery. Errors were encountered while processing: /var/cache/apt/archives/libc6-dev-i386_2.17-93ubuntu4_amd64.deb19:03
plmE: Sub-process /usr/bin/dpkg returned an error code (1)19:03
plmI trying to install libc6-dev-i386 : The following NEW packages will be installed: libc6-dev-i386 libc6-dev-x3219:03
plmbut I cant to remove19:03
plmoot@pi:~# dpkg -r libc6-dev-i38619:03
plmdpkg: warning: ignoring request to remove libc6-dev-i386 which isn't installed19:03
plmany idea?19:03
RoyKtry apt-cache clean19:05
plmRoyK: root@pi:~# apt-cache clean19:06
plmE: Invalid operation clean19:06
RoyKplm: apt-get clean, even19:08
plmRoyK: I removed manually all other packages and works19:10
plmRoyK: thanks :)19:10
wolterI want to install a printer driver which for some odd reason depends on zenity, however I don't want zenity, how can I proceed installing it without corrupting my apt? (without the need to execute apt-get install -f)19:50
=== Ursinha is now known as Ursinha-afk
liox_hi20:15
liox_I upgrade my php to 5.5 was 5.3 and he also upgraded the apache 2.2. to 2.4 and it broke my web server all vhosts are with Forbidden anyone have any suggestions to help me?20:15
liox_my server fps linode with ubuntu server 12.04 and ISPConfig 320:15
liox_plis help me?20:15
rbasakliox_: documentation at: https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Apache_2.420:16
rbasakFollow the two links20:16
sarnoldliox_: apache 2.4 authentication and authorization is very different from 2.2 -- this is a helpful howto that helped me http://httpd.apache.org/docs/current/howto/access.html20:18
liox_would make a downgrade to apache 2.2 however I can not have some clients that server and this is causing inconvenience for me if someone can help me I would be grateful20:19
Ro__I did install Xen to ubuntu 14.04 LTS, I did setup XEN-API. But I have problems connecting to machine with Citrix XenCenter Software. Any ides how to fix this?20:21
hallyn_jinkeys - virt-manager in utopic is defaulting to spice graphics20:22
sarnoldsurprising20:22
Ro__xend-config file http://pastie.org/private/q5twbr4bthdjm95qopuaoq20:24
=== Ursinha-afk is now known as Ursinha
Ro__Did anyone manage to make Citrix XenCenter connect to Ubuntu Server with Xen20:26
Ro__?20:26
sarnoldRo__: do you have any errors in dmesg or system logs when you try to connect?20:27
Ro__sarnold, dmesg is not populated with xen errors20:28
sarnoldRo__: any firewall rejects?20:28
Ro__ubuntu firewall disabled20:29
Ro__connection with root is enabled20:29
Ro__terminal & ssh20:29
Ro__Could it be that my xend-config is misconfiged?20:30
Ro__sarnold, is it possible that xen-api is not working on ubuntu at all?20:31
sarnoldRo__: sorry, no idea there. the best I can do with xen is offer generic debugging tips20:32
Ro__f***ing xen on ubuntu, trying to make it work 3rd day :/20:33
Ro__By the way, thanks :)20:33
sarnold:)20:34
Ro__P.S. any ideas where could I ask more?20:34
sarnoldRo__: no, best bet might be to ask again in a few hours or in european timezones..20:36
Ro__I am from europe, programmers/sysadmins shouldn't sleep at midnight :D20:38
sarnoldhaha ;)20:38
liox_can someone help me to downgrade my apache 2.4 to 2.2?20:47
Ro__liox_, should be similar http://www.howtogeek.com/117929/20:48
Ro__http://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get20:48
liox_Ro__: I tried to do so however it seems that this trailer php 5.5 apache 2.4 forcing it what can I do in this case?20:49
Ro__one more thing, why do you want to downgrade?20:50
Ro__i think you need to downgrade php too20:51
Ro__i doubt you need php5.520:52
liox_Ro__: because I updated php 5.3 to 5.5 and it also upgraded the apache to 2.4 and broke my vhosts and am not able to deal with unfortunately20:52
Ro__oh20:53
jdmfI have several things on my wish list here - I'm currently setting-up PXE Boot for installing Ubuntu, Debian and others. I need some inspiration here, as I got it working with 1x distribution at the time, but I need to get it to work with multiple images, and with ease. I'm also working/looking for an Ubuntu 14.04 Rescue image, that I can boot from via PXE/Netboot. Or something similar. So, how do I create a small Ubuntu Image that I can boot into20:54
jdmf also? I need some good pointers.20:54
bekks!apache220:54
bekkshmm.20:54
Ro__liox_, do you have many vhosts?20:54
liox_Ro__: yes approximately about 15 vhosts20:55
liox_=(20:55
Ro__thats not many :D20:55
Ro__Ok, one more thing, do you know that php 5.5 might break your php5.3 code?20:56
bekksliox_: https://library.linode.com/web-servers/apache/2.2-2.4-upgrade20:56
liox_Ro__: the greatest fear and lose the emails the email service is still active do not know how to backup a use postfix with roundcube20:57
Ro__liox_, so do downgrade of php and apache20:57
Ro__it should work again20:58
liox_My vps is based on this configuration20:58
liox_http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-320:58
liox_Ro__: I'll try to downgrade can help me?21:00
liox_My customers are mad at me = /21:00
liox_i run apt-cache showpkg php521:00
liox_ok21:00
liox_list :21:01
liox_Provides:21:01
liox_5.5.15~rc1+dfsg-1+deb.sury.org~precise+1 -21:01
liox_5.3.10-1ubuntu3.13 -21:01
liox_5.3.10-1ubuntu3 -21:01
liox_Reverse Provides:21:01
Ro__liox_, use pastebin21:01
liox_ok21:01
sarnoldjdmf: you might try this: https://help.ubuntu.com/community/Installation/MinimalCD21:01
liox_Ro__: http://pastebin.com/5pgK0qdK21:02
liox_Ro__: With this information I can get back to php 5.3? reverse providers came up empty21:03
liox_Ro__: if not I need at least PHP 5.4 and Apache 2.2 on that server to return my web server again21:04
Ro__liox_, reverse to php5.3 and reverse to apache2.2 it should work21:06
Ro__liox_,  use versions from showpkg21:08
liox_Ro__: apache showpkg21:10
liox_http://pastebin.com/CDW29ctd21:10
liox_Ro__: php not list reverse package =(21:11
Ro__liox_ you need to do both reverses21:11
Ro__same time21:11
Ro__just install downgraded apache2.2 and php5.321:12
liox_Ro__: apache reverse command:21:12
liox_apt-get install apache2.2-bin=2.2.22-1ubuntu1.6 apache2.2-common=2.2.22-1ubuntu1.6 apache2-mpm-prefork=2.2.22-1ubuntu1.621:12
liox_Ro__: yes ?21:12
jdmfsarnold: Thanks, looking into this also.21:12
Ro__yea21:13
Ro__liox_, bw, how did you upgrade php? you added new repos? Or you did update the ubuntu to new major version?21:14
jdmfIf anyone have other good sources of inspiration, please share. :) Currently my biggest problem is having a fully working Ubuntu to be loaded/started from boot that can be my rescue system. I want to be able to install packages and customise this Ubuntu before creating a bootable package. How do I go about this, and where do I search?21:14
Ro__https://help.ubuntu.com/community/LiveCDCustomizationFromScratch21:15
liox_Ro__: to run this command and do this mensgem downgrate appeared at the end of the process:21:15
liox_Setting up apache2-mpm-prefork (2.2.22-1ubuntu1.6) ...21:15
liox_In apache MPM package installed21:15
Ro__liox_, so now you should have apache 2221:16
Ro__liox_, so now you should have apache2221:16
Ro__jdmf, http://www.linuxfromscratch.org/ :D21:17
liox_Ro__:  i added new repos for upgrade php5.521:17
Ro__what kind of repos?21:18
sarnoldRo__: haha that's probably too customizable :)21:18
liox_Ro__: this repo21:18
liox_sudo add-apt-repository ppa:ondrej/php521:18
liox_Ro__: when trying to run apache with that this message now:21:20
liox_service apache2 start21:20
liox_In apache MPM package installed21:20
liox_No apache MPM package installed21:20
Ro__try "ppa-purge -i ppa:ondrej/php5"21:20
Ro__liox_, does it work21:23
bitfuryHi, anyone know how I can set the outgoing email address in /etc/email-addresses for all users?21:24
bitfuryinstead of specifying it for each ?21:24
liox_Ro__: one minute Updating packages lists21:25
Ro__good21:25
liox_Ro__: this mensage21:26
liox_Ro__: http://pastebin.com/2MMEQ1gp21:26
liox_Ro__: Now what do I select?21:26
Ro__liox_, did you add more repos?21:27
liox_no21:28
liox_yes or not or quit?21:28
Ro__press yes21:28
liox_ok21:28
Ro__after it remove php-pear21:28
Ro__and remove libssl-dev21:28
liox_Ro__: other message21:29
Ro__now remove ppa:ondrej/php5 repo and install apache2 and php21:29
liox_Ro__: http://pastebin.com/Tn1Eh6FL21:29
Ro__press yes21:31
Ro__after thins you should have apache22 and php5.3 once again21:31
Ro__*this21:32
liox_Ro__: opened a window with information reguintes21:32
liox_opened a window with information21:32
Ro__and...?21:32
liox_Ro__: open a windows with21:33
liox_http://pastebin.com/zadbepg921:33
Ro__make a copy of php.ini21:34
liox_ok21:34
Ro__and then apply for maintainers versioon21:34
liox_Ro__: There is a copy of php.ini in each folder inside / etc/php521:37
liox_apache2  cgi  cli  conf.d  fpm  mods-available21:37
Ro__fpm21:37
Ro__one21:37
liox_Ro__: php.ini21:47
liox_http://pastebin.com/St255Sxq21:47
Ro__did you apply maintainers version?21:48
liox_Ro__: not understood21:51
liox_Ro__: I would like to keep the configuration files en sobrescre them21:52
Ro__ok, try keeping it21:52
liox_Ro__: php -v21:54
ruben23hi there guys any ide aon this error ----> -bash: ./changepass.pl: /usr/bin/perl^M: bad interpreter: No such file or directory21:54
liox_Ro__: PHP 5.3.10-1ubuntu3 with Suhosin-Patch (cli)21:55
sarnoldruben23: what does 'file ./changepass.pl' report?21:55
liox_Ro__: apache not work service apache2 start21:55
liox_No apache MPM package installed21:55
liox_Ro__: still keeps giving this message when trying to start apache21:56
liox_Ro__:21:57
liox_what can be?21:57
Ro__apt-get install apache2-mpm-prefork21:57
liox_ok21:57
Ro__if you have more problems with MPM, see http://ubuntuforums.org/showthread.php?t=211472421:58
liox_Ro__: one error21:58
liox_http://pastebin.com/eeDtNixj21:58
Ro__liox_: it seems that the problems you have is apache 2.4 configs. just backup yout vhosts configs, and reinstall apache222:01
liox_Ro__: to back up the vhosts and just copy the files?22:03
Ro__config files22:04
Ro__yes22:04
liox_Ro__: you better make a copy of everything in / etc/apache2?22:05
Ro__acceptable to22:06
hambonep4uhello guys.  qq, anyone know of a pastebin server package for ubuntu?  I want to host a pastebin internally on my network22:08
=== aarcane_ is now known as aarcane
liox_Ro__: and I use ISPConfig panel reinstall apache can not not break something?22:08
Ro__liox_ you shouldn't break anything22:10
sarnoldhambonep4u: there's a pnopaste package -- I've never tried it though22:10
liox_Ro__: I have another server with the same configuration that if I take the apache.conf file and it will be subistituir it solves?22:10
hambonep4usarnold: yeah i saw that one in the repo’s. i did some reading on it and it didnt look like it will suite my needs22:11
Ro__liox_,, yes, but it might need reinstall of apache either way22:12
Ro__liox_,, yes, but you might need reinstall the apache either way22:15
liox_Ro__: I have certificate in a field that can give him problem? I saved the directory / etc/apache2 can follow the complete reinstallation?22:17
Ro__yes do the reinstall22:18
liox_Ro__: how do I reinstall it now which command?22:20
liox_Ro__: apt-get install apache2-mpm-prefork ?22:20
Ro__do the uninstall of apache22:21
Ro__then remove apache.conf22:21
Ro__make apache2 install again22:21
liox_Ro__: unistal purge ou remove?22:31
Ro__try this: apt-get --reinstall install <package>22:33
Ro__if not: "apt-get --purge remove <package>" then "apt-get install <package>"22:33
liox_package is apache2 only or apache2-mpm-prefork22:37
liox_?22:37
Ro__both22:38
liox_Ro__: Package apache2 is not installed, so not removed22:40
Ro__what do you mean?22:42
hallyn_jdstrand: hm, how do i run virt-aa-helper by hand again (for testing purposes)?22:49
liox_Ro__: apache unable resintalar he kept the vhosts directory of the problem and now all access to a vhost he ta pointing to default-ssl22:50
liox_Ro__: consegui reinstalar o apache ele manteve o diretorio dos vhosts o problema e que agora todo acesso a um vhost ele ta apontando para default-ssl22:50
liox_Ro__: ops22:50
Ro__huh?22:50
liox_Ro__: unable to reinstall apache he kept the vhosts directory of the problem and now all access to a vhost he ta pointing to default-ssl22:50
Ro__so you can not remove apache?22:51
liox_Ro__: yes i removed apache222:51
liox_http://mercattomarmores.com.br/ see22:51
Ro__but hosts are no more?22:52
liox_this is a default in sites-avaliable is not a ghost domain22:52
Ro__ok, now copy the vhosts files back22:52
Ro__p.s. php is working?22:53
Ro__can you check with phpinfo?22:53
liox_it seems that this all pointing to default vhosts I try to access22:54
Ro__check do you have this line in apache config or vhosts file "NameVirtualHost *:80"22:55
liox_Ro__: Uninstalling apache not removed the sites-avaliable folder and reinstalled when he rode back to sites-enabled22:56
Ro__add this line to apache config "NameVirtualHost *:80"22:57
hallyn_oh, hm, that seems buggy - i have to use "libvirt-$uuid", not $uuid22:57
Ro__liox_,, I am really sorry, but I have to go now..23:01
liox_Ro__: <VirtualHost *:80>23:02
liox_yes23:02
Ro__before <VirtualHost *:80> add  "NameVirtualHost *:80"23:03
Ro__ok, see you23:03

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