Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (e29981cde83e143459e19efbdce706851a8b0cbe)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (e29981cde83e143459e19efbdce706851a8b0cbe)
  • Date: Sun, 18 Mar 2007 06:04:42 -0500

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

ChangeLog | 3 +++
accounts | 1 +
groups | 1 +
smgl/smgl-fhs/DETAILS | 2 +-
smgl/smgl-fhs/HISTORY | 5 +++++
smgl/smgl-fhs/INSTALL | 10 ++++++++++
6 files changed, 21 insertions(+), 1 deletion(-)

New commits:
commit e29981cde83e143459e19efbdce706851a8b0cbe
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

make sure user/group root and bin exist from the start, since they are
provided by iso normally

There is an unknown number of spells that depend on user/group bin (and
of course, root...).
"bin" is a legacy thing and it's usage shouldn't grow, but we need time
to find all spells
still needing it. Until all of them are fixed, I think we need bin
account being created
at a very basic level - I chose smgl-fhs because it already severs that
purpose for mail, utmp
and such.
Perhaps we think of something better when reworking the accounts stuff
and smgl-fhs can be reduced
to only creating dirs.

diff --git a/ChangeLog b/ChangeLog
index 1eee702..888379e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-03-18 Thomas Orgis <soukus AT sourcemage.org>
+ * accounts,groups: add entries for bin
+
2007-03-16 David KOwis <dkowis AT shlrm.org>
* perl-cpan/pdf-api2: New spell, PDF creation api

diff --git a/accounts b/accounts
index 12b3219..ab67c8c 100755
--- a/accounts
+++ b/accounts
@@ -2,6 +2,7 @@

root:0:0
daemon:1:1
+bin:2:2
mail:8:8
news:9:9
uucp:10:10
diff --git a/groups b/groups
index 808ea62..37facc3 100755
--- a/groups
+++ b/groups
@@ -2,6 +2,7 @@

root:0:
daemon:1:
+bin:2:
tty:5:
disk:6:
lp:7:
diff --git a/smgl/smgl-fhs/DETAILS b/smgl/smgl-fhs/DETAILS
index 81d3f51..c34da6d 100755
--- a/smgl/smgl-fhs/DETAILS
+++ b/smgl/smgl-fhs/DETAILS
@@ -4,7 +4,7 @@
ENTERED=20050513
GATHER_DOCS="off"
LICENSE[0]="GPL"
- PATCHLEVEL=1
+ PATCHLEVEL=2
KEYWORDS="filesystem smgl"
SHORT="Provides the Filesystem Hierarchy Standard layout"
cat << EOF
diff --git a/smgl/smgl-fhs/HISTORY b/smgl/smgl-fhs/HISTORY
index 7815105..5720b05 100644
--- a/smgl/smgl-fhs/HISTORY
+++ b/smgl/smgl-fhs/HISTORY
@@ -1,3 +1,8 @@
+2007-03-18 Thomas Orgis <soukus AT sourcemage.org>
+ * INSTALL: added creation of root and bin user (groups implied),
+ this could/should be removed when we have our account system
reworked.
+ These two were not created anywhere before, just copied from iso.
+
2006-08-09 Thomas Orgis <soukus AT sourcemage.org>
* INSTALL: added creation of /proc and mail group

diff --git a/smgl/smgl-fhs/INSTALL b/smgl/smgl-fhs/INSTALL
index a4a75b5..acd4ac9 100755
--- a/smgl/smgl-fhs/INSTALL
+++ b/smgl/smgl-fhs/INSTALL
@@ -10,6 +10,16 @@ function fhs_mkdir()
}

#
+# That is ugly, but we need to ensure minimal accounts that usually are
copied
+# from iso. At least in theory (for chroots), we should create everything
via spells.
+# Root account is always needed, bin user/group is provided by iso and an
unknown
+# number of spells need it. Perhaps one should make a smgl-system-accounts
spell and
+# remove all create_(account|group) from here?
+#
+create_account root &&
+create_account bin &&
+
+#
# http://www.pathname.com/fhs/2.2/fhs-3.html
#
for root_directory in bin etc boot dev home lib mnt opt sbin \




Archive powered by MHonArc 2.6.24.

Top of Page