changelog 35.7 KB
Newer Older
1
2
3
4
5
6
7
mountall (2.40) UNRELEASED; urgency=low

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

 -- Steve Langasek <vorlon@debian.org>  Fri, 31 Aug 2012 16:38:10 -0700

Steve Langasek's avatar
Steve Langasek committed
8
mountall (2.39) unstable; urgency=low
9
10
11
12
13

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

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

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

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

Steve Langasek's avatar
Steve Langasek committed
27
mountall (2.37) unstable; urgency=low
28

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

45
46
47
48
  [ Raphaël Pinson ]
  * Honor nobootwait option for /var/* and /usr/* remote filesystems.
    LP: #654545

49
50
51
52
53
  [ 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
54
  [ Adam Gleichsner ]
Steve Langasek's avatar
Steve Langasek committed
55
  * Add options to mountall(8) manual page.  LP: #805509.
Colin Watson's avatar
Colin Watson committed
56

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

Colin Watson's avatar
Colin Watson committed
59
mountall (2.36) precise; urgency=low
60
61
62
63
64
65
66

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

Martin Pitt's avatar
Martin Pitt committed
69
mountall (2.35) precise; urgency=low
70
71
72
73
74
75

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

Stéphane Graber's avatar
Stéphane Graber committed
78
79
80
81
82
83
84
85
86
87
88
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
89
90
91
92
93
94
95
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
96
mountall (2.32) precise; urgency=low
97

98
  [ Steve Langasek ]
99
100
101
  * Drop /lib/init/rw from /lib/init/fstab, since this is now always a symlink
    to /run.

102
103
104
  [ James Hunt ]
  * src/mountall.c: mounted(): Add cast to appease gcc 4.6.2.

105
106
107
108
109
  [ 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
110

Colin Watson's avatar
Colin Watson committed
111
mountall (2.31) oneiric; urgency=low
112
113
114
115

  * Added com.ubuntu.Mountall.server interface. Implemented the mntctl command
    with 4 commands: 1. StopTimer 2. RestartTimer 3. ChangeMountDevice 4.
    Version.
116
117
118
119
  * 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.
120
121
122
123
124
125
126
  * 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
127
    
Colin Watson's avatar
Colin Watson committed
128
 -- Surbhi Palande <surbhi.palande@canonical.com>  Fri, 15 Jul 2011 13:32:33 +0100
129

Martin Pitt's avatar
Martin Pitt committed
130
mountall (2.30) oneiric; urgency=low
131
132
133

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

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

Steve Langasek's avatar
Steve Langasek committed
139
mountall (2.29) oneiric; urgency=low
140
141
142
143

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

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

Steve Langasek's avatar
Steve Langasek committed
148
mountall (2.28) oneiric; urgency=low
149

Steve Langasek's avatar
Steve Langasek committed
150
  [ Colin Watson ]
151
152
153
  * 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
154
 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 13 Jul 2011 13:30:31 -0700
155

Martin Pitt's avatar
Martin Pitt committed
156
mountall (2.27) oneiric; urgency=low
157

158
  * Resolve wording error when checking disks.
159

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

162
163
164
165
166
167
168
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

169
170
171
172
173
174
175
176
177
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

178
179
180
181
182
183
184
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

185
mountall (2.24) natty; urgency=low
186

Bryce Harrington's avatar
Bryce Harrington committed
187
  [ Colin Watson ]
188
189
  * Update mountall's version number; it was last updated at 2.15.

Bryce Harrington's avatar
Bryce Harrington committed
190
191
192
193
194
195
  [ 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)

196
197
198
199
200
201
202
203
 -- 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
204

205
206
207
208
209
210
211
212
213
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

214
215
216
217
218
219
220
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
221
mountall (2.20+nmu1) natty; urgency=low
222

Chris Wilson's avatar
Chris Wilson committed
223
224
  * Non-maintainer upload.
  * src/mountall Change an output string to be grammatically correct;
225
    (thanks, Julie Lyrae; LP: #685009).
Chris Wilson's avatar
Chris Wilson committed
226
227

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

Colin Watson's avatar
Colin Watson committed
229
mountall (2.20) natty; urgency=low
230
231
232

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

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

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

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

Colin Watson's avatar
Colin Watson committed
248
mountall (2.18) maverick; urgency=low
249
250
251
252
253

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

254
255
256
  [ Steve Langasek ]
  * Don't check /etc/environment for locale settings; this is an obsolete
    usage we transitioned away from years ago.
257
  * Add LC_ALL to the list of exported locale variables.
258

259
260
261
  [ Colin Watson ]
  * Flush standard output and error before daemonising, so that we don't get
    three copies of our early debug output.
262
263
264
  * 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).
265

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

268
269
270
271
272
273
274
275
276
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
277
278
279
280
281
282
283
284
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
285
mountall (2.15) lucid-proposed; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
286

287
  [ Scott James Remnant ]
288
289
  * Fix an obvious thinko error that meant that the "I"gnore fsck error key
    for a "hard" failure was ignored.
290
291
292
  * 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
293
    LP: #577331.
Scott James Remnant's avatar
Scott James Remnant committed
294

295
296
297
298
299
300
  [ 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
301
 -- Steve Langasek <steve.langasek@ubuntu.com>  Sun, 09 May 2010 01:04:24 +0200
Scott James Remnant's avatar
Scott James Remnant committed
302

Steve Langasek's avatar
Steve Langasek committed
303
mountall (2.14) lucid; urgency=low
304

305
  [ Scott James Remnant ]
306
307
  * Flush updates to Plymouth before emitting Upstart events, in case
    the event kills Plymouth.  LP: #559761.
308
309
310
  * 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.
311
312
  * When cancelling in-progress fsck, don't deference the NULL mount
    record.  LP: #562811.
313
314
315
  * 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.
316

317
318
  [ Steve Langasek ]
  * If we're not marking all nodev filesystems as virtual, we need to
319
320
    at least mark our placeholder filesystem entries (type=none && dev=none)
    this way.
321

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

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

Steve Langasek's avatar
Steve Langasek committed
326
  [ Scott James Remnant ]
327
328
329
330
  * 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).
331
  * Don't skip filesystems due to timeout when Plymouth not available.
Scott James Remnant's avatar
Scott James Remnant committed
332

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

336
337
338
  * 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
339
 -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 19 Apr 2010 00:15:58 -0700
Scott James Remnant's avatar
Scott James Remnant committed
340

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

Colin Watson's avatar
Colin Watson committed
343
  [ Scott James Remnant ]
344
345
  * 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
346

Colin Watson's avatar
Colin Watson committed
347
348
349
  [ Colin Watson ]
  * Fix typo in "Press C" message.

350
351
352
  [ Alberto Milone ]
  * Pass a localised string to plymouth in plymouth_progress (LP: #553954).

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

Dustin Kirkland's avatar
Dustin Kirkland committed
355
mountall (2.11) lucid; urgency=low
356

357
  [ Scott James Remnant ]
358
359
  * conf/mounted-*.conf: Add defaults for $MOUNTPOINT just in case somebody
    tries to run this by hand.  LP: #557177.
360

361
362
363
364
365
366
  [ 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
367
 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 09 Apr 2010 13:50:29 -0500
368

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

371
372
373
374
375
376
377
378
  * 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.
379
380
381
  * 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
382

383
384
385
  * 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
386
    wait and it can solve itself.  LP: #527666, #545435.
387
388
389
  * 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.
390
391
392
393
  * 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.
394

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

400
401
402
  * 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.
403
  * Do not try and update /etc/mtab when it's a symbolic link.  LP: #529993.
404
405
  * 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
406
407
  * Wait for Upstart to acknowledge receipt of events, even if we don't
    hang around for them to be handled.
408
  * Always run through try_mounts() at least once.  LP: #537136.
409
  * Don't keep mountall running if the only remaining unmounted filesystems
410
  * 
411

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

Steve Langasek's avatar
Steve Langasek committed
414
mountall (2.9) lucid; urgency=low
415
416
417
418

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

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

Scott James Remnant's avatar
Scott James Remnant committed
421
mountall (2.8) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
422
423
424
425
426

  * 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.
427
    - Move the message about disks being checked here from plymouth.
Scott James Remnant's avatar
Scott James Remnant committed
428
429
430
431
432
433
434
435
  * 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
436

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

Alberto Milone's avatar
   
Alberto Milone committed
439
440
441
442
443
444
445
446
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

447
448
449
450
451
452
453
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
454
mountall (2.5) lucid; urgency=low
Scott James Remnant's avatar
Scott James Remnant committed
455
456
457
458
459

  * 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
460
461
462
463
  * 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
464

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

Steve Langasek's avatar
Steve Langasek committed
467
mountall (2.4) lucid; urgency=low
468
469
470
471
472
473

  * 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
474
  [ Johan Kiviniemi ]
475
476
477
  * 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
478
  * src/mountall.c: Handle TAG_UNKNOWN.  LP: #505748.
479
  * src/mountall.c: Ensure boredom_timer is set to NULL when freeing
480
481
  * src/mountall.c: Default to no action for boredom query if prompt fails.
    LP: #505530.
482

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

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

487
488
  * 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
489

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

Scott James Remnant's avatar
Scott James Remnant committed
492
mountall (2.2) lucid; urgency=low
493
494
495
496

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

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

Scott James Remnant's avatar
Scott James Remnant committed
499
mountall (2.1) lucid; urgency=low
500
501
502
503
504
505
506
507
508
509

  * 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)
510
511
  * Don't assert() when skip_mount() called on a filesystem that needs to
    be remounted.
512
  * Don't trigger the swap event more than once.
513
514
515
  * 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!
516
517
518
  * 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.
519
  * Start maintenance shell should mountall crash.
520

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

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

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

571
  [ Johan Kiviniemi ]
572
  * Start all fsck instances in parallel, but set their priorities so that
573
    thrashing is avoided.  LP: #491389.
574

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

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

579
580
  * Update to use external libnih.
  * Updated autoconf details at same time to match libnih.
581
582
  * rcS is a job, not an event.  LP: #456806.

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

Scott James Remnant's avatar
Scott James Remnant committed
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
858
859
860
861
862
863
864
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