- 30 Sep, 2009 1 commit
-
-
Vinicius Ruoso authored
Part of the adaptation to the POSIX standard. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 29 Sep, 2009 4 commits
-
-
Vinicius Ruoso authored
Part of the adaptation to the POSIX standard. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
The '&>' redirecion became 1> and 2> redirections to satisfy the POSIX style. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
The 'here-string' redirections became pipes to satisfy the POSIX style Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Part of the adaptation to the POSIX Stardart. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 22 Aug, 2009 5 commits
-
-
Vinicius Ruoso authored
When some sync fail, or the raid state are not the most common case, the fixraid script will try to rebuild the arrays. But some times, it's waste of time trying to re-add a partition to some array because the sync will fail. We are adding detection of this situation, a disk with I/O errors showned through the syslog deamon log files. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
This is not necessary, but will secure that when trying to add the disk to some array, it will not be there already. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Based on the /sys/block information, we will always get the correct information of the raid state. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 18 Aug, 2009 1 commit
-
-
Vinicius Ruoso authored
When detecting if a disk is with I/O error a different message was beeing returned depending on the system language. Exporting the LC_ALL variable will force the message to be in english. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 12 Aug, 2009 7 commits
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
This is necessary because unset can't handle dots. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
The following summaries has been added: - index - nobreak - offline - onlineplot The autogen_summaries.conf has been created to correctly install those summaries. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
The generated Makefile by autogen.sh can now install standalone states and summaries. This will allow sdi-plugins-prd to install states that doesn't have a script associated, and install summaries too. The summaries config file will be the autogen_summaries.conf. To corectly use this feature, the user must have the "states" dir to install standalone states, and the "summaries" dir to install standalone summaries. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 06 Aug, 2009 1 commit
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 04 Aug, 2009 1 commit
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 03 Aug, 2009 3 commits
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
When renamed states files from .st to _st, the .po files haven't been updated to work with those states. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Also, a new state has been added to identify schools in old versions. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 10 Jul, 2009 2 commits
-
-
Vinicius Ruoso authored
We are adding a last_contact script to create a collumn on web page that contains the time of the last information receive from some host. Additionally, the longoffline and offline_ping states has been included to control hosts that are offline by a long time and the host we can't connect but we can ping. Also, the autogen configuration file has been changed to be able to create the correct Makefile to those new features. The README has been adapted to new scripts too. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 01 Apr, 2009 3 commits
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
This is necessary because the unset command can't handle name with dot on it. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
The new SDI version need the state name before getstateinfo function name on states related files. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 30 Mar, 2009 1 commit
-
-
Vinicius Ruoso authored
Those scripts has been moved to sdi/sdi-integrity-prd.git repository. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 06 Mar, 2009 5 commits
-
-
Ricardo Tavares de Oliveira authored
One variable was declared with a wrong name. This causes the crashes of the system. We are fixating it. Also, the function get_base will return the exit code of bunzip2. Finally, we are commenting the actions we perform to fix the problems. Signed-off-by:
Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
-
Ricardo Tavares de Oliveira authored
Since we have now two kinds of packs bases, generate_mdsum_base.sh needs to know what file it will process from. If the "dn" argument is passed, it will use the "normal" packs base. If the "dt" argument is passed, it will use the "testing" packs base. Signed-off-by:
Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
-
Ricardo Tavares de Oliveira authored
As explained before, we will have two different packs bases: one for "normal" schools and another for "testing" ones. We changed prd_packs to indicate what base the school will download, and prd_packs.po to recive this indication and process it according to it. Also, we are commentig the actions we perform to fix problems. Signed-off-by:
Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
-
Ricardo Tavares de Oliveira authored
We are removing both generate_packs_base.sh and packs_base, since we changed the way we generate the packs base to an external schema. Signed-off-by:
Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
-
Ricardo Tavares de Oliveira authored
By now, the generation of the packs base will be done by an external schema, since we were having some updating problems with the old way. The schema used needs only to put two files (packs_base_{normal,testing}) contain the packs base for both kind of schools. The generation of the md5 base will be done with those files. Signed-off-by:
Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
-
- 04 Mar, 2009 1 commit
-
-
Vinicius Ruoso authored
When the create partition process fail, the return value should be consistent. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 27 Feb, 2009 1 commit
-
-
Vinicius Ruoso authored
Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
- 09 Feb, 2009 4 commits
-
-
Vinicius Ruoso authored
We decide to give fixhome some more shots to try fixating the /home RAID. Only after 22hrs will give not more than 2 shots, but between 22 and 5hrs it will have enought time to run properly. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
After rsync, it's necessary to umount /home. If some user proccess are using disk resources on /home, the umount command will fail, and will not bem possible to fix the RAID. Killing all user remaining proccess will allow the umount command to execute properly. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
When something goes wrong running the fixhome routine, the school must return to the state before running it. The code added will make sure all becomes normal if some error happens. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-
Vinicius Ruoso authored
This modification prevent the creation of file /etc/nologin when the fix home script will be aborted by some already created lock file. Signed-off-by:
Vinicius Ruoso <vkr07@c3sl.ufpr.br>
-