Project

General

Profile

Scénario #13182

Faire fonctionner infoquota en 2.5.1 (SCRIBE-T10-004)

Added by Gérald Schwartzmann about 6 years ago. Updated about 6 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
09/28/2015
Due date:
10/09/2015
% Done:

100%

Estimated time:
(Total: 2.00 h)
Spent time:
1.00 h (Total: 1.75 h)
Story points:
4.0
Remaining (hours):
0.00 hour
Velocity based estimate:
3 days

Description

Infoquotas : le cron ne fonctionne plus

Passage du test : http://squash-tm.eole.lan/squash/executions/2177

root@scribe:~# bash -x /etc/cron.d/infosquota
+ awk '(substr($1,0,1) !~ /#/) && ($2 ~ /--/||/+-/) {print $1","$3","$4","$5","$6}'
awk: line 1: + '*/10' EoleCiFunctions.sh eole-ci-tests-daemon-runner.sh eole-ci-tests_start.sh getVMContext.sh mount.eole-ci-tests rapport_maj_sso.txt EoleCiFunctions.sh eole-ci-tests-daemon-runner.sh eole-ci-tests_start.sh getVMContext.sh mount.eole-ci-tests rapport_maj_sso.txt EoleCiFunctions.sh eole-ci-tests-daemon-runner.sh eole-ci-tests_start.sh getVMContext.sh mount.eole-ci-tests rapport_maj_sso.txt EoleCiFunctions.sh eole-ci-tests-daemon-runner.sh eole-ci-tests_start.sh getVMContext.sh mount.eole-ci-tests rapport_maj_sso.txt root /usr/sbin/repquota /home
/etc/cron.d/infosquota: ligne 2: */10: Aucun fichier ou dossier de ce type
regular expression compile failed (missing operand)
+-
root@scribe:~#
root@scribe:~# cat /home/netlogon/infosquota/quotas.txt
root@scribe:~# /usr/sbin/repquota /home | awk '(substr($1,0,1) !~ /#/) && ($2 ~ /--/||/+-/) {print $1","$3","$4","$5","$6}' > /home/netlogon/infosquota/quotas.txt
awk: line 1: regular expression compile failed (missing operand)
+-

Subtasks

Tâche #13281: Revoir le cron infoquotaFerméDaniel Dehennin

Associated revisions

Revision 5d981aed (diff)
Added by Emmanuel GARETTE about 6 years ago

escape de '+' dans la tâche cron (ref #13182 @1h)

History

#1 Updated by Gérald Schwartzmann about 6 years ago

  • Subject changed from Infoquotas : le cron ne fonctionne plus to SCRIBE-T10-004
  • Description updated (diff)

#2 Updated by Gérald Schwartzmann about 6 years ago

  • Subject changed from SCRIBE-T10-004 to SCRIBE-T10-004 2.5.1

#3 Updated by Gérald Schwartzmann about 6 years ago

  • Subject changed from SCRIBE-T10-004 2.5.1 to Correction SCRIBE-T10-004 2.5.1

#4 Updated by Gérald Schwartzmann about 6 years ago

2 ème problèmes

pas n°15

les quotas n'ont pas l'air de fonctionner

résultat attendu :

Une fenêtre surgissante "Informations quota" apparait :
Utilisateur :    prof
Quota disque :   50 Mo
Espace utilisé : 98 Mo

Vous devez impérativement faire du ménage dans vos fichiers !
Les logiciels ne vont plus fonctionner !

à la place la popup dit :

les quotas ne sont pas mis en place

résultat de la commande repquota -a :

proff     +-  100364   51200  102400  6days      80     0     0  

#5 Updated by Scrum Master about 6 years ago

  • Parent task deleted (#12975)

#6 Updated by Scrum Master about 6 years ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 10/09/2015
  • Story points set to 4.0

#7 Updated by Emmanuel GARETTE about 6 years ago

  • Subject changed from Correction SCRIBE-T10-004 2.5.1 to Faire fonctionner infoquota en 2.5.1 (SCRIBE-T10-004)

#8 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF