/srv/irclogs.ubuntu.com/2017/03/07/#ubuntu-devel.txt

naccmdeslaur: i believe LP: #1669764 is now fix-committed for zesty (it's in z-p)00:38
ubottuLaunchpad bug 1669764 in munin (Ubuntu) "security update spams log file" [Undecided,New] https://launchpad.net/bugs/166976400:38
=== salem_ is now known as _salem
=== nitesh` is now known as Nitesh
=== mwsb is now known as chu
=== CRogers________ is now known as CRogers
=== CRogers_________ is now known as CRogers
=== hikiko is now known as hikiko|ln
tinococould someone review LP: #1670659 and close it as won't fix if agrees to same conclusion ?12:24
ubottuLaunchpad bug 1670659 in libvirt (Ubuntu) "Libvirt can crash on lack of memory when starting multiple instances" [Undecided,New] https://launchpad.net/bugs/167065912:24
cpaelzertinoco: here12:31
* cpaelzer reading12:31
tinococpaelzer: o/ tks12:31
cpaelzertinoco: so you reported, nominated and want me to close - and all that in 19 minutes :-)12:32
cpaelzertinoco: I guess this is just a dump of work you already did right?12:32
tinococpaelzer: yep, took me 2 hours yesterday12:32
tinocobut to review is just follow the idea12:32
tinococpaelzer: unfortunately its not "so good" because of line breaks, maybe its best to download txt from comment12:33
tinocofor the comments on every stack frame12:33
cpaelzertinoco: I think download as text is only for long posts12:34
cpaelzerbut I can of course copy and read12:34
tinococool. i had to understand libvirt logic for the monitor logging and its abstraction and all (for fun)12:35
tinocobut the main idea is pretty simple, you will see12:35
tinocoill wait you12:35
=== _salem is now known as salem_
cpaelzertinoco: I'm with you and commented as well as updated the status12:46
cpaelzertinoco: I've set some traps for optional extra work that you can opt-in or not however you want12:46
tinococpaelzer: checking12:46
* cpaelzer <- bad hunter setting traps and warning about it12:46
tinococpaelzer: nice, ill get the apport cmds to show people how to check that was the error12:47
tinococpaelzer: tku very much for the review =)12:47
cpaelzertinoco: there is a very similar discussion in the STS channel, you might have the first user of that script "at home" for you12:49
viral_mutantI am creating a DEB package. The config files in the package are always being created with 644 permissions. I am tring override_dh_install , install -D -m 0640, but that doesn’t seem to work13:13
viral_mutantwhere can I find the documentation for this ?13:13
cjwatsonviral_mutant: Start by running the build with DH_VERBOSE=1 to see exactly what is operating on that file.13:22
cjwatsonviral_mutant: But it's almost certainly dh_fixperms.13:23
viral_mutantcjwatson: meaning fixperms is modifying the perms ?13:24
cjwatsonviral_mutant: That would be my guess.13:24
viral_mutantcjwatson: oh, that is the default for conf files ?13:24
cjwatsonviral_mutant: There's generally not much point in having non-world-readable files be shipped by a package, since the packages themselves are usually available on the internet.  But you can write an override_dh_fixperms target if you have a good reason to make a different decision.13:25
cjwatsonviral_mutant: dh_fixperms makes everything world-readable, with only a few exceptions.13:25
cjwatson        complex_doit("find $tmp ! -type l $find_options -print0",13:25
cjwatson                "2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");13:25
cjwatson(there's a bunch more stuff in there, but I expect that's the relevant bit)13:26
viral_mutantok, that is what is within fixperms ?13:27
viral_mutantI could not locate any specific chmod on my conf after the verbose output13:29
viral_mutantcjwatson: yes got it. It was indeed the code snippet you pasted13:37
viral_mutantcjwatson: how do I override it ?13:39
cjwatsonviral_mutant: do you know how to write debhelper override rules in general?13:53
viral_mutantyes13:53
viral_mutantcjwatson: using -X option with dh_fixperms ?13:53
cjwatsonviral_mutant: Yes, that would work fine.13:54
viral_mutantcjwatson: it would need just the conf file name or the complete path ?13:55
cjwatsonman dh_fixperms13:55
cjwatson"Exclude files that contain item anywhere in their filename from having their permissions changed."13:55
cjwatsonYou can also do something like this if you need more flexibility:13:56
cjwatsonoverride_dh_fixperms:13:56
cjwatson        dh_fixperms13:56
cjwatson        chmod ...13:56
viral_mutantalso put in the chown in there ?13:56
cjwatsonYou didn't mention that before, but sure, if you need to.13:58
cjwatsonA chown will only work sensibly if it's a user with a static ID; if it's dynamic, you'll need to do that in the maintainer scripts instead.13:58
viral_mutantI am creating the user in preinst with static ID14:00
viral_mutantbut that seems to work fine with the install -o -g options14:00
viral_mutantonly the -m is being disturbed by fixperms14:00
viral_mutantBTW, since I new to deb packaging, what is maintainer script ? Where should I look for documentation around the install options etc. ?14:01
viral_mutantis the post/pre inst/rm called the maintainer script ?14:02
cjwatsonviral_mutant: It sounds like you're doing user creation wrongly, from your description.14:02
cjwatsonviral_mutant: Can you go into more detail about what you're doing?14:02
cjwatsonviral_mutant: Maintainer scripts are described in the policy manual; indeed, it's the collective term for {pre,post}{inst,rm}14:02
rbasakIf a maintainer script fails because PATH isn't set sensibly, is that a maintainer script bug for relying on PATH? Or is that a reasonable assumption to make?14:59
rbasak/usr/bin I think.14:59
cjwatsonrbasak: https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s6.115:01
cjwatson"Those programs, and any other program that one would expect to be in the PATH, should thus be invoked without an absolute pathname."15:01
rbasakThanks!15:02
rbasakI was looking at the policy document but failed to find that part.15:02
rbasaknacc: so that's my answer for bug 166983115:03
ubottubug 1669831 in mysql-5.7 (Ubuntu) "package mysql-server 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: проблемы зависимостей — оставляем не настроенным" [Undecided,Incomplete] https://launchpad.net/bugs/166983115:03
rbasaknacc: so wrt. 1aa0f46 in usd-importer, something I learned from the Launchpad team is to not try too hard to line things up after the brackets on a following line, as things tend to get pushed too far to the right. Instead, you can newline and single further indent straight after the '(', and then close ')' on another line afterwards. Looks nicer IMHO, so I thought I'd mention it. Not that I'm15:13
rbasakinsisting on it or anything, just a suggestion.15:13
rbasakAlthough the only thing I haven't figured with that kind of thing is what to do in a long 'if' or 'for' statement, since then you need an additional indent, and things get confusing. I have never figured out a style I both like and that keeps the pep8 tool happy.15:14
viral_mutantcjwatson: I am creating deb package for openstack-swift. I am using our RHEL package as references15:15
viral_mutantIn the preinst, creating ‘swift’ user and group using ‘addgroup’ and ‘adduser’ command15:15
rbasakviral_mutant: you know we already have swift packaged, right?15:15
rbasakAlong with the rest of OpenStack?15:16
viral_mutantrbasak: yes15:16
viral_mutantThe preinst also creates /etc/swift directory and sets ‘swift’ as owner. The addgroup and adduser is with specific UID/GID.In the rules files override for dh_install puts the conf files in /etc/swift directory with -o -g as ‘swift’ and -m64015:18
viral_mutantthis 640 is what was not working for me15:18
viral_mutantcjwatson: you mentioned that I might be wrongly doing user creation ?15:19
cjwatsonIf you're using dynamic IDs, then there's no guarantee that they'll be present when debian/rules runs, or have the same ID on the installed system.  I forget exactly what happens in the latter case.15:20
cjwatson(It may work - I suspect .debs store ownership by name.  But there's still the former problem.)15:20
cjwatsonYou should look at what the existing Ubuntu swift packages do here.15:21
cjwatsonI have no idea exactly what they do, but it probably has the benefit of working :-)15:21
viral_mutantcjwatson: yes, I will surely look into the Ubuntu debian/ dir for reference. Thanks for your help, it really solved some issues in deb installation :)15:26
viral_mutantrbasak: We have a forked out code from Openstack community and lot of changes going in. So I cannot use Ubuntu packages. I have been assigned the humongous task to build our own DEB packages from the code :(15:28
=== joedborg_ is now known as joedborg
bdmurrayxnox: In bug 1668802 you mention "jounal files" are those things that already show up in apport bug reports in Launchpad? If so what are they called? JournalErrors.txt? journal.txt?16:22
ubottubug 1668802 in systemd (Ubuntu) "/lib/systemd/systemd-journald:6:journal_file_entry_array_n_items:link_entry_into_array:journal_file_link_entry:journal_file_append_entry_internal:journal_file_append_entry" [Undecided,Incomplete] https://launchpad.net/bugs/166880216:22
xnoxbdmurray, when you say "apport bugreports" which ones do you? apart from this launchpad bug report, i don't see any others.16:25
bdmurrayhttps://bugs.launchpad.net/ubuntu/+source/systemd/+bug/161984416:25
ubottuLaunchpad bug 1619844 in systemd (Ubuntu) "[Xenial] shutdown/reboot hangs at "Reached target Shutdown"" [Critical,Confirmed]16:25
xnoxJournalErrors.txt is already parsed text output which is sans corrupt entries, i'm interested in raw /var/log/journal/*/* files16:25
xnoxraw, because it would include everything, not just error/warning messages.16:26
bdmurrayxnox: In that bug report some stuff is collected by apport and makes it to Launchpad, but doesn't end up at errors.ubuntu.com. We could change that if it would help.16:26
bdmurraychange that by either modifying the apport package hook for systemd or allowing whoopsie to upload already existing info in the report to errors16:27
xnoxalthough it's hard to get those logs, if the logger itself is what is crashing (journal logs & journald) =))))))16:27
bdmurrayxnox: I don't feel like that's an answer. Is there something we can do to get you the log files you need?16:32
xnoxbdmurray, ideally we should be attaching all of /var/log/journal/*/* and /run/log/journal/*/* but it may be sensitive info; and can span multiple boots.16:32
xnoxfiles themself; not the parsed output from $ journalctl16:32
xnoxunrelated to that studied the logs on the shutdown/reboot hangs bug report and responded to it.16:33
Laneyyeah not sure about that16:33
Laneythe journal often contains a super lot of stuff16:34
Laneyfor me information about my mailboxes, and hints to my browsing history16:34
bluefoxxxhttp://pastebin.com/tdW1gRi9 This has been happening for the past few days17:10
bluefoxxxon yakkity17:10
bluefoxxxwtf17:37
bluefoxxxit happens if I install cups, but no hash mismatch if I install just the libgssapi3-heimdal package itself17:38
bluefoxxxCOMPUTERS DON'T WORK THAT WAY.17:38
freedwhaytHello, where is the apt PGP key in Ubuntu LiveCD? Thank you.18:05
sarnoldfreedwhayt: dunno about the live-cd. apt uses /etc/apt/trusted.gpg and /etc/apt/trusted.gpg.d/18:49
sarnoldfreedwhayt: the 4096 bit RSA key has fingerprint "790B C727 7767 219C 42C8  6F93 3B4F E6AC C0B2 1F32" -- other keys are listed at https://wiki.ubuntu.com/SecurityTeam/FAQ#GPG_Keys_used_by_Ubuntu18:50
freedwhaytsarnold: Thank you for the hint I will do my best do decipher it.19:07
mdeslaurogra_: did you just modify the tech board meeting on purpose?20:50
Unit193http://dev.deluge-torrent.org/wiki/ReleaseNotes/1.3.14: "WebUI users: Highly recommended to upgrade to this release as it contains a fix for CSRF vulnerability that has the real potential to compromise your machine."  that sounds fun.21:16
tdaitxslangasek, I have updated LP: #1637239 in case you want to sponsor that merge21:50
ubottuLaunchpad bug 1637239 in ncurses (Ubuntu) "Please merge ncurses 6.0+20161126-1 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/163723921:50
bdmurrayxnox: Have you had a chance to look at the apport autopkgtest apt issue?22:41

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