/srv/irclogs.ubuntu.com/2015/07/16/#ubuntu-server.txt

petersfreemanI'm having difficulty connecting to my printer.  I set up a USB connected printer attached to my print server using CUPS.  From my desktop,  I let it find the printer connected to the server (Server and Desktop are on the same LAN).  I can print a test page from CUPS connected to the server (192.168.0.xx:631, but I cannot print a test page from CUPS connected to my desktop (localhost:631).  Ideas?00:53
sarnoldcheck cups logs on both systems?00:59
petersfreemanSarnold:  got it working.  Thaks02:05
sarnoldpetersfreeman: nice, what was it?02:05
=== ashleyd is now known as ashd
Demon_JesterHey guys, I am in a situation hopefully you can help me. So for some reason I decided to make my boot partition 400gb. I am wanting to move that 400gb of free space from sda1 to sda6, is there a way for me to do that? or what would I have to do.03:02
=== lala is now known as Guest10289
DeadVillainhello all05:49
=== zz_DenBeiren is now known as DenBeiren
=== zz_DenBeiren is now known as DenBeiren
ikoniawin 606:46
=== pHcF_ is now known as pHcF
lordievaderGood morning.08:11
mdeslaurdannf: I'm going to release security updates for mysql, can you confirm that the packages in -proposed are all tested?12:06
mdeslaurdannf: also, since we always ship the latest upstream mysql, I'm not sure how we're supposed to maintain those patches...have they been submitted upstream?12:08
bekksThey are proposed and not yet finally tested. If they are tested fully. They are moved out of proposed.12:09
kevin070982hi there12:57
kevin070982need help for ubuntu server12:57
kevin070982our Raid1 sytem failed to start after a power loose in our place12:58
kevin070982anybody here?13:03
rbasak!patience13:06
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/13:06
kevin070982no boot paste.ubuntu.com13:07
rbasakYou might want to state your actual problem though. Volunteers tend not to want to commit to helping someone with open ended problems because they tend to take an open ended amount of time.13:08
kevin070982no boot http://paste.ubuntu.com/11887633/13:08
kevin070982softraid13:08
lordievaderkevin070982: Did you boot a live stick, is your data still there?13:27
kevin070982i will boot via live stick in few minutes13:33
kevin070982still downloading one13:33
kevin070982the question is what is the best way to make the raid work again13:33
kevin070982seems to me that the bootloader didn^t load the raid partition13:33
lordievaderFirst see if the data is still there. See what the damage is.13:36
=== ashleyd is now known as ashd
dannfmdeslaur: the only thing that still needs testing is the trusty update, which FTBFS due to an unrelated issue. there's a fix for that in the sru queue.13:47
dannfmdeslaur: oracle is looking at fixing it - they can't take my fix because it's a port from mariadb that wasn't contributed under the OCA (noted in the dep3)13:48
dannfmdeslaur: trusty mysql-5.5 is good, mysql-5.6 is the one in the SRU queue13:49
mdeslaurdannf: all I care about is mysql-5.5/trusty, mysql-5.5/utopic and mysql-5.6/vivid13:52
mdeslaurdannf: are those tested?13:52
dannfmdeslaur: yes they are13:52
rbasako/13:54
rbasakdannf: http://paste.ubuntu.com/11887850/ to catch up from #ubuntu-hardened13:54
rbasak(sorry I didn't notice this concurrent conversation)13:55
mdeslaurdannf: so I wasn't part of the original discussion with regards to those patches...I added my concerns to the bug13:55
mdeslaurbut rbasak has now told me it's been discussed13:55
mdeslaurdannf: so my understanding is that if I prepare a new mysql version and the patches don't apply I just ignore them?13:56
dannfmdeslaur: that would cause memory corruption for ppc64el/arm64 users13:57
mdeslaurof course, that is likely to regress users who think mysql is usable in trusty13:57
dannfso i don't think ignoring them is a good approach13:57
mdeslaurdannf: right, so are you commiting to getting me updated and tested patches for each new mysql release as soon as it comes out?13:57
rbasakMy understanding was that if dannf's team can't fix it, then we wouldn't hold up a security update for the other archs.13:58
mdeslaurI can't selectively publish archs13:58
mdeslaurunless it FTBFS13:58
rbasakRight, so that would mean regressing arm64 etc.13:58
mdeslaurrbasak, dannf: if the patches do appear to apply, and it builds, do I release the new version without testing on ppc64el and arm64?13:59
rbasakI'd say yes.14:00
dannfmdeslaur: to the extent reasonable, yes (i commit to updating), but that does need some time14:00
rbasakAgain, I apologise for not speaking to you before. I don't want to see this as a done thing - if that doesn't work for you, we should speak and reconsider.14:00
dannfmdeslaur, rbasak +1 - if it applies, go for it14:00
* dannf understands this is a bad situation - wish i could do more, but nothing i can personally do since i don't hold copyright on the fix14:02
dannfbut i can poke oracle again and ask about status14:02
rbasakI wonder if we should reconsider Oracle MySQL's place in main on the basis of this issue.14:03
rbasakOn one hand the patch author won't sign Oracle's agreement, but on the other hand it's Oracle that won't take the patch and haven't fixed the bug.14:04
rbasakCombined with them not providing security patches.14:04
mdeslaurrbasak: while that's a good discussion for the dev release, it doesn't change anything with regards to the stable releases that I have to update in the next couple of days14:05
rbasakmdeslaur: understood. If you're still unhappy, I think we should reconsider carrying the patch.14:05
mdeslauradding these patches to trusty means every three months for the next 4 years the patches need to get rebased and tested on the latest mysql version14:06
dannfmdeslaur: until oracle releases an update with a proper fix, yeah - which they are working on14:07
mdeslaurright14:07
mdeslaurok, so here's the plan: 1- rbasak please find someone in the sru team to release the packages currently in -proposed ( mysql-5.5/trusty, mysql-5.5/utopic and mysql-5.6/vivid)14:08
mdeslaureither today or tomorrow14:08
mdeslaurthat way, those will be available for ppc64el nd arm6414:09
mdeslaurI will prepare updates for the new versions with the patches14:09
mdeslaurIf they apply, fine, if they don't, I'll ping dannf14:09
mdeslaurI may publish the updates anyway, just not for the two archs that FTBFS14:10
dannfmdeslaur: can you point me at the new release/patches/whatever, so i can look at the risk ahead of time?14:10
mdeslaurdepending if dannf can quickly get me updated patches14:10
mdeslaurdannf: that would be the 5.5.44 and 5.6.25 new upstream versions from mysql's site14:10
dannfrbasak: arges approved the srus, i can ask if he'll flush -proposed for us14:10
rbasakOK. I'd like to delegate chasing the SRU team to dannf, if dannf you're OK with that.14:11
rbasakThough, this assumes that mdeslaur you're happy with this situation.14:11
rbasakIf you're not and think we should reconsider carrying the patches in the first place, then we should do that before releasing the SRUs.14:11
mdeslaurwell, I can't say I'm happy with the situation...this definitely makes things more complicated, and has a chance of regression users of those archs14:11
mdeslaurbut if those archs are broken anyway...14:12
mdeslaurif dannf and/or his team are willing to drop everything when a security notice is published to get the patches working for a new version within a day or two, then that's fine14:14
rbasakI take the view that the patches can't be allowed to hold up security updates for the other architectures, and nor can we expect mdeslaur's team to fix it.14:15
rbasakSo that means dannf's team gets the opportunity to fix it when necessary, or if not, then the affected architectures regress.14:15
dannfi can't commit anyone else from my team - but, unless i'm unreachable, i can commit myself to that14:15
Lukehey guys, I have a service i'm making that can have multiple instances running on the same box. how should i represent that in systemd?14:16
rbasakLuke: http://0pointer.de/blog/projects/instances.html14:16
Lukerbasak: wow thanks14:17
Lukethat was fast14:17
Lukerbasak: I hope this wasn't the first google result ;-P14:17
rbasakLuke: https://encrypted.google.com/search?hl=en&q=systemd%20multiple%20units14:17
Lukehaha14:17
rbasakBut you do need to know what terms to Google for :)14:17
mdeslaurrbasak, dannf: ok, so we're on the same page?14:17
Lukei didn't think "instance" was the right word14:17
dannfit would be nice if we had a way to at least not release broken builds on those archs in the situation that we can't. i'd hate to knowingly release broken builds to someone's stable environment14:18
Lukerbasak: instance brings up the same first result /me is embarrassed14:18
Lukety14:18
rbasakdannf: I suppose the patches could FTBFS and then users will be held back on that arch. But we'd need to check what the Arch: all packages do in terms of versioned dependencies.14:19
mdeslaurdannf: is there a quilt trick to get it to apply the arch specific patches to see?14:19
mdeslaurrbasak: oh, argh, I didn't think about the Arch: all14:19
rbasakdannf: but that also means that affected arches will never get a security update. So which is worse?14:19
dannfmdeslaur: ln -s debian/patches/arch-specific/patches-arm64 patches-amd6414:20
dannfrbasak: tough to say in general - one is definitely going to break them though, the other (security) is status quo14:20
dannfbut security could certainly be worse in some situations of course14:21
dannfand w/ mysql, we don't really know what the security issues are :(14:21
rbasakMaybe the fact that we're considering this should mean that we shouldn't carry the patch and consider MySQL broken on the affected arches until an upstream fix arrives.14:21
rbasakI'm seriously reconsidering my position here.14:22
dannfrbasak: that feels like we're saying x86 is more supported than other archs, which isn't what we communicate14:22
mdeslaurit's quite unfortunate that this is with the mysql package...pretty much any other package in the archive where we can backport security fixes this wouldn't have been an issue14:23
dannfif there was corruption in an LTS main package on x86, wouldn't we carry a patch?14:23
rbasakdannf: I feel like we're saying that in the case of Oracle MySQL, upstream policies mean that for us to keep it in main arches are supported only as well as upstream support them.14:23
rbasakdannf: for src:mysql-*, I'm not sure, because of upstream policies it's a special case.14:24
rbasakIt only remains in main because upstream has a good track record on this (until now).14:24
rbasakhttp://www.ubuntu.com/about/about-ubuntu/conduct - "We expect participants in the project to resolve disagreements constructively. When they cannot, we escalate the matter to structures with designated leaders to arbitrate and provide clarity and direction."14:24
rbasakI'm tempted to say that we're getting to the point where we need a TB decision in order to be decisive.14:25
* dannf feels like we have a working model (dannf will port) and a backup plan (will drop patches) - i don't see why dropping those patches would be better, unless there's no reasonable grace period to give me to port14:25
dannfcounter argument is that right now we don't have working packages on those archs - but i don't know that that is obvious to any users. the builds are there.14:26
dannfthey will just secretly eat your data14:26
mdeslaurright, that is why I'm conflicted14:26
rbasak1) I don't like the bus factor in that. I feel that we should have a team commitment to port the patches.14:27
rbasak2) Falling back to the backup plan means regressing users, who might elect to use an alternative if they know in advance, rather than receiving a regression. So the existence (and need for) the backup plan gives me doubt. Are the chances of needing it great enough that we shouldn't consider builds on these arches to be usable?14:28
dannfi'm sure we can get others on my team to commit to the raw porting - my only concern is w/ the actual packaging14:28
mdeslaurdannf: ideally someone on your team would maintain a tested PPA for each new upstream version of mysql with the patches applied, and tested14:30
dannfand i should be open to my potential conflict of interest - i'm paid to support arm64 customers who want to deploy this14:30
mdeslaurso when oracle's quarterly security advisory goes out, I can pluck the updated patches out of the PPA14:30
dannfmdeslaur: that seems reasonable14:31
rbasakAren't a significant proportion of upstream releases from security advisories (ie. not available earlier)?14:32
mdeslaurseems to me they come out earlier than the security advisories14:32
mdeslaurI'm trying to find that out now14:32
rbasakEven though we had the MRE approved, I've not had the time to keep up to date with new upstream releases.14:33
mdeslaur5.5.44 came out on 2015-05-2914:33
mdeslaurand they published the security advisory for it this week14:33
dannfis there an announce list for new releases?14:33
rbasakAh, so they release first and then tell people what security fixes (if any) were in it six weeks later? I didn't realise that.14:34
rbasakIf that's true then it seems to me that if we did keep up with the MREs then you'd just need to pocket copy to -security14:35
mdeslaurI'd have to rebuild in -security14:35
rbasakAh, OK14:36
rbasakSo...does this mean that dannf's team will do the MREs for us? :)14:36
mdeslaurheh14:36
mdeslaurIT'S A TRAP!14:37
mdeslaur;)14:37
rbasak:)14:37
rbasakIt does seem like the logical conclusion though!14:37
mdeslaurdannf: sorry for making this seem complicated, but this sort of thing has happened before...and while everyone has good intentions, at some point down the road when code gets refactored, nobody has time to do the work anymore14:38
mdeslaurand that's when we're stuck with the hard decision14:39
mdeslaurso I just want to make sure we're on the same page if it comes to that and we do need to regress our users14:39
dannfmdeslaur: right, part of our agreement here was to make sure we had a long term plan - i.e., oracle will care/provide a fix. we have that commitment, but no ETA14:39
mdeslauroh, that's good news14:39
dannfwe've got them hw to test with, etc - we're poking them about status today14:40
mdeslaurok, I wasn't aware that there was a commitment there...that definitely alleviates my concern a bit to know that these could possibly be upstream in the next few versions14:41
dannfas for us doing MREs - i don't think that's necessarily a bad idea for this period. of course, if builds/tests fail for unrelated reasons, that's something we'd need help with14:43
dannfthough i'm still not sure on how to get informed about a new release14:44
rbasakI'd expect my team to help with anything MRE related, though priority would be up to my manager.14:44
rbasak(and thus time)14:44
mdeslaurok, so the patches do apply to the new 5.5 and 5.614:44
rbasakAs for being informed about a new release, I don't really know either.14:44
rbasakPerhaps we should set something up to watch uscan.14:45
rbasakThat'd be useful for other packages too.14:45
mdeslauryeah, or script something to monitor dev.mysql.com14:45
mdeslaurperhaps there's a mailing list, I'm not sure14:45
dannfi can ask oracle14:46
dannfrbasak: mdeslaur: at this point, are you both ok w/ me asking sru-team to push those updates out?14:49
rbasakdannf: I wonder if it's an idea to write out what we've agreed first to make sure that everyone is in agreement?14:49
mdeslauryeah, adding a comment to the bug to state what we've agreed would be ideal14:50
mdeslauronce we've stated it here14:50
rbasakMaybe start in a pad to avoid confusing updates in the bug.14:50
mdeslaurright14:51
dannfsure. 1) dannf's team will figure out how to be notified of micro releases and maintain a ppa of test builds that we use to validate on arm6414:51
dannfoh, pad is fine14:51
mdeslaurrbasak: do you have a pad?14:52
rbasakmdeslaur, dannf: http://pad.ubuntu.com/mysql-arm64-corruption-patch14:53
rbasak(I just created it)14:53
* rbasak wonders why everyone is a shade of pink today14:56
dannfbtw, i'll run this by my manager this morning to make sure we can deal w/ the bus factor14:58
=== DenBeiren is now known as zz_DenBeiren
dannfmdeslaur, rbasak and are these updates always quarterly?14:58
mdeslaurdannf: the security notices are quarterly14:58
mdeslaurdannf: the mysql updates happen at any time I believe14:58
mdeslaurie: there can be 2 updates between security notices14:59
dannfok14:59
mdeslaurso you can plan when you're going to update your PPA, as long as it's done before the security notice is published, which is usually at a pre-determined date14:59
mdeslaurdoes that make sense?14:59
dannfmdeslaur: yes. is there a security notice list, or should i ask oracle about that too?15:00
mdeslaurdannf: http://www.oracle.com/technetwork/topics/security/alerts-086861.html15:00
mdeslaurthe dates, and the notices are listed there15:00
mdeslaurno next date is 20 October 201515:00
rbasakSo arm64/ppc64el users are at some risk of regression as it's not an upstream patch. Should we release note this?15:01
rbasak(although of course it's going into Trusty too, for which release notes are already published)15:01
mdeslaurdannf: so _if_ a new version is published at the same time as the security notice (I don't think that happens), is a 2 day delay enough?15:02
mdeslaurrbasak: hrm, is changelog not enough?15:03
mdeslaurrbasak: not sure where else to put it15:03
rbasakmdeslaur: changelog will have to do I guess. My thought is to inform users of the risk _before_ it happens.15:04
rbasak(as it might affect DB or platform choice)15:04
mdeslaurrbasak: if we do have to drop the patches, we can add a notice to the USN text15:04
rbasakThat would certainly be useful.15:04
dannfmdeslaur: i suspect a 2 *working day* delay would be enough15:05
mdeslaurrbasak: ok, added to pad15:05
mdeslaurdannf: ah, right, that's what I meant, I'll clarify15:05
mdeslaurI'm satisfied, are you rbasak, dannf?15:09
dannf+115:09
rbasak+115:09
mdeslaurawesome15:09
mdeslaurI'll add the info to the bug15:10
jdstrandI'm sorry I was in a meeting15:10
mdeslaurdannf: is the mention of your commitment from oracle in the pad an issue?15:10
dannfmdeslaur: let me confirm w/ my manager first, if that's ok - should be within this hour15:10
jdstrandcan someone tell me why the patches aren't upstreamable? certainly, upstream would want these to work well on those archs?15:10
jdstrand(speaking of mysql)15:10
mdeslaurdannf: yes, definitely15:10
rbasakjdstrand: the patch author declines to sign Oracle's agreement.15:10
jdstrandwho is the patch author?15:10
dannfjdstrand: mariadb devs15:11
jdstrandmeh15:11
mdeslaurjdstrand: it's a licensing issue, but dannf's team does have a commitment from Oracle to fix the issue themselves15:11
jdstrandis there an upstream bug with mysql so they can clean room patch it?15:11
jdstrandok15:11
mdeslaurjdstrand: yes, there's a bug15:11
rbasakhttp://bugs.mysql.com/bug.php?id=7613515:11
jdstrandso this situation is 'temporary'15:11
dannfjdstrand: yes, and they have engaged - but i don't know the status, we're asking today15:11
jdstrandalright, whatever you've come up with between you and mdeslaur is fine with me15:12
mdeslaurjdstrand: are you ok with what's in the pad?15:12
jdstrandI just wasn't clear on that point15:12
jdstrandcan you paste the link?15:12
mdeslaurjdstrand: http://pad.ubuntu.com/mysql-arm64-corruption-patch15:12
rbasakhttp://pad.ubuntu.com/mysql-arm64-corruption-patch15:12
mdeslaurhttp://pad.ubuntu.com/mysql-arm64-corruption-patch15:12
* jdstrand reads15:12
rbasakDid you get that?15:12
rbasakIt's http://pad.ubuntu.com/mysql-arm64-corruption-patch :-P15:13
mdeslaurhehe15:13
jdstrandwait, what was the link?15:13
jdstrand:P15:13
rbasakjdstrand: http://pad.ubuntu.com/mysql-arm64-corruption-patch :-P15:13
mdeslaurjdstrand: http://pad.ubuntu.com/mysql-arm64-corruption-patch15:14
jdstrandah, right. thanks! :)15:14
mdeslaurhehe15:14
mdeslaurnerd humour15:14
jdstranddo we have an idea of when Oracle will fix it? eg, is there a reasonable expectation that it will be fixed for next quarter's update?15:14
jdstrandI agree with the agreement :)15:15
jdstrandplease put it in the sru bug so they are aware too15:16
mdeslaurjdstrand: yes, that is the intention, as soon as dannf's manager signs off on it15:17
jdstrandgreat15:17
tewardrbasak: incoming PM, unrelated15:27
dannfmdeslaur, rbasak, jdstrand : andrewc added some CYA text to the top, but otherwise approves. can we retroactively add this to the trusty release notes?16:06
* rbasak scrolls back to find the link16:07
rbasakdannf: you might need to s/we/ with something to make it clear.16:07
rbasakI don't know whether retroactively changing the release notes is a thing16:08
rbasakThere are point release release notes though16:08
rbasakMaybe a question for the release team.16:08
dannfok16:08
rbasakI think it does make sense to alert users to the issue through the release notes in principle16:09
dannfso maybe just queue it up for the next point release if it hasn't been fixed properly by then16:10
rbasakI'll ask in #ubuntu-release16:10
rbasakjcastro: FYI https://lists.ubuntu.com/archives/technical-board/2015-July/002125.html thanks to teward16:37
jcastrogit comm\o/16:39
jcastrowhoops, I mean, yay! \o/16:39
tewardlol16:39
tewardjcastro: copy-paste fail? :P16:39
jcastroindeed16:39
jcastromore like window focus fail16:40
jcastrowe really need a focus-follows-eyes window manager16:40
teward:P16:40
tewardor direct neural communication with systems16:41
tewardin any case this is up at the TB now, so we can only hope at this point :P16:43
rbasakDon't worry, the TB are on our side. They want Ubuntu to continue to be awesome too :-)16:45
mdeslaurdannf: cool, can I paste that into the SRU bug?16:46
dannfmdeslaur: yeah16:47
mdeslaurthanks dannf, rbasak!16:48
dannfrbasak: btw, is there an existing PPA/group that makes sense for these pre-release builds, or should i just shove one under ~ce-hyperscale?16:49
rbasakdannf: there's https://launchpad.net/~mysql-ubuntu17:04
rbasakdannf: however that isn't Canonical only, so I don't think we can get a devirt PPA there.17:04
rbasakI'm not sure of the current status of virt/scalingstack builders for arm64 and ppc64el. Might be worth enquiring.17:05
StuxnetHi all, newbie here, simple question. I access my server via ssh. When I first started I did the manual username/password and I would always get the default MOTD. Now I login by key authentication and no more MOTD. I even went into sshd_config and changed PrintMOTD to 'yes'. It prints last login but not MOTD. What gives?17:34
StuxnetAs a side note I've been doing key based login for a while now and I just happened to notice that I miss the motd.17:36
pmatulisStuxnet: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/54376718:09
ubottuLaunchpad bug 543767 in openssh (Ubuntu) "ssh logins doesn't show the MOTD when connecting with public key authorisation" [Low,Expired]18:09
StuxnetOh okay well at least I know it's a bug. Why is it expired? Can it be reported again?18:12
StuxnetI'm reading...18:13
pmatulisStuxnet: just add a comment of your own. it doesn't seem right to me. i presume you are running 14.04?18:14
pmatulisStuxnet: as a workaround you can always call motd from your init shell files. the bug mentions how18:15
StuxnetYes 14.04. I think I found the problem, about to test...18:17
StuxnetOkay so18:18
StuxnetI had to set UsePAM to yes in sshd_config and now it prints the motd18:18
StuxnetApparently the motd is generated with PAM18:19
StuxnetThese guys say that as long as challenge response authentication and password authentication are set to no and public key authentication is set to yes then it's fine18:20
StuxnetThanks guys!18:21
pmatulisStuxnet: ok, i read it too quickly then18:30
sloweI'm using an internal mirror of Ubuntu 14.04 (amd64 architecture only), and I'm finding that I have to run "dpkg --remove-architecture i386" in order for things to work on 64-bit installs of Trusty. Is this expected? If so, is there a setting/way to automate this?18:36
patdk-wkyes18:36
patdk-wkthere are 32bit packages required for some things18:36
patdk-wkso to mirror only the 64bit packages would cause an issue18:37
slowepatdk-wk: Can you elaborate on the required 32-bit packages?18:37
patdk-wkwell, I have lots of 32bit that is required for my usage18:37
patdk-wkdue to using 32bit compiled software on my 64bit system18:37
slowepatdk-wk: Let's assume that I'll only be using 64-bit software (these are stripped down server builds). Does that change the picture?18:38
slowepatdk-wk: Or is that assumption flawed? In other words, is it not possible to use only 64-bit software/packages on a typical Ubuntu Server build?18:39
patdk-wkyou must have done something18:40
patdk-wkmy desktop machine and some of my servers have a mixture of 64 and 32bit installed18:41
patdk-wkbut my servers that I don't run outside binaries on, my pure basic ones true open source ones18:41
patdk-wkare purely 64bit18:41
patdk-wkdpkg --print-foreign-architectures18:41
patdk-wkthat command says i386 on my desktop18:41
patdk-wkbut normally nothing on my servers18:41
patdk-wkmeaning only 64bit packages are installed18:42
slowepatdk-wk: When I run "dpkg --print-foreign-architectures" on the server(s), the result is empty (meaning only 64-bit packages are installed).18:42
patdk-wkdpkg -l will also show you what packages are i38618:42
slowepatdk-wk: However, when I try to use the amd64-only internal mirror, it will fail until I run "dpkg --remove-architecture i386". This is even though "dpkg --print-architecture" returns *only* "amd64".18:43
patdk-wkare you sure that is right?18:43
patdk-wkfor me I get18:43
patdk-wkdpkg --remove-architecture i38618:43
patdk-wkdpkg: error: unknown option --remove-architecture18:43
tewardpatdk-wk: it's in the manpage18:44
slowepatdk-wk: This is 14.04.218:44
patdk-wkI was on 12.04 by accident :)18:44
slowepatdk-wk: No worries :-)18:44
tewardpatdk-wk: https://pbin.dark-net.net/view/raw/3d72be32 <--- just for the future :)18:44
patdk-wkdpkg --remove-architecture i38618:45
patdk-wkdpkg: warning: cannot remove non-foreign architecture 'i386'18:45
patdk-wkthat one is still running 14.04.018:45
slowepatdk-wk: That's what I just got, but I'd already run it once, so I'm guessing the command isn't idempotent and tries to do something again.18:45
patdk-wkI should update it, it's just my source code repo, behind lots of firewalls :)18:45
patdk-wkwell,I have never run that command before18:46
patdk-wkso by default atleast, i386 is not installed18:46
slowepatdk-wk: In any case, do you know of any file/setting that is modified by that command that I could track? This would allow me to use Ansible to run that command and then track if the command has been run before.18:46
patdk-wkyou must have pulled something in, like say, java18:46
patdk-wkI don't know18:47
slowepatdk-wk: I'm using a plain jane Vagrant box I built myself using a standard Ubuntu Server 14.04 installation. I'll dig in a bit more---thanks for your help.18:49
patdk-wkupdated to 14.04.2, still no i38618:50
patdk-wk1190 packages installed18:51
patdk-wkmine are build using the normal, minimal-install virtual machine option, from the iso's18:51
jrwrenslowe: you can answer this yourself by running strace and seeing which files dpkg --remove-architecture i386 removes.18:59
jrwrenslowe: I used to rm -f /etc/dpkg/dpkg.cfg.d/multiarch to do the same thing.18:59
slowejrwen: Thanks, I'll give strace a go. /etc/dpkg/dpkg.cfg.d/multiarch doesn't exist on these systems, though.19:00
jrwrenslowe: did you already run dpkg --remove-arch... on those systems?19:02
slowejrwen: Nope. This is on a fresh instance of a Ubuntu 14.04 Vagrant box, and "dpkg --print-foreign-architectures" does report "i386".19:03
jrwrenslowe: Ok, thanks.19:04
slowejrwen: However, I see a package called "multiarch-support"...going to try removing that to see if that does anything. (This is a Vagrant box, so no big deal if it blows up.)19:04
slowejrwren: That won't work. Wants to remove most of the packages on the system. :-)19:05
patdk-wkhow did you install?19:08
patdk-wkminimal install? or just normal?19:08
patdk-wkI can't think of anytime I have done a normal, non-minimal install19:08
sloweFound it...dpkg architectures are stored in /var/lib/dpkg/arch, each architecture on a separate line.19:09
sloweRemoving "i386" from that line fixes the original issue AFAICT (internal amd64-only mirror works as expected with no errors). Now to automate this with Ansible...19:11
=== slowe is now known as slowe[away]
jrwrenslowe[away]: works for me. I do it very often.19:18
jrwrenslowe[away]: why the desire to remove foreign arch?19:22
tgeekAnyone here ever seen /dev/sda as "hp ilo internal sd-card".  I can't get kickstart to install lvm correctly because it always wants to install it there even when I tell it to install it to /dev/sdb which is my hdd.19:38
bekksYes, almost every of our servers behaves like that.19:38
tgeekwhat's your workaround?19:38
bekksEither pull the sd card, or install to the /dev/cciss/ raid controller logical volumes you created before.19:39
tgeekthat's nto exactly what I wanted to hear, but I appreciate the help.  Looks like a trip to the datacenter tomorrow.19:40
bekksI assume you have no raid controller then?19:41
tgeekI'm not really sure how to point it to /dev/cciss/.  Should I define that in the kickstart file?19:42
=== Lcawte|Away is now known as Lcawte
tgeekI'm doing a network install now without any automation.  In the beginning I did a rmmod usb_storage and when it came to the partition section, it didn't see it.  I'm going to try to incorporate that into the automated kickstart file.19:53
=== Lcawte is now known as Lcawte|Away
=== slowe[away] is now known as slowe
slowejrwren: Sorry, had to step out for a bit. Need to remove foreign arch because internal amd64-only mirror won't work otherwise (apt-get reports can't find binary-i386 packages).20:02
sarnoldslowe: did you try prefixing your apt entries with e.g. deb [arch=amd64] http://....  ?20:03
slowesarnold: In sources.list?20:03
sarnoldslowe: yeah20:03
sarnoldhttps://wiki.debian.org/Multiarch/HOWTO20:04
slowesarnold: No, hadn't tried that. Will give that a try! Is there a strong advantage one way or the other?20:05
bekkstgeek: First, make sure you have the required hardware :)20:06
tgeekI do20:06
bekksThen remember to create a logical volume on your raid controller before installing an OS.20:07
bekksOr automate it, using kickstart and an external script.20:07
sarnoldslowe: heh, no, this was the easier way I found for dealing with a similar problem20:07
slowesarnold: Fair enough :-)20:08
sarnoldslowe: though perhaps it's nice i fyou've got multiple deb sources, and one of them is e.g. amd64 only, but your system still needs the 32 bit stuff from other mirrors20:08
slowesarnold: Sure, that makes sense20:08
=== Karunamon|2 is now known as Karunamon
=== WReTcH is now known as Guest84644
Lukeanyone know how to start a systemd user service as a non-root user?22:35
tewardanyone ever hear of a server randomly stop logging to syslog?22:44
tewardor dmesg22:44
ianorlinteward: I have not22:46
tewardianorlin: nor have I, it's new to me to see that23:01
tewardmeh, not super important since all that's there is bind923:01
patdk-lapyou can't stop logging to dmesg, that is just not possible23:08
patdk-lapunlessthe kernel crashed23:08
patdk-lapnow not logging to syslog is simple23:08
patdk-lapdon't have syslog running, or have a read-only filesystem23:08
patdk-lapor bad permissions, or23:08
sarnoldor a race condition between the log rotation and the logging system closing and opening the new file -- see if the logs are going to the .0 or .1 file instead23:16
patdk-lapyes, but still the *dmesg* command should always work23:20
patdk-lapdmesg log, totally different story23:20
sarnoldyeah, dmesg should always work, but the benefit there is only the kernel gets to write to it :)23:22
patdk-lapyes23:22
tewardpatdk-lap: no dmesg either, which is REALLY odd23:46
tewardand i rebooted the server just in case23:46
tewardso maybe it's a perms problem23:47
patdk-lapthe dmesg command?23:47
tewardno output23:47
tewardnor did /var/log/dmesg have anything23:47
tewardwhich was really od23:47
tewardodd*23:47
patdk-lapwell /var/log/dmesg would be expected23:47
patdk-lapif syslog isn't working23:47
tewardwould the `dmesg` command still output?23:47
patdk-lapit should23:48
tewardand if it doesn't23:48
patdk-lapunless something like /dev was messed up23:48
tewardshould i drop a nuke on the server?23:48
patdk-lapor apparmor gone nuts23:48
tewardwouldn't put it past this VPS image23:48
tewardbut it was doing those before23:48
patdk-lapit's a vps?23:48
tewardopenvz but yes23:48
patdk-lapoh probably shouldn't work then23:48
tewardheh23:48
tewardi know syslog was working though23:48
tewardbecause bind9 would report there23:49
patdk-lapya, that is different and *probably* easy to fix23:49
patdk-lapopenvz I haven't used for a long time23:49
patdk-lapbut it likely doesn't allow dmesg usage, cause you don't own the kernel23:49
patdk-lapthe provider does23:49
tewardmhm23:49
tewardi'm not horribly worried about it, i could tell bind9 to log to a file instead of syslog but i'm lazy23:49
patdk-lapI could be wrong, never used openvz much, but it does block lots of kernel things23:50
sarnoldopenvz may force kernel.dmesg_restrict=1 in their containers..23:50
=== slowe is now known as slowe[away]
tewardsarnold: quite possible.  i'm looking to put bind9 to a file rather than syslog where i can, now, since that's really the only log I care about23:53

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