[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793587: marked as done (live-build: lb config creates symlinks in config/hooks)



Your message dated Sat, 25 Jul 2015 13:34:09 +0200
with message-id <55B37431.4050709@progress-technologies.net>
and subject line Re: Bug#793587: live-build: lb config creates symlinks in config/hooks
has caused the Debian Bug report #793587,
regarding live-build: lb config creates symlinks in config/hooks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
793587: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793587
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 4.0.5-1
Severity: normal

When I run `lb config` these symlinks are created:

$ ls -l config/hooks | awk '{print $9 $10 $11}'

0010-disable-kexec-tools.hook.chroot->/usr/share/live/build/hooks/0010-disable-kexec-tools.hook.chroot
0020-create-mtab-symlink.hook.chroot->/usr/share/live/build/hooks/0020-create-mtab-symlink.hook.chroot
0030-enable-cryptsetup.hook.chroot->/usr/share/live/build/hooks/0030-enable-cryptsetup.hook.chroot
0100-remove-adjtime-configuration.hook.chroot->/usr/share/live/build/hooks/0100-remove-adjtime-configuration.hook.chroot
0110-remove-backup-files.hook.chroot->/usr/share/live/build/hooks/0110-remove-backup-files.hook.chroot
0120-remove-dbus-machine-id.hook.chroot->/usr/share/live/build/hooks/0120-remove-dbus-machine-id.hook.chroot
0130-remove-gnome-icon-cache.hook.chroot->/usr/share/live/build/hooks/0130-remove-gnome-icon-cache.hook.chroot
0140-remove-log-files.hook.chroot->/usr/share/live/build/hooks/0140-remove-log-files.hook.chroot
0150-remove-mdadm-configuration.hook.chroot->/usr/share/live/build/hooks/0150-remove-mdadm-configuration.hook.chroot
0160-remove-openssh-server-host-keys.hook.chroot->/usr/share/live/build/hooks/0160-remove-openssh-server-host-keys.hook.chroot
0170-remove-python-py.hook.chroot->/usr/share/live/build/hooks/0170-remove-python-py.hook.chroot
0180-remove-systemd-machine-id.hook.chroot->/usr/share/live/build/hooks/0180-remove-systemd-machine-id.hook.chroot
0190-remove-temporary-files.hook.chroot->/usr/share/live/build/hooks/0190-remove-temporary-files.hook.chroot
0195-remove-ssl-cert-snakeoil.hook.chroot->/usr/share/live/build/hooks/0195-remove-ssl-cert-snakeoil.hook.chroot
0200-remove-udev-persistent-cd-rules.hook.chroot->/usr/share/live/build/hooks/0200-remove-udev-persistent-cd-rules.hook.chroot
0300-remove-udev-persistent-net-rules.hook.chroot->/usr/share/live/build/hooks/0300-remove-udev-persistent-net-rules.hook.chroot
0400-update-apt-file-cache.hook.chroot->/usr/share/live/build/hooks/0400-update-apt-file-cache.hook.chroot
0410-update-apt-xapian-index.hook.chroot->/usr/share/live/build/hooks/0410-update-apt-xapian-index.hook.chroot
0420-update-glx-alternative.hook.chroot->/usr/share/live/build/hooks/0420-update-glx-alternative.hook.chroot
0430-update-mlocate-database.hook.chroot->/usr/share/live/build/hooks/0430-update-mlocate-database.hook.chroot
0440-update-nvidia-alternative.hook.chroot->/usr/share/live/build/hooks/0440-update-nvidia-alternative.hook.chroot

It's a bug?

Another spurious (?) file created:

$ cat config/package-lists/live.list.chroot 
live-boot
live-config
live-config-systemd

I'm assuming that these file should not be there since they are not included in the .gitignore file provided in the examples.

Thanks
Federico

-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-build depends on:
ii  debootstrap  1.0.71

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-4.1
ii  live-boot-doc                   5.0~a4-1
ii  live-config-doc                 5.0~a3-1
ii  live-manual-html [live-manual]  1:5.0~a1-1

live-build suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On 07/25/2015 12:25 PM, Federico Bruni wrote:
> It's a bug?

no.

we're separating config from init in live-build 5.x though (as can be
somewhat seen in experimental).

> I'm assuming that these file should not be there since they are not included in the .gitignore file provided in the examples.

they should. it's your choice to include the files in the gitignore file
if you're re-populating the config tree with auto/* files.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

--- End Message ---

Reply to: