icecast.xml is not created when its not present

Bug #2073022 reported by Deniil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icecast2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Probably caused by an attempt to fix this bug: https://bugs.launchpad.net/ubuntu/+source/icecast2/+bug/1980241

apt won't create icecast.xml when it doesn't exist.

```
root@emity-gaming:/# apt install icecast2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bridge-utils dns-root-data dnsmasq-base libbloom1 libcork16 libcorkipset1 libev4 libjsonparser1.1
  linux-headers-6.5.0-15 linux-headers-6.5.0-15-generic linux-headers-6.5.0-17 linux-headers-6.5.0-17-generic
  linux-headers-6.5.0-26 linux-headers-6.5.0-26-generic linux-image-5.15.0-92-generic linux-image-6.5.0-15-generic
  linux-image-6.5.0-17-generic linux-image-6.5.0-26-generic linux-modules-5.15.0-92-generic
  linux-modules-6.5.0-15-generic linux-modules-6.5.0-17-generic linux-modules-6.5.0-26-generic
  linux-modules-extra-5.15.0-92-generic linux-modules-extra-6.5.0-15-generic linux-modules-extra-6.5.0-17-generic
  linux-modules-extra-6.5.0-26-generic ubuntu-fan wmdocker
Use 'apt autoremove' to remove them.
Suggested packages:
  ices2
The following NEW packages will be installed:
  icecast2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,326 kB of archives.
After this operation, 2,065 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package icecast2.
(Reading database ... 304182 files and directories currently installed.)
Preparing to unpack .../icecast2_2.4.4-4build1_amd64.deb ...
Unpacking icecast2 (2.4.4-4build1) ...
Setting up icecast2 (2.4.4-4build1) ...
chgrp: cannot access '/etc/icecast2/icecast.xml': No such file or directory
dpkg: error processing package icecast2 (--configure):
 installed icecast2 package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-3) ...
Errors were encountered while processing:
 icecast2
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Deniil (cyberplebeian)
description: updated
Revision history for this message
Deniil (cyberplebeian) wrote :

Also /etc/icecast/web and /etc/icecast/admin are empty

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.