[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-24 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 229-4ubuntu21.5

---
systemd (229-4ubuntu21.5) xenial; urgency=medium

  [ Dimitri John Ledkov ]
  * systemctl: correctly proceed to immediate shutdown if scheduling fails
(LP: #1670291)
  * hwdb: update micmute on Dell laptops. (LP: #1738153)
  * hwdb: Use wlan keycode for all Dell systems. (LP: #1762385)
  * units: Disable journald Watchdog (LP: #1773148)

  [ Mauricio Faria de Oliveira ]
  * core: Fix for service to enter the 'failed' state (rather than 'inactive') 
after it repeatedly fails restart.
(LP: #1795658)

  [ Dimitri John Ledkov ]
  * Disable dh_installinit generation of tmpfiles for the systemd package.
(LP: #1748147)

 -- Dimitri John Ledkov   Mon, 08 Oct 2018 16:10:42
+0100

** Changed in: systemd (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-15 Thread Dan Streetman
ubuntu@lp1748147:~$ dpkg -l systemd | grep systemd
ii  systemd229-4ubuntu21.4 amd64system and service manager
ubuntu@lp1748147:~$ ls -lad /var/log
drwxrwxr-x 7 root syslog 4096 Oct 15 16:32 /var/log

ubuntu@lp1748147:~$ sudo apt install --reinstall systemd
...
ubuntu@lp1748147:~$ ls -lad /var/log
drwxr-xr-x 7 root syslog 4096 Oct 15 16:32 /var/log



ubuntu@lp1748147:~$ dpkg -l systemd | grep systemd
ii  systemd229-4ubuntu21.5 amd64system and service manager
ubuntu@lp1748147:~$ ls -lad /var/log
drwxrwxr-x 7 root syslog 4096 Oct 15 16:32 /var/log

ubuntu@lp1748147:~$ sudo apt install --reinstall systemd
...
ubuntu@lp1748147:~$ ls -lad /var/log
drwxrwxr-x 7 root syslog 4096 Oct 15 16:32 /var/log


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

** Tags removed: sts-sru-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-10 Thread Robie Basak
Hello Nick, or anyone else affected,

Accepted systemd into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/229-4ubuntu21.5 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemd (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags removed: verification-done
** Tags added: verification-needed verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-08 Thread Dimitri John Ledkov
** Description changed:

  [Impact]
  
- /var/log's Permission is going back to 755
- after upgrading systemd
- if there are rsyslog's configuration on /var/lib/tmpfiles.d/
+ /var/log's Permission is going back to 755 after upgrading systemd
+ if rsyslog is installed (default)
  
- Affected X, A, B, C
+ [Resolution]
+ Ensure that dh_installinit does not "helpfully" generate partial 
systemd-tmpfiles snippets in systemd package postinst.
  
- This is because rsyslog's pkg has 00rsyslog.conf and copied it on 
/var/lib/tmpfiles.d/ when it is installing.
- after upgrading systemd, systemd only refresh it's own tmpfiles so disappear 
conf for 00rsyslog.conf ( it doesn't remove file itself )
- so, systemd-tmpfiles --create /var/lib/tmpfiles.d/00rsyslog.conf back 
permission to 775
+ Ensure that a generic systemd-tmpfiles call is done in systemd postinst,
+ which takes into account /all/ configurations, not just some.
  
  [Test Case]
  
- 1. deploy 16.04 vm
- 2. check ll /var (775)
+ 1. Launch xenila container
+ 2. ls -latr /var
  3. apt install --reinstall systemd
- 4. check ll /var (755)
+ 4. ls -latr /var
  
- [Regression Potential]
- This fix changes debhelper's override process by using absolute path to 
filename. so if the other pkgs using debhelper e.g systemd are there, It should 
be re-build with new debhelper after patching in theory, now only systemd is 
affected. but building is not affected. also, pkg like rsyslog which is using 
systemd's tmpfile system need to be changed to use 
/etc/tmpfiles.d/[SAME_FILENAME_IN_VAR_LIB_TMPFILES.D_FOR_OVERRIDING] instead of 
00rsyslog.conf.
- 
- [Others]
- 
- For this issue, need to fix below pkgs
- 
- debhelper
- systemd ( rebuilding with new debhelper is needed )
- rsyslog ( 00rsyslog.conf to var.conf and location should be /etc/tmpfiles.d, 
to support override supported by debhelper )
- 
- [Original description]
- 
- Upgrading or reinstalling the systemd package when using rsyslogd
- results in bad permissions (0755 instead of 0775) being set on
- /var/log/. As a consequence of this, rsyslogd can no longer create new
- files within this directory, resulting in lost log messages.
- 
- The default configuration of rsyslogd provided by Ubuntu runs the daemon
- as syslog:syslog and sets ownership of /var/log to syslog:adm with mode
- 0775.
- 
- Systemd's default tmpfiles configuration sets /var/log to 0755 in
- /usr/lib/tmpfiles.d/var.conf, however this is overridden in
- /usr/lib/tmpfiles.d/00rsyslog.conf which is provided by package rsyslog.
- 
- It looks as though an upgrade of the systemd package fails to take
- /usr/lib/tmpfiles.d/00rsyslog.conf into account, as demonstrated below.
- This results in /var/log receiving mode 0755 instead of the expected
- 0775:
- 
- nick @ log2.be1.ams1:~ $ lsb_release -a
- No LSB modules are available.
- Distributor ID:   Ubuntu
- Description:  Ubuntu 16.04.3 LTS
- Release:  16.04
- Codename: xenial
- 
- nick @ log2.be1.ams1:~ $ apt policy systemd
- systemd:
-   Installed: 229-4ubuntu21.1
-   Candidate: 229-4ubuntu21.1
-   Version table:
-  *** 229-4ubuntu21.1 500
- 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
- 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
- 100 /var/lib/dpkg/status
-  229-4ubuntu4 500
- 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
- 
- nick @ log2.be1.ams1:~ $ apt policy rsyslog
- rsyslog:
-   Installed: 8.16.0-1ubuntu3
-   Candidate: 8.16.0-1ubuntu3
-   Version table:
-  *** 8.16.0-1ubuntu3 500
- 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
- 100 /var/lib/dpkg/status
- 
- nick @ log2.be1.ams1:~ $ grep -F /var/log /usr/lib/tmpfiles.d/var.conf
- d /var/log 0755 - - -
- f /var/log/wtmp 0664 root utmp -
- f /var/log/btmp 0600 root utmp -
- 
- nick @ log2.be1.ams1:~ $ cat /usr/lib/tmpfiles.d/00rsyslog.conf
- # Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
- # the syslog group, so that rsyslog can run as user.
- # See tmpfiles.d(5) for details.
- 
- # Type PathMode UID  GID  Age Argument
- d /var/log 0775 root syslog -
- 
- nick @ log2.be1.ams1:~ $ ls -ld /var/log
- drwxrwxr-x 8 root syslog 4096 Feb  7 13:45 /var/log
- 
- nick @ log2.be1.ams1:~ $ sudo apt install --reinstall systemd
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
- Need to get 3,634 kB of archives.
- After this operation, 0 B of additional disk space will be used.
- Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd 
amd64 229-4ubuntu21.1 [3,634 kB]
- Fetched 3,634 kB in 0s (24.3 MB/s)
- (Reading database ... 86614 files and directories currently installed.)
- Preparing to unpack .../systemd_229-4ubuntu21.1_amd64.deb ...
- Unpacking systemd (229-4ubuntu21.1) over (229-4ubuntu21.1) ...
- Processing triggers for d

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-06 Thread Francis Ginther
** Tags added: id-5bb78e0e0301523fc02398fc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-10-01 Thread Dan Streetman
@xnox, can you SRU to xenial please.

** Changed in: systemd (Ubuntu Artful)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-08-27 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 239-7ubuntu4

---
systemd (239-7ubuntu4) cosmic; urgency=medium

  * Workaround broken meson copying symlinked data files, as dangling
symlinks.

 -- Dimitri John Ledkov   Wed, 22 Aug 2018 14:11:35
+0100

** Changed in: systemd (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-19 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 237-3ubuntu10.2

---
systemd (237-3ubuntu10.2) bionic; urgency=medium

  * logind: backport v238/v239 fixes for handling DRM devices.
These changes introduce all the fixes that correct handling of open fd's
related to the DRM devices, as used by for example NVIDIA GPUs. This 
backport
includes some refactoring, corrections, and comment updates. This to insure
that correct history is preserved, code comments match reality, and to ease
backporting logind fixes in the future SRUs. (LP: #1777099)
  * Disable dh_installinit generation of tmpfiles for the systemd package.
Replace with a manual safe call to systemd-tmpfiles which will process any
updates to the tmpfiles shipped by systemd package, taking into account any
overrides shipped by other packages, sysadmin, or specified in the runtime
directories. (LP: #1748147)

systemd (237-3ubuntu10.1) bionic; urgency=medium

  [ Dimitri John Ledkov ]
  * hwdb: Fix wlan/rfkill keycode on Dell systems. (LP: #1762385)
  * Cherrypick upstream fix for corrected detection of Virtualbox & Xen.
(LP: #1768104)
  * Further improve captive portal workarounds.
Retry any NXDOMAIN results with lower feature levels, instead of just those
with 'secure' in the domain name. (LP: #1766969)

  [ Michael Biebl ]
  * Add dependencies of libsystemd-shared to Pre-Depends.
This is necessary so systemctl is functional at all times during a
dist-upgrade. (Closes: #897986) (LP: #1771791)

  [ Mario Limonciello ]
  * Fix hibernate disk offsets.
Configure resume offset via sysfs, to enable resume from a swapfile.
(LP: #1760106)

 -- Dimitri John Ledkov 🌈   Fri, 22 Jun 2018 13:55:09
+0100

** Changed in: systemd (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-17 Thread Dimitri John Ledkov
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-12 Thread Nivedita Singhvi
Waiting on Xenial update for this...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-09 Thread Nivedita Singhvi
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-09 Thread Nivedita Singhvi
Tested, works.

Repro (Xenial):
# dpkg -l | grep systemd
ii  systemd  229-4ubuntu21.2
amd64system and service manager

/var# ll
drwxrwxr-x  8 root syslog 4096 Jul  9 06:25 log/  <--775

# apt install --reinstall systemd

/var# ll
drwxr-xr-x  8 root syslog 4096 Jul  9 06:25 log/  <-- 755


Bionic (Verified):
# dpkg -l | grep systemd
ii  systemd   237-3ubuntu10.2   
amd64system and service manager

/var# ll
drwxrwxr-x  8 root syslog 4096 Jul  9 13:09 log/<-- 775

# apt install --reinstall systemd
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 2895 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 systemd amd64 
237-3ubuntu10.2 [2895 kB]
...

/var# ll
drwxrwxr-x  8 root syslog 4096 Jul  9 13:09 log/ <-- 775

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-06 Thread Nivedita Singhvi
I will be testing the updated systemd and will update the bug here once
validated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-03 Thread Sebastien Bacher
looks like that has been uploaded? unsubscribing the sponsors

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-07-03 Thread Steve Langasek
Hello Nick, or anyone else affected,

Accepted systemd into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemd (Ubuntu Bionic)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-21 Thread Dimitri John Ledkov 🌈
Proposed fix in systemd. Run systemd-tmpfiles, during postinst, the way
it would be run on boot, such that all base files are correct, including
any overrides shipped by any other package; systemd; in transient
runtime dir.

At the same time, the dh_installinit is silenced to not produce the
systemd-tmpfiles snippet which this package does not need.

This solves the issue of integration with rsyslog; generically; without
requiring to backport debhelper, nor change rsyslog package.

** Changed in: rsyslog (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: rsyslog (Ubuntu Xenial)
   Status: Confirmed => Invalid

** Changed in: rsyslog (Ubuntu Artful)
   Status: Confirmed => Invalid

** Changed in: rsyslog (Ubuntu Bionic)
   Status: Confirmed => Invalid

** Changed in: systemd (Ubuntu)
   Status: Confirmed => Fix Committed

** Patch added: "lp1748147.diff"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1748147/+attachment/5155096/+files/lp1748147.diff

** Changed in: debhelper (Ubuntu Bionic)
   Status: In Progress => Won't Fix

** Changed in: debhelper (Ubuntu Bionic)
 Assignee: Seyeong Kim (xtrusia) => (unassigned)

** Changed in: debhelper (Ubuntu Artful)
   Status: In Progress => Won't Fix

** Changed in: debhelper (Ubuntu Artful)
 Assignee: Seyeong Kim (xtrusia) => (unassigned)

** Changed in: debhelper (Ubuntu Xenial)
   Status: In Progress => Won't Fix

** Changed in: debhelper (Ubuntu Xenial)
 Assignee: Seyeong Kim (xtrusia) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: rsyslog (Ubuntu Bionic)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu Bionic)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: rsyslog (Ubuntu Artful)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu Artful)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: rsyslog (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu Xenial)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Brian Murray
I've rejected the uploads in -proposed to declutter the queues and save
some other SRU team member's time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: rsyslog (Ubuntu Xenial)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Seyeong Kim
FYI

systemd-tmpfiles command running when installing or upgrading systemd

is in debhelper pkg

cat autoscripts/postinst-init-tmpfiles
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
if [ -d /run/systemd/system ] ; then
systemd-tmpfiles --create #TMPFILES# >/dev/null || true
fi
fi

#TMPFILES# has list of tmpfiles conf file owned by systemd only.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Robie Basak
I didn't see this as a bug in debhelper because, based on the Debian
bug, it seems to me that the use case of one package's tmpfiles.d/ file
overriding another was not considered, even if systemd can handle it
underneath. From that perspective, debhelper supporting lexical sort
based overriding is a feature request in debhelper, not a bug; and
rsyslog packaging relying on an unimplemented debhlper "feature" is the
bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Dimitri John Ledkov
There are multiple bugs here.

I do not believe testcase of the rsyslog <-> systemd is wrong, and
whilst debhelper support is good, is not what would fix rsyslog <->
systemd in Ubuntu.

** Also affects: systemd (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: systemd (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: systemd (Ubuntu)
   Status: New => Confirmed

** Also affects: rsyslog (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Seyeong Kim
@racb, adconrad

Yes, exactly...

As you can see debian bugs.

In the beginning, I meant to fix it like that 
e.g running systemd-tmpfiles for all files in /var/lib/tmpfiles.d/ not just for 
systemd defined files, by running it without argument

But the maintainer didn't accept mine, you can check debian discussion.

I think we can fix this separately from debian?
If we can, i can upload that patch. I tested it as well. and it worked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Adam Conrad
Also, in a discussion with xnox, this turns out to perhaps also be a
systemd bug in that it shouldn't be touching that at all.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Adam Conrad
Yeah, this is not remotely a sane solution for this bug.  The real bug
appears to be that we're not processing all the tmpfiles.d snippets on
upgrade.  Having one package override another by using /etc is Very
Wrong.  The bug here is certainly still in debhelper, but it's that we
think that running "systemd-tmpfiles /path/to/config.conf" is a useful
thing to do.  The only correct way to process systemd-tmpfiles configs
is as a whole, because order matters.  First always wins (hence why
00rsyslogd.conf comes before vars.conf), and this works correctly on
boot.

This debconf snippet should really just be re-running systemd-tmpfiles
without arguments when installing packages that install tmpfiles.d
snippets, probably.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-06 Thread Robie Basak
> so rsyslogd's 00rsyslogd.conf filename need to be changed to var.conf
and target should be /etc/tmpfiles.d/ instead of /var/lib/tmpfiles.d/

This doesn't seem right to me. The point of the use of /etc/tmpfiles.d/
is for local sysadmin override, not an override from a different
package. Having different packages use different directories will just
lead to a mess.

I'm also doubtful about changing debhelper's behaviour in a stable
release when this isn't really a bug in debhelper in the first place.
Can this be fixed differently in the stable releases - by adjusting
maintainer scripts more directly, for example?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Seyeong Kim
Hello sil2100.

Sorry for making confusion.
I describe it in detail.

This patch changes tmpfile path from absolute path to filename(only).
so, they now support override feature if we put tmpfile conf to /etc/tmpfiles.d/

but in this situation, we need to set same filename as
/var/lib/tmpfiles.d/[something] for using override.

For this override feature, debhelper need to be patched. and systemd
need to be rebuilt.

but even if systemd is not rebuit, it is working find as like before.

For rsyslogd ( and pkg like this ), it copies 00rsyslogd.conf file to
/var/lib/tmpfiles.d/ directly. it works until systemd restarting. when
restarting systemd, it recall tmpfiles conf files only systemd has, so
in this time 00rsyslogd.conf is ignored. Then /var/log's permission is
changed back to 755 (need 775)

so rsyslogd's 00rsyslogd.conf filename need to be changed to var.conf
and target should be /etc/tmpfiles.d/ instead of /var/lib/tmpfiles.d/

even if rsyslogd(or pkg like this ) is not patched, it works with
current issue ( as this LP ).

Please let me know if you have anything.

I'll update description based on this comment if you are fine with this.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Seyeong Kim
** Description changed:

  [Impact]
  
  /var/log's Permission is going back to 755
  after upgrading systemd
  if there are rsyslog's configuration on /var/lib/tmpfiles.d/
  
  Affected X, A, B, C
  
  This is because rsyslog's pkg has 00rsyslog.conf and copied it on 
/var/lib/tmpfiles.d/ when it is installing.
  after upgrading systemd, systemd only refresh it's own tmpfiles so disappear 
conf for 00rsyslog.conf ( it doesn't remove file itself )
  so, systemd-tmpfiles --create /var/lib/tmpfiles.d/00rsyslog.conf back 
permission to 775
  
  [Test Case]
  
  1. deploy 16.04 vm
  2. check ll /var (775)
  3. apt install --reinstall systemd
  4. check ll /var (755)
  
  [Regression Potential]
- This fix changes debhelper's override process by using absolute path to 
filename. so if the other pkgs using debhelper e.g systemd are there, It should 
be re-build with new debhelper after patching. also, pkg like rsyslog which is 
using systemd's tmpfile system need to be changed to use 
/etc/tmpfiles.d/[SAME_FILENAME_IN_VAR_LIB_TMPFILES.D_FOR_OVERRIDING] instead of 
00rsyslog.conf.
+ This fix changes debhelper's override process by using absolute path to 
filename. so if the other pkgs using debhelper e.g systemd are there, It should 
be re-build with new debhelper after patching in theory, now only systemd is 
affected. but building is not affected. also, pkg like rsyslog which is using 
systemd's tmpfile system need to be changed to use 
/etc/tmpfiles.d/[SAME_FILENAME_IN_VAR_LIB_TMPFILES.D_FOR_OVERRIDING] instead of 
00rsyslog.conf.
  
  [Others]
  
  For this issue, need to fix below pkgs
  
  debhelper
  systemd ( rebuilding with new debhelper is needed )
  rsyslog ( 00rsyslog.conf to var.conf and location should be /etc/tmpfiles.d, 
to support override supported by debhelper )
  
  [Original description]
  
  Upgrading or reinstalling the systemd package when using rsyslogd
  results in bad permissions (0755 instead of 0775) being set on
  /var/log/. As a consequence of this, rsyslogd can no longer create new
  files within this directory, resulting in lost log messages.
  
  The default configuration of rsyslogd provided by Ubuntu runs the daemon
  as syslog:syslog and sets ownership of /var/log to syslog:adm with mode
  0775.
  
  Systemd's default tmpfiles configuration sets /var/log to 0755 in
  /usr/lib/tmpfiles.d/var.conf, however this is overridden in
  /usr/lib/tmpfiles.d/00rsyslog.conf which is provided by package rsyslog.
  
  It looks as though an upgrade of the systemd package fails to take
  /usr/lib/tmpfiles.d/00rsyslog.conf into account, as demonstrated below.
  This results in /var/log receiving mode 0755 instead of the expected
  0775:
  
  nick @ log2.be1.ams1:~ $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04
  Codename: xenial
  
  nick @ log2.be1.ams1:~ $ apt policy systemd
  systemd:
    Installed: 229-4ubuntu21.1
    Candidate: 229-4ubuntu21.1
    Version table:
   *** 229-4ubuntu21.1 500
  500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
  100 /var/lib/dpkg/status
   229-4ubuntu4 500
  500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  
  nick @ log2.be1.ams1:~ $ apt policy rsyslog
  rsyslog:
    Installed: 8.16.0-1ubuntu3
    Candidate: 8.16.0-1ubuntu3
    Version table:
   *** 8.16.0-1ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  100 /var/lib/dpkg/status
  
  nick @ log2.be1.ams1:~ $ grep -F /var/log /usr/lib/tmpfiles.d/var.conf
  d /var/log 0755 - - -
  f /var/log/wtmp 0664 root utmp -
  f /var/log/btmp 0600 root utmp -
  
  nick @ log2.be1.ams1:~ $ cat /usr/lib/tmpfiles.d/00rsyslog.conf
  # Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
  # the syslog group, so that rsyslog can run as user.
  # See tmpfiles.d(5) for details.
  
  # Type PathMode UID  GID  Age Argument
  d /var/log 0775 root syslog -
  
  nick @ log2.be1.ams1:~ $ ls -ld /var/log
  drwxrwxr-x 8 root syslog 4096 Feb  7 13:45 /var/log
  
  nick @ log2.be1.ams1:~ $ sudo apt install --reinstall systemd
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
  Need to get 3,634 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd 
amd64 229-4ubuntu21.1 [3,634 kB]
  Fetched 3,634 kB in 0s (24.3 MB/s)
  (Reading database ... 86614 files and directories currently installed.)
  Preparing to unpack .../systemd_229-4ubuntu21.1_amd64.deb ...
  Unpacking systemd (229-4ubuntu21.1) over (229-4ubuntu21.1) ...
  Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  Processing triggers for urea

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Łukasz Zemczak
I'm a bit confused with the description of the bug. The description
mentions requiring a rebuild of any affected package, like systemd, for
the fix to work - do I understand this correctly? How many packages will
need to be rebuilt? Since you mention the need of changing paths, is
there risk that after this lands some packages stop building correctly
without modification of their source?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Eric Desrochers
Sponsored for B,A,X

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Eric Desrochers
After a few retried attempts, all the regressions passed, making the new
debhelper in Cosmic a "Valid candidate" now.

# excuses... page
debhelper (11.2.1ubuntu1 to 11.2.1ubuntu2)
Maintainer: Ubuntu Developers
5 days old

Valid candidate

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-06-04 Thread Launchpad Bug Tracker
This bug was fixed in the package debhelper - 11.2.1ubuntu2

---
debhelper (11.2.1ubuntu2) cosmic; urgency=medium

  * [d24b1734] Support overrides in tmpfiles.d (LP: #1748147)
- dh_installsystemd: Use the basename of the "tmpfiles" config
  files.  This makes "systemd-tmpfiles --create" search for it
  in both /usr/lib/tmpfiles.d and in /etc/tmpfiles.d. With
  this change the system administrator can now override the
  "tmpfiles" config shipped by the package in
  /usr/libtmpfiles.d.
- dh_installinit: Ditto.

 -- Seyeong Kim   Thu, 24 May 2018 22:19:34
-0700

** Changed in: debhelper (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-31 Thread Eric Desrochers
== Cosmic : excuse page regression ==

# From excuses... page

* autopkgtest for autopkgtest/5.3.1: amd64: Pass, arm64: Pass, armhf:
Pass, i386: Regression ♻ , ppc64el: Pass, s390x: Pass[1]

There was 2 regression for autopkgtest, I was able to make the amd64 pass after 
4 attempts. After 5 attempts for i386, it still fails.
The failure as nothing to do with the uploaded patch. It's seems to be a 
network glitch during the autopkgtest. I guess it will succeed eventually at 
restarting the test over and over again just like it did for 'amd64'.

* autopkgtest for dahdi-linux/1:2.11.1~dfsg-1ubuntu4: amd64: Pass,
arm64: Always failed, armhf: Pass, i386: Regression ♻ , ppc64el: Always
failed, s390x: Ignored failure[2]

Other architecture (arm64,ppc64el) set to 'Always failed' fails the
exact same way. Last one it succeeded was with kernel 4.15.0-20[3]

[1] buildlogs
Network lxdbr0 created
Storage pool default created
Device root added to default
Creating autopkgtest-prepare-3fF
Error: Failed container creation: Get 
https://images.linuxcontainers.org/streams/v1/index.json: Unable to connect to: 
images.linuxcontainers.org:443

Error: not found

[2] buildlogs
Building for 4.15.0-22-generic
Building for architecture i686
Building initial module for 4.15.0-22-generic
Error!  Build of dahdi_vpmadt032_loader.ko failed for: 4.15.0-22-generic (i686)
Consult the make.log in the build directory


[3] - 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-cosmic/cosmic/i386/d/dahdi-linux/20180502_155702_8fd1e@/log.gz

With that being said, I think it is safe to release debhelper for cosmic
to make it a 'Valid Candidate'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-31 Thread Eric Desrochers
I'll contact the release team.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-30 Thread Seyeong Kim
** Patch added: "lp1748147_xenial_v2.debdiff"
   
https://bugs.launchpad.net/debhelper/+bug/1748147/+attachment/5146377/+files/lp1748147_xenial_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-30 Thread Seyeong Kim
** Patch added: "lp1748147_bionic_v2.debdiff"
   
https://bugs.launchpad.net/debhelper/+bug/1748147/+attachment/5146379/+files/lp1748147_bionic_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-30 Thread Seyeong Kim
** Patch added: "lp1748147_artful_v2.debdiff"
   
https://bugs.launchpad.net/debhelper/+bug/1748147/+attachment/5146378/+files/lp1748147_artful_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-29 Thread Eric Desrochers
** Changed in: debhelper (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-29 Thread Eric Desrochers
Sponsored in devel release "cosmic"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-29 Thread Eric Desrochers
** Also affects: debhelper (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: debhelper (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Also affects: debhelper (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: debhelper (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: debhelper (Ubuntu Artful)
   Status: New => In Progress

** Changed in: debhelper (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: debhelper (Ubuntu Xenial)
 Assignee: (unassigned) => Seyeong Kim (xtrusia)

** Changed in: debhelper (Ubuntu Artful)
 Assignee: (unassigned) => Seyeong Kim (xtrusia)

** Changed in: debhelper (Ubuntu Bionic)
 Assignee: (unassigned) => Seyeong Kim (xtrusia)

** Changed in: debhelper (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: debhelper (Ubuntu Artful)
   Importance: Undecided => Medium

** Changed in: debhelper (Ubuntu Bionic)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-29 Thread Eric Desrochers
** Changed in: debhelper (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-25 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1748147_xenial.debdiff" seems to be a debdiff.  The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-25 Thread Seyeong Kim
** Description changed:

  [Impact]
  
  /var/log's Permission is going back to 755
  after upgrading systemd
  if there are rsyslog's configuration on /var/lib/tmpfiles.d/
  
  Affected X, A, B, C
+ 
+ This is because rsyslog's pkg has 00rsyslog.conf and copied it on 
/var/lib/tmpfiles.d/ when it is installing.
+ after upgrading systemd, systemd only refresh it's own tmpfiles so disappear 
conf for 00rsyslog.conf ( it doesn't remove file itself )
+ so, systemd-tmpfiles --create /var/lib/tmpfiles.d/00rsyslog.conf back 
permission to 775
  
  [Test Case]
  
  1. deploy 16.04 vm
  2. check ll /var (775)
  3. apt install --reinstall systemd
  4. check ll /var (755)
  
  [Regression Potential]
- This changes debhelper's override process. so if the other pkgs are using 
same technic like rsyslog pkg do, It should be changed like rsyslog
+ This fix changes debhelper's override process by using absolute path to 
filename. so if the other pkgs using debhelper e.g systemd are there, It should 
be re-build with new debhelper after patching. also, pkg like rsyslog which is 
using systemd's tmpfile system need to be changed to use 
/etc/tmpfiles.d/[SAME_FILENAME_IN_VAR_LIB_TMPFILES.D_FOR_OVERRIDING] instead of 
00rsyslog.conf.
  
  [Others]
  
  For this issue, need to fix below pkgs
  
  debhelper
  systemd ( rebuilding with new debhelper is needed )
  rsyslog ( 00rsyslog.conf to var.conf and location should be /etc/tmpfiles.d, 
to support override supported by debhelper )
  
  [Original description]
  
  Upgrading or reinstalling the systemd package when using rsyslogd
  results in bad permissions (0755 instead of 0775) being set on
  /var/log/. As a consequence of this, rsyslogd can no longer create new
  files within this directory, resulting in lost log messages.
  
  The default configuration of rsyslogd provided by Ubuntu runs the daemon
  as syslog:syslog and sets ownership of /var/log to syslog:adm with mode
  0775.
  
  Systemd's default tmpfiles configuration sets /var/log to 0755 in
  /usr/lib/tmpfiles.d/var.conf, however this is overridden in
  /usr/lib/tmpfiles.d/00rsyslog.conf which is provided by package rsyslog.
  
  It looks as though an upgrade of the systemd package fails to take
  /usr/lib/tmpfiles.d/00rsyslog.conf into account, as demonstrated below.
  This results in /var/log receiving mode 0755 instead of the expected
  0775:
  
  nick @ log2.be1.ams1:~ $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04
  Codename: xenial
  
  nick @ log2.be1.ams1:~ $ apt policy systemd
  systemd:
    Installed: 229-4ubuntu21.1
    Candidate: 229-4ubuntu21.1
    Version table:
   *** 229-4ubuntu21.1 500
  500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
  100 /var/lib/dpkg/status
   229-4ubuntu4 500
  500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  
  nick @ log2.be1.ams1:~ $ apt policy rsyslog
  rsyslog:
    Installed: 8.16.0-1ubuntu3
    Candidate: 8.16.0-1ubuntu3
    Version table:
   *** 8.16.0-1ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  100 /var/lib/dpkg/status
  
  nick @ log2.be1.ams1:~ $ grep -F /var/log /usr/lib/tmpfiles.d/var.conf
  d /var/log 0755 - - -
  f /var/log/wtmp 0664 root utmp -
  f /var/log/btmp 0600 root utmp -
  
  nick @ log2.be1.ams1:~ $ cat /usr/lib/tmpfiles.d/00rsyslog.conf
  # Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
  # the syslog group, so that rsyslog can run as user.
  # See tmpfiles.d(5) for details.
  
  # Type PathMode UID  GID  Age Argument
  d /var/log 0775 root syslog -
  
  nick @ log2.be1.ams1:~ $ ls -ld /var/log
  drwxrwxr-x 8 root syslog 4096 Feb  7 13:45 /var/log
  
  nick @ log2.be1.ams1:~ $ sudo apt install --reinstall systemd
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
  Need to get 3,634 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd 
amd64 229-4ubuntu21.1 [3,634 kB]
  Fetched 3,634 kB in 0s (24.3 MB/s)
  (Reading database ... 86614 files and directories currently installed.)
  Preparing to unpack .../systemd_229-4ubuntu21.1_amd64.deb ...
  Unpacking systemd (229-4ubuntu21.1) over (229-4ubuntu21.1) ...
  Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up systemd (229-4ubuntu21.1) ...
  addgroup: The group `systemd-journal' already exists as a system group. 
Exiting.
  
  nick @ log2.be1.ams1:~ $ ls -ld /var/log
  drwxr-xr-x 8 root syslog 4096 Feb  7 13:45 /var/log

-- 
You received t

[Bug 1748147] Re: [SRU] debhelper support override from /etc/tmpfiles.d for systemd

2018-05-24 Thread Seyeong Kim
** Summary changed:

- Upgrading systemd sets incorrect permissions on /var/log/
+ [SRU] debhelper support override from /etc/tmpfiles.d for systemd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748147

Title:
  [SRU] debhelper support override from /etc/tmpfiles.d for systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/debhelper/+bug/1748147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs