Merge ~ogayot/ubuntu/+source/sysvinit:merge-lp2018596-mantic into ubuntu/+source/sysvinit:ubuntu/devel

Proposed by Olivier Gayot
Status: Superseded
Proposed branch: ~ogayot/ubuntu/+source/sysvinit:merge-lp2018596-mantic
Merge into: ubuntu/+source/sysvinit:ubuntu/devel
Diff against target: 184 lines (+147/-0) (has conflicts)
5 files modified
debian/changelog (+28/-0)
debian/patches/0001-Fix-pidof-not-following-symlinks-regression.patch (+27/-0)
debian/patches/0008-Fixed-memory-initialization-error-in-pidof.patch (+21/-0)
debian/patches/series (+2/-0)
debian/po/ro.po (+69/-0)
Conflict in debian/changelog
Reviewer Review Type Date Requested Status
git-ubuntu import Pending
Review via email: mp+442511@code.launchpad.net

This proposal has been superseded by a proposal from 2023-05-09.

To post a comment you must log in.

Unmerged commits

c5340e8... by Olivier Gayot

update-maintainer

9d7a972... by Olivier Gayot

reconstruct-changelog

df46bc4... by Olivier Gayot

merge-changelogs

d5a5210... by Olivier Gayot

d/rules: fix installation of 50-ubuntu-logging when building on Ubuntu

79e137f... by Olivier Gayot

Adjust debian/rules to fix an arch: all build failure

898b912... by Olivier Gayot

When building for Ubuntu, skip all binaries except for sysvinit-utils

Fix absence of changelog.Debian.gz in sysvinit-utils binary package

af20629... by Mark Hindley <email address hidden>

3.06-4 (patches unapplied)

Imported using git-ubuntu import.

fd5546f... by Mark Hindley <email address hidden>

3.06-3 (patches unapplied)

Imported using git-ubuntu import.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index a05f3c6..319c2ca 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,31 @@
6+<<<<<<< debian/changelog
7+=======
8+sysvinit (3.06-4ubuntu1) mantic; urgency=medium
9+
10+ * Merge with Debian unstable (LP: #2018596). Remaining changes:
11+ - When building for Ubuntu, skip all binaries except for sysvinit-utils
12+ - Adjust debian/rules to fix an arch: all build failure
13+ - d/rules: fix installation of 50-ubuntu-logging when building on Ubuntu
14+
15+ -- Olivier Gayot <olivier.gayot@canonical.com> Sun, 07 May 2023 01:04:33 +0200
16+
17+sysvinit (3.06-4) unstable; urgency=medium
18+
19+ * Add Romanian debconf translations with thanks to Remus-Gabriel Chelu
20+ <remusgabriel.chelu@disroot.org>. (Closes: #1033723)
21+
22+ -- Mark Hindley <leepen@debian.org> Mon, 03 Apr 2023 07:25:22 +0100
23+
24+sysvinit (3.06-3) unstable; urgency=medium
25+
26+ * Cherry pick hunk from upstream to fix regression in pidof not matching
27+ symlinks. (Closes: #1033311)
28+ * Cherry pick upstream patch to fix memory initialisation in pidof.
29+ (Closes: #1033311)
30+
31+ -- Mark Hindley <leepen@debian.org> Thu, 30 Mar 2023 13:59:53 +0100
32+
33+>>>>>>> debian/changelog
34 sysvinit (3.06-2ubuntu1) lunar; urgency=medium
35
36 * Merge with Debian unstable (LP: #2007421). Remaining changes:
37diff --git a/debian/patches/0001-Fix-pidof-not-following-symlinks-regression.patch b/debian/patches/0001-Fix-pidof-not-following-symlinks-regression.patch
38new file mode 100644
39index 0000000..80184a0
40--- /dev/null
41+++ b/debian/patches/0001-Fix-pidof-not-following-symlinks-regression.patch
42@@ -0,0 +1,27 @@
43+From 93da64d13380b29fd330608493615f8877525494 Mon Sep 17 00:00:00 2001
44+From: Jesse <jsmith@resonatingmedia.com>
45+Date: Wed, 29 Mar 2023 10:34:45 -0300
46+Subject: [PATCH] Accepted patch from Mark Hindle which avoids clearing
47+ realpath information in pidof when trying to find matching executables.
48+
49+---
50+ src/killall5.c | 2 +-
51+ 1 files changed, 1 insertions(+), 1 deletions(-)
52+
53+diff --git a/src/killall5.c b/src/killall5.c
54+index 9ab0782a..6f7528ad 100644
55+--- a/src/killall5.c
56++++ b/src/killall5.c
57+@@ -740,8 +740,8 @@ PIDQ_HEAD *pidof(char *prog)
58+ return NULL;
59+
60+ /* Try to stat the executable. */
61++ memset(real_path, 0, sizeof(real_path));
62+ if ( (prog[0] == '/') && ( realpath(prog, real_path) ) ) {
63+- memset(&real_path[0], 0, sizeof(real_path));
64+ dostat++;
65+ }
66+
67+--
68+2.39.2
69+
70diff --git a/debian/patches/0008-Fixed-memory-initialization-error-in-pidof.patch b/debian/patches/0008-Fixed-memory-initialization-error-in-pidof.patch
71new file mode 100644
72index 0000000..efc553b
73--- /dev/null
74+++ b/debian/patches/0008-Fixed-memory-initialization-error-in-pidof.patch
75@@ -0,0 +1,21 @@
76+From: Jesse <jsmith@resonatingmedia.com>
77+Date: Fri, 24 Mar 2023 11:18:02 -0300
78+Subject: Fixed memory initialization error in pidof.
79+
80+Fix provided by Markus Fischer.
81+---
82+ src/killall5.c | 1 +
83+ 1 file changed, 1 insertion(+)
84+
85+diff --git a/src/killall5.c b/src/killall5.c
86+index ccc43e9..9aafd27 100644
87+--- a/src/killall5.c
88++++ b/src/killall5.c
89+@@ -662,6 +662,7 @@ int readproc()
90+ /* Try to stat the executable. */
91+ snprintf(path, sizeof(path), "/proc/%s/exe", d->d_name);
92+ p->pathname = (char *)xmalloc(PATH_MAX);
93++ memset(p->pathname, 0, PATH_MAX);
94+ if (readlink(path, p->pathname, PATH_MAX) == -1) {
95+ p->pathname = NULL;
96+ }
97diff --git a/debian/patches/series b/debian/patches/series
98index bc9942e..136598d 100644
99--- a/debian/patches/series
100+++ b/debian/patches/series
101@@ -1,6 +1,8 @@
102+0001-Fix-pidof-not-following-symlinks-regression.patch
103 set-po4a-keep.patch
104 11_run_nologin.patch
105 0002-Fix-FTBFS-on-kfreebsd-any.patch
106 0005-workaround-gcc-lintian.patch
107 fstab-decode.man.patch
108 fix-shutdown-time-docs.diff
109+0008-Fixed-memory-initialization-error-in-pidof.patch
110diff --git a/debian/po/ro.po b/debian/po/ro.po
111new file mode 100644
112index 0000000..e560551
113--- /dev/null
114+++ b/debian/po/ro.po
115@@ -0,0 +1,69 @@
116+# Mesajele în limba română pentru pachetul sysvinit.
117+# Romanian translation of sysvinit.
118+# Copyright © 2023 THE PACKAGE'S COPYRIGHT HOLDER
119+# This file is distributed under the same license as the sysvinit package.
120+#
121+# Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>, 2023.
122+#
123+# Cronologia traducerii fișierului „sysvinit”:
124+# Traducerea inițială, făcută de R-GC, pentru versiunea sysvinit 3.06-2(2018-10-26).
125+# Actualizare a traducerii pentru versiunea Y, făcută de X, Y(anul).
126+#
127+msgid ""
128+msgstr ""
129+"Project-Id-Version: sysvinit 3.06-2\n"
130+"Report-Msgid-Bugs-To: sysvinit@packages.debian.org\n"
131+"POT-Creation-Date: 2018-10-26 08:14+0000\n"
132+"PO-Revision-Date: 2023-03-26 17:16+0200\n"
133+"Last-Translator: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>\n"
134+"Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
135+"Language: ro\n"
136+"MIME-Version: 1.0\n"
137+"Content-Type: text/plain; charset=UTF-8\n"
138+"Content-Transfer-Encoding: 8bit\n"
139+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n==0 || (n!=1 && n%100>=1 && "
140+"n%100<=19) ? 1 : 2);\n"
141+"X-Bugs: Report translation errors to the Language-Team address.\n"
142+"X-Generator: Poedit 3.2.2\n"
143+
144+#. Type: boolean
145+#. Description
146+#: ../sysvinit-core.templates:1001
147+msgid "Update getty pathnames and add hurd-console?"
148+msgstr "Doriți să actualizați căile „getty” și adăugați consola „hurd”?"
149+
150+#. Type: boolean
151+#. Description
152+#: ../sysvinit-core.templates:1001
153+msgid ""
154+"Your /etc/inittab seems to use /libexec/getty as getty and/or to miss hurd-"
155+"console entry. The default inittab has been changed, however your /etc/inittab "
156+"has been modified. Note that sysvinit has not been used to boot an Hurd system "
157+"for long, so any errors in that file would not have shown up earlier."
158+msgstr ""
159+"„/etc/inittab” pare să folosească «/libexec/getty» ca «getty» și/sau să-i "
160+"lipsească intrarea „hurd-console”. Fișierul „inittab” implicit a fost schimbat, "
161+"însă fișierul dvs. „/etc/inittab” nu a fost modificat. Rețineți că sysvinit nu "
162+"a fost folosit pentru a porni un sistem Hurd de mult timp, astfel încât orice "
163+"eroare din acel fișier nu ar fi apărut mai devreme."
164+
165+#. Type: boolean
166+#. Description
167+#: ../sysvinit-core.templates:1001
168+msgid ""
169+"If you allow this change, a backup will be stored in /etc/inittab.dpkg-old."
170+msgstr ""
171+"Dacă permiteți această modificare, o copie de rezervă va fi stocată în „/etc/"
172+"inittab.dpkg-old”."
173+
174+#. Type: boolean
175+#. Description
176+#: ../sysvinit-core.templates:1001
177+msgid ""
178+"If you don't allow this change, an updated inittab will be written to /etc/"
179+"inittab.dpkg-new. Please review the changes and update your /etc/inittab "
180+"accordingly."
181+msgstr ""
182+"Dacă nu permiteți această modificare, un inittab actualizat va fi scris în „/"
183+"etc/inittab.dpkg-new”. Vă rugăm să examinați modificările și să vă actualizați "
184+"fișierul „/etc/inittab” în consecință."

Subscribers

People subscribed via source and target branches