Commit Graph
100 Commits
Author SHA1 Message Date
freesource 85d9cfddd5 This is sort of ugly, but then people can know instantly when the most
recent change is because it is at the top.
2001-12-05 19:13:05 +00:00
freesource 2ee3be083e Spelling mistake. 2001-12-05 18:57:58 +00:00
freesource f634176732 Just a little change. 2001-12-05 08:39:18 +00:00
freesource c3f1db1d3b Checked how $Id$ will look. 2001-12-05 08:36:18 +00:00
freesource 65efffa1d6 Keyed down what a normal user can do in test question, and removed see
certain FAQ question for reps .. was out of place.
2001-12-05 08:35:05 +00:00
freesource b83266dfd1 Improved the rep explanation. 2001-12-05 08:25:29 +00:00
freesource 45d210b655 Removed an and. 2001-12-05 08:21:24 +00:00
freesource a01056caa4 C. 2001-12-05 08:19:47 +00:00
freesource 97798aac9a The new file with New Template. 2001-12-05 07:48:50 +00:00
freesource d2f2fd6cc8 Fixed a typo. 2001-12-05 07:45:52 +00:00
freesource 6657d84885 A little change .. exceptions for normal users. 2001-12-05 07:37:08 +00:00
freesource 365f661fdc The start of updating the documentation for the new 1.3.0 gbootroot. 2001-12-05 07:34:40 +00:00
freesource 027e12fc97 This puts the source code for genext2fs in /usr/share/gbootroot/genext2f
and makes package depend on libc6 (>= 2.1.2) which was tested and confirmed.
2001-12-04 18:32:58 +00:00
freesource 27095673e6 Removed some commented stuff. 2001-12-04 06:32:19 +00:00
freesource 16e5cd39fc Returning to 2.4.14 since it is stable. 2001-12-04 06:07:59 +00:00
freesource 1e18aecfdb Removed an unecessary space. 2001-12-04 06:00:55 +00:00
freesource 595e6823cb The last Debian.yard, and provided as an example, users should use make_debian
to create their own template.
2001-12-04 05:39:00 +00:00
freesource 812e6a0864 Just formatting the text a little bit. 2001-12-04 05:29:47 +00:00
freesource 424e00fe16 A little bit more description why bash is chosen. 2001-12-04 05:24:58 +00:00
freesource 6bbe9bf946 Only templates starting with Example will now be copied over, this is to
make sure the user knows these templates are examples, and are provided
as a starting place.
2001-12-04 05:15:13 +00:00
freesource 73147577e2 Just a console and a shell. 2001-12-04 05:14:08 +00:00
freesource e2c01eefb7 Latest for the new inittabs. 2001-12-03 20:47:00 +00:00
freesource ef0990e5d5 These are for slackware or dists which use agetty .. decided to put example
first after inittab .. perhaps more intuitive.
2001-12-03 20:42:03 +00:00
freesource b78be86a29 Meant no devfs not nondevfs. 2001-12-03 20:13:28 +00:00
freesource f4c9608bb7 Wrong title earlier. 2001-12-03 20:12:29 +00:00
freesource 426de9975b Addes rcS for 0. 2001-12-03 20:11:03 +00:00
freesource 3b2764a1c7 Innittabs for modern RH based dists. 2001-12-03 20:05:49 +00:00
freesource 4f6cecb0e2 Meant these to have *example* in their title. 2001-12-03 20:04:13 +00:00
freesource 7687414894 Didn't need these since they are universal with RH based dists. 2001-12-03 20:02:40 +00:00
freesource 8f5614d9ca This comprises most modern RH based distributions. 2001-12-03 19:52:40 +00:00
freesource 62c3417602 Should work with Mandrake and Suse. 2001-12-03 19:38:56 +00:00
freesource d9150ed67f Decided to get rid of Suse example since it is essentially the mandrake ex. 2001-12-03 19:10:49 +00:00
freesource 2fe9aac620 Works with 0 and 6 halt and reboot examples. 2001-12-03 19:07:30 +00:00
freesource 5b0c4de3d7 Runlevel 0 and 6. 2001-12-03 19:00:21 +00:00
freesource 4f0acd4aaa Now global hashes are always cleared when a new check is ran, this makes more
sense and avoids subtle errors.
2001-12-03 18:44:41 +00:00
freesource 02432cd13b This comments out the devpts, since psuedo terminals aren't necessarily
required by this mini-dist, some kernels may not support it, but devfs
automatically mounts this.
2001-12-03 06:39:18 +00:00
freesource 48bb58db50 Figured out that there were no size differenced between ext2 and genext2fs,
in fact -z makes it slightly more effecient .. but root root_fs was missing
the alternative directory.
2001-12-03 06:29:32 +00:00
freesource c85fc0f1a8 This turns on and off nss in the ldd loop. 2001-12-03 05:49:24 +00:00
freesource c536524d28 The newest rc*, works nice. 2001-12-03 05:43:33 +00:00
freesource be1f96b004 Slightly minimized. 2001-12-03 05:42:35 +00:00
freesource 264cf307da The securetty supports both devfs and non-devfs, and the fstab works
for both inittab examples because mtab -> /proc/mounts.
2001-12-03 05:41:58 +00:00
freesource 73dd0dc897 The modernization of the inittabs. 2001-12-03 05:38:11 +00:00
freesource 43a6e83fe2 The latest with both devfs and nodevfs cap. 2001-12-03 05:36:43 +00:00
freesource 7843dd5733 The Debian bootroot motd is a better example. 2001-12-01 22:06:15 +00:00
freesource 8988d02121 A uptodate NSS Conf. 2001-12-01 22:03:58 +00:00
freesource 1e7c27c6a2 Replacing with a better modern one. 2001-12-01 22:02:00 +00:00
freesource b9dfe458ad Allows password free login. 2001-12-01 21:55:26 +00:00
freesource dea5e1802f The S and normal runlevel rc used by Example.yard. 2001-12-01 21:42:26 +00:00
freesource 8157736887 Some additions and cleanup of text. 2001-12-01 21:36:53 +00:00
freesource f15a977976 Added utmp and wtmp to the replacement rcS. 2001-12-01 00:49:37 +00:00
freesource 60bf0b8d05 This is the replacement template for Sample.yard and Sample-pruned.yard which really haven't
been updated since 1996.  The new template is uptodate, and provides instructions inline
with the new features found in gbootroot's Yard.
2001-11-30 20:03:44 +00:00
freesource f3666f6ee2 Decided against Esc for closing the Yard Box .. Alt-W is sufficient and safer. 2001-11-30 04:45:34 +00:00
freesource 0248fba79e More changes to make_link_absolute, since return value and value (what Tom had a tendency
to do) don't mix and match happily.
2001-11-30 04:40:34 +00:00
freesource c8a2ebb971 Added some more to the shortcuts box. 2001-11-30 03:36:00 +00:00
freesource c7f6af4af5 This takes care of a problem when links were specified which didn't actually exist, or
had no / appended .. basically dirname turned into "." which created a directory
apart from the loopback dir.  Fixed in make_link_absolute.
2001-11-30 03:35:02 +00:00
freesource 9d2ffa3a89 Added Esc close capability for save as. 2001-11-30 02:26:43 +00:00
freesource 3c073ca3dd Old code which was automatically finding a ld loader regardless of the users own wishes
has been consigned to a function call auto_loader which will not be used because this
gets away in creating dists with alternative libs, and ld is almost always found if required
binaries are chosen, anyways.
2001-11-29 20:11:32 +00:00
freesource 830467df85 This removes -i8192 from genext2fs default, this just causes problems, the defaults built into
genext2fs work alot better.
2001-11-29 20:09:34 +00:00
freesource c3d1b82e40 If a replacement is found to be a file in an absolute location it is used. 2001-11-29 19:35:31 +00:00
freesource 8223d83b88 This adds more improvements to New Template, allowing a template of the same name to
be written over as a blank file, and puts a blank entry .. if the user attempts to write
to the blank entry, the dialog will ask if they want to save the original template.
2001-11-29 19:16:41 +00:00
freesource 0867ee47fb This adds the New Template function. 2001-11-29 19:06:47 +00:00
freesource 39adac66a8 This closes the save_as box when Esc is pressed, and associated New Template
with 103.
2001-11-29 17:59:24 +00:00
freesource 9658bc3c9c This tells exactly what is happening during PASS 2 as determined by the user. 2001-11-29 17:42:01 +00:00
freesource f32ff9594c This returns the logic back to the original default for pam by not checking for lib deps
for pam service modules when PAM Config is off.
2001-11-29 17:32:33 +00:00
freesource b883f0e687 Covered a mount umount routine with ne genext2f in tests, and removed some unecessary
verbosity which was basically just a repeat of itself.
2001-11-29 07:01:14 +00:00
freesource eeb7a7a56d Added the size output for replacements, this was being skipped because of a next loop. 2001-11-29 06:28:53 +00:00
freesource 1791729abd This completes the NSS PAM interface, they both can be turned off or on via
the Yard Box now.
2001-11-29 04:24:46 +00:00
freesource ff44ae48f5 This adds "New Template Alt-N" and "NSS Config & PAM Config" to the Yard Box. 2001-11-29 03:27:59 +00:00
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.
2001-11-28 20:38:12 +00:00
freesource 5691d3ca77 Now it works really nicely, automatically gets the proper libraries for pam and nss using their
configurations files.
2001-11-28 20:16:54 +00:00
freesource 81ee541252 This adds pam service modules to %Included and cleans up verbosity. 2001-11-28 16:17:07 +00:00
freesource df476a38e8 Prettifies the nss thing, and removes uneccessary code. 2001-11-28 09:07:48 +00:00
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.
2001-11-28 09:04:43 +00:00
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.
2001-11-28 02:39:27 +00:00
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.
2001-11-27 20:56:09 +00:00
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.
2001-11-27 20:33:20 +00:00
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.
2001-11-27 20:09:08 +00:00
freesource 1501d365e3 Fixed nss test so that it checks for the right libnss_(function).so.$version.
The old versioning for libnss no longer applies.
2001-11-27 19:35:42 +00:00
freesource 97bc60ea6c Had ldd set to the busybox type. 2001-11-26 19:29:58 +00:00
freesource d1cd32b44d Only gives $mtab a value on cancel if it is a bootloader check. 2001-11-26 08:22:34 +00:00
freesource 306cbc8cd0 Turned off the busybox test. 2001-11-26 07:07:04 +00:00
freesource 44a5828e82 This solves the problem of extra devices in boot_device_table.txt 2001-11-26 06:22:44 +00:00
freesource f4d63b90d9 This does a great job of prompting the user if they have root privileges for lilo, they may
continue or stop the process.  This uses mtab().
2001-11-26 05:59:05 +00:00
freesource a9c5a6d0b8 The latest and greatest user-mode-linux: 2.2.15 2001-11-26 04:43:36 +00:00
freesource e507aa375e This almost creates a successful normal user boot disk .. but doesn't find /dev/fd0 despite
its existence.  Also, rootdisk isn't created yet.  Getting pretty close.
2001-11-23 06:38:02 +00:00
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.
2001-11-19 08:59:38 +00:00
freesource a49dcf6c0d This make sure that path included the Replacements dir .. to be improved more. 2001-11-18 20:06:52 +00:00
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.
2001-11-18 07:11:11 +00:00
freesource 849725cb71 Path is now updated properly, only adding a new path if it doesn't already
exist.
2001-11-18 07:00:54 +00:00
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.
2001-11-18 05:56:44 +00:00
freesource 780ac8b3d8 This works. 2001-11-18 04:36:03 +00:00
freesource 019afeb942 Can't have anything on the first line here. 2001-11-18 04:33:44 +00:00
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..
2001-11-18 04:05:37 +00:00
freesource 80cb0748bb Added -z to genext2fs. 2001-11-17 08:33:37 +00:00
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.
2001-11-17 07:55:03 +00:00
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.
2001-11-17 06:14:35 +00:00
freesource 3015d7f233 Added -p to objcopy. 2001-11-17 06:11:53 +00:00
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.
2001-11-17 02:23:57 +00:00
freesource b22b1d9bee Added -r0 to genext2fs default for non-root user. Now if a genext2fs would
work for a non-root user, even though it appears exactly the same as the
root_fs created by root with the same template .. it just doesn't work.
2001-11-16 03:07:41 +00:00
freesource 8604aa6dd0 If Replacements are symlinks, the actual file linked to is copied, this helps
with the new structure of allowing symlinks in Replacements.
2001-11-15 07:48:23 +00:00