changelog 35.6 KB
Newer Older
1
2
3
4
5
6
mountall (2.39) UNRELEASED; urgency=low

  * Adjust parsing of device names so that network mounts pointing to the
    server's root don't have the path mis-normalized to the empty string.
    Thanks to Damien Churchill <damien.churchill@ukplc.net> for the initial
    implementation.  LP: #809221.
7
8
  * Add compatibility jobs with names to match the historic sysvinit init
    scripts, so that startpar can DTRT.
9
10
11

 -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 20 Aug 2012 16:45:42 -0700

Steve Langasek's avatar
Steve Langasek committed
12
mountall (2.38) unstable; urgency=low
13
14
15
16
17

  * Counterproductively document in debian/copyright the license of files in
    intl that form no part of the binary package, to get through the Debian
    NEW queue.

Steve Langasek's avatar
Steve Langasek committed
18
 -- Steve Langasek <vorlon@debian.org>  Sat, 30 Jun 2012 11:44:59 -0700
19

Steve Langasek's avatar
Steve Langasek committed
20
mountall (2.37) unstable; urgency=low
21

Steve Langasek's avatar
Steve Langasek committed
22
  * Initial upload to Debian.
23
  * Document the branch location with Vcs-Bzr.
24
  * Mark myself as maintainer, with Scott and James as uploaders.
25
26
  * Drop maintainer scripts, only used for upgrades from natty and earlier
    and no longer relevant post-precise.
27
28
  * Replace build flag handling in debian/rules with debhelper compat 9 and
    dpkg-buildflags.
29
  * Remove extra space in fsck progress message.  LP: #573304.
30
  * Adjust build-dependencies for the differing plymouth -dev package name
31
    in Debian vs. Ubuntu.
32
33
  * Fix an inverted check for whether the change-mount mntctl has a
    different device name.
34
  * Update standards-version to 3.9.3.
35
36
  * debian/copyright: copyright-format 1.0, and link explicitly to the GPL-2
    license file since that's what applies.
37

38
39
40
41
  [ Raphaël Pinson ]
  * Honor nobootwait option for /var/* and /usr/* remote filesystems.
    LP: #654545

42
43
44
45
46
  [ Eelco Dolstra ]
  * Install the SIGUSR1 signal handler before daemonizing mountall, so that
    there's no race with signals from network interfaces being brought up.
    LP: #960079.

Colin Watson's avatar
Colin Watson committed
47
  [ Adam Gleichsner ]
Steve Langasek's avatar
Steve Langasek committed
48
  * Add options to mountall(8) manual page.  LP: #805509.
Colin Watson's avatar
Colin Watson committed
49

Steve Langasek's avatar
Steve Langasek committed
50
 -- Steve Langasek <vorlon@debian.org>  Thu, 28 Jun 2012 19:35:33 +0000
51

Colin Watson's avatar
Colin Watson committed
52
mountall (2.36) precise; urgency=low
53
54
55
56
57
58
59

  * If no specific fsck.* checker is found for a given filesystem type
    (except for a short list where we know that checkers really should be
    present), skip checking that filesystem rather than emitting scary error
    messages (LP: #838091).  This duplicates some logic from 'fsck -A', but
    that seems reasonable given mountall's purpose.

Colin Watson's avatar
Colin Watson committed
60
 -- Colin Watson <cjwatson@ubuntu.com>  Thu, 12 Apr 2012 18:58:16 +0100
61

Martin Pitt's avatar
Martin Pitt committed
62
mountall (2.35) precise; urgency=low
63
64
65
66
67
68

  * conf/mounted-tmp.conf: Mount an 1 MiB tmpfs on /tmp/ if /tmp has less than
    1 MB of space, so that booting has a chance of succeeding with a full
    disk. Ubuntu up to 8.04 LTS already had this, but this got lost in
    between. (LP: #932598)

Martin Pitt's avatar
Martin Pitt committed
69
 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 08 Mar 2012 11:57:29 +0100
70

Stéphane Graber's avatar
Stéphane Graber committed
71
72
73
74
75
76
77
78
79
80
81
mountall (2.34) precise; urgency=low

  * Change conf/mounted-debugfs.conf to run the chmod in a || true.
    This is to avoid showing an "Event failed" message in containers
    where apparmor denies access to /sys/kernel/debug.
    Having that job always success shouldn't make any difference as it's
    not running anything after that chmod and /sys/kernel/debug is indeed
    mounted.

 -- Stéphane Graber <stgraber@ubuntu.com>  Wed, 15 Feb 2012 12:54:40 -0500

Stéphane Graber's avatar
Stéphane Graber committed
82
83
84
85
86
87
88
mountall (2.33) precise; urgency=low

  * Mark mountall as Multi-Arch: foreign to allow for upstart to be
    installable with multi-arch (needed for armhf containers on x86)

 -- Stéphane Graber <stgraber@ubuntu.com>  Thu, 02 Feb 2012 13:09:51 -0500

Stéphane Graber's avatar
Stéphane Graber committed
89
mountall (2.32) precise; urgency=low
90

91
  [ Steve Langasek ]
92
93
94
  * Drop /lib/init/rw from /lib/init/fstab, since this is now always a symlink
    to /run.

95
96
97
  [ James Hunt ]
  * src/mountall.c: mounted(): Add cast to appease gcc 4.6.2.

98
99
100
101
102
  [ Stéphane Graber ]
  * src/mountall.c: mount_policy(): Ignore mount points if there is already a
    mounted child (required for lxc(7) to ignore mounts such as /dev). 

 -- James Hunt <james.hunt@ubuntu.com>  Thu, 05 Jan 2012 16:07:12 +0000
103

Colin Watson's avatar
Colin Watson committed
104
mountall (2.31) oneiric; urgency=low
105
106
107
108

  * Added com.ubuntu.Mountall.server interface. Implemented the mntctl command
    with 4 commands: 1. StopTimer 2. RestartTimer 3. ChangeMountDevice 4.
    Version.
109
110
111
112
  * Fixed the coding style bugs in the "timeout" option related code. Also
    removed a break from the is_device_ready () to get the "device-not-ready"
    event for all the devices which are marked with the timeout option and
    which are not ready by the time the timer expires.
113
114
115
116
117
118
119
  * Added debian/initramfs/Makefile.am to install mountall.initramfs-hook as
    an initramfs hook that installs mntctl, mountall and other files needed by
    an event driven initramfs. Also added
    debian/initramfs/upstart-jobs/Makefile.am to install the upstart-jobs
    related to mountall in the event driven initramfs. The current
    mountall.conf execute as an upstart job in place of the "local" script in
    the non-event driven initramfs
120
    
Colin Watson's avatar
Colin Watson committed
121
 -- Surbhi Palande <surbhi.palande@canonical.com>  Fri, 15 Jul 2011 13:32:33 +0100
122

Martin Pitt's avatar
Martin Pitt committed
123
mountall (2.30) oneiric; urgency=low
124
125
126

  * conf/mounted-dev.conf: Stop copying /lib/udev/devices/. udevd already does
    that, and with devtmpfs it's obsolete now anyway.
127
128
  * conf/mounted-dev.conf: Create a /dev/shm → /run/shm symlink, while our
    eglibc is still looking for it in /dev/.
129

Martin Pitt's avatar
Martin Pitt committed
130
 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 14 Jul 2011 09:14:15 +0200
131

Steve Langasek's avatar
Steve Langasek committed
132
mountall (2.29) oneiric; urgency=low
133
134
135
136

  * Don't actually try to migrate /var/run in /etc/init/mounted-run.conf,
    since / isn't guaranteed to be mounted read-write at the time /run is
    mounted.  Handle this in the initscripts shutdown scripts instead.
137
  * Handle clean up of the obsolete /etc/init/mounted-varrun.conf conffile.
138

Steve Langasek's avatar
Steve Langasek committed
139
 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 13 Jul 2011 23:53:09 +0000
140

Steve Langasek's avatar
Steve Langasek committed
141
mountall (2.28) oneiric; urgency=low
142

Steve Langasek's avatar
Steve Langasek committed
143
  [ Colin Watson ]
144
145
146
  * Mount /run, /run/lock, and /run/shm rather than /var/run, /var/lock, and
    /var/shm.  Handle migration of the old locations to symlinks.

Steve Langasek's avatar
Steve Langasek committed
147
 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 13 Jul 2011 13:30:31 -0700
148

Martin Pitt's avatar
Martin Pitt committed
149
mountall (2.27) oneiric; urgency=low
150

151
  * Resolve wording error when checking disks.
152

Martin Pitt's avatar
Martin Pitt committed
153
 -- Brian Murray <brian@ubuntu.com>  Wed, 06 Jul 2011 12:46:36 +0200
154

155
156
157
158
159
160
161
mountall (2.26) oneiric; urgency=low

  * Correct grammar on user-visible strings
    (LP: #572016)

 -- Bryce Harrington <bryce@ubuntu.com>  Tue, 07 Jun 2011 12:16:22 -0700

162
163
164
165
166
167
168
169
170
mountall (2.25ubuntu1) natty; urgency=low

  * Fixed two errors found while browsing the code: 1) find_mount("/") returns
    NULL when / is not found, so cannot access root->mounted. 2) the
    information message about the dev_wait_timeout should be printed after
    dev_wait_timeout is initialized properly.

 -- Surbhi Palande <surbhi.palande@canonical.com>  Wed, 13 Apr 2011 12:59:22 +0300

171
172
173
174
175
176
177
mountall (2.25) natty; urgency=low

  * src/mountall.c: ignore ureadahead's potential mount of
    /var/lib/ureadahead/debugfs (LP: #736512).

 -- Kees Cook <kees@ubuntu.com>  Sat, 19 Mar 2011 16:46:02 -0700

178
mountall (2.24) natty; urgency=low
179

Bryce Harrington's avatar
Bryce Harrington committed
180
  [ Colin Watson ]
181
182
  * Update mountall's version number; it was last updated at 2.15.

Bryce Harrington's avatar
Bryce Harrington committed
183
184
185
186
187
188
  [ Surbhi Palande ]
  * Added a command line option dev-wait-time which specifies the time that
    mountall needs to wait for a device to get ready. The default value for the
    wait is 30 seconds.
    (LP: #595904)

189
190
191
192
193
194
195
196
 -- Bryce Harrington <bryce@ubuntu.com>  Mon, 07 Mar 2011 16:50:04 -0800

mountall (2.23) natty; urgency=low

  * conf/mounted-proc.conf: switch sensitive entries in /proc to be
    mode 0400 to help slightly resist certain kernel heap attacks.

 -- Kees Cook <kees@ubuntu.com>  Mon, 07 Mar 2011 10:12:18 -0800
197

198
199
200
201
202
203
204
205
206
mountall (2.22) natty; urgency=low

  * conf/mounted-debugfs.conf: since this filesystem should not be used on
    production systems (https://lkml.org/lkml/2011/2/22/372) we should
    transition to removing it. As a first step, make the tree only
    accessible to the root user.

 -- Kees Cook <kees@ubuntu.com>  Tue, 22 Feb 2011 13:25:25 -0800

207
208
209
210
211
212
213
mountall (2.21) natty; urgency=low

  * conf/mounted-tmp.conf: find is needed from /usr, so delay this and
    try again when /usr is mounted. LP: #655447

 -- Clint Byrum <clint@ubuntu.com>  Fri, 04 Feb 2011 15:47:59 -0800

Chris Wilson's avatar
Chris Wilson committed
214
mountall (2.20+nmu1) natty; urgency=low
215

Chris Wilson's avatar
Chris Wilson committed
216
217
  * Non-maintainer upload.
  * src/mountall Change an output string to be grammatically correct;
218
    (thanks, Julie Lyrae; LP: #685009).
Chris Wilson's avatar
Chris Wilson committed
219
220

 -- Chris Wilson <afrowildo@gmail.com>  Wed, 15 Dec 2010 19:50:48 +0000
221

Colin Watson's avatar
Colin Watson committed
222
mountall (2.20) natty; urgency=low
223
224
225

  * Don't try to remove /dev/.udev/rules.d/root.rules when running inside
    fakechroot (thanks, Piotr Roszatycki; LP: #675269).
226
227
  * Consider gfs2 filesystems to be remote (thanks, Steve Wilson;
    LP: #582278).
228
229
  * Consider ceph filesystems to be remote (thanks, Ravi Pinjala;
    LP: #677960).
230

Colin Watson's avatar
Colin Watson committed
231
 -- Colin Watson <cjwatson@ubuntu.com>  Mon, 29 Nov 2010 16:44:44 +0000
232

Colin Watson's avatar
Colin Watson committed
233
mountall (2.19) maverick; urgency=low
234
235
236
237
238

  * Fix infinite loop when one of mountall's private mount options is
    followed by a comma, and guard against other reasons why cut_options
    might end up comparing a zero-length option (LP: #649591).

Colin Watson's avatar
Colin Watson committed
239
 -- Colin Watson <cjwatson@ubuntu.com>  Tue, 28 Sep 2010 09:35:11 +0100
240

Colin Watson's avatar
Colin Watson committed
241
mountall (2.18) maverick; urgency=low
242
243
244
245
246

  [ Dustin Kirkland ]
  * conf/mounted-varrun.conf: seed /var/run/motd on boot, to ensure that
    initial logins are quick, LP: #587858

247
248
249
  [ Steve Langasek ]
  * Don't check /etc/environment for locale settings; this is an obsolete
    usage we transitioned away from years ago.
250
  * Add LC_ALL to the list of exported locale variables.
251

252
253
254
  [ Colin Watson ]
  * Flush standard output and error before daemonising, so that we don't get
    three copies of our early debug output.
255
256
257
  * If a mountpoint is a symlink to another mountpoint, add a dependency on
    the link target rather than trying to mount it again and failing
    (LP: #541512).
258

Colin Watson's avatar
Colin Watson committed
259
 -- Colin Watson <cjwatson@ubuntu.com>  Fri, 24 Sep 2010 10:52:20 +0100
260

261
262
263
264
265
266
267
268
269
mountall (2.17) maverick; urgency=low

  * SECURITY UPDATE: do not leave writable udev rules file around.
    - src/mountall.c: set umask correctly (LP: #591807).
    - debian/preinst: remove boot-time udev rules file.
    - CVE-2010-2961

 -- Kees Cook <kees@ubuntu.com>  Wed, 01 Sep 2010 15:20:14 -0700

Steve Langasek's avatar
Steve Langasek committed
270
271
272
273
274
275
276
277
mountall (2.16) maverick; urgency=low

  * conf/mountall.conf: set $LANG so that messages appearing in plymouth are
    translated (LP: #569365); this is a temporary workaround until upstart is
    fixed to pass the appropriate env vars to all init scripts

 -- Adrien Cunin <adri2000@ubuntu.com>  Tue, 24 Aug 2010 20:47:33 +0200

Steve Langasek's avatar
Steve Langasek committed
278
mountall (2.15) lucid-proposed; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
279

280
  [ Scott James Remnant ]
281
282
  * Fix an obvious thinko error that meant that the "I"gnore fsck error key
    for a "hard" failure was ignored.
283
284
285
  * When cancelling filesystem checks, only cancel those that are actually
    checking filesystems; otherwise those that are merely verifying the
    superblock will return an "unrecoverable error" rather than "cancelled".
Steve Langasek's avatar
Steve Langasek committed
286
    LP: #577331.
Scott James Remnant's avatar
Scott James Remnant committed
287

288
289
290
291
292
293
  [ Steve Langasek ]
  * Only send plymouth a progress update when there's actual progress to
    report; otherwise we flood plymouthd with redundant events, and the
    progress will spin for minutes after the fsck itself is finished.  Thanks
    to Tero Mononen and Anders Kaseorg for the patch.  LP: #571707.

Steve Langasek's avatar
Steve Langasek committed
294
 -- Steve Langasek <steve.langasek@ubuntu.com>  Sun, 09 May 2010 01:04:24 +0200
Scott James Remnant's avatar
Scott James Remnant committed
295

Steve Langasek's avatar
Steve Langasek committed
296
mountall (2.14) lucid; urgency=low
297

298
  [ Scott James Remnant ]
299
300
  * Flush updates to Plymouth before emitting Upstart events, in case
    the event kills Plymouth.  LP: #559761.
301
302
303
  * Don't mark a filesystem "nodev" just because it's got "none" in the
    device column; this will block the "virtual-filesystems" event which
    is the one that can't use Plymouth to prompt.  LP: #507881.
304
305
  * When cancelling in-progress fsck, don't deference the NULL mount
    record.  LP: #562811.
306
307
308
  * mountall is missing a very important line of code that increases the
    udev buffer size; without this it's possible we may miss events during
    busy periods.  LP: #561390.
309

310
311
  [ Steve Langasek ]
  * If we're not marking all nodev filesystems as virtual, we need to
312
313
    at least mark our placeholder filesystem entries (type=none && dev=none)
    this way.
314

Steve Langasek's avatar
Steve Langasek committed
315
 -- Steve Langasek <steve.langasek@ubuntu.com>  Sun, 25 Apr 2010 23:36:01 +0100
316

Steve Langasek's avatar
Steve Langasek committed
317
mountall (2.13) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
318

Steve Langasek's avatar
Steve Langasek committed
319
  [ Scott James Remnant ]
320
321
322
323
  * Once a mountpoint has been skipped, don't try and mount it again
    (unless the udev device actually shows up).  LP: #553290.
  * Skipping a filesystem means we should also skip anything that depends
    on that (ie. skip /usr/local when skipping /usr).
324
  * Don't skip filesystems due to timeout when Plymouth not available.
Scott James Remnant's avatar
Scott James Remnant committed
325

326
327
328
  * Don't run mount, swapon or fsck while there's an uncleared error on
    the filesystem.  LP: #501801.

329
330
331
  * Don't display the filesystem check message when an fsck completes
    without needing to check the filesystem.  LP: #564434.

Steve Langasek's avatar
Steve Langasek committed
332
 -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 19 Apr 2010 00:15:58 -0700
Scott James Remnant's avatar
Scott James Remnant committed
333

Steve Langasek's avatar
Steve Langasek committed
334
mountall (2.12) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
335

Colin Watson's avatar
Colin Watson committed
336
  [ Scott James Remnant ]
337
338
  * Generate mountall.pot file at build-time, rather than shipping a
    hopelessly out of date copy in the source package.  LP: #559997.
Scott James Remnant's avatar
Scott James Remnant committed
339

Colin Watson's avatar
Colin Watson committed
340
341
342
  [ Colin Watson ]
  * Fix typo in "Press C" message.

343
344
345
  [ Alberto Milone ]
  * Pass a localised string to plymouth in plymouth_progress (LP: #553954).

Steve Langasek's avatar
Steve Langasek committed
346
 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 15 Apr 2010 08:42:10 +0000
Scott James Remnant's avatar
Scott James Remnant committed
347

Dustin Kirkland's avatar
Dustin Kirkland committed
348
mountall (2.11) lucid; urgency=low
349

350
  [ Scott James Remnant ]
351
352
  * conf/mounted-*.conf: Add defaults for $MOUNTPOINT just in case somebody
    tries to run this by hand.  LP: #557177.
353

354
355
356
357
358
359
  [ Dustin Kirkland ]
  * conf/mounted-varrun.conf: drop initial motd creation, as this is now
    handled entirely dynamically by /etc/update-motd.d/* scripts, with
    this part specifically handled by base-files's 00-header,
    LP: #516293

Dustin Kirkland's avatar
Dustin Kirkland committed
360
 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 09 Apr 2010 13:50:29 -0500
361

Scott James Remnant's avatar
Scott James Remnant committed
362
mountall (2.10) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
363

364
365
366
367
368
369
370
371
  * Rework the Plymouth connection logic; one needs to attach the client to
    the event loop *after* connection otherwise you don't get disconnection
    notification, and one needs to actually actively disconnect in the
    disconnection handler.
  * For safety and sanity reasons it becomes much simpler to create the
    ply_boot_client when we connect, and free it on disconnection.  Thus the
    presence or not of this struct tells us whether we're connected or not.
    LP: #524708.
372
373
374
  * Flush the plymouth connection before closing it and exiting, otherwise
    updates may be pending and the screen have messages that confuse people
    while X is starting (like fsck at 90%).  LP: #487744.
Scott James Remnant's avatar
Scott James Remnant committed
375

376
377
378
  * Replace the modal plymouth prompt for error conditions with code that
    continues working in the background while prompting.  This most benefits
    the old "Waiting for" message, which can now allow you to continue to
Scott James Remnant's avatar
Scott James Remnant committed
379
    wait and it can solve itself.  LP: #527666, #545435.
380
381
382
  * Integrate fsck progress updates into the same mechanism.
  * Allow fsck messages to be translated.  LP: #390740.
  * Change fsck message to be a little less alarming.  LP: #545267.
383
384
385
386
  * Add hard dependency on Plymouth; without it running, mountall will
    ignore any filesystem which doesn't show up within a few seconds or that
    fails to fsck or mount.  If you don't want graphical splash, you simply
    need not install themes.
387

388
389
  * Improve set of messages seen with --verbose, and ensure all visible
    messages are marked for translation.  LP: #446592.
390
391
  * Reduce priority of failed to mount error for remote filesystems since
    we try again, and this just spams the console.  LP: #504224. 
392

393
394
395
  * Keep hold of the dev_t when parsing /proc/self/mountinfo, then after
    mounting /dev (or seeing that it's mounted) create a quick udev rules
    file that adds the /dev/root symlink to this device.  LP: #527216.
396
  * Do not try and update /etc/mtab when it's a symbolic link.  LP: #529993.
397
398
  * Remove odd -a option from mount calls, probably a C&P error from the
    fsck code long ago.  LP: #537135.
Scott James Remnant's avatar
Scott James Remnant committed
399
400
  * Wait for Upstart to acknowledge receipt of events, even if we don't
    hang around for them to be handled.
401
  * Always run through try_mounts() at least once.  LP: #537136.
402
  * Don't keep mountall running if the only remaining unmounted filesystems
403
  * 
404

Scott James Remnant's avatar
Scott James Remnant committed
405
 -- Scott James Remnant <scott@ubuntu.com>  Wed, 31 Mar 2010 19:37:31 +0100
Scott James Remnant's avatar
Scott James Remnant committed
406

Steve Langasek's avatar
Steve Langasek committed
407
mountall (2.9) lucid; urgency=low
408
409
410
411

  * debian/control: per Scott, don't use pre-depends anymore, just regular
    depends.  LP: #540091.

Steve Langasek's avatar
Steve Langasek committed
412
 -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 30 Mar 2010 11:58:20 -0700
413

Scott James Remnant's avatar
Scott James Remnant committed
414
mountall (2.8) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
415
416
417
418
419

  * src/mountall.c:
    - Flush the D-Bus connection queue before exiting, otherwise we can
      end up leaving important events like "filesystem" in the memory queue
      without ever sending it on the socket.  LP: #533054.
420
    - Move the message about disks being checked here from plymouth.
Scott James Remnant's avatar
Scott James Remnant committed
421
422
423
424
425
426
427
428
  * configure.ac:
    - Now that it's upstream, there's a proper ply-boot-client.pc file for
      the boot client library we want.
  * src/Makefile.am:
    - Which means we don't need to manually include -lplybootclient (the
      library changed names anyway)
  * debian/control:
    - Bump build-dependency
Scott James Remnant's avatar
Scott James Remnant committed
429

Scott James Remnant's avatar
Scott James Remnant committed
430
 -- Scott James Remnant <scott@ubuntu.com>  Fri, 12 Mar 2010 18:22:51 +0000
Scott James Remnant's avatar
Scott James Remnant committed
431

Alberto Milone's avatar
   
Alberto Milone committed
432
433
434
435
436
437
438
439
mountall (2.7) lucid; urgency=low

  * src/mountall.c:
    - Prepend "keys:" to messages which require user interaction in
      plymouth.

 -- Alberto Milone <alberto.milone@canonical.com>  Thu, 04 Mar 2010 16:02:04 +0100

440
441
442
443
444
445
446
mountall (2.6) lucid; urgency=low

  * debian/control: add versioned-dependency on coreutils to get "cp -n"
    LP: #527829.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 26 Feb 2010 16:16:24 +0000

Scott James Remnant's avatar
Scott James Remnant committed
447
mountall (2.5) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
448
449
450
451
452

  * conf/mounted-dev.conf:
    - Go back to copying from /lib/udev/devices, this is much faster for
      the devtmpfs case since almost all devices will already exist.
      LP: #507162.
Scott James Remnant's avatar
Scott James Remnant committed
453
454
455
456
  * src/mountall.c:
    - If we mount something new over /dev, we need to make /dev/console and
      /dev/null again as otherwise the whole system falls apart (even init).
      LP: #513919. 
Scott James Remnant's avatar
Scott James Remnant committed
457

Scott James Remnant's avatar
Scott James Remnant committed
458
 -- Scott James Remnant <scott@ubuntu.com>  Wed, 17 Feb 2010 11:56:41 +0000
Scott James Remnant's avatar
Scott James Remnant committed
459

Steve Langasek's avatar
Steve Langasek committed
460
mountall (2.4) lucid; urgency=low
461
462
463
464
465
466

  * conf/mountall-net.conf: only send SIGUSR1 to the main process, not to
    any pre-start or post-stop script we might have; killing the post-stop
    script with -USR1, though an unlikely race to hit, is definitely wrong.
    LP: #506902.

Steve Langasek's avatar
Steve Langasek committed
467
  [ Johan Kiviniemi ]
468
469
470
  * src/mountall.c: The mount table needs to exist for parse_filesystems
    - parse_filesystems() could call mount_proc(), which would call
      find_mount() and segfault.  LP: #503212.
Steve Langasek's avatar
Steve Langasek committed
471
  * src/mountall.c: Handle TAG_UNKNOWN.  LP: #505748.
472
  * src/mountall.c: Ensure boredom_timer is set to NULL when freeing
473
474
  * src/mountall.c: Default to no action for boredom query if prompt fails.
    LP: #505530.
475

Steve Langasek's avatar
Steve Langasek committed
476
 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 14 Jan 2010 05:30:13 -0800
477

Scott James Remnant's avatar
Scott James Remnant committed
478
mountall (2.3) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
479

480
481
  * conf/mounted-dev.conf: even with devtmpfs we need to make a few symlinks
    (/dev/fd, /dev/std{in,out,err})
Scott James Remnant's avatar
Scott James Remnant committed
482

Scott James Remnant's avatar
Scott James Remnant committed
483
 -- Scott James Remnant <scott@ubuntu.com>  Thu, 24 Dec 2009 02:35:35 +0000
Scott James Remnant's avatar
Scott James Remnant committed
484

Scott James Remnant's avatar
Scott James Remnant committed
485
mountall (2.2) lucid; urgency=low
486
487
488
489

  * Allow the "nobootwait" option for virtual devices too (which we
    ordinarily wait for all of).

Scott James Remnant's avatar
Scott James Remnant committed
490
 -- Scott James Remnant <scott@ubuntu.com>  Wed, 23 Dec 2009 03:59:45 +0000
491

Scott James Remnant's avatar
Scott James Remnant committed
492
mountall (2.1) lucid; urgency=low
493
494
495
496
497
498
499
500
501
502

  * Still having problems with the mount-point tagging that decides whether
    a given filesystem is virtual, local or remote.  Apply further fixes
    in an attempt to reduce problems:
    - don't use the prior fstab entry of virtual filesystems when the
      device spec matches the filesystem type (as well as "none")
    - inherit local and remote tags of device parents and prior fstab entries
      as well as mountpoint parents
    - fix inheritance to also work when fstab is out-of-order (e.g. /mnt/proc
      before /proc)
503
504
  * Don't assert() when skip_mount() called on a filesystem that needs to
    be remounted.
505
  * Don't trigger the swap event more than once.
506
507
508
  * Skipping a mount doesn't increase our changes of mounting other
    filesystems, it just means we'll enter an infinite loop of trying to
    mount the filesystem we just skipped!
509
510
511
  * Mountpoints not listed in /etc/fstab should be recorded with the options
    they were mounted with, not "defaults", otherwise we'll attempt to
    remount them if read-only.
512
  * Start maintenance shell should mountall crash.
513

Scott James Remnant's avatar
Scott James Remnant committed
514
 -- Scott James Remnant <scott@ubuntu.com>  Tue, 22 Dec 2009 18:48:13 +0000
515

Scott James Remnant's avatar
Scott James Remnant committed
516
mountall (2.0) lucid; urgency=low
517

518
  [ Scott James Remnant ]
519
520
521
  * "mount" event changed to "mounting", to make it clear it happens
    before the filesystem is mounted.  Added "mounted" event which
    happens afterwards.
522
523
524
  * Dropped the internal hooks, these are now better handled by Upstart
    jobs on the "mounted" event.
  * Dropped the call to restorecon for tmpfs filesystems, this can also be
525
    handled by an Upstart job supplied by SELinux now.
526
    - mounted-dev.conf replaces /dev hook, uses MAKEDEV to make devices.
527
    - mounted-varrun.conf replaces /var/run hook
Scott James Remnant's avatar
Scott James Remnant committed
528
529
530
531
    - mounted-tmp.conf replaces /tmp hook.
      + Hook will be run for any /tmp mountpoint.  LP: #478392.
      + Switching back to using "find" fixes $TMPTIME to be in days again,
        rathern than hours.  LP: #482602
532
533
534
  * Try and make mountpoints, though we only care about failure if the
    mountpoint is marked "optional" since otherwise the filesystem might
    make the mountpoint or something.
535
536
537
  * Rather than hiding the built-in mountpoints inside the code, put them
    in a new /lib/init/fstab file; that way users can copy the lines into
    /etc/fstab if they wish to override them in some interesting way.
538
539
540
  * Now supports multiple filesystem types listed in fstab, the whole
    comma-separated list is passed to mount and then /proc/self/mountinfo
    is reparsed to find out what mount actually did.
541
542
    * /dev will be mounted as a devtmpfs filesystem if supported by the
      kernel (which then does not need to run the /dev hook script).
543
544
  * Filesystem checks may be forced by adding force-fsck to the kernel
    command-line.
545
546
  * Exit gracefully with an error on failed system calls, don't infinite
    loop over them.  LP: #469985.
547
  * Use plymouth for all user communication, replacing existing usplash and
548
549
550
551
552
553
    console code;
    * When plymouth is running, rather than exiting on failures, prompt the
      user as to whether to fix the problem (if possible), ignore the problem,
      ignore the mountpoint or drop to a maintenance shell.  LP: #489474.
    * If plymouth is not running for whatever reason, the fallback action
      is always to start the recovery shell.
554
555
556
557
558
  * Adjust the set of filesystems that we wait for by default: LP: #484234.
    * Wait for all local filesystems, except those marked with the
      "nobootwait" option.
    * Wait for remote filesystems mounted as, or under, /usr or /var, and
      those marked with the "bootwait" option.
559
560
  * Always try network mount points, since we allow them to fail silently;
    SIGUSR1 now simply retries them once more.  LP: #470776.
561
  * Don't retry devices repeatedly.  LP: #480564.
562
  * Added manual pages for the events emitted by this tool.
563

564
  [ Johan Kiviniemi ]
565
  * Start all fsck instances in parallel, but set their priorities so that
566
    thrashing is avoided.  LP: #491389.
567

Scott James Remnant's avatar
Scott James Remnant committed
568
 -- Scott James Remnant <scott@ubuntu.com>  Mon, 21 Dec 2009 23:09:23 +0000
569

Scott James Remnant's avatar
Scott James Remnant committed
570
mountall (1.1) lucid; urgency=low
571

572
573
  * Update to use external libnih.
  * Updated autoconf details at same time to match libnih.
574
575
  * rcS is a job, not an event.  LP: #456806.

Scott James Remnant's avatar
Scott James Remnant committed
576
 -- Scott James Remnant <scott@ubuntu.com>  Sun, 29 Nov 2009 20:16:10 +0000
577

Scott James Remnant's avatar
Scott James Remnant committed
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
mountall (1.0) karmic; urgency=low

  [ Kees Cook ]
  * Call out to restorecon after mounting tmpfs filesystems.  LP: #456942.

  [ Johan Kiviniemi ]
  * Fix a bug introduced by the 0.2.6 change. In certain situations, we’d
    quit even though we’re still waiting for some filesystems to be
    mounted.  LP: #456806.

  [ Scott James Remnant ]
  * Don't clear the splash screen when we're waiting for filesystems,
    instead just output following whatever else is there.  In non-verbose
    mode this won't look any different, but it means we don't clear previous
    verbose mode text.  LP: #458389.
  * Only update the "waiting for one or more mounts" text if there's actually
    a change in the set we're waiting for; this removes the need for a CLEAR
    this case anyway.
  * Don't say we're waiting for mounts we're, in fact, not waiting
    for.  LP: #459859.
  * Stop mountall (normally) when entering recovery mode.  LP: #458060.

  * Clean up source tarball.  LP: #460348.

 -- Scott James Remnant <scott@ubuntu.com>  Mon, 26 Oct 2009 09:30:41 +0000

mountall (0.2.6) karmic; urgency=low

  * Fix the bug where we never realise that we're down, because the
    fact the filesystem is mounted is updated from /proc/self/mountinfo
    rather than internally.  LP: #456806.

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 21 Oct 2009 16:19:36 +0100

mountall (0.2.5) karmic; urgency=low

  * Filesystem check progress reporting, including cancellation.  LP: 446596.
  * When we're waiting for a mountpoint, if a few seconds of inactivity
    passes, report what we're waiting for and allow Escape to drop you to
    a recovery shell.
  * Start usplash for filesystem check progress reporting or when we've
    been waiting for more than a few seconds.  LP: #431184.

  * Hide error removing /forcefsck, people mis-report this as a bug and
    don't tell us the error above it.
  * Don't call mount.ecryptfs or mount.aufs when adding an entry for
    /etc/mtab; these helpers are broken and do not support the -f argument.
    This means your passphrase may end up in /etc/mtab, blame them not me.
    LP: #431954, #443080.
  * Unlink /etc/mtab~ after creating/truncating /etc/mtab and before writing
    mtab entries.  LP: #431865.
  * Stop the recovery shell if the user runs shutdown within it, so we
    don't run mountall again.  LP: #452196.
  * If the root filesystem check fails, we'll need to reboot, so just have
    the recovery shell script do that.

  * Post-review logic fixes.

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 20 Oct 2009 12:19:16 +0100

mountall (0.2.2) karmic; urgency=low

  [ Steve Langasek ]
  * Don't emit the local-filesystem signal until after virtual filesystems
    are also done mounting.  LP: #448981.

  [ Robert Gerlach ]
  * Fix segfault when root filesystem missing from fstab, or listed
    as /dev/root.  LP: #448323.

  [ Johan Kiviniemi ]
  * Don’t queue filesystem check when either device or type is "none".

  [ Scott James Remnant ]
  * Removed /srv from the list of "essential" mountpoints.  LP: #448267.
  * Allow overriding of the above list by using the "bootwait" and
    "nobootwait" fstab options, e.g.

    LABEL=foo /home ext4 nobootwait 0 0

  * Mount /proc before attempting to parse /proc/filesystems.  LP: #447947.
  * Further improvements to event tagging of filesystems.  A virtual bootwait
    filesystem underneath a local or remote filesystem inherits that tag,
    a local bootwait filesystem underneath a remote filesystem inherits that
    tag, remote filesystems do not inherit them.  LP: #447654.

  * Replace previous hardcoded "arch specific" flag for /spu with an
    "optional" fstab mount option.
  * Made binfmt_misc,fusectl, debugfs, securityfs and /lib/init/rw optional
    as well.
  * Check whether the mountpoint of optional fstab entries exists before
    trying to mount, and skip over that if it doesn't.  LP: #447525.

  * Keep /proc/self/mountinfo open, if it changes while we're running,
    update the knowledge of the mount table and what's mounted.  That
    way if something else mounts it while mountall running, you'll still
    get events and mountall will still exit.
  * Try mounts again if another network device comes up while we were
    waiting.

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 13 Oct 2009 02:17:47 +0100

mountall (0.2.1) karmic; urgency=low

  * Make mountall recognize that *remote* filesystems are still remote, given
    that their parent fs is almost always local.  LP: #447654.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 09 Oct 2009 19:17:42 -0700

mountall (0.2.0) karmic; urgency=low

  [ Colin Watson ]
  * Always check the root filesystem if --force-fsck is used, regardless of
    passno.  LP: #435707.

  [ Johan Kiviniemi ]
  * Have each fsck instance create a lock for each underlying physical device.
    If you have a single disk or RAID, all filesystem checks will happen
    sequentially in order to avoid thrashing.  On more complex configurations,
    you’ll benefit from the parallel checks mountall has been doing all along.
    LP: #434974.

  [ Scott James Remnant ]
  * Flush standard output and error before spawning processes to make
    capturing logs easier (otherwise we end up repeating things still in
    the buffer), and before calling exec().
  * Turn the code upside down so that each mount knows what it's waiting
    for, and allow multiple dependencies.  This makes the code much more
    readable putting the "policy" in a single function, and will make it
    much easier in future when this is done by Upstart.
  * For kernel filesystems listed in fstab, honour the order that they
    are listed in fstab.  LP: #432571, #433537, #436796
  * Always create new swap partition mounts for each fstab entry, don't
    treat them as updating the same.  LP: #435027.
  * Virtual filesystems under local or remote filesystems (and local under
    remote) don't delay the virtual or local events.  LP: #431040.
  * Simplify event emission, this has the advantage that we can now output
    what mount points we're waiting for and what they are waiting for as
    well.
  * Fixed issue with trailing slashes.  LP: #443035.
  * Only run hooks if the filesystem was not already mounted.  LP: #444252.
  * Don't clean up /tmp when run without --tmptime argument.
  * Ignore loop and ram devices until ready.  LP: #441454.
  * Add options to binfmt_misc filesystem, which will probably cause it to
    be mounted on boot as well.
  * Synchronously mount local and virtual filesystems, I suspect this is
    the real cause behind the XFS races as one will modprobe and the other
    will not (and fail).  LP: #432620.
  * Synchronously activate swap to avoid out of memory issues when checking
    the root filesystem.
  * Enumerate existing udev devices on startup, so we don't always have to
    see udev be coldplugged.
  * Don't break on general errors for non-essential filesystems.
    LP: #441144.
  * Don't repeat attempts to mount a filesystem without having first
    succeded to mount another.
  * Still restart mountall even if the recovery shell fails.
  * Don't queue filesystem check when device is "none", or missing, or the
    filesystem is marked nodev.
  * Generate a "mount" event before mounting a filesystem, and wait for its
    effects to complete.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 09 Oct 2009 16:50:46 +0100

mountall (0.1.8) karmic; urgency=low

  [ Scott James Remnant ]
  * Further work on the fix from the previous version where the root
    filesystem would always be considered "local", retain that from the
    POV of the {virtual,local,remote}-filesystems events, but do mount
    the root straight away when it's virtual since there's no device to
    wait until it's ready.  LP: #431204.
  * If a remote filesystem is already mounted and doesn't need a remount,
    don't wait for a network device to come up.  LP: #430348.

  * Ignore single and double quotes in fstab device specifications, since
    mount -a used to.  LP: #431064.
  * Never write mtab when mounting a mount with showthroughs (ie. /var)
    and instead update mtab once we've moved it into place
    later.  LP: #434172.

  [ Kees Cook ]
  * src/mountall.c: rework nftw hooks to use a global for argument passing
    instead of using nested functions and the resulting trampolines that
    cause an executable stack.  LP: #434813.
  * debian/rules: revert powerpc exception, since the cause is fixed by
    removing the nested functions.

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 23 Sep 2009 14:19:01 -0700

mountall (0.1.7) karmic; urgency=low

  * Build with -O2 on powerpc to work around wrong-code generation with -Os.
    LP: #432222.

 -- Matthias Klose <doko@ubuntu.com>  Tue, 22 Sep 2009 00:31:52 +0200

mountall (0.1.6) karmic; urgency=low

  [ Scott James Remnant ]
  * Restored mistakenly removed dh_installchangelogs & dh_installdocs.

  * Allow a further udev event for a block-device to retry swapon/mount
    after fsck has been already been completed for a prior event.
  * Massively reduce the pickyness of mountall when it comes to block
    devices; only expect ID_FS_USAGE and ID_FS_TYPE for dm and md devices,
    and don't actually expect the values.  For most people this won't make
    a difference, since we use UUID= anyway.  But for people with hardcoded
    /dev/sda1 in their fstab, which has multiple metadata, this won't break
    their boot.

  * Only include FHS filesystems in the {virtual,local,remote}-filesystems
    events.  This prevents an unmountable entry in fstab blocking things like
    starting D-Bus or the Network which are required to mount that filesystem.
    LP: #430880.
  * Never consider the root filesystem to be virtual or remote, even when
    it is, since we assert that it's already mounted so we don't have to
    take care of it.  LP: #431028.
  * Check whether filesystems mounted readonly when we start do not have
    "ro" in their fstab, before assuming we need to remount them.
    Readonly filesystems not in fstab (e.g. LiveCD, Wubi, etc.) never need
    remounting.  LP: #431028.
  * Only virtual filesystems will be mounted while the root filesystem is
    readonly, not filesystems such as /usr and /var.
  * fuse filesystems are never considered virtual, since they probably
    need devices, write access and the hand of god to be mounted.

  [ Colin Watson ]
  * Ignore errors from kill in mountall-net, since they're almost certainly
    just because mountall exited before we had a chance to kill it
    LP: #430755.

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 16 Sep 2009 23:55:33 +0100

mountall (0.1.4) karmic; urgency=low

  [Johan Kiviniemi]
  * Don't run fsck when the device has already been marked ready.

  [Scott James Remnant]
  * Don't abort when we have nothing to copy into /dev and /var/run, or
    nothing to remove from /tmp

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 16 Sep 2009 00:15:53 +0100

mountall (0.1.3) karmic; urgency=low

  * mount.ntfs and mount.ntfs-3g do not support the standard "-n" (no mtab)
    mount option, and error when passed.  Since the ntfs code is rather
    complex, and seems safe against failing to write to mtab, work around
    it in mountall and never pass -n to mount for ntfs and ntfs-3g
    filesystems 
  * Failure to check or mount a filesystem that's not critical to the boot
    no longer results in immediate termination of mountall.
  * Failure to mount a remote filesystem no longer results in immediate
    termination of mountall, since these may be retried when other interfaces
    are brought up.
  * Improved error message output on mountall failure, temporarily enabled
    output so important messages aren't lost.
  * Removed /forcefsck after checks are complete.

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 15 Sep 2009 02:53:34 +0100

mountall (0.1.2) karmic; urgency=low

  * Unconditionally configure.

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 15 Sep 2009 01:27:49 +0100

mountall (0.1.1) karmic; urgency=low

  * Fix build issue due to libnih being symlinks. 

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 15 Sep 2009 00:56:12 +0100

mountall (0.1.0) karmic; urgency=low

  * Initial release.

 -- Scott James Remnant <scott@ubuntu.com>  Mon, 14 Sep 2009 23:21:05 +0100