Debian Codegraph @

ChangeLog

raw
1 2011-01-03 nalin
2 * src/selinux.c: when we have to / try to create an parent directory
3 of the user's home directory, clear the umask so that we can exactly
4 specify the permissions (#666418)
5
6 2010-09-16 nalin
7 * src/oddjob_dbus.c: just stop calling dbus_connection_close(),
8 which didn't previously cause us to abort() before, but does now
9 (#634356)
10
11 2010-07-08 nalin
12 * configure.ac: fixup the permissions on tests/sanity.sh so that
13 tests which check the permissions of the descriptors that it sees
14 when it is run work correctly, spotted by Zbysek Mraz (#612517).
15 * tests/006/expected_stdout.in,tests/007/expected_stdout.in: expect
16 our corrected permissions for descriptor 255, which is the script.
17
18 2010-01-27 nalin
19 * Makefile.am: don't try to use RPM for tagging; take the release
20 number out of the tarball name
21 * src/Makefile.am: stop installing a shared library and .pc file
22 * src/Makefile.am, src/oddjobd-mkhomedir.conf.in: move the helper
23 from $pkglibdir to $pkglibexecdir so that the configuration file
24 looks the same across multilib arch pairs (#559232)
25 * NEWS: add
26 * scripts/oddjobd.in: advertise the verbs we recognize (#522131)
27 * oddjob.spec,configure.ac: bump version to 0.30
28 * oddjob.spec: drop -libs, -devel, and -python subpackages
29 * src/Makefile.am: make the library and headers conditional
30 * oddjob.spec: some rpmlint cleanups
31 * src/oddjob_dbus.c: refuse to try to close the connection to the
32 system bus; unhook our input filter correctly
33 * src/oddjobd.c: don't make a last-ditch attempt to try to close
34 the connection to the system bus at shutdown-time
35 * src/oddjobd.c: report ENOENT if that's why getfilecon() fails
36 * src/sanity.sh,tests/sanity.sh.in,tests/{007,008}/expected_stdout.in:
37 use stat instead of ls, which lets us dictate the output format. deal
38 with the fact that a NUL in /proc/$$/cmdline runs up against string
39 truncation with current D-Bus
40
41 2008-05-29 nalin
42 * src/launch.c,src/mainloop.c,src/mkhomedir.c,src/mounthomedir.c,
43 src/oddjob_request.c,src/oddjobd.c: remove #ident tags which are
44 no longer kept up to date now that we've moved from CVS to git.
45 * src/pam_oddjob_mkhomedir.c,src/pam_oddjob_mkhomedir.8.in: try to
46 stat() the home directory first, and don't bother asking oddjobd to
47 do anything unless we get an ENOENT back (Dan Walsh).
48
49 2008-05-29 nalin
50 * src/oddjobd.c(oddjobd_exec_method): provide useful error messages
51 for SELinux-specific errors we encounter before calling exec()
52
53 2008-05-28 nalin
54 * common.h: include <dbus/dbus.h> to avoid defining DBUS_MAJOR_VERSION
55 when we don't have to.
56 * src/oddjob-dbus.c: fix a quoting warning in a comment. Don't use
57 "uid" to create a string, which we would overwrite anyway, before it's
58 been initialized.
59 * src/oddjob-mkhomedir.conf.in,src/mkhomedirfor.in,src/mkmyhomedir.in:
60 fix a couple of places where the namespacing changes for splitting out
61 mkhomedir didn't quite get made right.
62 * oddjob.spec: check for a running daemon and tell it to reload its
63 configuration when oddjob-mkhomedir gets installed
64
65 2007-12-10 nalin
66 * src/mkhomedir.c: apply the umask to newly-created files as well.
67
68 2007-09-05 nalin
69 tag 0.29
70 * scripts/oddjobd.in: output a message when we 'reload'.
71 * src/oddjob_dbus.c: don't bother attempting to determine the SELinux
72 context of the remote end when we aren't going to use that information,
73 so we avoid outputting an unnecessary error message when it fails on
74 non-SELinux boxes.
75 * scripts/oddjobd.in: work on conforming to Fedora initscripts
76 standards.
77 * src/oddjobd.c: mention -t in the help output
78 * src/oddjob{,d}.conf.in,src/oddjob{,d}-mkhomedir.conf.in: split the
79 mkhomedir helper's configuration out into its own file, with its own
80 service name and object and interface names.
81 * src/pam_oddjob_mkhomedir.{c,8.in}: account for the new service naming.
82 * src/mkhomedirfor: wrapper for dbus-send which calls mkhomedirfor
83 * src/mkmyhomedir: wrapper for dbus-send which calls mkmyhomedir
84 * src/oddjobd.c: implement a "listall" which bypasses ACLs so that
85 we can provide that ability with a different ACL (for root, mainly)
86 * src/reload: wrapper for dbus-send which calls our reload method
87 * autogen: try to guess lib/lib64 correctly
88 * autogen.maint: define DBUS_DISABLE_DEPRECATED
89 * configure.ac,src/common.h: hard-code the introspection interface
90 and method names, because they didn't change after all.
91 * oddjob.spec: split out mkhomedir into a subpackage
92 * doc/oddjob.xml.in: note what kinds of data to expect back from
93 oddjobd, and list the built-in methods.
94 * src/mainloop.c(timeout_dbus_toggle,handle): prefer to call
95 dbus_watch_get_unix_fd() instead of dbus_watch_get_fd(), if
96 available.
97 * src/oddjob_dbus.c: never call dbus_message_iter_get_array_len().
98 * src/oddjobd.conf.5.in: fix formatting so that making the SELinux-
99 specific bits conditionally visible works again
100 * src/oddjobd.conf.in: stop mentioning oddjobd-local.conf in the
101 comments, but attempt to include it anyway for compatibility's sake.
102 Add a "crontabs" example in the comment.
103 * src/oddjobd.c: set a SIGPIPE handler (Jose Plans).
104
105 2007-08-16 nalin
106 * src/oddjob_request.c: sanity-check that we have a method name
107 * src/buffer.c: fix the license
108
109 2007-03-28 nalin
110 tag 0.28-1
111 * src/pam_oddjob_mkhomedir.8.in: note that the umask and location of
112 the skeleton directory can't be passed in as arguments
113 * src/mkhomedir.c: print the current/default skeleton location and
114 umask when we provide help output.
115
116 2007-03-21 nalin
117 * src/launch.c: correct a compile warning about use of parentheses
118 * configure.ac,src/common.h,src/mainloop.c,src/oddjob_dbus.c: pick out
119 the DBus micro version number, rework DBUS_CHECK_VERSION macro to take
120 three parameters.
121
122 2007-03-21 nalin
123 * src/oddjob_request.c: handle the more-natural method of specifying
124 interface names by prepending them to the method name with a "."
125 separator.
126 * src/mkhomedir.c: use strtol() instead of atoi() to parse the umask,
127 so that octal should work now.
128 * oddjob.spec: disable dependency tracking at configure-time (#228928)
129
130 2007-02-15 nalin
131 * configure.ac: fix saving/restoring of CFLAGS while we're trying to
132 work them out (#228928)
133
134 2006-07-19 nalin
135 tag 0.27-1
136 * src/mainloop.c,src/oddjob.conf.5.in,src/oddjob_dbus.c,
137 src/oddjob_request.1.in,src/oddjobd.8.in,src/oddjobd.c,
138 src/oddjobd.conf.5.in,src/oddjobd.conf.in,src/pam_oddjob_mkhomedir.8.in,
139 src/pam_oddjob_mounthomedir.8.in: change capitalization of D-BUS in
140 docs and comments.
141 * src/launch.c: handle section headers with one of two capitalization
142 styles.
143
144 2006-07-19 nalin
145 * src/oddjob_dbus.c: don't explicitly subscribe to any messages. This
146 should stop the message bus daemon from trying to decide if we should
147 see all of the messages which pass through, getting a "no" from the
148 SELinux policy, and spamming the AVC log (#197256).
149 * src/oddjob_dbus.c,src/oddjob_dbus.h: make oddjob_dbus_connection_close
150 globally-callable, because D-Bus 0.90 doesn't provide _disconnect any
151 more.
152 * src/Makefile.am: pull the 'lookup' subdirectory out -- we don't
153 actually use anything in there
154 * configure.ac: don't generate src/lookup/Makefile, comment out tests
155 for LDAP and Kerberos
156
157 2006-05-02 nalin
158 tag 0.26-1
159
160 2006-05-02 nalin
161 * tests/*/description: add descriptive names for the various tests
162 * tests/006,tests/007,tests/sanity.sh.in: run 'ls' against /proc/self
163 to get more dependable output
164 * tests/014,tests/015,tests/016: add allow/deny tests
165 * src/oddjobd.c(object_has_method): don't get fooled by methods which
166 have ACL entries but no handler
167 * src/oddjobd.c(oddjobd_exec_method): force the exec-errno pipe to be
168 descriptor 3, and send errno down that descriptor if exec() fails. Set
169 the name of the calling user in the environment.
170 * src/oddjob_dbus.c(oddjob_dbus_filter): check for cases where we
171 have no defined handler
172 * src/common.h: add macros for "unimplemented method" error, and a
173 variable name for the calling user
174 * src/oddjob_request.c: if the user requested introspection data,
175 then always return 0 instead of always returning 255 ("-1")
176 * src/Makefile.am,src/tenx.sh: make sure that eightx.sh and tenx.sh
177 are included in the dist tarballs
178
179 2006-04-11 nalin
180 tag 0.25-1
181
182 2006-04-11 nalin
183 * src/oddjobd.c(oddjobd_introspect_method): report the right
184 signature for the introspection method.
185
186 2006-04-11 nalin
187 * configure.ac,src/oddjob_dbus.c: move the warning about a missing
188 dbus_bus_release_name() into the configure script.
189 * src/oddjob_dbus.c(oddjob_dbus_listener_remove_method): once we find
190 the entry in the array which we want to remove, stop. Don't free the
191 object unless we ran out of interfaces for it to support.
192
193 2006-04-10 nalin
194 * scripts/oddjobd.in: switch to the more conventional SIGHUP to force
195 the daemon to reload its configuration
196
197 2006-04-10 nalin
198 * src/oddjobd.conf.in: remove introspection ACL entries.
199 * src/make-i11nconf.sh.in: add a script to generate all of the needed
200 introspection ACL entries.
201 * src/oddjobd.conf.5.in: note that oddjobd provides introspection if
202 you allow it in ACLs.
203 * oddjobd.spec: own /etc/oddjobd.conf.d/oddjobd-introspection.conf
204 * src/Makefile.am: use make-i11nconf.sh to generate a useful
205 oddjobd-introspection.conf
206 * src/oddjobd.c(oddjobd_introspect_method): provide a list of objects
207 which have the current object's name as an initial substring and which
208 don't themselves appear to have children.
209 * src/oddjobd.c(object_has_method): add a quick check to see if a given
210 object already has a specified interface/method pair.
211 * src/oddjobd.c(config_add_introspection_methods): add parent objects
212 for all objects we spot, and add introspection method hooks for them
213 as well.
214 * src/oddjobd.c(config_register): fix debug messages so that on startup
215 we see new handler registrations again.
216 * tests/Makefile.am: fix 'distcheck'
217
218 2006-04-10 nalin
219 * scripts/oddjobd.in: run "oddjob_request reload" to reload instead of
220 doing a full restart
221
222 2006-04-06 nalin
223 * configure.ac: print the version of D-BUS which we're using
224 * src/oddjob_dbus.c: emit a compile-time warning when we're attempting
225 to build against a version which didn't provide a means of unregistering
226 a well-known name
227
228 2006-04-05 nalin
229 * src/oddjobd.8.in: note that SIGHUP works now.
230 * src/oddjobd.conf.5.in: add the missing XML document type identifier
231 to the examples.
232 * QUICKSTART: remove notes that oddjobd doesn't do restarts well.
233 * src/mkhomedir.c: add -u and -s flags to override the umask and
234 skeleton directory name, respectively.
235 * TODO: remove graceful reload from the list
236
237 2006-04-03 nalin
238 * src/mainloop.c(mainloop_reset_signal_handlers): don't reset SIGHUP.
239 * src/oddjobd.c: add a global flag to mark a pending reload.
240 * src/oddjobd.c(config_contains): rename to config_method() and return
241 the matched method or NULL.
242 * src/oddjobd.c(config_contains): add, wrapping config_method() in a
243 not-equal-to-NULL test.
244 * src/oddjobd.c(oddjobd_reload_configuration): break out of
245 oddjobd_reload_method.
246 * src/oddjobd.c(sighup_handler): add, sets the global pending-reload
247 flag.
248 * src/oddjobd.c(main): if the global pending-reload flag is set during
249 a main loop iteration, reload the configuration and clear the flag.
250
251 2006-04-03 nalin
252 * configure.ac: make the names of introspection-related interfaces
253 and methods AC_SUBST variables.
254 * src/oddjob_dbus.c(oddjob_dbus_unbind): wrap the release_name()
255 function, though it wasn't available until 0.60, so we can run into
256 trouble on older versions of D-BUS which didn't provide it.
257 * src/oddjob_dbus.c(oddjob_dbus_listener_free): only remove the filter
258 if it was added.
259 * src/oddjob_dbus.c(oddjob_dbus_listener_remove_method): add.
260 * src/oddjobd.c: make the name of the configuration file a global,
261 because we'll need it after startup has finished.
262 * src/oddjobd.c: add a pointer to the configuration to the service
263 structure.
264 * src/oddjobd.c(check_method_acl): walk up the method to the config
265 structure instead of pulling out the global ACL.
266 * src/oddjobd.c(oddjobd_list_method,oddjobd_introspect_method): walk up
267 the method to the config structure instead of pulling out the global
268 method tree.
269 * src/oddjobd.c(config_add_internal_methods): pull out of main().
270 * src/oddjobd.c(config_add_introspection_methods): pull out of main().
271 * src/oddjobd.c(config_unregister_removed): add.
272 * src/oddjobd.c(config_register): pull out of main().
273 * src/oddjobd.c(config_contains): add.
274 * src/oddjobd.c(oddjobd_reload_method): add.
275 * src/oddjobd.conf.in: allow root to call "reload" by default.
276 * src/util.c(oddjob_resize_array): correctly handle cases where the
277 new requested size is smaller than the current size.
278
279 2006-03-31 nalin
280 * src/oddjobd.c(oddjobd_introspect_method): apply ACLs to the
281 Introspection method as well, which is possibly a security fix.
282 * src/oddjobd.c: move config-file based portion of the configuration
283 into a substructure so that eventually we can replace it when we
284 get full reload-config working.
285 * src/oddjobd.c: ignore comment nodes in the configuration file.
286 * src/oddjobd.conf.in: allow root to call the introspection interface
287 by default
288
289 2006-02-28 nalin
290 tag 0.24-1
291 * doc/oddjob.xml.in: make use of DocBook 4.4 vs. 4.3 a configurable
292 option (4.4 is better, but not available on FC3).
293 * configure.ac: add a --enable-compat-dtd to skip markup tags which
294 aren't part of DocBook 4.3
295
296 2006-02-27 nalin
297 * src/oddjob_dbus.c(message_has_path): dbus_message_has_path was
298 introduced in 0.34, not 0.30.
299 * src/oddjob_dbus.c(oddjob_dbus_connection_close): dbus_connection_close
300 was introduced in 0.34, not 0.30.
301
302 2006-01-27 nalin
303 tag 0.23-1
304 * configure.ac: when checking if the message bus supports the
305 GetConnectionSELinuxSecurityContext method, check for the declaration
306 of the "I don't know" error rather than a specific D-BUS version,
307 because that functionality may get backported.
308 * doc/oddjob.xml.in: mention known implementation limits.
309 * src/oddjob_dbus.c(oddjob_dbus_get_selinux_context): handle
310 SERVICE_HAS_NO_OWNER errors as we do NAME_HAS_NO_OWNER. Verify that
311 we can read byte arrays out of messages with libdbus from 0.22.
312
313 2006-01-16 nalin
314 tag 0.22-1
315 * sample/oddjobd-sample.conf.in: fix pkglibexecdir confusion (#176452).
316 * src/oddjob_request.c: add a -I flag to use as a shortcut because I
317 can never remember the introspection interface and method names.
318 * src/oddjob_request.1.in: add docs for the new -I option, which is a
319 shortcut for typing out the introspection interface and method names.
320
321 2006-01-09 nalin
322 * COPYING, src/oddjob_dbus.c: update copyright year
323 * TODO: update
324 * configure.ac: explicitly check for a C compiler
325 * doc/oddjob.html: reformat, rebuild
326 * src/oddjob_dbus.c (message_has_path): abstract out, for the sake of
327 versions of libdbus which didn't provide a dbus_message_has_path()
328 function.
329 * src/oddjob_dbus.c (oddjob_dbus_filter): use message_has_path()
330 instead of dbus_message_has_path(). Use older macro names for the
331 local interface and path when building with older libdbus.
332 * src/oddjob_dbus.c (oddjob_dbus_connection_close): add an abstraction
333 to avoid worrying about the _disconnect/_close rename.
334 * src/oddjobd.c (main): don't try to set a reconnect timeout until
335 after we're sure we've actually connected.
336 * src/oddjob_request.c (main): add a -I flag to perform introspection.
337
338 2005-12-22 nalin
339 tag 0.21-1
340 * autoversion.in: add, so that configure and the .spec file hopefully
341 don't fall out of sync again.
342 * Makefile.am: compare autoversion with the .spec file version.
343
344 2005-12-22 nalin
345 tag 0.20-1
346 * src/pam_oddjob_mkhomedir.8.in: mention the interface name.
347
348 2005-12-21 nalin
349 * src/oddjobd.c: if we don't provide methods, pretend there's no such
350 object, in case that might be useful to Bad People.
351
352 2005-12-21 nalin
353 tag 0.19-1
354
355 2005-12-21 nalin
356 * autogen.maint: turn on some more warnings.
357
358 2005-12-21 nalin
359 * configure.ac: add hard-coded definitions for introspection-related
360 names.
361 * src/oddjob_dbus.c(oddjob_dbus_send_introspection_text): add, for
362 sending a reply with just a string (no status code), for the
363 introspection methods.
364 * src/oddjobd.c: add a pile of introspection-related format and constant
365 strings.
366 * src/oddjobd.c(oddjobd_introspect_method): add, for generating
367 introspection data.
368 * src/oddjobd.c(main): hook in the introspection handler for every
369 object registration.
370
371 2005-12-21 nalin
372 tag 0.18-1
373
374 2005-12-21 nalin
375 * src/mainloop.c,src/mainloop.h(mainloop_reinit): add, doing what
376 mainloop_init() did, because we need to do it for each connection.
377 * src/oddjob_dbus.c: track the bus type and reconnect timeout we were
378 given at startup-time, so that we know how to reconnect later.
379 * src/oddjob_dbus.c(oddjob_dbus_listener_set_reconnect_timeout): let
380 the caller set the reconnect timeout, setting exit-on-disconnect if
381 we're passed 0.
382 * src/oddjob_dbus.c(oddjob_dbus_filter): process "disconnected"
383 signals. We don't really do anything yet, but someday, maybe.
384 * src/oddjob_dbus.c(oddjob_dbus_listener_new): don't take a reference
385 to the connection -- dbus_bus_get() doesn't return a floating reference
386 the way GObject would, it just returns a plain old reference.
387 * src/oddjob_dbus.c(oddjob_dbus_listener_free): don't free a reference
388 to the connection, just close it.
389 * src/oddjob_dbus.c(oddjob_dbus_listener_reconnect_if_needed): if
390 we're not connected, drop and attempt to reconnect. If we reconnect,
391 re-register our names, on-disconnect behavior, and our filters.
392 * src/oddjobd.c(main): call reconnect_if_needed before every mainloop
393 iteration.
394 * scripts/oddjobd.in: set the reconnect timeout to 5 minutes.
395 * src/pam_oddjob_mounthomedir.c: add a "don't use this" comment.
396 Seriously, don't use this module.
397 * configure.ac: add hard-coded definitions for reconnect-related
398 timeouts.
399 * src/oddjobd.8.in: add notes about the -t option and restarting.
400 * src/lookup/Makefile.am: include the README in the dist target
401
402 2005-12-21 nalin
403 tag 0.17-0
404
405 2005-12-20 nalin
406 * oddjob.spec: modify to conform more closely to the Fedora Packaging
407 Guidelines
408 * TODO: add note about needing to gracefully handle message bus restarts
409 * configure.ac: add an ENABLE_EXPERIMENTAL conditional.
410 * src/Makefile.am: make the entire "lookup" subdirectory experimental