changelog 36.1 KB
Newer Older
Steve Langasek's avatar
Steve Langasek committed
1
mountall (2.41) unstable; urgency=low
2
3
4
5
6

  [ Alexander Achenbach ]
  * Don't block other, unrelated mounts from being processed while one
    mount is blocked on its mounting signal to process.  LP: #643289.

7
8
9
10
  [ Steve Langasek ]
  * Likewise, allow 'mounted' signals to be processed in parallel with
    other unrelated mounts.

Steve Langasek's avatar
Steve Langasek committed
11
 -- Steve Langasek <vorlon@debian.org>  Tue, 25 Sep 2012 23:21:59 -0700
12

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

  * Add /run/user as a default mountpoint, in support of $XDG_RUNTIME_DIR.
    LP: #894391.

Steve Langasek's avatar
Steve Langasek committed
18
 -- Steve Langasek <vorlon@debian.org>  Fri, 31 Aug 2012 19:55:01 -0700
19

Steve Langasek's avatar
Steve Langasek committed
20
mountall (2.39) unstable; urgency=low
21
22
23
24
25

  * 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.
26
27
  * Add compatibility jobs with names to match the historic sysvinit init
    scripts, so that startpar can DTRT.
28

Steve Langasek's avatar
Steve Langasek committed
29
 -- Steve Langasek <vorlon@debian.org>  Fri, 31 Aug 2012 18:31:19 +0000
30

Steve Langasek's avatar
Steve Langasek committed
31
mountall (2.38) unstable; urgency=low
32
33
34
35
36

  * 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
37
 -- Steve Langasek <vorlon@debian.org>  Sat, 30 Jun 2012 11:44:59 -0700
38

Steve Langasek's avatar
Steve Langasek committed
39
mountall (2.37) unstable; urgency=low
40

Steve Langasek's avatar
Steve Langasek committed
41
  * Initial upload to Debian.
42
  * Document the branch location with Vcs-Bzr.
43
  * Mark myself as maintainer, with Scott and James as uploaders.
44
45
  * Drop maintainer scripts, only used for upgrades from natty and earlier
    and no longer relevant post-precise.
46
47
  * Replace build flag handling in debian/rules with debhelper compat 9 and
    dpkg-buildflags.
48
  * Remove extra space in fsck progress message.  LP: #573304.
49
  * Adjust build-dependencies for the differing plymouth -dev package name
50
    in Debian vs. Ubuntu.
51
52
  * Fix an inverted check for whether the change-mount mntctl has a
    different device name.
53
  * Update standards-version to 3.9.3.
54
55
  * debian/copyright: copyright-format 1.0, and link explicitly to the GPL-2
    license file since that's what applies.
56

57
58
59
60
  [ Raphaël Pinson ]
  * Honor nobootwait option for /var/* and /usr/* remote filesystems.
    LP: #654545

61
62
63
64
65
  [ 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
66
  [ Adam Gleichsner ]
Steve Langasek's avatar
Steve Langasek committed
67
  * Add options to mountall(8) manual page.  LP: #805509.
Colin Watson's avatar
Colin Watson committed
68

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

Colin Watson's avatar
Colin Watson committed
71
mountall (2.36) precise; urgency=low
72
73
74
75
76
77
78

  * 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
79
 -- Colin Watson <cjwatson@ubuntu.com>  Thu, 12 Apr 2012 18:58:16 +0100
80

Martin Pitt's avatar
Martin Pitt committed
81
mountall (2.35) precise; urgency=low
82
83
84
85
86
87

  * 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
88
 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 08 Mar 2012 11:57:29 +0100
89

Stéphane Graber's avatar
Stéphane Graber committed
90
91
92
93
94
95
96
97
98
99
100
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
101
102
103
104
105
106
107
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
108
mountall (2.32) precise; urgency=low
109

110
  [ Steve Langasek ]
111
112
113
  * Drop /lib/init/rw from /lib/init/fstab, since this is now always a symlink
    to /run.

114
115
116
  [ James Hunt ]
  * src/mountall.c: mounted(): Add cast to appease gcc 4.6.2.

117
118
119
120
121
  [ 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
122

Colin Watson's avatar
Colin Watson committed
123
mountall (2.31) oneiric; urgency=low
124
125
126
127

  * Added com.ubuntu.Mountall.server interface. Implemented the mntctl command
    with 4 commands: 1. StopTimer 2. RestartTimer 3. ChangeMountDevice 4.
    Version.
128
129
130
131
  * 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.
132
133
134
135
136
137
138
  * 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
139
    
Colin Watson's avatar
Colin Watson committed
140
 -- Surbhi Palande <surbhi.palande@canonical.com>  Fri, 15 Jul 2011 13:32:33 +0100
141

Martin Pitt's avatar
Martin Pitt committed
142
mountall (2.30) oneiric; urgency=low
143
144
145

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

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

Steve Langasek's avatar
Steve Langasek committed
151
mountall (2.29) oneiric; urgency=low
152
153
154
155

  * 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.
156
  * Handle clean up of the obsolete /etc/init/mounted-varrun.conf conffile.
157

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

Steve Langasek's avatar
Steve Langasek committed
160
mountall (2.28) oneiric; urgency=low
161

Steve Langasek's avatar
Steve Langasek committed
162
  [ Colin Watson ]
163
164
165
  * 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
166
 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 13 Jul 2011 13:30:31 -0700
167

Martin Pitt's avatar
Martin Pitt committed
168
mountall (2.27) oneiric; urgency=low
169

170
  * Resolve wording error when checking disks.
171

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

174
175
176
177
178
179
180
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

181
182
183
184
185
186
187
188
189
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

190
191
192
193
194
195
196
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

197
mountall (2.24) natty; urgency=low
198

Bryce Harrington's avatar
Bryce Harrington committed
199
  [ Colin Watson ]
200
201
  * Update mountall's version number; it was last updated at 2.15.

Bryce Harrington's avatar
Bryce Harrington committed
202
203
204
205
206
207
  [ 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)

208
209
210
211
212
213
214
215
 -- 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
216

217
218
219
220
221
222
223
224
225
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

226
227
228
229
230
231
232
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
233
mountall (2.20+nmu1) natty; urgency=low
234

Chris Wilson's avatar
Chris Wilson committed
235
236
  * Non-maintainer upload.
  * src/mountall Change an output string to be grammatically correct;
237
    (thanks, Julie Lyrae; LP: #685009).
Chris Wilson's avatar
Chris Wilson committed
238
239

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

Colin Watson's avatar
Colin Watson committed
241
mountall (2.20) natty; urgency=low
242
243
244

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

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

Colin Watson's avatar
Colin Watson committed
252
mountall (2.19) maverick; urgency=low
253
254
255
256
257

  * 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
258
 -- Colin Watson <cjwatson@ubuntu.com>  Tue, 28 Sep 2010 09:35:11 +0100
259

Colin Watson's avatar
Colin Watson committed
260
mountall (2.18) maverick; urgency=low
261
262
263
264
265

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

266
267
268
  [ Steve Langasek ]
  * Don't check /etc/environment for locale settings; this is an obsolete
    usage we transitioned away from years ago.
269
  * Add LC_ALL to the list of exported locale variables.
270

271
272
273
  [ Colin Watson ]
  * Flush standard output and error before daemonising, so that we don't get
    three copies of our early debug output.
274
275
276
  * 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).
277

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

280
281
282
283
284
285
286
287
288
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
289
290
291
292
293
294
295
296
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
297
mountall (2.15) lucid-proposed; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
298

299
  [ Scott James Remnant ]
300
301
  * Fix an obvious thinko error that meant that the "I"gnore fsck error key
    for a "hard" failure was ignored.
302
303
304
  * 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
305
    LP: #577331.
Scott James Remnant's avatar
Scott James Remnant committed
306

307
308
309
310
311
312
  [ 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
313
 -- Steve Langasek <steve.langasek@ubuntu.com>  Sun, 09 May 2010 01:04:24 +0200
Scott James Remnant's avatar
Scott James Remnant committed
314

Steve Langasek's avatar
Steve Langasek committed
315
mountall (2.14) lucid; urgency=low
316

317
  [ Scott James Remnant ]
318
319
  * Flush updates to Plymouth before emitting Upstart events, in case
    the event kills Plymouth.  LP: #559761.
320
321
322
  * 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.
323
324
  * When cancelling in-progress fsck, don't deference the NULL mount
    record.  LP: #562811.
325
326
327
  * 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.
328

329
330
  [ Steve Langasek ]
  * If we're not marking all nodev filesystems as virtual, we need to
331
332
    at least mark our placeholder filesystem entries (type=none && dev=none)
    this way.
333

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

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

Steve Langasek's avatar
Steve Langasek committed
338
  [ Scott James Remnant ]
339
340
341
342
  * 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).
343
  * Don't skip filesystems due to timeout when Plymouth not available.
Scott James Remnant's avatar
Scott James Remnant committed
344

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

348
349
350
  * 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
351
 -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 19 Apr 2010 00:15:58 -0700
Scott James Remnant's avatar
Scott James Remnant committed
352

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

Colin Watson's avatar
Colin Watson committed
355
  [ Scott James Remnant ]
356
357
  * 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
358

Colin Watson's avatar
Colin Watson committed
359
360
361
  [ Colin Watson ]
  * Fix typo in "Press C" message.

362
363
364
  [ Alberto Milone ]
  * Pass a localised string to plymouth in plymouth_progress (LP: #553954).

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

Dustin Kirkland's avatar
Dustin Kirkland committed
367
mountall (2.11) lucid; urgency=low
368

369
  [ Scott James Remnant ]
370
371
  * conf/mounted-*.conf: Add defaults for $MOUNTPOINT just in case somebody
    tries to run this by hand.  LP: #557177.
372

373
374
375
376
377
378
  [ 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
379
 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 09 Apr 2010 13:50:29 -0500
380

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

383
384
385
386
387
388
389
390
  * 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.
391
392
393
  * 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
394

395
396
397
  * 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
398
    wait and it can solve itself.  LP: #527666, #545435.
399
400
401
  * 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.
402
403
404
405
  * 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.
406

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

412
413
414
  * 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.
415
  * Do not try and update /etc/mtab when it's a symbolic link.  LP: #529993.
416
417
  * 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
418
419
  * Wait for Upstart to acknowledge receipt of events, even if we don't
    hang around for them to be handled.
420
  * Always run through try_mounts() at least once.  LP: #537136.
421
  * Don't keep mountall running if the only remaining unmounted filesystems
422
  * 
423

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

Steve Langasek's avatar
Steve Langasek committed
426
mountall (2.9) lucid; urgency=low
427
428
429
430

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

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

Scott James Remnant's avatar
Scott James Remnant committed
433
mountall (2.8) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
434
435
436
437
438

  * 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.
439
    - Move the message about disks being checked here from plymouth.
Scott James Remnant's avatar
Scott James Remnant committed
440
441
442
443
444
445
446
447
  * 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
448

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

Alberto Milone's avatar
   
Alberto Milone committed
451
452
453
454
455
456
457
458
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

459
460
461
462
463
464
465
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
466
mountall (2.5) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
467
468
469
470
471

  * 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
472
473
474
475
  * 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
476

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

Steve Langasek's avatar
Steve Langasek committed
479
mountall (2.4) lucid; urgency=low
480
481
482
483
484
485

  * 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
486
  [ Johan Kiviniemi ]
487
488
489
  * 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
490
  * src/mountall.c: Handle TAG_UNKNOWN.  LP: #505748.
491
  * src/mountall.c: Ensure boredom_timer is set to NULL when freeing
492
493
  * src/mountall.c: Default to no action for boredom query if prompt fails.
    LP: #505530.
494

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

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

499
500
  * 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
501

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

Scott James Remnant's avatar
Scott James Remnant committed
504
mountall (2.2) lucid; urgency=low
505
506
507
508

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

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

Scott James Remnant's avatar
Scott James Remnant committed
511
mountall (2.1) lucid; urgency=low
512
513
514
515
516
517
518
519
520
521

  * 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)
522
523
  * Don't assert() when skip_mount() called on a filesystem that needs to
    be remounted.
524
  * Don't trigger the swap event more than once.
525
526
527
  * 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!
528
529
530
  * 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.
531
  * Start maintenance shell should mountall crash.
532

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

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

537
  [ Scott James Remnant ]
538
539
540
  * "mount" event changed to "mounting", to make it clear it happens
    before the filesystem is mounted.  Added "mounted" event which
    happens afterwards.
541
542
543
  * 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
544
    handled by an Upstart job supplied by SELinux now.
545
    - mounted-dev.conf replaces /dev hook, uses MAKEDEV to make devices.
546
    - mounted-varrun.conf replaces /var/run hook
Scott James Remnant's avatar
Scott James Remnant committed
547
548
549
550
    - 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
551
552
553
  * 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.
554
555
556
  * 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.
557
558
559
  * 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.
560
561
    * /dev will be mounted as a devtmpfs filesystem if supported by the
      kernel (which then does not need to run the /dev hook script).
562
563
  * Filesystem checks may be forced by adding force-fsck to the kernel
    command-line.
564
565
  * Exit gracefully with an error on failed system calls, don't infinite
    loop over them.  LP: #469985.
566
  * Use plymouth for all user communication, replacing existing usplash and
567
568
569
570
571
572
    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.
573
574
575
576
577
  * 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.
578
579
  * Always try network mount points, since we allow them to fail silently;
    SIGUSR1 now simply retries them once more.  LP: #470776.
580
  * Don't retry devices repeatedly.  LP: #480564.
581
  * Added manual pages for the events emitted by this tool.
582

583
  [ Johan Kiviniemi ]
584
  * Start all fsck instances in parallel, but set their priorities so that
585
    thrashing is avoided.  LP: #491389.
586

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

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

591
592
  * Update to use external libnih.
  * Updated autoconf details at same time to match libnih.
593
594
  * rcS is a job, not an event.  LP: #456806.

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

Scott James Remnant's avatar
Scott James Remnant committed
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
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
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