/srv/irclogs.ubuntu.com/2018/01/16/#ubuntu-desktop.txt

RAOFduflu: Are you looking at the pulseaudio autopkgtest failure?04:50
dufluRAOF: I did not see a failure when the first email arrived today...04:58
dufluRAOF: And now I do.04:58
dufluWill get it sorted today04:58
RAOFduflu: http://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html#pulseaudio suggests a regression in gsequencer?04:58
RAOFAh. Heh.04:58
willcookejibel, morning!  Could you run the weekly meeting today?  Ken is still on hols and me & Seb are sprinting06:14
flocculantwillcooke: up early :)06:23
willcookemorning flocculant, travelling this week, UTC-206:38
willcookeflocculant, whats your excuse?06:39
flocculantwillcooke: leave for work at 6:45 every day :(06:40
flocculantin the rain on a motorbike - on our roads - awesome :p06:40
flocculantand with that - have a good day :)06:40
jibelwillcooke, okay, I'll do it06:41
jibeland good morning everyone06:42
dufluMorning willcooke, thumper, seb128, flocculant, jibel06:56
dufluAnd welcome to summer for some06:56
seb128hey duflu06:56
jibelsummer ...06:58
jibelhi duflu06:58
jibeland seb12806:58
seb128hey06:58
dufluRAOF (or anyone), the gsequencer build failure looks like its own fault. It uses fakeroot without having a build dependency on it.07:09
dufluNot pulseaudio's fault07:09
RAOFduflu: care to fix gsequencer, then? πŸ˜‰07:10
dufluRAOF: It has a whole new version waiting in proposed07:10
dufluMight not need to07:10
dufluHmm looks like proposed has the same mistake07:11
oSoMoNgood morning desktoppers07:27
didrocksgood morning07:27
dufluMorning oSoMoN07:28
oSoMoNsalut didrocks, Γ§a va?07:28
oSoMoNhey duflu07:28
dufluHey didrocks07:28
didrocksoSoMoN: Γ§a va, et toi ?07:29
didrockshey duflu07:29
oSoMoNdidrocks, bien!07:29
dufluRAOF: I think a fix in Debian would be preferable to us forking it just for this. So... https://bugs.launchpad.net/debian/+source/gsequencer/+bug/174351107:42
ubot5Launchpad bug 1743511 in gsequencer (Ubuntu) "ags-integration-test fails with "dpkg-buildpackage: error: fakeroot not found, either install the fakeroot package, specify a command with the -r option, or run this as root"" [Undecided,New]07:42
Nafallomorning07:47
seb128hey Nafallo07:48
RAOFduflu: you'll need to find someone to mark gsequencer as badtest. I can do that for SRUs, but not bionic.08:04
dufluseb128, ^ ?08:05
seb128duflu, I don't know how to do that offhand, I'm in meetings this morning but I can try to have a look later08:10
seb128maybe Laney can help you when he gets online though08:10
dufluseb128, no worries. Maybe didrocks?08:10
seb128could be08:10
dufluP.S. Go have dinner RAOF08:10
dufluit's probably time08:10
RAOFduflu: I've had dinner πŸ˜›08:12
zygao/08:13
duflu        \o08:13
RAOFduflu: needs an archive admin to tweak the Britney hints.08:14
RAOFI think that requires AA08:15
dufluOK, ta08:15
didrocksduflu: the branch for the hints are in ~ubuntu-release08:20
didrocksso, not an AA, but a release team member08:20
didrockssil2100, Laney and others ;)08:21
* duflu smiles and rolls eyes08:22
=== maclin1 is now known as maclin
andyrockhey all09:02
Laneyhi09:03
dufluHey hi andyrock, Laney09:05
didrockshey andyrock, Laney09:06
dufluLaney, do you know how to mark packages as "badtest"?09:07
Laneysure09:07
Laneymoin didrocks09:07
dufluLaney, could you help please? gsequencer from bug 174351109:07
ubot5bug 1743511 in gsequencer (Ubuntu) "ags-integration-test fails with "dpkg-buildpackage: error: fakeroot not found, either install the fakeroot package, specify a command with the -r option, or run this as root"" [High,New] https://launchpad.net/bugs/174351109:07
oSoMoNhey andyrock, Laney09:08
Laneyahoy oSoMoN!09:10
Laneyduflu: this is broken in some way that is not force-badtest09:11
Laneybuild-deps should get you dpkg-dev which depends on fakeroot09:11
* didrocks added ubuntu support to travis.debian.net (derivatives support in general ;))09:12
dufluLaney: That's a recommends09:13
dufluNot depends09:13
seb128hey Laney oSoMoN didrocks09:14
Laneyoh yeah09:15
Laneyok, so why did it work on the previous run?09:15
oSoMoNsalut seb128, Γ§a va?09:15
dufluLaney, can't be sure but it appears likely previous runs had fakeroot already installed, for other reasons09:17
seb128oSoMoN, ouais, et toi?09:17
Laneyyou can see https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/g/gsequencer/20180102_123735_6177c@/log.gz installing fakeroot09:18
Laneyhey duflu09:18
Laneyhey seb128!09:18
Laneyerm09:18
oSoMoNseb128, bien!09:19
ricotzgood morning desktopers09:20
dufluLaney, oh, because it's not a build, maybe. Just a re-test: http://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html#pulseaudio09:21
dufluArgh. Or maybe because "Maximum number of ports exceeded (HTTP 403)"09:23
oSoMoNgood morning ricotz09:25
dufluLong overdue for cooking something healthy10:13
duflulater10:13
Laneydang it10:16
LaneyI found out what his problem was10:16
Laneynew version of gsequencer has the depends, old doesn't10:17
GunnarHjseb128: Hi Sebastien! I'd need some help to make ibus-libpinyin ready to be MIR'ed (bug #1738582). One thing is bugsubscriber to ibus-libpinyin and libpinyin (comment #4). Then the dependency on lua5.1 should be replaced with lua5.3. To achieve that, and at the same time upgrade to a more recent version, I put my suggestions in comment #16 and #17 of bug #1735362.11:41
ubot5bug 1738582 in libpinyin (Ubuntu) "[MIR] ibus-libpinyin and dependencies" [Undecided,New] https://launchpad.net/bugs/173858211:41
ubot5bug 1735362 in ibus-libpinyin (Ubuntu) "Replace ibus-sunpinyin with ibus-libpinyin" [Medium,In progress] https://launchpad.net/bugs/173536211:41
seb128GunnarHj, hey, I'm travelling and in meetings this week, I can do the bug subscription but I can't look at the lua problem atm11:45
seb128GunnarHj, desktop-bugs subscribed11:46
GunnarHjseb128: Thanks! Is the rest of the team traveling too? (It's a bit quiet here today.)11:47
seb128no, only will_cooke & me, others are probably just busy with work11:47
didrockscorrect :)11:47
seb128or slacking away while we are not watching? :p11:47
GunnarHjseb128: ;)11:48
didrockscorre…oh wait!11:48
seb128:p11:48
=== maclin1 is now known as maclin
fossfreedom_hi all - anybody got a bit of spare bandwidth to have a look at my patch update to gnome-screensaver please? https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/174015012:31
ubot5Launchpad bug 1740150 in gnome-screensaver (Ubuntu) "Allow GTK theming for Ubuntu Budgie" [Undecided,In progress]12:31
GunnarHjjbicha: Hi Jeremy! Do you have time to help with the ibus-libpinyin MIR? You find my ideas of what to do next in comment #16 and #17 of bug #1735362.13:47
ubot5bug 1735362 in ibus-libpinyin (Ubuntu) "Replace ibus-sunpinyin with ibus-libpinyin" [Medium,In progress] https://launchpad.net/bugs/173536213:47
GunnarHjHi Laney! When we discussed bug #1720250, you indicated that systemd might recognize graphical-session-pre.target services in 18.04. Can you tell if that will happen? Asking because it would be desirable to get rid of the /etc/profile.d hack.14:07
ubot5bug 1720250 in im-config (Ubuntu) "im-config configuration ignored with gdm3" [High,Fix released] https://launchpad.net/bugs/172025014:07
LaneyGunnarHj: I'm working on it.14:24
GunnarHjLaney: Ok, thanks for letting me know.14:25
LaneyIt's a bit of a delicate task14:25
GunnarHjLaney: Don't try to explain to me - I wouldn't understand anyway. ;)14:25
jibeldesktop meeting in 3min14:27
didrockswaow, countdown! That's the efficient french way :p14:27
jibelnot a countdown, a reminder ;)14:29
oSoMoNSUBTLEΒ REMINDER: 1 MINUTE14:29
jibel#startmeeting Desktop Team Weekly Meeting - 2018-01-1614:30
meetingologyMeeting started Tue Jan 16 14:30:21 2018 UTC.  The chair is jibel. Information about MeetBot at http://wiki.ubuntu.com/meetingology.14:30
meetingologyAvailable commands: action commands idea info link nick14:30
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic:
oSoMoN🐡/14:30
didrockshey14:30
jibelRoll call: andyrock, dgadomski, didrocks, duflu (out), jbicha, jamesh (out), jibel/heber, kenvandine (out), laney, oSoMoN, seb128 (out), tkamppeter, trevinho, robert_ancell (out)14:30
andyrocko/14:30
hebero/14:30
Trevinho\o14:30
jibel#topic andyrock14:31
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: andyrock
andyrock1. Updated udisks patch to hide snap squashFS in gnome-disk-utilities14:31
andyrock2. Debugging a update-notifier issue with systemd path units14:31
andyrock3. working on Ubiquity to enable canonical-livepath from the installer14:31
andyrock4. eof14:31
jibelthanks andyrock14:31
jibel#topic dgadomski14:32
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: dgadomski
dgadomskihey14:32
dgadomskione issue has be brought to my attention: bug #1743422, is that something already known?14:32
ubot5bug 1743422 in unity (Ubuntu) "The launcher reveal doesn't always work when moving the pointer to the defined hot spot" [Undecided,New] https://launchpad.net/bugs/174342214:32
jibelTrevinho, ^ do you know?14:32
Trevinhomh, no... I didn't notice that14:33
Trevinholet me see it14:33
jibelthanks dgadomski , anything else?14:33
dgadomskijibel: nope, that's it, thanks14:33
jibel#topic didrocks14:33
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: didrocks
didrocks* Worked and commited in our branch date centering relative to workarea on the Shell (bug #1716432) and sent the patch upstream (no answer yet).14:33
ubot5bug 1716432 in GNOME Shell "With dash to dock enabled, title in window is not centred aligned to clock when the window is maximised" [Medium,Confirmed] https://launchpad.net/bugs/171643214:33
didrocks* Implemented new sound option in Gnome Control Center (will be a minimal ubuntu patch) following Allan's design and GNOME Tweaks.14:33
didrocks* Mentored GCI. We got 2 large contributions: new getting started blender videos adapted to our patch. Needs packaging (video generation when building) though. The second one is notifications on Terminal. Not fully working yet but vte & g-t Fedora's patches are applied. Helped the students with pointers, tutoring, packaging 1o1…14:34
didrocks* Caught up on every PR/issues for the communitheme, did some comments, proposed some fixes.14:34
didrocks* Integrated some CI on both communitheme repos, ensuring that package is building via Travis on every PR (and no typo on the sass syntax thus!).14:34
didrocks* Follow up discussions about our ambiance theme refresh with Trevhino & Will14:34
didrocks* Some sponsoring and reviews14:34
didrocks.14:34
jibeldidrocks, does this dot mean your done ?14:34
jibelyou're*14:34
didrocksjibel: yes, as always :)14:34
jibelthanks didrocks14:34
jibel#topic duflu14:35
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: duflu
jibel* Pure Wayland apps (including mpv) not responding to the mouse (https://launchpad.net/bugs/1739625)14:35
ubot5Launchpad bug 1739625 in mutter (Ubuntu) "Mouse events pass through pure Wayland windows (that use wl_shell)" [High,In progress]14:35
jibel  - This week the fix landed in both upstream master and 3.26 branches.14:35
jibel  - Now definitely scheduled for release in mutter 3.36.3.14:35
jibel* Unresponsive touchpads (https://launchpad.net/bugs/1696929)14:35
ubot5Launchpad bug 1696929 in libinput (Ubuntu Bionic) "Touchpads are unresponsive and laggy for small finger movements" [High,In progress]14:35
jibel  - Conducted more hardware testing of the current and proposed patches: https://bugs.freedesktop.org/show_bug.cgi?id=98839#c8514:35
jibel  - Looking at the upstream bug list, this seems to be the most reported/duplicated complaint against libinput, accounting for over 11% of open libinput bugs. So it's not just me14:35
ubot5Freedesktop bug 98839 in libinput "Somehow conditionalize hysteresis (hardware black/whitelist, device property introspection, user-exposed setting, etc)" [Normal,Resolved: fixed]14:35
jibel* PulseAudio: Revised 11.1 for bionic, with additional fixes:14:35
jibel  - https://launchpad.net/bugs/171882414:35
ubot5Launchpad bug 1718824 in HWE Next "The analogue audio does not work on the Dell USB Dock" [Critical,In progress]14:35
jibel  - https://launchpad.net/bugs/173262914:35
ubot5Launchpad bug 1732629 in pulseaudio (Ubuntu) "Selecting USB Amp/Dac audio output in gnome sound does nothing" [Medium,In progress]14:35
jibel  - HELP: pulseaudio 1:11.1-1ubuntu4 stuck in proposed for no fault of its own, but: https://bugs.launchpad.net/debian/+source/gsequencer/+bug/174351114:35
ubot5Launchpad bug 1743511 in gsequencer (Ubuntu) "ags-integration-test fails with "dpkg-buildpackage: error: fakeroot not found, either install the fakeroot package, specify a command with the -r option, or run this as root"" [High,New]14:35
jibel* BlueZ 5.48: The testing PPA is finally built now:14:35
jibel  - https://launchpad.net/~bluetooth/+archive/ubuntu/bluez14:35
jibel* Gnome Shell performance work:14:36
jibel  - Good news: Found that clutter's frame clock logic needs the same kind of fixes as have recently landed in GTK.14:36
jibel  - Bad news: Not that much other than some shell animations rely on the precision of the clutter frame clock so experimental fixes to its precision so far don't yield any major visual improvement to everyday usage. I might propose changes to upstream clutter later. Not a shell priority any more, probably.14:36
jibel  - Presently: I am now working on generating some real-time profiles of gnome-shell to see where it blocks (or wastes CPU).14:36
jibel* Daily bug management across gnome-shell, mutter, gdm3, ubuntu-themes, bluez, pulseaudio, dkms, mir, wayland, totem, mpv, libinput.14:36
jibel* HELP: Fixes still awaiting sponsorship:14:36
jibel  - https://code.launchpad.net/~vanvugt/gtk/fix-1698270/+merge/33184614:36
jibel  - https://code.launchpad.net/~vanvugt/totem/fix-1502476/+merge/33319514:36
jibelthanks duflu14:36
jibel#topic jbicha14:36
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: jbicha
jibelno jbicha, next14:37
jibel#topic jibel / heber14:38
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: jibel / heber
jibel17.10.1 tested and released14:38
jibelContinued the work on bootspeed and fixed bug 174240314:38
ubot5bug 1742403 in network-manager (Ubuntu) "package network-manager-config-connectivity-ubuntu 1.8.4-1ubuntu3 failed to install/upgrade: installed network-manager-config-connectivity-ubuntu package post-installation script subprocess returned error exit status 1" [High,Fix committed] https://launchpad.net/bugs/174240314:38
jibelAdded new KPI to the desktop dashboard.14:38
jibelUpdate grafana dashboards with correct releases14:38
jibelContinue adding gnome-software automated tests14:38
jibel..14:38
jibel#topic kenvandine14:38
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: kenvandine
jibelon holidays14:38
jibel#topic Laney14:38
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: Laney
jibelLaney, around?14:39
Laneyyeah I was commenting on a bug14:39
Laneyhere I am14:39
Laneyo Reviews / fixes / testing / sponsoring for andyrock's SRUs14:39
Laneyo GLib updates in Debian, debugged & fixed a GDateTime problem on i38614:39
Laneyo More work on systemd user session stuff, copying my local setup in the VM to the actual trees including autotools work :(14:39
Laney?14:39
Laneyoh I helped a GCI guy a bit too14:40
Laneythanks to didrocks for pointing him at me14:40
jibelthanks Laney14:40
jibel#topic oSoMoN14:40
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: oSoMoN
oSoMoNhey14:40
oSoMoNβ€’ firefox14:40
oSoMoN  βˆ˜ helped with snap issues, and asked if upstream would be interested in patches to use xdg-open and xdg-settings14:40
oSoMoN  βˆ˜ started https://forum.snapcraft.io/t/opening-a-local-file-with-its-default-application/349314:40
oSoMoN  βˆ˜ tested the patch attached to https://bugzilla.mozilla.org/show_bug.cgi?id=1430073 and provided feedback14:40
ubot5Mozilla bug 1430073 in Release Automation "Snap: Move executable outside of $WORKSPACE/source/opt/firefox" [Normal,New]14:40
oSoMoNβ€’ chromium14:40
oSoMoN  βˆ˜ moved ownership of my chromium-snap branches and packages to ~chromium-team14:40
oSoMoN  βˆ˜ working on a patch to allow searching for the widevine CDM libs in $HOME/.local/lib, to make this mechanism snap-friendly14:40
oSoMoN  βˆ˜ working on bug #174265314:40
ubot5bug 1742653 in chromium-browser (Ubuntu) "chromium-browser 63+ packages 50+ MB of binaries only needed at build time" [High,In progress] https://launchpad.net/bugs/174265314:40
oSoMoNβ€’ libreoffice14:40
oSoMoN  βˆ˜ successfully built and tested 5.4.4 snap, issued call for testing (https://forum.snapcraft.io/t/call-for-testing-libreoffice-5-4-4/3542)14:40
oSoMoN  βˆ˜ excluded third-party fonts from the snap (used only at build time to run unit tests), saved 16MB14:41
oSoMoN  βˆ˜ updating bionic to 5.4.414:41
oSoMoNthat's it from me14:41
jibelthanks oSoMoN14:41
jibel#topic seb12814:41
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: seb128
jibelseb128, is sprinting14:41
jibel#topic tkamppeter14:41
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: tkamppeter
tkamppeterDid not prepare the list yet, if we are not yet at the end of the line, will post it at the end.14:42
jibeltkamppeter, that's fine, we'll come back to you in 5 min14:42
jibel#topic Trevinho14:42
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: Trevinho
TrevinhoΒ· Some more digging into fprintd and pam finger print14:42
TrevinhoΒ· Some improvements to the gnome-shell / mutter patches for scaling14:42
TrevinhoΒ· Even more JS fixes to gnome-shell and updates to old patches14:42
TrevinhoΒ· Review of some CSS changes to Ambiance, and some look at Ambiance-RW14:42
Trevinho ...14:42
jibelthanks Trevinho14:43
jibel#topic robert_ancell14:43
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: robert_ancell
jibel- Guest session work14:44
jibel- Working on upstreaming gnome-software channel selection14:44
jibel- LightDM XDMCP fixes14:44
jibelthanks robert_ancell14:44
jibel#topic AOB14:44
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: AOB
jibelanyone wants the mic?14:44
didrocksnothing for me14:44
jibelokay then14:45
jibel#topic tkamppeter14:45
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help | Desktop Team Weekly Meeting - 2018-01-16 | Current topic: tkamppeter
tkamppeter- cups-filters: Released 1.19.0: Overtaken all new functionality from the driverless PPD generator of CUPS to the one in cups-filters, fixed color space/color depth determination in PPD generator, improved human-readable strings in the PPDs.14:45
tkamppeter- cups: Fixed bug of 16-bit high color depth not working in Apple Raster (AirPrint printers, most common driverless printing type).14:45
tkamppeter- Hardware: Searching for a new printer to purchase, investigated models.14:45
tkamppeter- Google Summer of Code 2018:14:45
tkamppeterInterviewed first group of students14:46
tkamppeterPut up application for Linux Foundation14:46
tkamppeterPut up web pages with project ideas.14:46
tkamppeter- Bugs.14:46
jibelthanks tkamppeter, anything else?14:47
jibelI take your silence as a no.14:47
tkamppeterOK, that's all.14:47
jibelThanks everyone and see you next week!14:48
jibel#endmeeting14:48
=== meetingology changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Work (read-only for non-developers): https://trello.com/b/lsBmkzPY/ubuntu-desktop-1804-cycle | Amaterasu watches over you benevolently | pink killer β†’ lots of help
meetingologyMeeting ended Tue Jan 16 14:48:11 2018 UTC.14:48
meetingologyMinutes:        http://ubottu.com/meetingology/logs/ubuntu-desktop/2018/ubuntu-desktop.2018-01-16-14.30.moin.txt14:48
didrocksthanks!14:48
tkamppeterOne problem: Need xnox to check the systemd problem.14:48
didrocksTrevinho: a question, I'm curious about your js GNOME Shell changes, do you have pointers?14:48
tkamppeterAnd need someone to sponsor my NEW packages.14:48
oSoMoNthanks jibel14:48
Trevinhodidrocks: they're related to https://bugzilla.gnome.org/show_bug.cgi?id=791233 but I didn't push the final patches yet14:49
ubot5Gnome bug 791233 in general "Various Javascript errors in accessing deleted object properties" [Normal,New]14:49
Trevinhodidrocks: as I've been discussing about the best design for them14:49
seb128tkamppeter, we talked about systemd with Steve, it would help if you could figure out a way to reproduce easily the bug that doesn't involve owning a specific printer or such ... do you think it's possible?14:50
seb128tkamppeter, foundations is going to look at it but it would make easier to debug if they could reproduce easily14:50
didrocksTrevinho: lucky you, you get reviews! :)14:50
Trevinhodidrocks: well, after pinging people a lot.....14:50
Trevinhodidrocks: and even after that not many really, well not specific as Jonas does14:51
didrocksTrevinho: btw, if you have an idea to replace the idle_add, I'm all ears14:51
tkamppeterseb128, probably any USB printer would serve, not only the concrete model I am using.14:51
TrevinhoI don't think a "I don't like it" is enough for a review :)14:51
didrocksTrevinho: yeah, it's really hard to get Shell reviews for the js part :/14:51
Trevinhodidrocks: I've been trying to think another way, let me go back to that14:51
didrocksTrevinho: would love to :)14:52
seb128tkamppeter, right, I'm not sure they own a printer, Steve doesn't travek with one for sure at least so having a script or something to simulate it would be nice14:52
seb128tkamppeter, could umockdev allows to do that?14:53
tkamppeterseb128, I think this is difficult, to have some software emulating the appearance of a USB device.14:58
tkamppeterseb128, where is Steve currently? In the Bluefin office?14:59
seb128tkamppeter, no, in south africa for the same sprint will and I are at14:59
tkamppeterIn South Africa, interesting.15:00
seb128tkamppeter, umockdev could do what you need to record/replay the event maybe?15:00
seb128tkamppeter, well I'm going to ask them if they can access an usb printer to debug15:01
seb128tkamppeter, did you try if the bug happens on Debian as well?15:01
tkamppeterWhat one can do is, right after the Sprint, buy a cheapo HP, like the DeskJet 2540, expensed to Canonical.15:01
seb128I wonder if other distributions are having the same issue and if not why they don't15:01
tkamppeterWhat is the venue in South Africa? A hotel?15:02
seb128yes15:02
tkamppeterAny printer which is around has a USB connector, you could reproduce the bug even if there is no working Linux driver for the printer.15:03
tkamppeterSo some printer in the hotel's business center or office could even help.15:04
tkamppeterSimply go with a laptop and a USB cable into the business center turn on and connect the printer and see what the computer does.15:04
seb128k15:05
seb128tkamppeter, umockdev allows you to record udev events and reply them to simulate devices like that15:05
seb128tkamppeter, https://github.com/martinpitt/umockdev15:06
seb128tkamppeter, but that's maybe not required in that case, should be easy enough to access a printer15:06
tkamppeterpitti has the solution for everything ...15:06
seb128indeed15:07
tkamppeterI want to have pitt back at Canonical ...15:07
seb128please do :)15:07
tkamppeterBut probably Canonical would have to big very high, like for a great socker player.15:08
tkamppeters/big/bid/15:09
pittitkamppeter: indeed, mocking the *presence* of a USB printer is fairly straightforward with umockdev15:13
pittimocking its *behaviour* is another topic, and that's currently rather brittle15:13
pittiI did some R&R on this a few years ago, and it kind of works, but maybe don't bet on it15:13
pittibut udev doesn't care about that, so the "static" udev properties are fine15:14
Laneyyeah it's just adding it15:14
Nafallohey! pitti didn't leave. he's here!15:15
pittisure! I can't leave my old desktop friends! :-)15:15
pittitkamppeter: I did a demo of this at this part: https://media.ccc.de/v/ASG2017-121-simulate_hardware_for_integration_testing#t=69715:17
seb128salut pitti15:17
pittitkamppeter: (< 10 minutes)15:17
pittiça va seb128 !15:17
seb128pitti, Γ§a va, j'ai suis en Afrique du Sud mais j'avais la grippe, Γ§a va mieux maintenant !15:17
seb128pitti, tkamppeter just needs the usb printer detection, it's for https://github.com/systemd/systemd/issues/710915:18
pittiseb128: ouch Γ  nouveau ? quel dommage !15:18
seb128" Services asked for by UDEV do not get triggered #7109"15:18
seb128seems an escaping issue with paths or something like that15:18
seb128lennart added patches to that bug but they don't seem to work and it stalled since15:19
seb128pitti, et toi, comment Γ§a va ?15:19
seb128pitti, oh et bonne annΓ©e au fait :)15:19
pittiseb128: bonne année à toi aussi ! (mais je crois que nous à parlè déjà cette année :) )15:20
seb128c'est bien possible, je ne me rappelle de plus rien Γ  cause de la grippe :p15:21
tkamppeterubot5 is not answering to GitHub bugs and GitHub is so common now.15:22
tkamppeterpitti, por favor, fale alemΓ£o, portuguΓͺs, ou InglΓͺs.15:24
Laney????15:25
Laneyneu Gymraeg?15:25
tkamppeterLaney, was sagst Du da?15:26
Nafallohohum. ska vi byta till svenska istΓ€llet kanske? :-)15:27
tkamppeterLaney, which language is that?15:27
xnoxtkamppeter, i'm not sure how i can help you. The upstream bug report looks valid, and it is correct that you do not get the expected units started.15:29
Laneytkamppeter: japanese then welsh15:29
tkamppeterLaney, then Japanese is easy: ??? ?? ?????? ??? ??  ???? ...15:30
seb128xnox, we have been told you maintain systemd and such are the right person for looking at getting such issues resolved?15:30
xnoxtkamppeter, the only solution i can offer you is as follows - make all usb-printers trigger "setup-usb-printer.service" which correctly scans all printers and effectively does `systemctl start usb-printer@the-correct-path.service`15:30
Laneytkamppeter: you know that if you have ENV{SYSTEMD_WANTS}="foo@" then the path is added automatically?15:30
Laney+=15:31
xnoxLaney, the issue here, is that tkamppeter is adding SYSTEMD_WANTS... but the systemd escaping sysfs-path and unescaping it is not round trip save, and in the end the unit is triggered with a non-existant sysfs.15:31
xnoxdue to loss of too many or not enough backslashes.15:31
Laneyxnox: yeah, but you can remove some manual handling of the path by using this facility15:31
Laney70-printers.rules computes the path using a PROGRAM thing15:32
Laneybut AIUI that shouldn't be necessary15:32
xnoxhm, true.15:32
Laneyif you just want to start a template unit with the path15:32
Laneyhttps://www.freedesktop.org/software/systemd/man/systemd.device.html -> SYSTEMD_WANTS section15:33
tkamppeterxnox, Laney, and there are two types of USB printers affected: Conventional ones which need to have the auto-setup tool of system-config-printer started and IPP-over-USB ones which need to have ippusbxd started.15:33
LaneyI just made that change15:34
Laneyand it resulted in https://paste.ubuntu.com/26398450/15:35
Laneytkamppeter: the sysfs path there looks correct?15:35
xnoxLaney, i wanted to try to want an "ls" unit which would /bin/ls the whatever was passed to it15:35
xnoxunable to access /sys/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1 -> is the path right?15:36
tkamppeterLaney, you get /sys/sys/devices/...15:36
xnoxactually I guess i can do that on _all_ devices, to see where the paths break15:36
Laneyit's got an extra /sys15:36
Laneybut line 2 doesn't have that15:36
xnoxtkamppeter, does udev-configure-printer adds on?15:36
xnoxJan 16 15:34:09 raleigh.local udev-configure-printer[18659]: add /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.115:36
xnoxJan 16 15:34:09 raleigh.local udev-configure-printer[18659]: unable to access /sys/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.115:36
Laneyand that is a print of argv[n]15:37
Laneyso I'm guessing u-c-p is adding it15:37
xnoxcause yeah, it is called with /sys, and then it changes to /sys/sys?15:37
tkamppeterLaney, originally, the s-c-p tool was called with /devices/...., your new method seemas to have called it with /sys/devices/...15:37
Laneyyeah that must be a difference15:37
Laneyso I guess this is a fix/workaround, if you remove that prepending?15:37
tkamppeterLaney, looks like so.15:38
xnoxmaybe the tool should check if starts with /sys do not add an extra /sys -> to keep it compatible with both old and new world orders15:38
tkamppeterLaney, what exactly did you change?15:39
Laneytkamppeter: ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="udev-configure-printer", TAG+="systemd", ENV{SYSTEMD_WANTS}+="udev-configure-printer@"15:39
LaneyI would guess the old way has some delicate problems with quoting15:42
tkamppeterLaney, will this still use the file /lib/systemd/system/udev-configure-printer@.service?15:42
tkamppeterLaney, or does it call the udev-configure-printer utility directly?15:43
Laneyit's starting that service15:43
tkamppeterOK. The systemd service is needed that the tool can spawn a daemon without systemd killing it.15:44
Laneyit should be equivalent to what you had15:44
Laneyexcept apparently you were getting the sysfs path without /sys before15:44
tkamppeterLaney, can you also check whether something similar is possible with /lib/systemd/system/ippusbxd@.service15:47
tkamppeterLaney, and the ippusbxd UDEV rule:15:49
tkamppeterACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device" ENV{ID_USB_INTERFACES}=="*:070104:*", OWNER="root", GROUP="lp", MODE="0664", TAG+="systemd", PROGRAM="/bin/systemd-escape --template=ippusbxd@.service $env{BUSNUM}:$env{DEVNUM}", ENV{SYSTEMD_WANTS}+="%c"15:49
gQuigsif you need a real printer tester - I have a USB printer -  epson stylus cx 7450 if that helps...15:50
Laneytkamppeter: is that broken?15:52
Laneyseems okay to me15:54
tkamppeterLaney, checking now.15:56
tkamppeterLaney, I have the folowin in /lib/systemd/system/ippusbxd@.service:16:07
tkamppeter[Unit]16:08
tkamppeterDescription=Daemon to make IPP-over-USB printers available as network printers (%i)16:08
tkamppeter[Service]16:08
tkamppeterType=forking16:08
tkamppeterGuessMainPID=true16:08
tkamppeterExecStart=/usr/sbin/ippusbxd --bus-device %i --from-port 60000 --logging16:08
tkamppeter# ExecStop= Not needed, ippusbxd stops by itself on shutdown of the printer16:08
tkamppeterand above-mentioned rule.16:08
Laneydoes it work?16:08
tkamppeterI have started "udevadm monitor --environment" and plugged in the printer.16:09
tkamppeterI get a lot of output with16:09
tkamppeterSYSTEMD_WANTS=ippusbxd@002:008.service 'udev-configure-printer@devices-pci0000:00-0000:00:14.0-usb2-2\x2d1.service' printer.target16:09
tkamppeterin it, but ippusbxd does not get started.16:10
Laneywell that service name looks right to me16:12
tkamppeterBut if I enter "sudo systemctl start ippusbxd@002:008.service" ippusbxd gets correctly started. This should usually go automatically.16:12
Laneytake a look in the journal16:12
tkamppeterLaney, Which command do I use for that?16:13
Laneyjournalctl -e16:13
Laneylook for stuff that happened when you plugged it in16:13
Laneyprobably Starting Daemon to make IPP-...16:13
tkamppeterIt says "Jan 16 14:06:02 till-x1carbon kernel: usb 2-1: usbfs: process 16465 (ippusbxd) did not claim interface 0 before use"16:17
tkamppeterLaney, ^^ but ippusbxd can be started normally from the command line or when manually starting the systemd service.16:17
Laneydon't know what that means but it looks like systemd did start the service for you16:17
Laneyis that a race condition?16:18
tkamppeterLaney, perhaps. I will remove the 70-.. UDEV rule and see whether this sokves it.16:18
Laneytry adding ExecStartPre=/bin/sleep 5 or something?16:20
Laneydon't forget to systemctl daemon-reload after editing units16:20
tkamppeterLaney, now it works, but strangely I get again16:21
tkamppeterJan 16 14:19:44 till-x1carbon kernel: usb 2-1: usbfs: process 16931 (ippusbxd) did not claim interface 0 before use16:22
tkamppeterand this time the daemon is running though, but as PID 16938.16:22
tkamppeterWill try the  ExecStartPre=/bin/sleep 516:23
Laneydo you see that when you start it yourself?16:23
Laneysounds to me like it is not on systemd's side anyway (i.e. if you see that message, systemd has started the service for you)16:24
tkamppeterLaney, there is some hidden race condition.16:38
tkamppeterI have removed 70-printers.udev, so there is only 55-ippusbxd.udev.16:39
tkamppeterLaney, without the sleep the ippusbxd starts sometimes sometimes not, also for sleep 1 or sleep 2.16:39
tkamppeterLaney, With spleep 3 it never starts.16:40
tkamppeterIn any case when ippusbxd starts, there is this "usbfs: process 16931 (ippusbxd) did not claim interface 0 before use" and ippusbxd starts with another process number.16:41
LaneySounds like ippusbxd is using libusb wrong16:44
tkamppeterLaney, ippusbxd directly started from the command line starts reliably, also when starting the service manually, ippusbxd starts reliably.16:46
tkamppeterLaney, also, in the cases when ippusbxd does not start after plugging the printer, journalctl -e shows no hint that the service gets started. The "Starting Daemon to make IPP-over-USB printers available as network printers (001:001)" line does not appear.16:48
Laney????????????????????????????????????????????????????????????????16:48
Laneywhy are you telling me about this random message if it's not starting?16:49
Laneyhow can it be printing a message in that case :/16:49
tkamppeterLaney, no I have confused you. Let us start over:16:55
tkamppeter1. Starting ippusbxd from the command line with the printer plugged always works.16:55
tkamppeter2. Plugging the printer gives "SYSTEMD_WANTS=ippusbxd@002:031.service printer.target" in the output of "udevadm monitor --environment", see full output in https://paste.ubuntu.com/26398883/16:57
tkamppeter2a. In most cases usbippxd does not start. Then in journalctl -e there is no message of the ippusbxd unit, not even "Starting Daemon to make IPP-over-USB printers available as network printers (001:001)".17:00
tkamppeter2b. In some cases ippusbxd actually gets started. Then journalctl -e actually shows "Starting Daemon to make IPP-over-USB printers available as network printers (001:001)" and even "Started Daemon to make IPP-over-USB printers available as network printers (001:001)", but it also shows "usbfs: process 16931 (ippusbxd) did not claim interface 0 before use" and ippusbxd starts with another process number. Looks like that ippusbxd got started twice (17:02
tkamppeterand only one of the two stays running).17:02
tkamppeterLaney, I hope it is easier to understand now for you.17:02
ogradid you try 8for laughs) to set Type=simple in your systemd unit ?17:03
LaneySure, but now I'm afraid I have no idea why the unit isn't getting started when it's in SYSTEMD_WANTS17:03
LaneyWhat does systemctl status <that service> show after it fails to start?17:03
tkamppeterogra, tried it and no change.17:06
ograwell, was worth a try :)17:07
tkamppeterLaney, udo systemctl status ippusbxd@002:033.service17:08
tkamppeter● ippusbxd@002:033.service - Daemon to make IPP-over-USB printers available as n17:08
tkamppeter   Loaded: loaded (/lib/systemd/system/ippusbxd@.service; static; vendor preset:17:08
tkamppeter   Active: inactive (dead)17:08
Laneyno log output?17:10
Laneyok, I'm out of ideas, sorry17:10
Laneyif it's in WANTS and it's not being started and it's not failed or anything, I have no idea17:11
tkamppeterLaney, is there another log than only  journalctl -e17:13
tkamppeterxnox, pitti, are you still here?17:14
tkamppeterLaney, and I still can start the service manually and get17:15
tkamppetertill@till-x1carbon:~$ sudo systemctl start ippusbxd@002:033.service17:15
tkamppetertill@till-x1carbon:~$ sudo systemctl status ippusbxd@002:033.service17:15
tkamppeter● ippusbxd@002:033.service - Daemon to make IPP-over-USB printers available as network printers (002:033)17:15
tkamppeter   Loaded: loaded (/lib/systemd/system/ippusbxd@.service; static; vendor preset: enabled)17:15
tkamppeter   Active: inactive (dead) since Tue 2018-01-16 15:14:54 -02; 2s ago17:15
tkamppeter  Process: 19766 ExecStart=/usr/sbin/ippusbxd --bus-device 002:033 --from-port 60000 --logging (code=exited, status=0/SUCCESS)17:15
tkamppeter Main PID: 19766 (code=exited, status=0/SUCCESS)17:15
tkamppeterJan 16 15:14:54 till-x1carbon systemd[1]: Started Daemon to make IPP-over-USB printers available as network printers (002:033).17:15
tkamppeterJan 16 15:14:54 till-x1carbon ippusbxd[19766]: 60000|19768|17:15
tkamppetertill@till-x1carbon:~$17:15
LaneyDid the process exit?17:16
Laneyor did it get the PID wrong?17:16
tkamppeterLaney, sorry, this was of ogra's suggestion with "Type=simple", which does not work.17:18
tkamppeterLaney, here is the correct one:17:18
tkamppetertill@till-x1carbon:~$ sudo systemctl start ippusbxd@002:034.service17:18
tkamppetertill@till-x1carbon:~$ sudo systemctl status ippusbxd@002:034.service17:18
tkamppeter● ippusbxd@002:034.service - Daemon to make IPP-over-USB printers available as network printers (002:034)17:18
tkamppeter   Loaded: loaded (/lib/systemd/system/ippusbxd@.service; static; vendor preset: enabled)17:18
tkamppeter   Active: active (running) since Tue 2018-01-16 15:17:22 -02; 9s ago17:18
tkamppeter  Process: 19892 ExecStart=/usr/sbin/ippusbxd --bus-device 002:034 --from-port 60000 --logging (code=exited, status=0/SUCCESS)17:18
tkamppeter Main PID: 19894 (ippusbxd)17:18
tkamppeter    Tasks: 3 (limit: 4915)17:18
tkamppeter   CGroup: /system.slice/system-ippusbxd.slice/ippusbxd@002:034.service17:18
tkamppeter           └─19894 /usr/sbin/ippusbxd --bus-device 002:034 --from-port 60000 --logging17:18
tkamppeterJan 16 15:17:22 till-x1carbon systemd[1]: Starting Daemon to make IPP-over-USB printers available as network printers (002:034)...17:18
tkamppeterJan 16 15:17:22 till-x1carbon systemd[1]: Started Daemon to make IPP-over-USB printers available as network printers (002:034).17:19
tkamppetertill@till-x1carbon:~$17:19
Laneyseems ok then17:19
xnoxtkamppeter, why is the number different? it got incremented due to plugging in / unplugging? 002:031 vs 002:034?17:20
tkamppeterLaney, journalctl -e still shows "kernel: usb 2-1: usbfs: process 19892 (ippusbxd) did not claim interface 0 before use", but the process number in there is of the ExecStart call and ippusbxd has actually another one, compare the status output.17:21
tkamppeterLaney problem is still that the service does not start automatically, when I plug in the printer, but starting manually works perfectly.17:22
tkamppeterxnox, yes. after each plugging the printer gets a new number, increased by 1.17:22
tkamppeterLaney, seems that we can ignore the "kernel: usb 2-1: usbfs: process 19892 (ippusbxd) did not claim interface 0 before use" message. It seems not to affect the problem.17:23
Laneyso it did something before forking17:23
LaneyI don't think that matters17:23
LaneyWhat is more interesting is why systemd doesn't start it *sometimes*17:24
Laneyno ideas on that though17:24
tkamppeterLaney, xnox, the problem is that the service appears in SYSTEMD_WANTS but does not get started.17:24
xnoxtkamppeter, i'd ratehr use --no-fork int he ExecStart and remove both Type=forking and GuessMainPID17:24
Laneymaybe show us the whole journal from before you plug it in17:24
tkamppeterLaney, xnox, and here in the ippusbxd case there seems also not to be any quoting/unquoting problem.17:25
Laneyyes17:25
xnoxtkamppeter, not sure why there is need to invoke systemd-escape in this case either.17:26
tkamppeterxnox, Laney: --no-fork (with Type=simple) behaves the same:17:29
tkamppetertill@till-x1carbon:~$ sudo systemctl status ippusbxd@002:035.service17:29
tkamppeter● ippusbxd@002:035.service - Daemon to make IPP-over-USB printers available as network printers (002:035)17:29
tkamppeter   Loaded: loaded (/lib/systemd/system/ippusbxd@.service; static; vendor preset: enabled)17:29
tkamppeter   Active: inactive (dead)17:29
tkamppetertill@till-x1carbon:~$ sudo systemctl start ippusbxd@002:035.service17:29
tkamppetertill@till-x1carbon:~$ sudo systemctl status ippusbxd@002:035.service17:29
tkamppeter● ippusbxd@002:035.service - Daemon to make IPP-over-USB printers available as network printers (002:035)17:29
tkamppeter   Loaded: loaded (/lib/systemd/system/ippusbxd@.service; static; vendor preset: enabled)17:29
tkamppeter   Active: active (running) since Tue 2018-01-16 15:28:25 -02; 2s ago17:29
tkamppeter Main PID: 20221 (ippusbxd)17:29
tkamppeter    Tasks: 4 (limit: 4915)17:29
tkamppeter   CGroup: /system.slice/system-ippusbxd.slice/ippusbxd@002:035.service17:29
tkamppeter           └─20221 /usr/sbin/ippusbxd --no-fork --bus-device 002:035 --from-port 60000 --logging17:29
tkamppeterJan 16 15:28:25 till-x1carbon systemd[1]: Started Daemon to make IPP-over-USB printers available as network printers (002:035).17:30
tkamppetertill@till-x1carbon:~$ ps auxwww | grep ippusbxd17:30
tkamppeterroot     20116  0.0  0.0  80192  4804 pts/1    S    15:26   0:00 sudo emacs /lib/systemd/system/ippusbxd@.service17:30
tkamppeterroot     20117  0.7  0.6 395956 55380 pts/1    Sl   15:26   0:00 emacs /lib/systemd/system/ippusbxd@.service17:30
tkamppeterroot     20221  0.2  0.0 270272  3180 ?        Ssl  15:28   0:00 /usr/sbin/ippusbxd --no-fork --bus-device 002:035 --from-port 60000 --logging17:30
tkamppetertill     20234  0.0  0.0  14356  1044 pts/1    S+   15:28   0:00 grep --color=auto ippusbxd17:30
tkamppetertill@till-x1carbon:~$17:30
tkamppeterLaney, xnox, the problem seems not to be affected by what the service unit does but by the service not started automatically.17:31
Laneyyeah that's the bit I don't understand17:31
Laneyplease just share the whole journal from just before you plug it in when it doesn't work17:32
Laneymaybe we can see something17:32
tkamppeterxnox, the /bin/systemd-escape call does not seem to cause any problem, as the SYSTEMD_WANTS shows the correct service name, the one which I can manually start.17:33
tkamppeterLaney, how to obtain the full journal in its maximum verbosity?17:33
Laneyjournalctl | tee till.log17:34
Laneyjournalctl -f sorry17:34
tkamppeterLaney, xnox, here is the full log without "-f": https://paste.ubuntu.com/26399230/17:39
tkamppeterLaney, xnox, here is the journalctl -f of only plugging the printer:17:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: new high-speed USB device number 37 using xhci_hcd17:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: New USB device found, idVendor=03f0, idProduct=c21117:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=317:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: Product: Deskjet 2540 series17:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: Manufacturer: HP17:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usb 2-1: SerialNumber: BR54BFB02C05XK17:41
tkamppeterJan 16 15:40:13 till-x1carbon kernel: usblp 2-1:1.1: usblp1: USB Bidirectional printer dev 37 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC21117:41
tkamppeterJan 16 15:40:13 till-x1carbon mtp-probe[20729]: checking bus 2, device 37: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"17:41
tkamppeterJan 16 15:40:13 till-x1carbon mtp-probe[20729]: bus: 2, device: 37 was not an MTP device17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterJan 16 15:40:18 till-x1carbon colord-sane[20731]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied17:41
tkamppeterLaney, xnox, this is the log of manually starting the service:17:43
tkamppeterJan 16 15:42:24 till-x1carbon systemd[1]: Started Daemon to make IPP-over-USB printers available as network printers (002:037).17:43
tkamppeterJan 16 15:42:24 till-x1carbon sudo[20876]: pam_unix(sudo:session): session closed for user root17:43
tkamppeterJan 16 15:42:24 till-x1carbon kernel: usb 2-1: usbfs: process 20879 (ippusbxd) did not claim interface 0 before use17:43
tkamppeterJan 16 15:42:25 till-x1carbon kernel: TCP: request_sock_TCP: Possible SYN flooding on port 60000. Sending cookies.  Check SNMP counters.17:43
tkamppeterJan 16 15:42:26 till-x1carbon colord[1598]: failed to get session [pid 6984]: No data available17:43
xnoxtkamppeter, i need the status of the device17:43
xnoxunit17:43
xnoxtkamppeter, cause if device unit is not "considered plugged" the wants are not started, as far as i understand....17:44
tkamppeterLaney, xnox: The manual start was successful.17:44
LaneyManually starting things isn't really interesting for this problem17:44
tkamppeterxnox, how do I get the log of the device unit?17:44
xnoxtkamppeter, can you plugin the thing; and find it in $ systemctl list-units ? and check if it is there or not?17:45
xnoxand then check status, if it is "loaded active plugged"?17:46
tkamppeterxnox, Laney: It contains17:52
tkamppeter  sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d1.device                                     loaded active plugged   Deskjet_2540_series17:52
tkamppeterregardless of whether the printer is plugged or not.17:52
tkamppeterSo it seems that the printer is not correctly unregistered from systemd on unplug, and so it does not get considered newly plugged.17:53
tkamppeterxnox, Laney: ^^17:53
tkamppeterxnox, Laney: First step would be to somehow manually reset it and see whether the service gets started automatically when plugging right after the reset.17:54
Laneydid you experiment with umockdev or something?17:55
xnoxtkamppeter, reboot? =)17:55
tkamppeterxnox, Laney, next step is to find a way that the status of the device gets reset/removed on unplug automatically.17:55
xnoxtkamppeter, run udevadm monitor to figure things out. but it usually monitors only things it knows about pre-plug. possibly a kernel driver bug.17:56
tkamppeterxnox, Laney: sudo systemctl daemon-reload removes the status.17:56
xnoxgood17:56
Laneyfor me it goes active / inactive corresponding to whether the printer is plugged in or not17:57
tkamppeterxnox, Laney: And plugging right after that starts the service automatically!!17:57
tkamppeterxnox, Laney: I have never "inactive".17:58
Laneysuggest restarting17:59
xnoxtkamppeter, maybe your printer is broken; or something else starts that holds up the device; i see other things starting e.g. colord-sane? what is up with that?18:01
tkamppeterLaney, xnox: turning off the printer has the same problem, no reset of loaded active plugged.18:02
LaneyI mean restarting your computer :P18:02
Laneybut now I'm off, can carry this on tomorrow if required18:02
Laneyhappy evening o/18:02
tkamppeterLaney, thanks, see you tomorrow.18:04
seb128Laney, have a nice evening18:04
tkamppeterxnox, do not know how colord-sane is working. It does not come fro me, but it seems to react on the presence of the printer, too.18:05
tkamppeterxnox, how can I stop that.18:05
tkamppeterxnox, in "udevadm monitor --environment" is nothing output at all during unplug of the printer. Is this correct?18:08
tkamppeterxnox, is there some way to see whether a device like sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d1.device in systemd is held up by something else?18:12
xnoxtkamppeter, no idea. Laney's printer unplugs just fine....18:27
xnoxmost devices do too....18:27
tkamppeterxnox, I have reduced the ippusbxd problem onto the unplug problem now. If I plug the printer after a daemon-reload, it reliably starts the ippusbxd service, even without ExecStartPre delay, independent of forking or non-forking ippusbxd and also with presence of the 70-printers.udev rule.18:35
tkamppeterxnox, perhaps it has to do with the fact that it is an MF device with scanner.18:37
tkamppeterxnox, or a device supported by HPLIP.18:37
tkamppeterxnox, is there actually some way to see whether a device like sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d1.device in systemd is held up by something else?18:38
xnoxtkamppeter, it's not a systemd question. it's a kernel question. try #ubuntu-kernel18:41
tkamppeterxnox, the removal of the device also does not take place when removing HPLIP, so HPLIP is also not the cause.18:47
tkamppeterxnox, sorry, I had some problems to get into the #ubuntu-kernel channel, but now I am in and asking there.19:06

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