Menu

Code Commit Log


Commit Date  
[r9298] by zippybr

try to catch MiddlewareError exceptions in django middleware instead of case by case

2011-12-22 15:14:54 Tree
[r9297] by yaberauneya

Axe the ntfs module from the build; the fuse module is more useful and (generally) more reliable.

Do-Not-Merge: I'll need to hand merge this.

2011-12-22 14:04:13 Tree
[r9296] by yaberauneya

sysctl calls don't need to be printed out on the command line.

2011-12-22 13:54:35 Tree
[r9295] by zippybr

make sure to change settings of existing alias

Do-Not-Merge: plugins again

2011-12-22 12:57:48 Tree
[r9294] by yaberauneya

Make it blatant that these images are alpha quality.

Do-Not-Merge: this helps FreeNAS users; non-production TrueNAS releases are consumed internally, thus it's understood what the status quo is.

2011-12-22 12:44:04 Tree
[r9293] by zippybr

make sure Alias is not recreated everytime someone saves plugins settings

Do-Not-Merge: more plugin stuff

2011-12-22 12:40:33 Tree
[r9292] by yaberauneya

Merge changes from trunk to 8.0.3
------------------------------------------------------------------------
r9284 | yaberauneya | 2011-12-21 15:51:21 -0800 (Wed, 21 Dec 2011) | 40 lines

Fix some cornercases with adding users.

Here are the issues that pw doesn't catch that we care about:
- pw(8) doesn't restrict users from specifying regular files.
- pw(8) 'silently' fails (it complains via warn(3), but
doesn't return an exit code) if it can't create a home
directory (but only if the root path doesn't exist.. cute).
Example: pw doesn't create home directories if their base
directories don't exist, e.g. /mnt/tank/home/user where
/mnt/tank/home doesn't exist.

- Add a future hook for specifying the home directory mode,
as noted in ticket # 1117.

This doesn't fix modifying users, nor does it fix cleaning up
after users when deleted. This needs to be addressed in their
respective notifier APIs in future commits.

Tested with the following scenarios:

Sanity checks:
1. Create 'bar' with '/nonexistent'.
2. Create 'foo' with '/mnt/tank/foo'.
3. Create 'foo2' with '/mnt/tank/homes/foo', where
'/mnt/tank/homes' didn't already exist; this worked as
expected.

Negative tests:

1. Don't delete used directory:
a. Create 'foo' with '/mnt/tank/foo'.
b. mv /usr/sbin/pw /usr/sbin/pw.old .
c. Try to create 'foo2' with '/mnt/tank/foo'; this
failed but didn't nuke /mnt/tank/foo because it was
still in use.
2. Don't create user with a homedir pointing to a regular
file:
a. Try to create 'foo' with '/mnt/md_size'; failed as
expected.

2011-12-22 12:11:15 Tree
[r9291] by yaberauneya

Fix typo in previous commit.

2011-12-22 11:59:21 Tree
[r9290] by zippybr

actually plugin path may start with jail path, but it cannot be the same
e.g. plugin path = /mnt/volume/plugins
jail path = /mnt/volume
jail name = myjail
is allowed, but with plugin path = /mnt/volume or jail name = plugins it is not

Do-Not-Merge: plugin stuff

2011-12-22 11:59:00 Tree
[r9289] by yaberauneya

Fix setting up httpd on an interface other than the first one identified by FreeBSD. This was inspired by jhixson's commit, r9287 and addresses the rest of ticket # 1120.

2011-12-22 11:56:16 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.