Project

General

Profile

Download (12.8 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
0000cdf7 12/22/2014 11:36 PM Warren Baker

Prevent resolvconf(8) from stomping all over our newly generated
resolv.conf and subsequent updates.

3740e87e 12/10/2014 04:35 PM Jim Pingle

Setup ddb on all platforms. On full install it will save the dump, on NanoBSD it will print to console and auto-reboot.
This way, a router running NanoBSD won't sit at a db> prompt indefinitely if it crashes.

33dc4fbb 12/04/2014 11:35 AM Ermal Luçi

Properly unset booting flags to allow dynamic ipsec tunnels to work correctly

1a28657c 11/27/2014 01:48 PM Ermal Luçi

Try to silence the errors for missing /var/db/rrd during bootup.

dcafc712 07/11/2014 09:22 PM Adam Gibson

Don't use pfsense name in comment

76fce373 07/11/2014 09:22 PM Adam Gibson

Use $product instead of pfSense when logging the version to syslog

4982e61e 07/11/2014 09:22 PM Adam Gibson

Log pfsense version to syslog after bootup

3c72e984 07/01/2014 04:35 PM Renato Botelho

Stop restoring gettytab.bak since it doesn't exist anymore

0ffc4a7b 06/27/2014 02:56 PM Renato Botelho

Add a BETA key for PBI signature check, this will be replaced by the final one before RELEASE. Ticket #3365

485cc436 06/27/2014 02:44 PM Renato Botelho

Fix dir name

52398a6b 05/30/2014 06:15 PM Jim Pingle

Bring in proper gmirror support for the GUI and notifications.
Made a general gmirror library to perform various gmirror tasks and get information, using some of the former widget logic to start. Updated widget to use this new code.
Added a Diag > GEOM Mirrors page that displays information about existing mirrors and perform various management tasks. Current actions include rebuilding a drive, forgetting disconnected mirror drives, insert/remove, deactivate/activate, clearing medatada. It's now possible to use the GUI to rebuild a failed mirror by performing a forget, then insert action to replace a missing/dead drive....

f5813962 05/05/2014 01:20 PM Renato Botelho

Sometimes fsck requires a second run, teach rc script to call it more than once when it's necessary

2a50fd8a 04/28/2014 02:54 PM Renato Botelho

Move clog from /usr to /usr/local

302c005e 04/17/2014 08:19 PM Ermal LUÇI

Unload the ZFS module if its not in use to not consume uselss memory

05dd0c32 04/14/2014 03:13 PM Ermal LUÇI

Use the FreeBSD script for ldconfig to catch all libs

e61f548f 04/14/2014 01:06 PM Ermal LUÇI

Get rid of embedded platform. Its time to GC this

291e0a1c 03/31/2014 02:42 PM Jim Pingle

Remove TRIM_set and TRIM_unset support. This method isn't very elegant and isn't necessary in the long run. It's better handled in the installer stage and not after the fact.

9c3b8c6e 03/15/2014 01:12 AM Chris Buechler

fix typo

c7a3356e 12/26/2013 08:27 PM Jim Pingle

Add a setting to allow the user to specify the clog file size so more (or less) entries may be kept in the raw logs. Retain previous default size values if the user has not specified a preferred size. Files can only be resized when initialized, so provide a "Reset All Logs" button as well to force clear all logs and set them up at the new size.

5551d818 12/24/2013 03:04 PM Renato Botelho

Remove /var/run/booting early to be consistent with $g['booting']

1590947b 12/15/2013 07:11 PM Ermal LUÇI

Call all php scripts in bootup with fcgicli. For rc.bootup only the part needing input needs to be abstracted

4aea91d8 12/14/2013 07:20 PM Ermal LUÇI

Switch to php-fpm for lighty and check_reload_status will use it. Step by step will migrate the other calls

5aa68a55 07/28/2013 01:31 PM Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

1a8b561c 04/30/2013 04:58 PM rbgarga

Merge pull request #608 from evansus/master

Merge commit to correct debugging issue

b0307435 04/30/2013 03:53 PM Evan Susarret

correct debug issue

Accidentally changed this from executing the zfs command to echoing the
expected command in previous commits.
This had been set while debugging a better command to set ZFSROOT
variable.

0d0cda18 04/30/2013 03:32 PM rbgarga

Merge pull request #602 from evansus/patch-1

ZFSROOT not hardcoded to zpool or dataset 'tank'

ac62a50d 04/29/2013 08:46 AM Ermal LUÇI

Do not force the check to avoid garbling filesystems. Also be specific to check / filesystem and /cf on nano platform since the others will be checked on php code

c56caf59 04/28/2013 10:43 AM Evan Susarret

Use 'zfs mount' to get ZFSROOT dataset

using just zfs, grep, and cut, with a simple regexp

98304a92 04/24/2013 09:18 AM Evan Susarret

ZFSROOT not hardcoded to zpool or dataset 'tank'

For ZFS root readonly case, the WHEREISROOT variable was grep-ing for 'tank', expecting a zpool with that name.

A workaround of naming a dataset 'tank', for example, 'sys/ROOT/tank' or 'sys/tank/pfSense' is compatible, however this shouldn't be hardcoded in....

b6a63312 04/08/2013 05:34 PM Jim Pingle

Don't try to make /var/run a RAM disk if /var is already a RAM disk.

730790dd 04/05/2013 06:25 PM Renato Botelho

Only check tunefs status when it's necessary, it avoids errors on iso boot. Fixes #2932

efc0e29a 03/12/2013 05:59 PM Jim Pingle

Move tmp/var init to just after mount of /cf so that the sizing works properly on NanoBSD. Fix input validation for sizes. Add note about needing a reboot to apply the settings.

e92e83d4 03/12/2013 02:16 AM Jim Pingle

Add the ability for full installs to optionally use RAM disks for /tmp and /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD.
I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info).

990fa101 02/03/2013 02:36 AM Jim Pingle

Add a means to force a fsck (on rare occasions the fs is not marked dirty, but still needs fsck run to fix errors)

2085c6de 02/03/2013 02:30 AM Jim Pingle

Add a manual way for someone to set TRIM if they really want it. touch /root/TRIM_set and reboot to set, touch /root/TRIM_unset to clear.
Have to reboot after setting the tunefs flag or when mount is run, it clears any changes. No way to do it on the fly.

24450773 12/06/2012 03:55 PM Ermal LUÇI

Cleanup the php session data.

080b4ce1 11/22/2012 09:17 AM Ermal LUÇI

Create these dirs earlier rather than later to avoid the errors reported on http://forum.pfsense.org/index.php/topic,55998.0.html

7d3be92f 11/20/2012 04:42 PM Ermal LUÇI

Honor /var/run path specified in globals.inc. Probably this needs a bit better handling

775130e7 11/20/2012 04:34 PM Ermal LUÇI

Remove openvpn setups since they do not belong here. Also check before removing newsyslog.conf

4b1497d0 11/20/2012 04:26 PM Ermal LUÇI

Remove sasyncd related code from rc

12aeb58f 11/20/2012 04:26 PM Ermal LUÇI

Remove newsyslog.conf seems its responsible for overrideing ppp.log and gives warnings on bootup

9e9bc51c 11/20/2012 04:22 PM Ermal LUÇI

Remove all previous configurations stored on /var/etc during a bootup to avoid confusion

2f8782fe 05/26/2012 07:28 AM Seth Mos

More validation for ejecting CDrom devices for 3G sticks, needs extra manufacturers. Less typos in variable names also helps a lot.

793d3c96 05/20/2012 06:01 PM Seth Mos

Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices.

e0c45357 05/01/2012 08:00 PM Jim Pingle

Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times.

152c18f0 04/18/2012 06:29 AM Phil Davis

Store PBIs in /root/var/db/pbi so they persist across reboots.
Keep the existing code for old-style PKG packages in case users on 2.1 are doing anything with PKG packages by hand. In theory all proper package installs on pfSense 2.1 (FreeBSD 8.3) should use PBIs.

e0977fed 03/29/2012 10:20 AM Seth Mos

Move some of the log file tabs around.
Add seperate tabs for dnsmasq,unbound as well as gateways.

71bdd226 03/13/2012 01:00 PM Warren Baker

Rather make use of grep -c than all these pipes

973b2663 03/12/2012 10:55 AM Ermal LUÇI

Simplify this code a little and make it easily extendible.

06fd1952 03/12/2012 10:34 AM Ermal LUÇI

check for presense of file before trying to exec it

e8197e56 03/12/2012 10:32 AM Ermal LUÇI

Do not wipe logs on reboot on full install

92ac3b3d 01/30/2012 09:24 PM Jim Pingle

Add a small script to disable APM on ATA drives if they claim to support it. Leaving this on will kill drives long-term, especially laptop drives, by generating excessive Load Cycles.
The APM bit set will persist until the drive is power cycled, so it's necessary to run on each boot to be sure.

b3e15d1b 10/01/2011 12:04 AM Jim Pingle

Add missing s

689eaa4d 09/30/2011 11:57 PM Jim Pingle

Move hostapd to its own log and tab, so it stops spamming the system log.

7734aea6 08/17/2011 02:15 AM Andrew Thompson

Make initial changes to allow pfSense to work in a jail.

This mostly avoids starting things that will not work and gets the
initial config. Most of the pfSense functionality will not work
(pf rules, routing, etc) but it can be used for testing.

01656166 07/25/2011 03:01 PM Jim Pingle

Run on CD-ROM, too, it should be writable after rc.cdrom

ca3537ba 07/25/2011 02:58 PM Jim Pingle

Sync password database right after mount, in case it is corrupt. (Except on CD-ROM platform).

aa840cf9 07/17/2011 11:55 PM Scott Ullrich

Redirect errors to file

01599e5e 06/24/2011 07:05 PM Ermal LUÇI

Remove nohup from the calling for check_reload_status since it may cause issues to the processes that get forked from it.

490615d3 06/21/2011 04:08 PM Scott Ullrich

Add custom boot early hook

36653869 03/10/2011 08:55 AM Erik Fonnesbeck

Remove extra unmatched conf_mount_ro for a potential race condition preventing writes when generating ssh keys in the background. Ticket #673

6c67a28d 02/23/2011 05:36 PM Jim Pingle

Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to download packages otherwise. (From sullrich)

e5323cca 01/26/2011 05:42 PM Jim Pingle

Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.

c3a56ba9 01/25/2011 10:02 PM Jim Pingle

Add support for dumpon/savecore to run on full installs.

3b39d0ac 01/25/2011 10:02 PM Jim Pingle

Whitespace fix

df40aa86 12/18/2010 08:43 PM Scott Ullrich

Be less chatty

416e6432 11/30/2010 05:17 PM Ermal LUÇI

Use fullpath

fb2e53da 11/30/2010 01:40 PM Jim Pingle

Run ecl through php instead of executing directly.

690d24af 11/29/2010 12:04 AM Scott Ullrich

Add pfSsh.php externalconfiglocator playback script

206f684d 11/28/2010 07:03 PM Scott Ullrich

Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup()

7f8d463f 11/10/2010 06:43 PM Ermal LUÇI

Bring interfaces up only if there is a mismatch to allow them to be reassigned.

72993196 11/02/2010 09:16 PM Ermal LUÇI

Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).

a6607b5f 11/02/2010 07:14 PM Jim Pingle

More VPN log fixes, for consistency. Ticket #912

8ad39798 09/19/2010 08:33 PM Scott Ullrich

Update (C)

64183253 09/19/2010 08:31 PM Scott Ullrich

Ensure /etc/gettytab is of a sane size and restore from backup + log if it is not

bc0fd36f 09/16/2010 05:27 PM Ermal LUÇI

Do not suck in the file but actually execute it.

41fb483a 09/08/2010 05:02 PM Ermal LUÇI

Correct typo in file name. Also do not delete users just expire them.

e8d0903d 09/08/2010 04:45 PM Ermal LUÇI

Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues.

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

6bc46900 08/15/2010 06:12 PM Scott Ullrich

Only do check on pfSense platform

8a8f51b7 08/15/2010 06:11 PM Scott Ullrich

Only process items if we can find grep

87db1017 08/15/2010 06:02 PM Scott Ullrich

Handle ZFS root partition read-only cases

f402729d 08/15/2010 01:13 AM Scott Ullrich

Do not setup unionfs for /PCBSD

b1f4d7d4 07/24/2010 06:02 AM Chris Buechler

add apinger.log here too to silence error at boot

3fb8caf2 06/01/2010 11:05 PM Scott Ullrich

Do not nuke /tmp/ on livecd's

9a31a1ce 05/28/2010 06:59 PM Ermal LUÇI

Make sure to cleanup /tmp before using it. Solves config cache issue as a start.

8ca2c9ab 05/28/2010 06:56 PM Ermal LUÇI

Remove stale code.

8b3a495b 05/23/2010 04:58 AM Scott Ullrich

Make installer unionfs

329b7707 05/22/2010 08:48 PM Scott Ullrich

Remove unionfs /, will have to come up with a new plan

0fd81918 05/22/2010 08:30 PM Scott Ullrich

Use unionfs for /

851f4184 05/22/2010 01:38 AM Scott Ullrich

Remove stray done

8022e257 05/22/2010 12:06 AM Scott Ullrich

Do not fsck /cf on each bootup

842878b5 05/21/2010 11:54 PM Scott Ullrich

Unbreak nanobsd since Ticket #444

ce8efd06 05/21/2010 11:07 PM Scott Ullrich

Unbreak nano since ticket #444

69490b55 05/20/2010 01:19 AM Scott Ullrich

Handle mounting of extra filesystems correctly. Ticket #444

c4995e62 05/20/2010 01:08 AM Chris Buechler

move mount up for cases where /usr and other partitions may be separate, and needed for other things to function

1f0f301c 05/11/2010 03:05 PM Jim Pingle

Make /var/run/booting exist for more of the actual booting process. Ticket #53.

257c5205 05/05/2010 11:18 PM Scott Ullrich

Revert last commit .. This might not work on Nano

d8d5e511 05/05/2010 11:14 PM Scott Ullrich

Use mount -a instead of -uw Ticket #444

3da49dc3 03/29/2010 11:10 AM Ermal LUÇI

Fix file names.