Project

General

Profile

Scénario #29563

lxc-attach ne renvoie pas le code d'erreur de la commande exécutée sur Ubuntu 20.04

Added by Joël Cuissinat 2 months ago. Updated 8 days ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
Start date:
03/23/2020
Due date:
04/10/2020
% Done:

0%

Story points:
1.0
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Je vais ouvrir un signalement sur Launchpad, le pb est déjà fixé :

Associated revisions

Revision ec0d688d (diff)
Added by Joël Cuissinat 13 days ago

workaround lxc-attach return code problem

Ref: #29563

Revision 77141954 (diff)
Added by Joël Cuissinat 13 days ago

postservice/30-eole-workstation-manager : cosmetic fix

Ref: #29563

History

#1 Updated by Joël Cuissinat 2 months ago

root@scribe:~# lxc-start --version
3.0.4
root@scribe:~# lxc-attach --logpriority=DEBUG --name=addc -- exit
lxc-attach: addc: attach.c: lxc_attach_run_command: 1489 No such file or directory - Failed to exec "exit" 
root@scribe:~# echo $?
0

=> https://bugs.launchpad.net/debian/+source/lxc/+bug/1861880

#2 Updated by Joël Cuissinat 2 months ago

  • Parent task changed from #29463 to #29566

#3 Updated by Joël Cuissinat about 1 month ago

  • Parent task changed from #29566 to #29652

#4 Updated by Joël Cuissinat 13 days ago

Cela n'a pas l'air prêt d'être corrigé !
Je propose d'appliquer un contournement sur ce bout de code en attendant...

00:20:50.291             run-parts: executing /usr/share/eole/postservice/30-eole-workstation-manager instance
00:20:50.291             Résolution du nom d'hôte "salt" en 192.168.0.26 : Record added successfully
00:20:56.307             Mise en conformité de l’utilisateur 'eole-workstation-manager'...
00:20:56.307             ERROR: Failed to set expiry for user 'eole-workstation-manager': Unable to find user "(&(objectClass=user)(sAMAccountName=eole-workstation-manager))" 
00:20:56.307             ERROR(exception): Failed to add members "eole-workstation-manager" to group "Domain Admins" - Unable to find "eole-workstation-manager". Operation cancelled.
00:20:56.307               File "/usr/lib/python3/dist-packages/samba/netcmd/group.py", line 245, in run
00:20:56.307                 samdb.add_remove_group_members(groupname, groupmembers,
00:20:56.307               File "/usr/lib/python3/dist-packages/samba/samdb.py", line 305, in add_remove_group_members
00:20:56.307                 raise Exception('Unable to find "%s". Operation cancelled.' % member)
00:20:56.307             ERROR: Failed to set password for user 'eole-workstation-manager': Unable to find user "eole-workstation-manager" 
00:20:56.307             Mise en conformité de l’utilisateur 'eole-workstation-reader'...
00:20:56.307             ERROR: Failed to set expiry for user 'eole-workstation-reader': Unable to find user "(&(objectClass=user)(sAMAccountName=eole-workstation-reader))" 
00:20:56.307             ERROR: Failed to set password for user 'eole-workstation-reader': Unable to find user "eole-workstation-reader" 

#5 Updated by Joël Cuissinat 13 days ago

  • Release set to EOLE 2.8.0

#6 Updated by Joël Cuissinat 13 days ago

  • Parent task deleted (#29652)

#7 Updated by Joël Cuissinat 13 days ago

  • Tracker changed from Tâche to Scénario
  • Target version deleted (sprint 2020 10-12 Equipe MENSR)
  • Start date deleted (02/04/2020)

#8 Updated by Gilles Grandgérard 12 days ago

voir Fix commited ce jour : https://bugs.launchpad.net/bugs/1861880

#9 Updated by Gilles Grandgérard 12 days ago

  • Due date set to 04/10/2020
  • Target version set to sprint 2020 13-15 Equipe MENSR
  • Start date set to 03/23/2020

#10 Updated by Joël Cuissinat 12 days ago

  • Assigned To set to Joël Cuissinat
  • Story points set to 1.0

#11 Updated by Joël Cuissinat 8 days ago

  • Project changed from Distribution EOLE to eole-workstation

Also available in: Atom PDF