Friday, 9 April 2021

+1 maintenance report

Here's my report for the week of April 5-9.


### mash (and kleborate) ###

Debian had dropped the armhf support from the package, but we were still
building and testing the armhf binary package. This was removed
(LP: #1922802) and mash 2.2.2+dfsg-2build1 was able to migrate.

It looks like this also permitted kleborate 2.0.1-1 to migrate as well.


### securefs ###

securefs / 0.11.1+ds-3 test failure on amd64

A test case was writing to a "tmp" dir before it had been created (by
one of the other test cases). (The ordering of test cases might be
platform-specific or perhaps arbitrary?) I patched the test to create
tmp if it doesn't already exist. With the fix, migrated as
0.11.1+ds-3ubuntu1.


### rainloop ###

rainloop / 1.14.0-3 build failure on amd64

The problem was due to node-pikaday installing pikaday.css in /usr/share
now, instead of /usr/lib. rainloop also needed a build-depend on
node-jquery. I've uploaded 1.14.0-3ubuntu1 but it's not processed yet.

### Regular +1 Maintenance ###

These test failures were blocking the glibc update, but passed after a
simple retriggering:

* pyfuse3
* pymca
* python-biopython
* r-bioc-destiny
* ruby-hitimes
* tcpslice

These migrated after retriggering with a few other packages from
proposed:

* privoxy / 3.0.32-1ubuntu1 on armhf
* pytorch / 1.7.1-7 on armhf
* golang-github-coreos-pkg / 4-3 on armhf
* golang-github-hashicorp-memberlist / 0.1.7-1ubuntu1 on arm64
* golang-github-valyala-gozstd / 1.9.0+ds-7 on ppc64el
* cl-trivial-garbage / 20200801.git2319892-1 on amd64

These were failing testing due to timeouts, but passed and completed
migration when retriggered:

* pytorch / 1.7.1-7
* nanoc / 4.11.14-4ubuntu1

These build failures resolved with a simple rebuild:

* irpas / 0.10-8ubuntu1
* pexpect / 4.8.0-1 build failure on amd64

### Notes on Remaining Items ###

The rest of these I stared at a bit but didn't have time to fully
investigate, so leave these notes for the next shift.

* img2pdf / 0.4.0-1 build failure on amd64:
- 52 test cases failed, mostly due to one problem fixed by
https://paste.ubuntu.com/p/rt6b7pgTRk/.
- I didn't figure out the last 4 test case failures, but there may
be more clues to glean from:
https://gitlab.mister-muffin.de/josch/img2pdf/issues/85

* sshuttle / 1.0.5-1ubuntu1 test failure on amd64,ppc64el,s390x
- Looks like tests are taking too long to run, so maybe it needs
big_packages or long_test set in autopkgtest-cloud?

* cct (with ncbi-blast+ and kleborate)
- I thought getting mash and kleborate to migrate would enable this
one to go, however this also is hitting a test timeout so perhaps
could also need hinted as long_test?

* dogtag-pki test failure on s390x
- Timo and Lukas had debugged this previously, and raised the issue
with upstream, who introduced a fix in the package 389-ds-base
1.4.4.11-1, but even with that version, no dice. But it still
appears to be something pkispawn-related.
- https://github.com/389ds/389-ds-base/issues/4563
- https://github.com/389ds/389-ds-base/commit/2ccd0bed4e60e44303d5f1cf96bd30572ffea85b

* phpmyadmin / 4:5.0.4+dfsg2-2 test failure on s390x:
- Two test cases in the ImportShpTest.php plugin fail.
- I didn't get a chance to work on this, but have dealt with several
PHP + s390x test errors in the past. They've typically been
endianness issues of some sort, which we've worked around by
disabling the test case. However, for phpmyadmin it may be worth
reproducing on s390x and digging in more.

* diaspora-installer / 0.7.14.0+debian2 test failure on ppc64el:
- This ruby package seems not to be able to find mimemagic (0.3.5),
maybe it needs to build-depend on ruby-mimemagic? Not sure
though - I don't reproduce the failure on amd64 with ruby-mimemagic
uninstalled, so might be something more ppc64el-specific.


-----
Monday: 233 update excuse records found
Tuesday: 220 update excuse records found
Wednesday: 184 update excuse records found
Thursday: 249 update excuse records found
Friday: 188 update excuse records found
-----

Bryce

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Thursday, 8 April 2021

Fully numeric usernames in Focal

Hi,

While reviewing a bug in Focal I noticed that useradd allows the creation of fully numeric usernames[1] but systemd does not like them[2]. This triggers issues in apps relying on systemd, such as gnome/gdm (returns to gdm after authenticating). For instance, after creating user 0, the user can log in via ssh or console but loginctl won't create a session for it:  

root@focal:/home/ubuntu# useradd -m 0
root@focal:/home/ubuntu# id 0
uid=1005(0) gid=1005(0) groups=1005(0)

..

0@192.168.122.6's password:                                                          
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-48-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage  
                                                 
  System information as of Thu Apr  8 16:17:51 UTC 2021
 
  System load:  0.34              Processes:             157
  Usage of /:   77.2% of 7.58GB   Users logged in:       0  
  Memory usage: 6%                IPv4 address for ens3: 192.168.122.6
  Swap usage:   0%
 
 * Introducing self-healing high availability clusters in MicroK8s.
   Simple, hardened, Kubernetes for production, from RaspberryPi to DC.
   
     https://microk8s.io/high-availability
   
0 updates can be installed immediately.
0 of these updates are security updates.

Your Hardware Enablement Stack (HWE) is supported until April 2025.

Last login: Thu Apr  8 16:17:06 2021 from 192.168.122.1
$ loginctl
No sessions.
$ w
 16:20:09 up 4 min,  1 user,  load average: 0.03, 0.14, 0.08
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
0        pts/0    192.168.122.1    16:17    0.00s  0.00s  0.00s w  

And pam-systemd shows the following message:

Apr 08 16:17:06 focal sshd[1584]: pam_unix(sshd:session): session opened for user 0 by (uid=0)
Apr 08 16:17:06 focal sshd[1584]: pam_systemd(sshd:session): pam-systemd initializing
Apr 08 16:17:06 focal sshd[1584]: pam_systemd(sshd:session): Failed to get user record: Invalid argument

                                                                                             

I personally think that fully numeric usernames are generally a bad idea, but I'm not familiar with the background on this topic (I assume this is not an expected behavior, as it started happening in Focal). Should useradd allow such usernames given the interaction with systemd? If so, can we document this somewhere?

Thanks,

Victor


[1] man useradd

On Debian, the only constraints are that usernames must neither start with a dash ('-') nor plus ('+') nor tilde ('~') nor contain a colon (':'), a comma (','), or a whitespace (space: ' ', end of line: '\n', tabulation: '\t', etc.). Note that using a slash ('/') may break the default algorithm for the definition of the user's home directory.

[2] https://github.com/systemd/systemd/blob/main/docs/USER_NAMES.md

"Similar, no names consisting of an initial hyphen and otherwise entirely made up of digits (rationale: avoid confusion with negative, numeric UID/GID specifications, e.g. -1)"

This topic has been discussed a few times: 

Tuesday, 6 April 2021

Re: Application for Core Developer (gunnarhj)

On 2021-04-06 00:57, Colin Watson wrote:
> On Mon, Apr 05, 2021 at 04:36:06PM +0100, Robie Basak wrote:
>> On Tue, Mar 23, 2021 at 11:19:48PM +0100, Gunnar Hjalmarsson wrote:
>>> I hereby apply to become a Core Developer.
>>
>> The DMB voted today to approve Gunnar's application. Congratulations,
>> Gunnar!
>
> What a fine addition to the team! Congratulations.

On 2021-04-06 08:19, Olivier Tilloy wrote:
> Congratulations Gunnar!

Thank you both!

--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Monday, 5 April 2021

Re: Application for Core Developer (gunnarhj)

On Mon, Apr 5, 2021 at 5:36 PM Robie Basak <robie.basak@ubuntu.com> wrote:
>
> On Tue, Mar 23, 2021 at 11:19:48PM +0100, Gunnar Hjalmarsson wrote:
> > I hereby apply to become a Core Developer.
>
> The DMB voted today to approve Gunnar's application. Congratulations,
> Gunnar!

Congratulations Gunnar!

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Re: Application for Core Developer (gunnarhj)

On Mon, Apr 05, 2021 at 04:36:06PM +0100, Robie Basak wrote:
> On Tue, Mar 23, 2021 at 11:19:48PM +0100, Gunnar Hjalmarsson wrote:
> > I hereby apply to become a Core Developer.
>
> The DMB voted today to approve Gunnar's application. Congratulations,
> Gunnar!

What a fine addition to the team! Congratulations.

--
Colin Watson (he/him) [cjwatson@ubuntu.com]

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Re: Application for Core Developer (gunnarhj)

On 2021-04-05 17:50, Ko Ko Ye` wrote:
> Congratulations Gunnar
> Proud with you.
>
> On Mon, Apr 5, 2021 at 10:07 PM Robie Basak <robie.basak@ubuntu.com
> <mailto:robie.basak@ubuntu.com>> wrote:
>
> On Tue, Mar 23, 2021 at 11:19:48PM +0100, Gunnar Hjalmarsson wrote:
> > I hereby apply to become a Core Developer.
>
> The DMB voted today to approve Gunnar's application. Congratulations,
> Gunnar!
>
> On behalf of the DMB,
>
> Robie

Thanks Ko Ko Ye`!

--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Re: Application for Core Developer (gunnarhj)

Congratulations Gunnar 
Proud with you.


On Mon, Apr 5, 2021 at 10:07 PM Robie Basak <robie.basak@ubuntu.com> wrote:
On Tue, Mar 23, 2021 at 11:19:48PM +0100, Gunnar Hjalmarsson wrote:
> I hereby apply to become a Core Developer.

The DMB voted today to approve Gunnar's application. Congratulations,
Gunnar!

On behalf of the DMB,

Robie
--
ubuntu-news-team mailing list
ubuntu-news-team@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-news-team


--