/srv/irclogs.ubuntu.com/2017/08/29/#ubuntu-server.txt

naccrbasak: fyi, i'm starting the refactor for main/cli_main. build was really easy, so was clone. importer is going to be a bit ugly, because of how much state we have, but i should have it done tmrw AM. Hopefully the rest by the EOD tmrw.01:19
cpaelzernacc: the libvirt import is good now, I assume you removed it from the blacklist so it will stay current right?05:36
cpaelzerand good morning everybody05:44
cpaelzernacc: s/remove from blacklist/added to whitelist/ but you know what I meant anyway05:50
krzyzaqHi All09:14
krzyzaqI have an issue finding in internet an answear for my problem - how to allow AD group users to login to the xrdp on ubuntu09:15
RoyKkrzyzaq: I've looked around for solutions for that, and they exist, with winbind or other stuff - never setup anything like that myself, though09:50
RoyKthat is - only looked for ssh auth with AD, but should be the same, more or less09:50
RoyKI guess it's a PAM thing after all09:51
krzyzaqRoyK: yeap, I think also it should be done by /etc/pam.s/xrdp-sesman09:54
krzyzaqbut I didn't found any example or solution that works 100%09:55
RoyKnot sure - sorry - never tried myself09:57
krzyzaqsure, thx09:57
eagles0513875hey all10:07
albechHi all. Will pinning look for dependencies of a certain package i wish to upgrade or simply forcefully upgrade that one package?10:15
eagles0513875i have a quick question I am setting up a server with a particular user which will be SFTP access only.10:41
eagles0513875i setup up the user with out a shell so /bin/false in this case and added the user to the ssh group10:41
eagles0513875when I try to connect via filezilla its giving me an EOF message and its unable to connect10:42
eagles0513875does the user need to have a bash shell10:42
eagles0513875to be able to sftp10:42
RoyKtry rssh10:44
RoyKit's made for just that sort of stuff10:45
eagles0513875RoyK: hey i remember your name hehe. i managed it seems like a line needs to be changed in the ssh config10:54
eagles0513875now the next issue I need to figure out RoyK  is how to restrict a particular user to a particular directory to upload files to10:54
RoyKeagles0513875: that requires chrooting, which is a longer story10:58
RoyKseems it's easier now than what I remember https://unix.stackexchange.com/questions/9853/restricting-an-ssh-scp-sftp-user-to-a-directory10:59
gQuigsI know it was just released, but any plans to bump neutron ocata to 10.0.3?13:52
coreycbjamespage: do you know the history behind running db sync commands in our packages when there's no connection string?14:00
coreycbjamespage: for example: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/nova/tree/debian/nova-common.postinst#n5014:00
coreycbi'd like to limit that check to the 2nd sqlite check ^14:00
jamespagecoreycb: gah we duped on https://bugs.launchpad.net/ubuntu/+source/python-pyperclip/+bug/171361714:00
ubottuLaunchpad bug 1713617 in xclip (Ubuntu) "[MIR] python-pyperclip, xclip" [High,New]14:00
coreycbjamespage: ah shoot, i should've pinged you14:00
jamespagecoreycb: no worries - xclip looks rusty fwiw xsel might be better14:01
jamespagecoreycb: re running db syncs; I'll all up for disabling those completely in the packaging - they create nothing but woes14:01
jamespageI'd hoped to have spent time of those earlier in cycle14:01
jamespagebut tbh I think we could drop them now anyway14:01
jamespagecoreycb: what do you think?14:02
jamespagecoreycb: the maintainer script execution should be limited to the default sqlite based connection value only14:02
coreycbjamespage: i think that's a good idea. i can take a pass today.14:02
jamespagecoreycb: pls14:02
jamespagecoreycb: I've switched the branch builds to use stable/pike branches where possible....14:07
coreycbjamespage: there's a lot more in that postinst script that is general setup (non-sqlite) so i think i'll just drop the db migrations14:08
coreycbjamespage: ok thanks14:08
jamespagecoreycb: yeah - just drop the sync calls would be my recommendation14:08
coreycbok14:08
nacccpaelzer: ack15:05
gQuigsor if I should spend time doing a single bugfix for neutron (https://bugs.launchpad.net/neutron/+bug/1696889)15:12
ubottuLaunchpad bug 1696889 in neutron "external_dns_driver causes floating ip association to fail" [Undecided,Fix released]15:12
gQuigs(it is included in 10.0.3)15:12
Epx998todays task, make a 360 character regex readable for my lower level admins17:34
Epx998guess i cannot break this up into lines17:37
naccahasenack: as to raphael, is it actually a bug we have the file in the name we do?18:11
naccahasenack: cpaelzer implied it was delta, without explanation?18:11
naccahasenack: rather than adding yet-another symlink, is it better to drop the delta, and symlink to the 'correct' (Debian) location for b-c until 18.04 is out18:11
ahasenacknacc: you mean reverse the symlink?18:12
ahasenacknacc: do deb upgrades work "just fine" when a file becomes a symlink? No extra treatment?18:13
naccahasenack: you'll need a maintscript18:16
ahasenackI smelled something like that :)18:16
naccI *think*18:17
gunixguys19:25
gunixis mysql_secure_installation required after a fresh install?19:25
smosernacc,19:48
smosergit fetch --all19:48
smosergit pull19:48
smoserthe second is redundant19:48
smoseris there a simple way to do that ?19:48
naccsmoser: to do which? :)20:28
naccsmoser: git-fetch doesn't manipulate the branch pointed to by HEAD20:28
naccsmoser: git-pull does20:28
smoserright20:28
smosergit reset --hard <branch that this one tracked>20:28
smoseror git merge <branch that this branch tracked>20:29
naccsmoser: right, the notion would be the latter20:29
naccsmoser: becuase pull will only pull if it ffs20:29
nacc*FFs20:29
naccor maybe it was, I'm trying to recall20:29
naccthere is pull --no-ff and pull --ff-only20:29
naccsmoser: so you want to do that easily, without using pull?20:30
smosernacc, well, i'll go into a git dir and type:20:32
smoser git fetch --all20:32
smoserwhich makes sense to me.20:32
smoserbut say my 'master' is tracking origin/master20:32
smoserto update that  i have to 'git pull'20:32
naccsmoser: ah right20:32
smoserwhich goes and does (i think) git fetch origin20:32
naccsmoser: so if you "know" it was origin/master20:33
naccsmoser: you should be able to do a `git merge origin/master` after `git fetch --all` from master20:33
naccand it will FF master to origin/master20:33
smoserright. i just was wondering if there as anything even that would fast forward only all my branches20:33
smoseri can script somethign for sure, but it seems like it is a common use case.20:34
naccsmoser: sorry, ENOPARSE -- you want to ff all possible branches that were identical to remote-branches when the remote-branches move?20:34
smoserespecially for the case of 'master' tracking 'origin/master'20:34
naccsmoser: is that right?20:34
smoseroften i use 'git fetch --all'. that takes quite a while as i have lots of remotes.20:36
naccyep20:36
smoserafter doing so, i then basically want 'master' branch to move to 'origin/master'20:37
smoserunless i've got changes locally.20:37
smoserthat can be done with:20:37
naccbut only master?20:37
smoser  git checkout master20:37
smoser git pull20:37
naccyep20:37
smoserbut git pull is a network operation20:37
smoserwhich is again slow.20:37
naccand it's already done in theory because you just did fetch?20:38
smoseryeah. the network portion is already done.20:38
smoserso i want to fetch all the data20:38
smoserand then any branch locally that is tracking a remote branch, i'd like to fast forward it20:38
smoser(fast forward only, in case i have local changes)20:39
nacc(to be clear `git pull = git fetch; git merge FETCH_HEAD`)20:39
naccsmoser: ok, but why do you have a local branch that's identical to a remote-tracking branch?20:40
naccsmoser: just checkout the remote-tracking branch and be in a detached HEAD state20:40
naccwhen you do need it20:41
smoserwell, yeah. thats an option. i have master generally track origin/master. as then i checkout the thing, do a merge and push20:41
smosergit checkout master; git merge <something>; git push origin HEAD20:41
smoserbut yeah, you're right. if i have tracking only branches that is kind of pointless.20:42
naccyeah, I tend to only use local branches only when they differ from remote branches20:42
naccand then delete them when they don't :)20:42
naccbut yeah, in general, I don't think there is a 'fetch and FF all my local branches that used to be identical to remote-tracking branches which have moved due to the fetch'20:43
naccI am thinking you might be able to get `git pull` to do it on a per-remote basis (it uses remote.<repository>.fetch), but i'm not 100%20:43
naccsmoser: i think it points to what i said just now, though, the idea of local branches is they store state that's not present somewhere else. For branches from the remote, they are stored in the remote-tracking branches. There's not really any benefit to having a local branch that is identical to a remote branch (IMO). At least, once you get used to not having it :)20:46
smoserright. i guess its really just 'master' that typically is set up to track a remote and generally expected not to20:47
smoserer... generally expected not to differ20:48
naccyeah20:48
naccand that's why people use `git pull` for master20:48
naccrbasak: i recalled why we have move now -- and i'm working on replacing it anyways. But it has to do with when we need to make changes to the pristine-tar contents (e.g. the importer). In that case, it's not sufficient to just start a new branch named pristine-tar at the same spot, we need to change the distribution's pristine-tar branch's contents22:15
naccrbasak: basically, the difference between using a 'local' distribution pristine-tar branch and a remote-tracking one22:17
naccrbasak: http://paste.ubuntu.com/25428010/22:24
=== Epx998- is now known as Epx998

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