I have not packaged a final working package for First Boot due to the fact both new packages (rootpassword) and (timezone) are having scripting problems.
Currently the rootpassword module has been sent to redhat.bugzill.com for debuggin.
The bug report can be located Here
Here is the latest SRPM file
Here is the latest RPM file
Here is the latest SPEC file
I have included a readme.txt file in the latest installment of the package for the next person that may take over working on these to packages. Just some detailed information about what has been happening and where to go from here.
I plan on working on this in my spare time although I will be graduating it is always great to see something through and get it working. Gives great satisfaction.
Martin Gracek is currently checking my code to see if there is something that he can pick up and help me along the way.
Cheers!!
Craig
Craig Cain
Thursday, 12 April 2012
Thursday, 5 April 2012
Firstboot Packages
Monday, 26 March 2012
First Boot 0.2
Second stage of the first boot module is going slower than planned, I have a code implimented and trying to get in operational with no success as of yet.
Contacted Martin Gracik for some help in getting the code working when firstboot is called. Just waiting for him to contact me back.
The first file is the code that I retreived out of the package: "system-config-rootpassword-1.99.6-3.fc15.src.rpm"
you can download the package "Here"
The first file has been taken out of that package and I am working on debugging in to work properly this is the file: rootpassword.py
The second file I am working on is the file that I sniped from some previous written code, having problems getting this code to work as though it seems there are no syntax errors in the code after tweeking it for hours. I cannot get the module to load when I call firstboot. Here is the file rootpass.py
Contacted Martin Gracik for some help in getting the code working when firstboot is called. Just waiting for him to contact me back.
The first file is the code that I retreived out of the package: "system-config-rootpassword-1.99.6-3.fc15.src.rpm"
you can download the package "Here"
The first file has been taken out of that package and I am working on debugging in to work properly this is the file: rootpassword.py
The second file I am working on is the file that I sniped from some previous written code, having problems getting this code to work as though it seems there are no syntax errors in the code after tweeking it for hours. I cannot get the module to load when I call firstboot. Here is the file rootpass.py
Sunday, 11 March 2012
First Boot .01
I'm working on the root password part for first boot. Grabbed the code that I found from thie website http://markmail.org/message/gpn74k5xglelb2fj#query:+page:1+mid:gpn74k5xglelb2fj+state:results which contains the code that is to be placed in the file rootpass.py in /usr/share/firstboot/modules.
I am currently testing the code and making it operational through testing in on my own fedora 15. Working on getting it to call the script when the firstboot is ran and make sure that it is operational.
I will be contacting Martin Gracik is the main guy that works/controls the first boot and this module for the root password. Hopefully he can help me with any problems or bugs that I may have regarding this module.
His Contact info is:
I am currently testing the code and making it operational through testing in on my own fedora 15. Working on getting it to call the script when the firstboot is ran and make sure that it is operational.
I will be contacting Martin Gracik is the main guy that works/controls the first boot and this module for the root password. Hopefully he can help me with any problems or bugs that I may have regarding this module.
His Contact info is:
mgracik 'Martin Gracik' <mgracik@redhat.com>
Thursday, 16 February 2012
Working with GIT
Here are the commands I went through in adding my public key to scotland using the git utility... Commands in red are command that I executed
yum install git
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package git-1.7.6.5-1.fc15.i686 already installed and latest version
Nothing to do
git clone ssh://sbr600@scotland.proximity.on.ca/~/certs
Cloning into certs...
The authenticity of host 'scotland.proximity.on.ca (142.204.133.151)' can't be established.
RSA key fingerprint is e8:3f:bc:f4:74:93:c0:79:9d:62:7c:7a:cd:39:24:db.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'scotland.proximity.on.ca,142.204.133.151' (RSA) to the list of known hosts.
sbr600@scotland.proximity.on.ca's password:
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 23 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (23/23), done.
Resolving deltas: 100% (6/6), done.
[root@localhost ~]# cd certs/
[root@localhost certs]# ll
[root@localhost certs]# ls
asalwi.pub challahar.pub ctyler.pub readme.txt
[root@localhost certs]# ls -alh
total 28K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:36 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:36 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# cp /home/craig/.ssh/id_rsa.pub ccain1.pub
[root@localhost certs]# ls -alh
total 32K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:39 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:36 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git checkout -b craigcain
Switched to a new branch 'craigcain'
[root@localhost certs]# git branch
* craigcain
master
[root@localhost certs]# git checkout master
Switched to branch 'master'
[root@localhost certs]# git branch
craigcain
* master
[root@localhost certs]# ls -alh
total 32K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:39 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:40 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git checkout c
ccain1.pub challahar.pub ctyler.pub
[root@localhost certs]# git checkout craigcain
Switched to branch 'craigcain'
[root@localhost certs]# ll
total 20
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git add ccain1.pub
[root@localhost certs]# git commit -m "Added my public key"
[craigcain b7f7ab9] Added my public key
Committer: root <root@localhost.localdomain>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 ccain1.pub
[root@localhost certs]# git config --global user.name "Craig Cain"
[root@localhost certs]# git config --global user.email ccain1@learn.senecac.on.ca
[root@localhost certs]# git log
commit b7f7ab94215869ab5eedad3e0be86fc75bbc1a29
Author: root <root@localhost.localdomain>
Date: Thu Feb 16 10:43:34 2012 -0500
Added my public key
commit 3700cdca062f88dfc9a1e81ba780ad1fa8e21338
Merge: 076fe42 a4c5b6c
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 10:27:33 2012 -0500
Merge branch 'celeste'
commit 076fe42622bdc30401cc2d52be23681e809ecbbd
Merge: dee8082 a974b38
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 10:20:17 2012 -0500
Merge branch 'public_key'
commit a974b384316bd02e96d8b3e94b63020978f106a1
Author: Aries Alwi <asalwi@localhost.localdomain>
Date: Thu Feb 16 10:16:54 2012 -0500
Added a public key
commit dee80828c308906e65718932c5ea903bc5a8c696
Author: Chris Tyler <chris@muskoka.(none)>
Date: Thu Feb 16 10:09:37 2012 -0500
Edited readme.txt
commit 2bf1886ad480445e33bca5aff5251a2dc7ef986f
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:55:59 2012 -0500
Edited readme.txt
commit f9dc5090b8cfa7e535473fec6d130137ef700c17
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:54:29 2012 -0500
Added ctyler, edited readme
commit ed36b6aa4b27efa15e4897161f2046c6f42c41ec
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:48:07 2012 -0500
Initial commit
commit a4c5b6c069b3bd31cb9a1daaeffc2dcbd16d15b1
Author: root <root@challahar.(none)>
Date: Thu Feb 16 05:24:00 2012 -0500
Added the file challahar.pub
[root@localhost certs]# git push origin craigcain:craigcain
sbr600@scotland.proximity.on.ca's password:
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (13/13), 2.16 KiB, done.
Total 13 (delta 4), reused 9 (delta 3)
To ssh://sbr600@scotland.proximity.on.ca/~/certs
* [new branch] craigcain -> craigcain
[root@localhost certs]# git status
# On branch craigcain
nothing to commit (working directory clean)
[root@localhost certs]# clear
***************************
[craig@localhost ~]$ ssh ccain1@scotland.proximity.on.ca
Last login: Thu Feb 16 11:12:09 2012 from 142.204.141.105
***************************
Tested here to make sure I could log on successfully without a password!!
yum install git
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package git-1.7.6.5-1.fc15.i686 already installed and latest version
Nothing to do
git clone ssh://sbr600@scotland.proximity.on.ca/~/certs
Cloning into certs...
The authenticity of host 'scotland.proximity.on.ca (142.204.133.151)' can't be established.
RSA key fingerprint is e8:3f:bc:f4:74:93:c0:79:9d:62:7c:7a:cd:39:24:db.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'scotland.proximity.on.ca,142.204.133.151' (RSA) to the list of known hosts.
sbr600@scotland.proximity.on.ca's password:
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 23 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (23/23), done.
Resolving deltas: 100% (6/6), done.
[root@localhost ~]# cd certs/
[root@localhost certs]# ll
[root@localhost certs]# ls
asalwi.pub challahar.pub ctyler.pub readme.txt
[root@localhost certs]# ls -alh
total 28K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:36 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:36 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# cp /home/craig/.ssh/id_rsa.pub ccain1.pub
[root@localhost certs]# ls -alh
total 32K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:39 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:36 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git checkout -b craigcain
Switched to a new branch 'craigcain'
[root@localhost certs]# git branch
* craigcain
master
[root@localhost certs]# git checkout master
Switched to branch 'master'
[root@localhost certs]# git branch
craigcain
* master
[root@localhost certs]# ls -alh
total 32K
drwxr-xr-x. 3 root root 4.0K Feb 16 10:39 .
dr-xr-x---. 12 root root 4.0K Feb 16 10:36 ..
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
drwxr-xr-x. 8 root root 4.0K Feb 16 10:40 .git
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git checkout c
ccain1.pub challahar.pub ctyler.pub
[root@localhost certs]# git checkout craigcain
Switched to branch 'craigcain'
[root@localhost certs]# ll
total 20
-rw-r--r--. 1 root root 395 Feb 16 10:36 asalwi.pub
-rw-r--r--. 1 root root 409 Feb 16 10:39 ccain1.pub
-rw-r--r--. 1 root root 396 Feb 16 10:36 challahar.pub
-rw-r--r--. 1 root root 412 Feb 16 10:36 ctyler.pub
-rw-r--r--. 1 root root 725 Feb 16 10:36 readme.txt
[root@localhost certs]# git add ccain1.pub
[root@localhost certs]# git commit -m "Added my public key"
[craigcain b7f7ab9] Added my public key
Committer: root <root@localhost.localdomain>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 ccain1.pub
[root@localhost certs]# git config --global user.name "Craig Cain"
[root@localhost certs]# git config --global user.email ccain1@learn.senecac.on.ca
[root@localhost certs]# git log
commit b7f7ab94215869ab5eedad3e0be86fc75bbc1a29
Author: root <root@localhost.localdomain>
Date: Thu Feb 16 10:43:34 2012 -0500
Added my public key
commit 3700cdca062f88dfc9a1e81ba780ad1fa8e21338
Merge: 076fe42 a4c5b6c
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 10:27:33 2012 -0500
Merge branch 'celeste'
commit 076fe42622bdc30401cc2d52be23681e809ecbbd
Merge: dee8082 a974b38
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 10:20:17 2012 -0500
Merge branch 'public_key'
commit a974b384316bd02e96d8b3e94b63020978f106a1
Author: Aries Alwi <asalwi@localhost.localdomain>
Date: Thu Feb 16 10:16:54 2012 -0500
Added a public key
commit dee80828c308906e65718932c5ea903bc5a8c696
Author: Chris Tyler <chris@muskoka.(none)>
Date: Thu Feb 16 10:09:37 2012 -0500
Edited readme.txt
commit 2bf1886ad480445e33bca5aff5251a2dc7ef986f
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:55:59 2012 -0500
Edited readme.txt
commit f9dc5090b8cfa7e535473fec6d130137ef700c17
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:54:29 2012 -0500
Added ctyler, edited readme
commit ed36b6aa4b27efa15e4897161f2046c6f42c41ec
Author: Chris Tyler <chris@tylers.info>
Date: Thu Feb 16 09:48:07 2012 -0500
Initial commit
commit a4c5b6c069b3bd31cb9a1daaeffc2dcbd16d15b1
Author: root <root@challahar.(none)>
Date: Thu Feb 16 05:24:00 2012 -0500
Added the file challahar.pub
[root@localhost certs]# git push origin craigcain:craigcain
sbr600@scotland.proximity.on.ca's password:
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (13/13), 2.16 KiB, done.
Total 13 (delta 4), reused 9 (delta 3)
To ssh://sbr600@scotland.proximity.on.ca/~/certs
* [new branch] craigcain -> craigcain
[root@localhost certs]# git status
# On branch craigcain
nothing to commit (working directory clean)
[root@localhost certs]# clear
***************************
[craig@localhost ~]$ ssh ccain1@scotland.proximity.on.ca
Last login: Thu Feb 16 11:12:09 2012 from 142.204.141.105
***************************
Tested here to make sure I could log on successfully without a password!!
Wednesday, 8 February 2012
Building an RPM
Started building an RPM although should already be done... Will check back when it is finished and will go through steps of how I did it
Compiling from Source
This is the package that I installed on my Fedora 15 machine : http://www.gnu.org/software/anubis/
GNU Anubis is an SMTP message submission daemon.
Went to the GNU Project Archives and downloaded the source package: anubis-4.1.1.tar.gz
Put in into a /tmp directory and continued to unpack the ball "tar xvzf anubis-4.1.1.tar.gz"
cd'd into the directory and ran command ./configure
make to compile and make install to install
GNU Anubis is an SMTP message submission daemon.
Went to the GNU Project Archives and downloaded the source package: anubis-4.1.1.tar.gz
Put in into a /tmp directory and continued to unpack the ball "tar xvzf anubis-4.1.1.tar.gz"
cd'd into the directory and ran command ./configure
make to compile and make install to install
Subscribe to:
Posts (Atom)