freesource
4f7fbda058
Fixes a bug where libc was being tested in the mount directory rather than /lib, and undefs
%pam_repeats. This allows multiple invocations to work properly.
23 years ago
freesource
5691d3ca77
Now it works really nicely, automatically gets the proper libraries for pam and nss using their
configurations files.
23 years ago
freesource
81ee541252
This adds pam service modules to %Included and cleans up verbosity.
23 years ago
freesource
df476a38e8
Prettifies the nss thing, and removes uneccessary code.
23 years ago
freesource
373fc2de40
This is hardwired now, but it parses nsswitch.conf and adds all the service modules found
in PASS 2 when links are checked for. This involves adding and extra foreach loop.
23 years ago
freesource
74e5270f06
$ENV{RELEASE} is now initialized every time a check is run on the template.
Information can come from three sources, the kernel version returned from
a selected kernel in the main section, the user defined kernel version
in the ABS, or `uname -r`. User defined kernel version overrides the kernel.
The root_fs needs to be built in relation to the actual kernel modules
it will run on. Previously the $RELEASE value wasn't returned properly
because of some bugs in kernel_version_check. This has been fixed.
23 years ago
freesource
f256edcc87
Fixed nss test so that it checks for the right libnss_(service).so.$version
if glibc 2.2 is used. Glibc 2.0 and 2.1 used 1 and 2 respectively, but 2.2
uses 2.
23 years ago
freesource
04354d29d3
The proper ldd check is now used if a dynamically linked binary is detected
to require uClibc rather than libc6. The ldd from the default location of
/usr/i386-linux-uclibc/bin is used for uClibc.
23 years ago
freesource
dab981e68f
Fixed pam test so that the 3rd field rather than the 4th field is being
checked in the service-name files found in /etc/pam.d/. The 4th field is
acceptable for pam.conf. If a path is specified in either conf format,
that path will be checked, otherwise, either the pam default path of
/usr/lib/security or the FSSTD location /lib/security will be checked
for a match.
23 years ago
freesource
1501d365e3
Fixed nss test so that it checks for the right libnss_(function).so.$version.
The old versioning for libnss no longer applies.
23 years ago
freesource
97bc60ea6c
Had ldd set to the busybox type.
23 years ago
freesource
2eff37e59b
This makes the default replacement directory permanent, rather than calling it over and
over again. Right, now busyboxes ldd is being used in Yard.pm for some experiments.
23 years ago
freesource
a49dcf6c0d
This make sure that path included the Replacements dir .. to be improved more.
23 years ago
freesource
d50e13b210
This provides proper output when the path has been changed, basically, if
it is the same thing again, it won't be listed.
23 years ago
freesource
849725cb71
Path is now updated properly, only adding a new path if it doesn't already
exist.
23 years ago
freesource
38aaef1e04
This fixes the problem with paths only being allowed to be altered initally,
what was happening was that @paths couldn't be changed after they were
defined, but not any more.
23 years ago
freesource
6c6b41a760
# This is the revised link specification which is more
# intuitive and allows user-defined links.
# The file can be fictional. $abs_file_file means there is
# something on the right side. Generally, we want to use
# the file on the right as the real file.
Simply put, this is a much better approach to handling -> in the template,
and it works nicely. It produces warning when the file on the right can't
be discerned, but this is o.k..
23 years ago
freesource
5af731e25c
This allows tests to work properly from the Yard Box for non-root users,
chrooted tests disappear, it is assumed that most normal administrators
would never consider giving non-root users chroot capabilities, but you
never know, so only genext2fs is tested for, but room is left if another
fs is choosen.
23 years ago
freesource
caca3cae38
This solves a tough to discover bug. When root objcopy the permissions were
preserved for libraries, but this wasn't the case for non-root users. The
part which did preserve permissions with chmod didn't allow non-root users,
but with genext2fs this isn't a problem, though chown is. Anyways, when ld
or libc aren't 0755 basically the kernel can't find init. Problem solved.
23 years ago
freesource
9bc3e644f1
This handles error much better by making $error private, before it was global
so it's value remained on error which caused the YardBox to fail to work
properly.
23 years ago
freesource
8604aa6dd0
If Replacements are symlinks, the actual file linked to is copied, this helps
with the new structure of allowing symlinks in Replacements.
23 years ago
freesource
edf75d6081
Before device_table was popping off the first value assuming it was $mnt,
but this is no longer necessary, so this has been removed so that all devices
are made.
23 years ago
freesource
4f31aa18a8
Improves some info() output.
23 years ago
freesource
5e7a2a4292
Undef global values when genext2fs is used, this allows for a change in
fs creation type, and text change.
23 years ago
freesource
6ce5f51284
Cleaned-up, works nicely .. non-root fs creation.
23 years ago
freesource
05da1a4a31
Changes to make $> > 0 happy.
23 years ago
freesource
5f3ce658dc
Slight copylet change.
23 years ago
freesource
4101cf371b
Have device_table functional.
23 years ago
freesource
2f4febb6eb
Changes for device_table
23 years ago
freesource
68c3a4476c
Have the dev logic, now need to build device table.
23 years ago
freesource
e81b3fd1ba
Improvement on second genext2fs regexp pass.
23 years ago
freesource
7886ea01f1
The beginnings of a regexp for building the device table.
23 years ago
freesource
5a8621791a
Some misc. changes.
23 years ago
freesource
fa7000f56e
Enters correct path for genext2fs.
23 years ago
freesource
2726b68559
This is the beginnings of non-root ext2 root_fs creation with Erick Anderson's
most recently revised genext2fs.
23 years ago
freesource
4050413657
Puts yard_chrooted_tests in /usr/lib/bootroot since this program is gbootroot
specific, makes for a more policy correct package.
23 years ago
freesource
fed9b6c6cd
The non-root saga continues.
23 years ago
freesource
cfa9689f91
This changes real uid id to effective uid id.
23 years ago
freesource
fef993baf9
Now a non-root user can make a root_fs, the administrator has to add an entry
for each user to the fstab, right now there is just a generic location for all
users. Special files aren't copied over if permissions don't allow it, but
devfs more than solves that problem!
23 years ago
freesource
15f744e865
This is nothing just a space or something.
23 years ago
freesource
e18c02ed8e
Added a dialog box to tutorial so that people can find the documentation in
/usr/share/doc/gbootroot/html/index.html.
23 years ago
freesource
20fa0a6591
Added some text changes.
23 years ago
freesource
640ddbca30
This fixes kernel_version_check to return a value.
23 years ago
freesource
593b4ce543
Updated copyright.
23 years ago
freesource
cad3b044ed
Updated who did what.
23 years ago
freesource
64771b8b7d
Updated the copyright information.
23 years ago
freesource
ae3e94f7b5
Changed $text from 'activate' to 'changed' which allows search to work properly.
Before the search that wasn't an issue, ofcourse.
23 years ago
freesource
3fbf4f041f
This allows extra paths to work correctly.
23 years ago
freesource
c75586cf32
Hopefully, this properly fixes the relativing of dirs/files from
make_link_relative when it makes "absolutely" no sense.
24 years ago
freesource
b04224d6f1
This corrects a bug where onto_proc_filesystem was edited incorrectly and wasn't
checking for the proc_dev return value in the way originally intended.
24 years ago